Layer 220
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,
}