diff --git a/example/java/org/drinkless/tdlib/Client.java b/example/java/org/drinkless/tdlib/Client.java index b923df391..e6a30f33c 100644 --- a/example/java/org/drinkless/tdlib/Client.java +++ b/example/java/org/drinkless/tdlib/Client.java @@ -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