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
NeedRatingboolWhether the server required the user to rate the call
NeedDebugboolWhether the server required the client to send the libtgvoip call debug data
VideoboolWhether the call was a video call
IDint64yesCall ID
ReasonPhoneCallDiscardReasonClassWhy was the phone call discarded
DurationintDuration of the phone call in seconds

References