messages.GetBotCallbackAnswer#

class pyrogram.raw.functions.messages.GetBotCallbackAnswer#

Press an inline callback button and get a callback answer from the bot.

Details:
  • Layer: 158

  • ID: 9342CA07

Parameters:
  • peer (InputPeer) – Where was the inline keyboard sent.

  • msg_id (int 32-bit) – ID of the Message with the inline keyboard.

  • game (bool, optional) – Whether this is a “play game” button.

  • data (bytes, optional) – Callback data.

  • password (InputCheckPasswordSRP, optional) – For buttons requiring you to verify your identity with your 2FA password, the SRP payload generated using SRP.

Returns:

messages.BotCallbackAnswer