Sha256: 3b328b9fcd73e8b2bd33ac021772881eb4e9050c7c4462d85bc567725f86916a

Contents?: true

Size: 1.03 KB

Versions: 2

Compression:

Stored size: 1.03 KB

Contents

module TD::Types
  # 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.
  #
  # @attr chat_list [TD::Types::ChatList] The chat list with changed number of unread messages.
  # @attr total_count [Integer] Approximate total number of chats in the chat list.
  # @attr unread_count [Integer] Total number of unread chats.
  # @attr unread_unmuted_count [Integer] Total number of unread unmuted chats.
  # @attr marked_as_unread_count [Integer] Total number of chats marked as unread.
  # @attr marked_as_unread_unmuted_count [Integer] Total number of unmuted chats marked as unread.
  class Update::UnreadChatCount < Update
    attribute :chat_list, TD::Types::ChatList
    attribute :total_count, TD::Types::Integer
    attribute :unread_count, TD::Types::Integer
    attribute :unread_unmuted_count, TD::Types::Integer
    attribute :marked_as_unread_count, TD::Types::Integer
    attribute :marked_as_unread_unmuted_count, TD::Types::Integer
  end
end

Version data entries

2 entries across 2 versions & 2 rubygems

Version Path
tdlib-schema-1.7.0.1 lib/tdlib/types/update/unread_chat_count.rb
tdlib-ruby-2.2.0 lib/tdlib/types/update/unread_chat_count.rb