Module tdlight.api

Class TdApi.UpdateChatReadInbox

Enclosing class:
TdApi

public static final class TdApi.UpdateChatReadInbox extends TdApi.Update
Incoming messages were read or the number of unread messages has been changed.
  • Field Details

    • chatId

      public long chatId
      Chat identifier.
    • lastReadInboxMessageId

      public long lastReadInboxMessageId
      Identifier of the last read incoming message.
    • unreadCount

      public int unreadCount
      The number of unread messages left in the chat.
    • CONSTRUCTOR

      public static final int CONSTRUCTOR
      See Also:
  • Constructor Details

    • UpdateChatReadInbox

      public UpdateChatReadInbox()
      Incoming messages were read or the number of unread messages has been changed.
    • UpdateChatReadInbox

      public UpdateChatReadInbox(long chatId, long lastReadInboxMessageId, int unreadCount)
      Incoming messages were read or the number of unread messages has been changed.
      Parameters:
      chatId - long Chat identifier.
      lastReadInboxMessageId - long Identifier of the last read incoming message.
      unreadCount - int The number of unread messages left in the chat.
    • UpdateChatReadInbox

      public UpdateChatReadInbox(DataInput input) throws IOException
      Incoming messages were read or the number of unread messages has been changed.
      Throws:
      IOException
  • Method Details