java.lang.Object
it.tdlight.jni.TdApi.Object
it.tdlight.jni.TdApi.Update
it.tdlight.jni.TdApi.UpdateUnreadChatCount
- Enclosing class:
- TdApi
Number of unread chats, i.e. with
unread messages or marked as unread,
has changed. This update is sent only
if the message database is used.
-
Field Summary
Modifier and TypeFieldDescriptionThe chat list with changed number of unread messages.static final int
int
Total number of chats marked as unread.int
Total number of unmuted chats marked as unread.int
Approximate total number of chats in the chat list.int
Total number of unread chats.int
Total number of unread unmuted chats. -
Constructor Summary
ConstructorDescriptionNumber of unread chats, i.e.UpdateUnreadChatCount
(TdApi.ChatList chatList, int totalCount, int unreadCount, int unreadUnmutedCount, int markedAsUnreadCount, int markedAsUnreadUnmutedCount) Number of unread chats, i.e.UpdateUnreadChatCount
(DataInput input) -
Method Summary
Methods inherited from class it.tdlight.jni.TdApi.Object
serialize, toString
-
Field Details
-
chatList
The chat list with changed number of unread messages. -
totalCount
public int totalCountApproximate total number of chats in the chat list. -
unreadCount
public int unreadCountTotal number of unread chats. -
unreadUnmutedCount
public int unreadUnmutedCountTotal number of unread unmuted chats. -
markedAsUnreadCount
public int markedAsUnreadCountTotal number of chats marked as unread. -
markedAsUnreadUnmutedCount
public int markedAsUnreadUnmutedCountTotal number of unmuted chats marked as unread. -
CONSTRUCTOR
public static final int CONSTRUCTOR- See Also:
-
-
Constructor Details
-
UpdateUnreadChatCount
public UpdateUnreadChatCount()Number of unread chats, i.e. with unread messages or marked as unread, has changed. This update is sent only if the message database is used. -
UpdateUnreadChatCount
public UpdateUnreadChatCount(TdApi.ChatList chatList, int totalCount, int unreadCount, int unreadUnmutedCount, int markedAsUnreadCount, int markedAsUnreadUnmutedCount) Number of unread chats, i.e. with unread messages or marked as unread, has changed. This update is sent only if the message database is used.- Parameters:
chatList
- ChatList The chat list with changed number of unread messages.totalCount
- int Approximate total number of chats in the chat list.unreadCount
- int Total number of unread chats.unreadUnmutedCount
- int Total number of unread unmuted chats.markedAsUnreadCount
- int Total number of chats marked as unread.markedAsUnreadUnmutedCount
- int Total number of unmuted chats marked as unread.
-
UpdateUnreadChatCount
- Throws:
IOException
-
-
Method Details
-
getConstructor
public int getConstructor()- Specified by:
getConstructor
in classTdApi.Object
-
serialize
- Specified by:
serialize
in classTdApi.Object
- Throws:
IOException
-
equals
-
hashCode
public int hashCode()
-