telegramx.js

EditMessageCaptionParams

interface

Declaration

interface EditMessageCaptionParams 

Properties

business_connection_id?: string;

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

caption_entities?: MessageEntity[];

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

captionproperty#
caption?: string;

New caption of the message, 0-1024 characters after entities parsing

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.

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 caption. See formatting options for more details.

reply_markup?: InlineKeyboardMarkup;

A JSON-serialized object for an inline keyboard

show_caption_above_media?: boolean;

Pass True, if the caption must be shown above the message media. Supported only for animation, photo and video messages.