confirm_call()¶
- async Client.confirm_call()¶
Confirm Diffie-Hellman encryption parameters for a 1-on-1 private call.
Usable by Users Bots- Parameters:
call_id (
int) – The unique phone call ID.access_hash (
int) – The access hash of the phone call.g_a (
bytes) – Diffie-Hellman parameter for key exchange.key_fingerprint (
int) – Fingerprint of the generated shared key.protocol (
PhoneCallProtocol) – VoIP call protocol settings.
- Returns:
PhoneCall– The confirmed phone call.
Example
call = await app.confirm_call(call_id=123, access_hash=456, g_a=b"...", key_fingerprint=789, protocol=protocol)