Skip to content

GramIO API Reference / gramio/dist / SendMessageDraftParams

Interface: SendMessageDraftParams

Defined in: @gramio/types/out/params.d.ts:1570

Params object for sendMessageDraft method

Properties

PropertyTypeDescriptionDefined in
chat_idnumberUnique identifier for the target private chat@gramio/types/out/params.d.ts:1574
draft_idnumberUnique identifier of the message draft; must be non-zero. Changes of drafts with the same identifier are animated@gramio/types/out/params.d.ts:1582
entities?TelegramMessageEntity[]A JSON-serialized list of special entities that appear in message text, which can be specified instead of parse_mode@gramio/types/out/params.d.ts:1594
message_thread_id?numberUnique identifier for the target message thread@gramio/types/out/params.d.ts:1578
parse_mode?"HTML" | "MarkdownV2" | "Markdown"Mode for parsing entities in the message text. See formatting options for more details.@gramio/types/out/params.d.ts:1590
textstring | { toString: string; }Text of the message to be sent, 1-4096 characters after entities parsing@gramio/types/out/params.d.ts:1586