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
result
: Raw.TypeInputBotInlineResultThe message
userId
: Raw.TypeInputUserThe user to whom the webAppSendPreparedMessage event event will be sent
peerTypes
: Array of Raw.TypeInlineQueryPeerType or undefinedTypes of chats where this message can be sent
Results
Raw.messages.TypeBotPreparedInlineMessage