Interface EditEphemeralMessage

Edits the text, media, or reply markup of an ephemeral message sent by the bot; for bots only. Request type for Tdjson#editEphemeralMessage.

interface EditEphemeralMessage {
    @type: "editEphemeralMessage";
    chat_id: number;
    ephemeral_message_id: number;
    input_message_content: InputMessageContent;
    receiver_user_id: number;
    reply_markup: ReplyMarkup;
}

Properties

@type: "editEphemeralMessage"
chat_id: number

The chat the message belongs to.

ephemeral_message_id: number

Identifier of the ephemeral message.

input_message_content: InputMessageContent

New content of the message; pass null to edit only reply markup. Must be one of the following types: inputMessageText, inputMessageAnimation, inputMessageAudio, inputMessageDocument, inputMessagePhoto, inputMessageRichMessage, inputMessageSticker, inputMessageVideo, inputMessageVideoNote, inputMessageVoiceNote.

receiver_user_id: number

Identifier of the user who received the message.

reply_markup: ReplyMarkup

The new message reply markup; pass null if none.