# `Jido.Chat.MessageContext`
[🔗](https://github.com/agentjido/jido_chat/blob/v1.2.0/lib/jido/chat/message_context.ex#L1)

Ordered message context for a collapsed queue or burst dispatch.

`skipped` contains the earlier messages from the same conversation. The
current message is not in this list. `total_since_last_handler` and
`total_count` have the same value. The second field gives callers a short,
transport-neutral name while the first field matches the Chat SDK contract.

# `t`

```elixir
@type t() :: %Jido.Chat.MessageContext{
  skipped: [any()],
  total_count: integer(),
  total_since_last_handler: integer()
}
```

# `new`

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

Creates normalized ordered message context.

# `schema`

```elixir
@spec schema() :: Zoi.schema()
```

Returns the schema for message context.

---

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