|
// 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.