Emitted with the provider's auth artifact (QR string / pairing code / OAuth URL).
Emitted on every provider connection-state transition.
Emitted after every dispatched inbound message finishes its pipeline.
Emitted for any internal/handler error.
Emitted once start() finishes.
Emitted once per stop() of a running bot, right after inbound is closed and BEFORE the
drain and the transport stop: cancel long work here (model calls, downloads) while the
transport can still deliver what is in flight. A throwing listener is reported on 'error'.
Emitted once stop() finishes.
Emitted by the Dispatcher for an unrecognized /xyz command.
Forwarded provider event: someone reacted to a message.
Forwarded provider event: a poll's aggregated votes changed.
Forwarded provider event: a call notification.
Forwarded provider event: group participants changed.
Forwarded provider event: a contact's presence changed.
Forwarded provider event: outbound delivery/read receipt.
A chat was handed off to a human (bot.handoff() / ctx.handoff()).
A handed-off chat was given back to the bot (bot.resume()).
A conversation/flow was entered (trigger match, bot.trigger(), dormant resume, c.goto()).
A conversation/flow ended — completed, cancelled, timed out, out of retries or errored.
Multi-replica (coordination): this replica was elected for a singleton (provider:<id>) and starts it.
Multi-replica: this replica lost (or gave up) a singleton leadership and stands by.
Multi-replica: a chat turn or leadership was lost before its release (pause, partition, backend down).
Multi-replica (coordination.handover): a conversation another replica ran was taken
over on this one — resumed, or handled by the hand-over fallback (see outcome).
Durability (BotConfig.durability): an inbound event or a send was dead-lettered after its
retries (id is the inbox record id or the outbox key). Replay/retry it through bot.durability.
Durability: a send's outcome is unknown after a crash (the provider was called, the result
was never recorded). Handled per durability.outbox.onAmbiguous.
Emitted once the provider's connection state reaches
'ready'.