phone.sendSignalingData #
Send VoIP signaling data for an ongoing phone call.¶
Layer 223
boolFalse#bc799737 = Bool;
boolTrue#997275b5 = Bool;
---functions---
phone.sendSignalingData#ff7a9383 peer:InputPhoneCall data:bytes = Bool; Parameters #
| Name | Type | Description |
|---|---|---|
| peer | InputPhoneCall | Phone call |
| data | bytes | Signaling payload |
Result #
Only users can use this method #
Possible errors #
| Code | Type | Description |
|---|---|---|
| 400 | CALL_NOT_ACTIVE | The specified call is not active. |
| 400 | CALL_PEER_INVALID | The provided call peer object is invalid. |
Related pages #
Phone calls #
Telegram supports end-to-end-encrypted one-to-one voice and video calls.¶