Optional
params: { dcId?: number; logout?: boolean; phone?: string }Additional parameters
Optional
dcId?: numberOverride user's DC. Must be a valid test DC.
Optional
logout?: booleanWhether to log out if current session is logged in.
Optional
phone?: stringOverride phone number. Must be a valid Test phone number.
By default is randomly generated.
Utility function to quickly authorize on test DC using a Test phone number, which is randomly generated by default.