canvasla.blogg.se

Mytelegramorg
Mytelegramorg







If any of the logout tokens matches the account we're trying to login into and the token hasn't expired, ndCode will directly return a SESSION_PASSWORD_NEEDED RPC error, directly asking the user to enter the 2FA password, without sending any authorization code. When invoking ndCode, all logout tokens present in the database should be provided to codeSettings.logout_tokens. When invoking auth.logOut on a previously authorized session with 2FA enabled, the server may return a future_auth_token, which should be stored in the local database.Īt all times, the logout token database should contain at most 20 tokens: evict older tokens as new tokens are added.

mytelegramorg

However, this is not always the case, if logout tokens are used: Logout tokens Then, a text message containing an authorization code is sent to the user's phone using ndCode.

mytelegramorg mytelegramorg

The untriesList config is then used as described here ». To show a nicely formatted and validated phone number field, the untriesList constructor can be obtained using the help.getCountriesList method. Sending a verification codeĮxample implementations: telegram for android, tdlib. To log in as a bot, follow these instructions ». No additional parameters need to be passed into methods following authorization.

mytelegramorg

Authorization is associated with a client's encryption key identifier: auth_key_id.









Mytelegramorg