Layer 220
AccountFinishTakeoutSession
Terminate a takeout session, see here for more info.
method
Users
account.finishTakeoutSession#1d2652ee flags:# success:flags.0?true = Bool;
Parameters
| Name | Type | Description |
|---|---|---|
| Flags | # | Flags, see TL conditional fields |
| Success | flags.0?true | Data exported successfully |
Returns
BoolPossible Errors
| Code | Type | Description |
|---|---|---|
| 403 | TAKEOUT_REQUIRED | A takeout session needs to be initialized first, see here for more info. |
Gogram Example
// AccountFinishTakeoutSession - using Params struct result, err := client.AccountFinishTakeoutSession(&tg.AccountFinishTakeoutSessionParams{ // Optional fields: // Success: true, }) if err != nil { // handle error } // result is *tg.Bool