received_call()

async Client.received_call()

Notify the server that the user received an incoming phone call and is currently busy.

Usable by Users Bots
Parameters:
  • call_id (int) – The unique phone call ID.

  • access_hash (int) – The access hash of the phone call.

Returns:

bool – On success, True is returned.

Example

await app.received_call(call_id=123, access_hash=456)