messages.SetBotCallbackAnswer

class pyrogram.raw.functions.messages.SetBotCallbackAnswer

Set the callback answer to a user button press (bots only)

Details:
  • Layer: 194

  • ID: D58F130A

Parameters:
  • query_id (int 64-bit) – Query ID

  • cache_time (int 32-bit) – Cache validity

  • alert (bool, optional) – Whether to show the message as a popup instead of a toast notification

  • message (str, optional) – Popup to show

  • url (str, optional) – URL to open

Returns:

bool