messages.SavePreparedInlineMessage#

class pyrogram.raw.functions.messages.SavePreparedInlineMessage#

Save a prepared inline message, to be shared by the user of the mini app using a web_app_send_prepared_message event

Details:
  • Layer: 198

  • ID: F21F7F2F

Parameters:
  • result (InputBotInlineResult) – The message

  • user_id (InputUser) – The user to whom the web_app_send_prepared_message event event will be sent

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

Returns:

messages.BotPreparedInlineMessage