Layer 220
MessagesBotPreparedInlineMessage
Represents a prepared inline message saved by a bot, to be sent to the user via a web app
constructor
messages.botPreparedInlineMessage#8ecf0511 id:string expire_date:int = messages.BotPreparedInlineMessage;
Parameters
| Name | Type | Description |
|---|---|---|
| Id | string | The ID of the saved message, to be passed to the id field of the web_app_send_prepared_message event |
| ExpireDate | int | Expiration date of the message |
Gogram Example
// Creating MessagesBotPreparedInlineMessage constructor obj := &tg.MessagesBotPreparedInlineMessage{ Id: "...", ExpireDate: 0, }