Use getOptions as first request.

This commit is contained in:
levlam 2020-11-14 22:57:59 +03:00
parent cde8acf230
commit 66af1a439a

View File

@ -188,7 +188,7 @@ public final class Client {
if (defaultExceptionHandler != null) {
defaultExceptionHandlers.put(nativeClientId, defaultExceptionHandler);
}
send(new TdApi.GetAuthorizationState(), null, null);
send(new TdApi.GetOption("version"), null, null);
}
@Override