Layer 227
PhoneCallDiscardReason
Abstract type representing one of 5 possible constructors.
Type
Available Constructors
In Gogram, this type is represented as tg.PhoneCallDiscardReason interface.
Use any of the following constructors:
PhoneCallDiscardReasonBusy
The phone call was discarded because the user is busy in another call, see here for more info.
PhoneCallDiscardReasonDisconnect
The phone call was disconnected, see here for more info.
PhoneCallDiscardReasonHangup
The phone call was ended normally, see here for more info.
PhoneCallDiscardReasonMigrateConferenceCall
This phone call was migrated to a conference call.
PhoneCallDiscardReasonMissed
The phone call was missed, see here for more info.
Gogram Example
// PhoneCallDiscardReason is an interface type // You can use any of the following constructors: var _ tg.PhoneCallDiscardReason = &tg.PhoneCallDiscardReasonBusy{} var _ tg.PhoneCallDiscardReason = &tg.PhoneCallDiscardReasonDisconnect{} var _ tg.PhoneCallDiscardReason = &tg.PhoneCallDiscardReasonHangup{} var _ tg.PhoneCallDiscardReason = &tg.PhoneCallDiscardReasonMigrateConferenceCall{} var _ tg.PhoneCallDiscardReason = &tg.PhoneCallDiscardReasonMissed{}