Interface ReplyToCallbackQueryWithEphemeralMessage

Replies to a callback query with an ephemeral message; for bots only. Request type for Tdjson#replyToCallbackQueryWithEphemeralMessage.

interface ReplyToCallbackQueryWithEphemeralMessage {
    @type: "replyToCallbackQueryWithEphemeralMessage";
    callback_query_id: string;
    input_message_content: InputMessageContent;
    protect_content?: boolean;
    replace_callback_query_message?: boolean;
    reply_markup: ReplyMarkup;
}

Properties

@type: "replyToCallbackQueryWithEphemeralMessage"
callback_query_id: string

Identifier of the callback query.

input_message_content: InputMessageContent

New content of the message. Must be one of the following types: inputMessageText, inputMessageAnimation, inputMessageAudio, inputMessageDocument, inputMessagePhoto, inputMessageRichMessage, inputMessageSticker, inputMessageVideo, inputMessageVideoNote, inputMessageVoiceNote.

protect_content?: boolean

Pass true if the content of the message must be protected from forwarding and saving.

replace_callback_query_message?: boolean

Pass true if the ephemeral message must replace the message from which the callback query originated.

reply_markup: ReplyMarkup

The new message reply markup; pass null if none.