Raw.messages.SavePreparedInlineMessage

Raw.messages.SavePreparedInlineMessage

Save a prepared inline message, to be shared by the user of the mini app using a webAppSendPreparedMessage event

messages.savePreparedInlineMessage#f21f7f2f flags:# result:InputBotInlineResult user_id:InputUser peer_types:flags.0?Vector<InlineQueryPeerType> = messages.BotPreparedInlineMessage;
export namespace Raw {
  export namespace messages {
    export class SavePreparedInlineMessage {
      constructor(params: {
        result: Raw.TypeInputBotInlineResult;
        userId: Raw.TypeInputUser;
        peerTypes?: Array<Raw.TypeInlineQueryPeerType>;
      }) {}
    }
  }
}

This is a function constructor, you can use it as method when call invoke

Layer: 198
Constructor ID: 0xf21f7f2f

Property

Results

Raw.messages.TypeBotPreparedInlineMessage

Bots can use