Skip to content

editCallbackQueryMessage

Function · TDLib 1.8.67 · d1085f9c

Edits the message from which a callback query has originated with an ephemeral message; for bots only

editCallbackQueryMessage(
  callback_query_id: int64,
  protect_content: Bool,
  reply_markup: ReplyMarkup,
  input_message_content: InputMessageContent
) → Ok

callback_query_id

int64

Identifier of the callback query

protect_content

Bool

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

reply_markup

ReplyMarkup

The new message reply markup; pass null if none

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