telegramx.js

EditMessageMediaParams

interface

Declaration

interface EditMessageMediaParams 

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.

inline_message_id?: string;

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

mediaproperty#
media: InputMedia;

A JSON-serialized object for a new media content of the message

message_idproperty#
message_id?: number;

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

reply_markup?: InlineKeyboardMarkup;

A JSON-serialized object for a new inline keyboard