This repository has been archived by the owner on Apr 1, 2020. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 145
MT[401] AUTH_KEY_EMPTY #24
Labels
Comments
After some digging I found you forget to generate the new keypair for nearest_dc |
seems duplicate #17 |
BTW after I logged in with a bot account I got this when I was sending Message with it
original code
|
@wfjsw sendMessage has a more complicated type with optional (flags) arguments. There are troubles with them: currently, they demand to be packed in the flags field. I am working on this now and will release next version when this done |
@wfjsw you forgot about random_id field |
@goodmind nop I added it later and problem is still there. |
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
I was testing telegram-mtproto with a script derived from example.
Node.JS version 7.7.3
Library version telegram-mtproto@beta latest
index.js
Error Log
Both
auth.importBotAuthorization
andauth.sendCode
were tested but got the same error.L57 and L62 got the same error.
Test script located in this repo works fine.
The text was updated successfully, but these errors were encountered: