export_authorization()

async Client.export_authorization()

Export session authorization data to copy to another data center.

Usable by Users Bots
Parameters:

dc_id (int) – Number of the target data center.

Returns:

ExportedAuthorization – The exported authorization.

Example

exported = await app.export_authorization(2)