BotCallbackAnswer¶
-
class
pyrogram.raw.types.messages.
BotCallbackAnswer
¶ Callback answer sent by the bot in response to a button press.
Constructor type of
BotCallbackAnswer
.- Details
Layer:
126
ID:
0x36585ea4
- Parameters
cache_time (
int
32-bit
) – For how long should this answer be cached.alert (
bool
, optional) – Whether an alert should be shown to the user instead of a toast notification.has_url (
bool
, optional) – Whether an URL is present.native_ui (
bool
, optional) – Whether to show games in WebView or in native UI.message (
str
, optional) – Alert to show.url (
str
, optional) – URL to open.
- Methods
This object can be returned by 1 method:
Press an inline callback button and get a callback answer from the bot.