# `ExGram.FSM.Key.Chat`
[🔗](https://github.com/rockneurotiko/ex_gram_fsm/blob/v0.1.0/lib/ex_gram/fsm/key/chat.ex#L1)

FSM key: `{chat_id}`.

Scopes FSM state per-chat, shared by all users in that chat. This means:
- All users in a group chat share a single FSM state.
- Useful for group-level conversation flows (e.g., a poll wizard, game sessions).

## Key shape

| Update type | Key |
|-------------|-----|
| Any update with a chat | `{chat_id}` |
| Inline query (no chat) | `:error` — FSM state is skipped |

---

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