Interface IEditMessageCaptionParams

Parameters for the editMessageCaption method

Hierarchy

  • IEditMessageCaptionParams

Properties

caption?: string

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

caption_entities?: IMessageEntity[]

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

chat_id?: string | number

Required if inline_message_id is not specified. Unique identifier for the target chat or username of the target channel (in the format @channelusername)

inline_message_id?: string

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

message_id?: number

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

parse_mode?: string

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

reply_markup?: IInlineKeyboardMarkup

A JSON-serialized object for an inline keyboard.

Generated using TypeDoc