telegram api constructor · layer 229 · #30535af5
phoneCall
Phone call
definition
phoneCall#30535af5 flags:# p2p_allowed:flags.5?true video:flags.6?true conference_supported:flags.8?true id:long access_hash:long date:int admin_id:long participant_id:long g_a_or_b:bytes key_fingerprint:long protocol:PhoneCallProtocol connections:Vector<PhoneConnection> start_date:int custom_parameters:flags.7?DataJSON = PhoneCall;
parameters
| name | type | description |
|---|---|---|
flags | # | Flags, see TL conditional fields |
p2p_allowed | true | Whether P2P connection to the other peer is allowed |
video | true | Whether this is a video call |
conference_supported | true | If set, the other party supports upgrading of the call to a conference call. |
id | long | Call ID |
access_hash | long | Access hash |
date | int | Date of creation of the call |
admin_id | long | User ID of the creator of the call |
participant_id | long | User ID of the other participant in the call |
g_a_or_b | bytes | Parameter for key exchange |
key_fingerprint | long | Key fingerprint |
protocol | PhoneCallProtocol | Call protocol info to be passed to libtgvoip |
connections | Vector<PhoneConnection> | List of endpoints the user can connect to exchange call data |
start_date | int | When was the call actually started |
custom_parameters | DataJSON | Custom JSON-encoded call parameters to be passed to tgcalls. |
type
PhoneCall · other constructors: phoneCallEmpty, phoneCallWaiting, phoneCallRequested, phoneCallAccepted, phoneCallDiscarded
history
present in layers 62–229 · constructor id changed 5×
| id | layers |
|---|---|
| #ffe6ab67 | 62–87 |
| #e6f9ddf3 | 88–97 |
| #8742ae7f | 98–132 |
| #967f7c67 | 133–176 |
| #30535af5 | 177–195 |
| #3ba5940c | 196–201 |
| #30535af5 | 202–229 |