Raw.bots.SendCustomRequest
Sends a custom request; for bots only
bots.sendCustomRequest#aa2769ed custom_method:string params:DataJSON = DataJSON;
export namespace Raw {
export namespace bots {
export class SendCustomRequest {
constructor(params: { customMethod: string; params: Raw.TypeDataJSON }) {}
}
}
}
This is a function constructor, you can use it as method when call invoke
Layer: 185
Constructor ID: 0xaa2769ed
Property
customMethod
: stringThe method name
params
: Raw.TypeDataJSONJson-serialized method parameters