Layer 220
PhoneCallAccepted
An accepted phone call
constructor
phoneCallAccepted#3660c311 flags:# video:flags.6?true id:long access_hash:long date:int admin_id:long participant_id:long g_b:bytes protocol:PhoneCallProtocol = PhoneCall;
Parameters
| Name | Type | Description |
|---|---|---|
| Flags | # | Flags, see TL conditional fields |
| Video | flags.6?true | Whether this is a video call |
| Id | long | ID of accepted phone call |
| AccessHash | long | Access hash of phone call |
| Date | int | When was the call accepted |
| AdminId | long | ID of the call creator |
| ParticipantId | long | ID of the other user in the call |
| GB | bytes | B parameter for secure E 2 E phone call key exchange |
| Protocol | PhoneCallProtocol | Protocol to use for phone call |
Returns
PhoneCallGogram Example
// Creating PhoneCallAccepted constructor obj := &tg.PhoneCallAccepted{ Id: int64(0), AccessHash: int64(0), Date: 0, AdminId: int64(0), ParticipantId: int64(0), GB: []byte{}, // ... more required fields // Optional fields: // Video: true, }