MadelineProtoDocs/old_docs/API_docs_v39/constructors/auth.loginTokenMigrateTo.md
2020-06-16 17:50:25 +02:00

900 B

title description image redirect_from
auth.loginTokenMigrateTo Repeat the query to the specified DC https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png /API_docs/constructors/auth_loginTokenMigrateTo.html

Constructor: auth.loginTokenMigrateTo

Back to constructors index

Repeat the query to the specified DC

Attributes:

Name Type Required Description
dc_id int Yes DC ID
token bytes Yes Token to use for login

Type: auth.LoginToken

Example:

$auth.loginTokenMigrateTo = ['_' => 'auth.loginTokenMigrateTo', 'dc_id' => int, 'token' => 'bytes'];

Or, if you're into Lua:

auth.loginTokenMigrateTo={_='auth.loginTokenMigrateTo', dc_id=int, token='bytes'}