Layer 224
MessagesBotPreparedInlineMessageObj
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 MessagesBotPreparedInlineMessageObj constructor obj := &tg.MessagesBotPreparedInlineMessageObj{ Id: "Hello, World!", ExpireDate: 42, }