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
Hello,
All methods that do not require authentication as sendCode, checkPhone, signIn, signUp return successfull but others methods return timeoutexception.
I used implementation of AbsApiState from telegram-bot (https://github.com/ex3ndr/telegram-bot/blob/master/app/src/main/java/org/telegram/bot/engine/MemoryApiState.java).
I think that using this method:
public synchronized void putAuthKey(int dcId, byte[] key) {
keys.put(dcId, key);
}
The others methods return successfull but the parameter "key" is not how to get it.
In conclusion, I want to know how to get and save the authentication of a user so he can send messages etc ...
I'm sorry for my limeted English.
The text was updated successfully, but these errors were encountered:
Hello,
All methods that do not require authentication as sendCode, checkPhone, signIn, signUp return successfull but others methods return timeoutexception.
I used implementation of AbsApiState from telegram-bot (https://github.com/ex3ndr/telegram-bot/blob/master/app/src/main/java/org/telegram/bot/engine/MemoryApiState.java).
I think that using this method:
public synchronized void putAuthKey(int dcId, byte[] key) {
keys.put(dcId, key);
}
The others methods return successfull but the parameter "key" is not how to get it.
In conclusion, I want to know how to get and save the authentication of a user so he can send messages etc ...
I'm sorry for my limeted English.
The text was updated successfully, but these errors were encountered: