Skip to main content

phoneCallDiscarded

Indicates a discarded phone call, see here » for more info on the full flow.

type tg.PhoneCallDiscarded struct { /* ... */ }

Implements PhoneCall.

Fields​

NameTypeRequiredDescription
NeedRatingbool—Whether the server required the user to rate the call
NeedDebugbool—Whether the server required the client to send the libtgvoip call debug data
Videobool—Whether the call was a video call
IDint64yesCall ID
ReasonPhoneCallDiscardReasonClass—Why was the phone call discarded
Durationint—Duration of the phone call in seconds

References​