save_call_debug()

async Client.save_call_debug()

Send phone call debug statistics to Telegram servers.

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

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

  • debug (str | DataJSON) – Debug statistics JSON string or DataJSON object.

Returns:

bool – On success, True is returned.

Example

await app.save_call_debug(call_id=123, access_hash=456, debug='{"packets_lost": 0}')