messages.BotPreparedInlineMessage

class pyrogram.raw.base.messages.BotPreparedInlineMessage

Represents a prepared inline message saved by a bot, to be sent to the user via a web app »

Constructors:

This base type has 1 constructor available.

messages.BotPreparedInlineMessage

Represents a prepared inline message saved by a bot, to be sent to the user via a web app »

Functions:

This object can be returned by 1 function.

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

TL Schema

messages.botPreparedInlineMessage#8ecf0511
id:string
expire_date:int

= messages.BotPreparedInlineMessage

Parameter Tree

BotPreparedInlineMessage
├── idstring
└── expire_dateint

Example

BotPreparedInlineMessage(
    id="text",
    expire_date=0,
)