Layer 227
PhoneCallWaiting
Incoming phone call, see here for more info on the full flow.
constructor
phoneCallWaiting#c5226f17 flags:# video:flags.6?true id:long access_hash:long date:int admin_id:long participant_id:long protocol:PhoneCallProtocol receive_date:flags.0?int = PhoneCall;
Parameters
| Name | Type | Description |
|---|---|---|
| Video | flags .6? true | Is this a video call |
| Id | long | Call ID |
| AccessHash | long | Access hash |
| Date | int | Date |
| AdminId | long | Admin ID |
| ParticipantId | long | Participant ID |
| Protocol | PhoneCallProtocol | Phone call protocol info |
| ReceiveDate | flags .0? int | When was the phone call received |
Returns
PhoneCallGogram Example
// Creating PhoneCallWaiting constructor obj := &tg.PhoneCallWaiting{ Video: nil, Id: int64(1234567890), AccessHash: int64(1234567890), Date: 42, AdminId: int64(1234567890), ParticipantId: int64(1234567890), // ... more required fields }