Interface EditBusinessMessageMedia

Edits the media content of a message with a text, an animation, an audio, a document, a photo or a video in a message sent on behalf of a business account; for bots only. Request type for Tdjson#editBusinessMessageMedia.

interface EditBusinessMessageMedia {
    @type: "editBusinessMessageMedia";
    business_connection_id: string;
    chat_id: number;
    input_message_content: InputMessageContent;
    message_id: number;
    reply_markup: ReplyMarkup;
}

Properties

@type: "editBusinessMessageMedia"
business_connection_id: string

Unique identifier of business connection on behalf of which the message was sent.

chat_id: number

The chat the message belongs to.

input_message_content: InputMessageContent

New content of the message. Must be one of the following types: inputMessageAnimation, inputMessageAudio, inputMessageDocument, inputMessagePhoto or inputMessageVideo.

message_id: number

Identifier of the message.

reply_markup: ReplyMarkup

The new message reply markup; pass null if none; for bots only.