phone.receivedCall #

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.

Layer 223

boolFalse#bc799737 = Bool;
boolTrue#997275b5 = Bool;
---functions---
phone.receivedCall#17d54f61 peer:InputPhoneCall = Bool;

Parameters #

NameTypeDescription
peerInputPhoneCallThe phone call we're currently in

Result #

Bool

Only users can use this method #

Possible errors #

CodeTypeDescription
400CALL_ALREADY_DECLINEDThe call was already declined.
400CALL_PEER_INVALIDThe provided call peer object is invalid.

Phone calls #

Telegram supports end-to-end-encrypted one-to-one voice and video calls.