|
// Send a dummy request to start TDLib |
|
logger.debug(TG_MARKER, "Sending dummy startup request as client {}", clientId); |
|
TdApi.Function<?> dummyRequest = new TdApi.GetOption("version"); |
|
this.send(dummyRequest, null, null); |
|
// test Client.execute |
|
this.execute(new TdApi.GetTextEntities("@telegram /test_command https://telegram.org telegram.me @gif @test")); |
As soon as the request is sent, the Login process is initialized, preventing using a proxy upfront.
tdlight-java/tdlight-java/src/main/java/it/tdlight/InternalClient.java
Lines 173 to 178 in 4d77c73
As soon as the request is sent, the Login process is initialized, preventing using a proxy upfront.