telegramx.js

SendMessageDraftParams

interface

Declaration

interface SendMessageDraftParams 

Properties

chat_idproperty#
chat_id: number;

Unique identifier for the target private chat

draft_idproperty#
draft_id: number;

Unique identifier of the message draft; must be non-zero. Changes to drafts with the same identifier are animated.

entitiesproperty#
entities?: MessageEntity[];

A JSON-serialized list of special entities that appear in message text, which can be specified instead of parse_mode

message_thread_id?: number;

Unique identifier for the target message thread

parse_modeproperty#
parse_mode?: string;

Mode for parsing entities in the message text. See formatting options for more details.

textproperty#
text?: string;

Text of the message to be sent, 0-4096 characters after entities parsing. Pass an empty text to show a "Thinking..." placeholder.