Raw.messages.BotPreparedInlineMessage

Raw.messages.BotPreparedInlineMessage

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

messages.botPreparedInlineMessage#8ecf0511 id:string expire_date:int = messages.BotPreparedInlineMessage;
export namespace Raw {
  export namespace messages {
    export class BotPreparedInlineMessage {
      constructor(params: { id: string; expireDate: number }) {}
    }
  }
}
🚫

This is a types constructor, you can’t use it as method when call invoke.

Layer: 198
Constructor ID: 0x8ecf0511

Property

  • id : string

    The id of the saved message, to be passed to the id field of the webAppSendPreparedMessage event

  • expireDate : number

    Expiration date of the message