Skip to main content

Module dc_migration

Module dc_migration 

Source
Expand description

DC migration helpers.

Structs§

DcAuthTracker
State that must live inside ClientInner to track which DCs already have a copy of the account’s authorization key.

Constants§

MIGRATE_PATCH_DESCRIPTION
Patch description for rpc_call_raw in lib.rs.

Functions§

copy_auth_to_dc
Export the home-DC authorization and import it on target_dc_id.
default_dc_addresses
Build the initial DC options map from the static table.
fallback_dc_addr
Return the statically known IPv4 address for a Telegram DC.