auth.exportAuthorization #
Returns data for copying authorization to another data-center.¶
Layer 223
auth.exportedAuthorization#b434e2b8 id:long bytes:bytes = auth.ExportedAuthorization;
---functions---
auth.exportAuthorization#e5bfffcd dc_id:int = auth.ExportedAuthorization; Parameters #
| Name | Type | Description |
|---|---|---|
| dc_id | int | Number of a target data-center |
Result #
Both users and bots can use this method #
Possible errors #
| Code | Type | Description |
|---|---|---|
| 400 | DC_ID_INVALID | The provided DC ID is invalid. |