telegramx.js

EditMessageTextParams

interface

Declaration

interface EditMessageTextParams 

Properties

business_connection_id?: string;

Unique identifier of the business connection on behalf of which the message to be edited was sent

chat_idproperty#
chat_id?: number | string;

Required if inline_message_id is not specified. Unique identifier for the target chat or username of the target bot, supergroup or channel in the format username.

entitiesproperty#
entities?: MessageEntity[];

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

inline_message_id?: string;

Required if chat_id and message_id are not specified. Identifier of the inline message.

message_idproperty#
message_id?: number;

Required if inline_message_id is not specified. Identifier of the message to edit.

parse_modeproperty#
parse_mode?: string;

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

reply_markup?: InlineKeyboardMarkup;

A JSON-serialized object for an inline keyboard

rich_message?: InputRichMessage;

New rich content of the message; required if text isn't specified

textproperty#
text?: string;

New text of the message, 1-4096 characters after entity parsing; required if rich_message isn't specified