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