Layer 220
PhoneCallWaiting
Incoming phone call
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 |
|---|---|---|
| Flags | # | Flags, see TL conditional fields |
| 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{ Id: int64(0), AccessHash: int64(0), Date: 0, AdminId: int64(0), ParticipantId: int64(0), Protocol: &tg.PhoneCallProtocol{}, // Optional fields: // Video: true, // ReceiveDate: 0, }