Skip to main content
Defined in: ops/metrics.ts:243 Payload of the bot 'conversation:ended' event.

Extends

Properties

id

Defined in: ops/metrics.ts:229 Unique per conversation instance — matches a 'conversation:ended' to its 'conversation:started'.

Inherited from

ConversationStartedEvent.id

name

Defined in: ops/metrics.ts:231 Conversation/flow name.

Inherited from

ConversationStartedEvent.name

chatId

Defined in: ops/metrics.ts:232

Inherited from

ConversationStartedEvent.chatId

userId

Defined in: ops/metrics.ts:233

Inherited from

ConversationStartedEvent.userId

key

Defined in: ops/metrics.ts:235 Runtime key (chatId, or chatId:userId per group participant).

Inherited from

ConversationStartedEvent.key

outcome

Defined in: ops/metrics.ts:244

completed

Defined in: ops/metrics.ts:246 Shorthand for outcome === 'completed'.

durationMs

Defined in: ops/metrics.ts:247

goto?

Defined in: ops/metrics.ts:249 Target of the c.goto() that ended it, if any (a new 'conversation:started' follows).