Raw.PhoneCallDiscarded
Indicates a discarded phone call
phoneCallDiscarded#50ca4de1 flags:# need_rating:flags.2?true need_debug:flags.3?true video:flags.6?true id:long reason:flags.0?PhoneCallDiscardReason duration:flags.1?int = PhoneCall;
export namespace Raw {
export class PhoneCallDiscarded {
constructor(params: {
needRating?: boolean;
needDebug?: boolean;
video?: boolean;
id: bigint;
reason?: Raw.TypePhoneCallDiscardReason;
duration?: number;
}) {}
}
}
🚫
This is a types constructor, you can’t use it as method when call invoke.
Layer: 185
Constructor ID: 0x50ca4de1
Property
needRating
: boolean or undefinedWhether the server required the user to rate the call
needDebug
: boolean or undefinedWhether the server required the client to send the libtgvoip call debug data
video
: boolean or undefinedWhether the call was a video call
id
: bigintCall id
reason
: Raw.TypePhoneCallDiscardReason or undefinedWhy was the phone call discarded
duration
: number or undefinedDuration of the phone call in seconds