Raw.bots.InvokeWebViewCustomMethod
Send a custom request from a mini bot app, triggered by a webAppInvokeCustomMethod event.
bots.invokeWebViewCustomMethod#87fc5e7 bot:InputUser custom_method:string params:DataJSON = DataJSON;
export namespace Raw {
export namespace bots {
export class InvokeWebViewCustomMethod {
constructor(params: {
bot: Raw.TypeInputUser;
customMethod: string;
params: Raw.TypeDataJSON;
}) {}
}
}
}
This is a function constructor, you can use it as method when call invoke
Layer: 185
Constructor ID: 0x87fc5e7
Property
bot
: Raw.TypeInputUserIdentifier of the bot associated to the mini bot app
customMethod
: stringIdentifier of the custom method to invoke
params
: Raw.TypeDataJSONMethod parameters