Raw.phone.RequestCall
Start a telegram phone call
phone.requestCall#a6c4600c flags:# video:flags.0?true user_id:InputUser conference_call:flags.1?InputGroupCall random_id:int g_a_hash:bytes protocol:PhoneCallProtocol = phone.PhoneCall;export namespace Raw {
export namespace phone {
export class RequestCall {
constructor(params: {
video?: boolean;
userId: Raw.TypeInputUser;
conferenceCall?: Raw.TypeInputGroupCall;
randomId: number;
gAHash: Buffer;
protocol: Raw.TypePhoneCallProtocol;
}) {}
}
}
}This is a function constructor, you can use it as method when call invoke
Layer: 201
Constructor ID: 0xa6c4600c
Property
video: boolean or undefinedWhether to start a video call
userId: Raw.TypeInputUserDestination of the phone call
conferenceCall: Raw.TypeInputGroupCall or undefinedrandomId: numberRandom id to avoid resending the same object
gAHash: BufferParameter for e2e encryption key exchange
protocol: Raw.TypePhoneCallProtocolPhone call settings