Layer 220
AuthExportAuthorization
Returns data for copying authorization to another data-center.
method
Users
Bots
auth.exportAuthorization#e5bfffcd dc_id:int = auth.ExportedAuthorization;
Parameters
| Name | Type | Description |
|---|---|---|
| DcId | int | Number of a target data-center |
Returns
auth.ExportedAuthorizationPossible Errors
| Code | Type | Description |
|---|---|---|
| 400 | DC_ID_INVALID | The provided DC ID is invalid. |
Gogram Example
// AuthExportAuthorization - positional arguments result, err := client.AuthExportAuthorization(0) if err != nil { // handle error } // result is *tg.AuthExportedAuthorization