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.sendInlineBotResult

  • result (BotInlineResult) – The contents of the message, to be shown in a preview

  • peer_types (List of InlineQueryPeerType) – Types of chats where this message can be sent

  • cache_time (int 32-bit) – Caching validity of the results

  • users (List of User) – Users mentioned in the results

Functions:

This object can be returned by 1 function.

messages.GetPreparedInlineMessage

Obtain a prepared inline message generated by a mini app: invoked when handling web_app_send_prepared_message events