ExGram.FSM.Key.Chat (ExGram FSM v0.1.0)

Copy Markdown View Source

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 typeKey
Any update with a chat{chat_id}
Inline query (no chat):error — FSM state is skipped