You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Sep 4, 2024. It is now read-only.
In script
where api.js is from https://mtproto-core.js.org/docs/setup-handle-errors and login.js is from https://mtproto-core.js.org/docs/user-authorization
users.getFullUser works good.
If I change phone, code in login.js (and api_id, api_hash in api.js) to my second phone,code,id,hash - users.getFullUser rise error:
{
_: 'mt_rpc_error',
error_code: 400,
error_message: 'USER_ID_INVALID'
}
How to fix it?
The text was updated successfully, but these errors were encountered: