Skip to main content
Defined in: core/types.ts:142 Payload of the 'send' hooks: every outbound send (ctx.reply, bot.send, broadcasts), plus edits (edit) and streamed output (stream). A before hook may rewrite content and options in place, or abort() to skip the send (it then resolves skipped).

Properties

chatId

Defined in: core/types.ts:143

content

Defined in: core/types.ts:144

options?

Defined in: core/types.ts:145

stream?

Defined in: core/types.ts:147 Set on streamed output: a new message, a live edit or a native draft preview.

edit?

Defined in: core/types.ts:149 Set when the send edits an existing message in place (ctx.edit()).