accept_call()¶
- async Client.accept_call()¶
Accept an incoming 1-on-1 private phone 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_b (
bytes) – Diffie-Hellman public key exchange parameter.protocol (
PhoneCallProtocol) – VoIP call protocol settings.
- Returns:
PhoneCall– The accepted phone call object.
Example
call = await app.accept_call(call_id=123, access_hash=456, g_b=b"...", protocol=protocol)