Layer 220
PhoneSaveCallDebug
Send phone call debug data to server
method
Users
phone.saveCallDebug#277add7e peer:InputPhoneCall debug:DataJSON = Bool;
Parameters
| Name | Type | Description |
|---|---|---|
| Peer | InputPhoneCall | Phone call |
| Debug | DataJSON | Debug statistics obtained from libtgvoip |
Returns
BoolPossible Errors
| Code | Type | Description |
|---|---|---|
| 400 | CALL_PEER_INVALID | The provided call peer object is invalid. |
| 400 | DATA_JSON_INVALID | The provided JSON data is invalid. |
Gogram Example
// PhoneSaveCallDebug - positional arguments result, err := client.PhoneSaveCallDebug(&tg.InputPhoneCall{}, &tg.DataJson{}) if err != nil { // handle error } // result is *tg.Bool