Raw.phone.RequestCall
Start a telegram phone call
phone.requestCall#42ff96ed flags:# video:flags.0?true user_id:InputUser 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;
randomId: number;
gAHash: Buffer;
protocol: Raw.TypePhoneCallProtocol;
}) {}
}
}
}
This is a function constructor, you can use it as method when call invoke
Layer: 185
Constructor ID: 0x42ff96ed
Property
video
: boolean or undefinedWhether to start a video call
userId
: Raw.TypeInputUserDestination of the phone call
randomId
: numberRandom id to avoid resending the same object
gAHash
: BufferParameter for e2e encryption key exchange
protocol
: Raw.TypePhoneCallProtocolPhone call settings