Layer 220
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:
PhoneCallDiscardReasonMissed
The phone call was missed
PhoneCallDiscardReasonDisconnect
The phone call was disconnected
PhoneCallDiscardReasonHangup
The phone call was ended normally
PhoneCallDiscardReasonBusy
The phone call was discarded because the user is busy in another call
PhoneCallDiscardReasonMigrateConferenceCall
This phone call was migrated to a conference call.
Gogram Example
// PhoneCallDiscardReason is an interface type // You can use any of the following constructors: var _ tg.PhoneCallDiscardReason = &tg.PhoneCallDiscardReasonMissed{} var _ tg.PhoneCallDiscardReason = &tg.PhoneCallDiscardReasonDisconnect{} var _ tg.PhoneCallDiscardReason = &tg.PhoneCallDiscardReasonHangup{} var _ tg.PhoneCallDiscardReason = &tg.PhoneCallDiscardReasonBusy{} var _ tg.PhoneCallDiscardReason = &tg.PhoneCallDiscardReasonMigrateConferenceCall{}