Struct representing a user's FSM flow, state, and associated data.
Stored in context.extra.fsm by the FSM middleware after every update.
Fields
flow- the current flow name atom (e.g.,:registration,:settings).nilmeans no flow is active (the user hasn't started any conversation flow).state- the current step atom within the active flow (e.g.,:get_name,:confirm).nilmeans no state is set.data- arbitrary map of user data accumulated during the conversation flow. Grows viaupdate_data/2and is cleared byclear_flow/1.