Skip to content

Commit 611e10b

Browse files
committed
Update Java example.
1 parent 29a3c92 commit 611e10b

1 file changed

Lines changed: 8 additions & 0 deletions

File tree

‎example/java/org/drinkless/tdlib/example/Example.java‎

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -591,6 +591,14 @@ public void onResult(TdApi.Object object) {
591591
}
592592
break;
593593
}
594+
case TdApi.UpdateChatUnreadPollVoteCount.CONSTRUCTOR: {
595+
TdApi.UpdateChatUnreadPollVoteCount updateChat = (TdApi.UpdateChatUnreadPollVoteCount) object;
596+
TdApi.Chat chat = chats.get(updateChat.chatId);
597+
synchronized (chat) {
598+
chat.unreadPollVoteCount = updateChat.unreadPollVoteCount;
599+
}
600+
break;
601+
}
594602
case TdApi.UpdateChatVideoChat.CONSTRUCTOR: {
595603
TdApi.UpdateChatVideoChat updateChat = (TdApi.UpdateChatVideoChat) object;
596604
TdApi.Chat chat = chats.get(updateChat.chatId);

0 commit comments

Comments
 (0)