phone.saveCallLog
Deprecated: send libtgvoip phone call debug information
func (c *Client) PhoneSaveCallLog(ctx context.Context, request *PhoneSaveCallLogRequest) (bool, error)
Calling this method
client.Run(ctx, func(ctx context.Context) error {
api := client.API()
res, err := api.PhoneSaveCallLog(ctx, &tg.PhoneSaveCallLogRequest{
// see Parameters
})
if err != nil {
return err
}
_ = res // bool
return nil
})
Parameters
| Name | Type | Required | Description |
|---|---|---|---|
Peer | InputPhoneCall | yes | Phone call |
File | InputFileClass | yes | Libtgvoip logs |
Returns
bool
Possible errors
| Code | Type | Description |
|---|---|---|
| 400 | CALL_PEER_INVALID | The provided call peer object is invalid. |
References
- Official documentation
- Generated Go reference
- TL definition:
phone.saveCallLog#41248786