aboutsummaryrefslogtreecommitdiffhomepage
path: root/example
diff options
context:
space:
mode:
Diffstat (limited to 'example')
-rw-r--r--example/java/org/drinkless/tdlib/example/Example.java8
1 files changed, 8 insertions, 0 deletions
diff --git a/example/java/org/drinkless/tdlib/example/Example.java b/example/java/org/drinkless/tdlib/example/Example.java
index 41507fccf..d7023cd2d 100644
--- a/example/java/org/drinkless/tdlib/example/Example.java
+++ b/example/java/org/drinkless/tdlib/example/Example.java
@@ -591,6 +591,14 @@ public final class Example {
}
break;
}
+ case TdApi.UpdateChatUnreadPollVoteCount.CONSTRUCTOR: {
+ TdApi.UpdateChatUnreadPollVoteCount updateChat = (TdApi.UpdateChatUnreadPollVoteCount) object;
+ TdApi.Chat chat = chats.get(updateChat.chatId);
+ synchronized (chat) {
+ chat.unreadPollVoteCount = updateChat.unreadPollVoteCount;
+ }
+ break;
+ }
case TdApi.UpdateChatVideoChat.CONSTRUCTOR: {
TdApi.UpdateChatVideoChat updateChat = (TdApi.UpdateChatVideoChat) object;
TdApi.Chat chat = chats.get(updateChat.chatId);