phoneCall
Phone call, see here » for more info on the full flow.
type tg.PhoneCall struct { /* ... */ }
Implements PhoneCall.
Fields
| Name | Type | Required | Description |
|---|---|---|---|
P2PAllowed | bool | — | Whether P2P connection to the other peer is allowed |
Video | bool | — | Whether this is a video call |
ConferenceSupported | bool | — | If set, the other party supports upgrading of the call to a conference call. |
ID | int64 | yes | Call ID |
AccessHash | int64 | yes | Access hash |
Date | int | yes | Date of creation of the call |
AdminID | int64 | yes | User ID of the creator of the call |
ParticipantID | int64 | yes | User ID of the other participant in the call |
GAOrB | []byte | yes | Parameter for key exchange |
KeyFingerprint | int64 | yes | Key fingerprint |
Protocol | PhoneCallProtocol | yes | Call protocol info to be passed to libtgvoip |
Connections | []PhoneConnectionClass | yes | List of endpoints the user can connect to exchange call data |
StartDate | int | yes | When was the call actually started |
CustomParameters | DataJSON | — | Custom JSON-encoded call parameters to be passed to tgcalls. |
References
- Official documentation
- Generated Go reference
- TL definition:
phoneCall#30535af5