# `Jido.Messaging.IngressOutcome`
[🔗](https://github.com/agentjido/jido_messaging/blob/v1.0.0/lib/jido_messaging/ingress_outcome.ex#L1)

Canonical normalized ingress result for webhook and non-webhook payload paths.

# `t`

```elixir
@type t() :: %Jido.Messaging.IngressOutcome{
  bridge_id: binary(),
  context: nil | nil | any(),
  envelope:
    nil
    | nil
    | %Jido.Chat.EventEnvelope{
        adapter_name: term(),
        channel_id: term(),
        event_type: term(),
        id: term(),
        message_id: term(),
        metadata: term(),
        payload: term(),
        raw: term(),
        thread_id: term()
      },
  error: nil | nil | any(),
  message: nil | nil | any(),
  mode: atom(),
  response:
    nil
    | nil
    | %Jido.Chat.WebhookResponse{
        body: term(),
        headers: term(),
        metadata: term(),
        status: term()
      },
  status: atom()
}
```

# `new`

```elixir
@spec new(map()) :: t()
```

Builds an ingress outcome from attrs.

# `schema`

Returns the Zoi schema.

---

*Consult [api-reference.md](api-reference.md) for complete listing*
