Layer 227
PhoneCall
Abstract type representing one of 6 possible constructors.
Type
Available Constructors
In Gogram, this type is represented as tg.PhoneCall interface.
Use any of the following constructors:
PhoneCall
Phone call, see here for more info on the full flow.
PhoneCallAccepted
An accepted phone call, see here for more info on the full flow.
PhoneCallDiscarded
Indicates a discarded phone call, see here for more info on the full flow.
PhoneCallEmpty
Empty constructor
PhoneCallRequested
Requested phone call, see here for more info on the full flow.
PhoneCallWaiting
Incoming phone call, see here for more info on the full flow.
Gogram Example
// PhoneCall is an interface type // You can use any of the following constructors: var _ tg.PhoneCall = &tg.PhoneCall{} var _ tg.PhoneCall = &tg.PhoneCallAccepted{} var _ tg.PhoneCall = &tg.PhoneCallDiscarded{} var _ tg.PhoneCall = &tg.PhoneCallEmpty{} var _ tg.PhoneCall = &tg.PhoneCallRequested{} // ... and 1 more constructors