SetBotCallbackAnswer

class pyrogram.raw.functions.messages.SetBotCallbackAnswer

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

Details
  • Layer: 122

  • ID: 0xd58f130a

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 – Primitive type.