Skip to main content
Defined in: core/provider.ts:288 A UI interaction that is NOT a free message: Telegram callback_query, Discord component click / slash command. data is the provider-defined id the bot set when building the control. respondBy is the ack deadline (Discord 3s / Telegram spinner). When the provider declares capabilities.interactionsRequireAck the core calls acknowledgeInteraction exactly once per interaction: with text from ctx.acknowledge(text), otherwise deferred ({ defer: true }) before the handler’s first send, shortly before respondBy, or when routing ends, whichever comes first. Without the capability the core acks only on ctx.acknowledge().

Type Parameters

Properties

interactionId

Defined in: core/provider.ts:296 MUST be unique per logical interaction within its chat and stable across redelivery, or '' when the transport cannot guarantee that. Never a per-user or per-control constant (sender id, payload): core dedupes on chatId + interactionId, so a reused id silently drops the user’s next interaction. See the INBOUND ID CONTRACT on IProvider.

ref

Defined in: core/provider.ts:297

chat

Defined in: core/provider.ts:298

senderInfo

Defined in: core/provider.ts:299

from

Defined in: core/provider.ts:300

sender

Defined in: core/provider.ts:301

chatId

Defined in: core/provider.ts:302

senderId

Defined in: core/provider.ts:303

isGroup

Defined in: core/provider.ts:304

kind

Defined in: core/provider.ts:305

data

Defined in: core/provider.ts:306

respondBy?

Defined in: core/provider.ts:308 Epoch ms by which acknowledgeInteraction() must run, if the transport enforces one.

timestamp

Defined in: core/provider.ts:310 When the interaction happened, in epoch milliseconds (see InboundMessage.timestamp).

raw

Defined in: core/provider.ts:311