phone.confirmCall #

Complete phone call E2E encryption key exchange », see here » for more info on the full flow.

Layer 223

phone.phoneCall#ec82e140 phone_call:PhoneCall users:Vector<User> = phone.PhoneCall;
---functions---
phone.confirmCall#2efe1722 peer:InputPhoneCall g_a:bytes key_fingerprint:long protocol:PhoneCallProtocol = phone.PhoneCall;

Parameters #

NameTypeDescription
peerInputPhoneCallThe phone call
g_abytesParameter for E2E encryption key exchange »
key_fingerprintlongKey fingerprint
protocolPhoneCallProtocolPhone call settings

Result #

phone.PhoneCall

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.

End-to-End Encrypted Voice Calls #

Deprecated description of encryption in voice calls as implemented in Telegram apps older than version 7.0.

Phone calls #

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