Update example
This commit is contained in:
parent
646330ae19
commit
30c74a6ab4
@ -25,7 +25,7 @@
|
||||
<dependency>
|
||||
<groupId>it.tdlight</groupId>
|
||||
<artifactId>tdlight-java</artifactId>
|
||||
<version>2.7.8.22</version>
|
||||
<version>2.7.8.23</version>
|
||||
</dependency>
|
||||
|
||||
<!-- TDLight natives -->
|
||||
|
@ -85,7 +85,7 @@ public final class Example {
|
||||
}
|
||||
|
||||
// Get the chat title
|
||||
client.send(new TdApi.GetChat(update.message.chatId), (Result<Chat> chatIdResult) -> {
|
||||
client.send(new TdApi.GetChat(update.message.chatId), chatIdResult -> {
|
||||
// Get the chat response
|
||||
Chat chat = chatIdResult.get();
|
||||
// Get the chat name
|
||||
|
Loading…
Reference in New Issue
Block a user