set_dc()¶
- async Client.set_dc()¶
Set configuration for the specified datacenter.
Note
Be careful with this method, you can easily break your session.
- Parameters:
dc_id (
int, optional) – Datacenter identifier. Defaults to the current datacenter.server_address (
str, optional) – Custom server address.port (
int, optional) – Custom port.