messages.PreparedInlineMessage#
- class pyrogram.raw.types.messages.PreparedInlineMessage#
Represents a prepared inline message received via a bot’s mini app, that can be sent to some chats »
Constructor of
PreparedInlineMessage
.- Details:
Layer:
198
ID:
FF57708D
- Parameters:
query_id (
int
64-bit
) – The query_id to pass to messages.sendInlineBotResultresult (
BotInlineResult
) – The contents of the message, to be shown in a previewpeer_types (List of
InlineQueryPeerType
) – Types of chats where this message can be sentcache_time (
int
32-bit
) – Caching validity of the resultsusers (List of
User
) – Users mentioned in the results
- Functions:
This object can be returned by 1 function.
Obtain a prepared inline message generated by a mini app: invoked when handling web_app_send_prepared_message events