SaveCallDebugRequest

Only users can use this request. See code examples.

---functions---
phone.saveCallDebug#277add7e peer:InputPhoneCall debug:DataJSON = Bool

Returns

Bool

This type has no instances available.

Parameters

peerInputPhoneCall
debugDataJSON

Known RPC errors

This request can cause 2 known errors:

CallPeerInvalidErrorThe provided call peer object is invalid.
DataJsonInvalidErrorThe provided JSON data is invalid.

You can import these from telethon.errors.

Example

from telethon.sync import TelegramClient
from telethon import functions, types

with TelegramClient(name, api_id, api_hash) as client:
    result = client(functions.phone.SaveCallDebugRequest(
        peer=types.InputPhoneCall(
            id=-12398745604826,
            access_hash=-12398745604826
        ),
        debug=types.DataJSON(
            data='some string here'
        )
    ))
    print(result)