From 66af1a439af79f81b89241787eaf0194ed194bbc Mon Sep 17 00:00:00 2001 From: levlam Date: Sat, 14 Nov 2020 22:57:59 +0300 Subject: [PATCH] Use getOptions as first request. --- example/java/org/drinkless/tdlib/Client.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/example/java/org/drinkless/tdlib/Client.java b/example/java/org/drinkless/tdlib/Client.java index b923df3914e3..e6a30f33caa5 100644 --- a/example/java/org/drinkless/tdlib/Client.java +++ b/example/java/org/drinkless/tdlib/Client.java @@ -188,7 +188,7 @@ private Client(ResultHandler updateHandler, ExceptionHandler updateExceptionHand if (defaultExceptionHandler != null) { defaultExceptionHandlers.put(nativeClientId, defaultExceptionHandler); } - send(new TdApi.GetAuthorizationState(), null, null); + send(new TdApi.GetOption("version"), null, null); } @Override