Raw.phone.DiscardCall
Refuse or end running call
phone.discardCall#b2cbc1c0 flags:# video:flags.0?true peer:InputPhoneCall duration:int reason:PhoneCallDiscardReason connection_id:long = Updates;export namespace Raw {
export namespace phone {
export class DiscardCall {
constructor(params: {
video?: boolean;
peer: Raw.TypeInputPhoneCall;
duration: number;
reason: Raw.TypePhoneCallDiscardReason;
connectionId: bigint;
}) {}
}
}
}This is a function constructor, you can use it as method when call invoke
Layer: 201
Constructor ID: 0xb2cbc1c0
Property
video: boolean or undefinedWhether this is a video call
peer: Raw.TypeInputPhoneCallThe phone call
duration: numberCall duration
reason: Raw.TypePhoneCallDiscardReasonWhy was the call discarded
connectionId: bigintPreferred libtgvoip relay id