Optional: notify the server that the user is currently busy in a call: this will automatically refuse all incoming phone calls until the current phone call is ended, see here » for more info on the full flow.
Method schema is available as of layer 65. Switch »
| Name | Type | Description |
|---|---|---|
| peer | InputPhoneCall | The phone call we're currently in |
| Code | Type | Description |
|---|---|---|
| 400 | CALL_ALREADY_DECLINED | The call was already declined. |
| 400 | CALL_PEER_INVALID | The provided call peer object is invalid. |
Telegram supports end-to-end-encrypted one-to-one voice and video calls.