Class: TD::Types::Update::UnreadMessageCount

Inherits:
TD::Types::Update show all
Defined in:
lib/tdlib/types/update/unread_message_count.rb

Overview

Number of unread messages in a chat list has changed. This update is sent only if the message database is used.

Instance Attribute Summary collapse

Method Summary

Methods inherited from Base

#to_hash, #to_json

Instance Attribute Details

#chat_listTD::Types::ChatList

The chat list with changed number of unread messages.

Returns:



8
9
10
# File 'lib/tdlib/types/update/unread_message_count.rb', line 8

def chat_list
  @chat_list
end

#unread_countInteger

Total number of unread messages.

Returns:

  • (Integer)

    the current value of unread_count



8
9
10
# File 'lib/tdlib/types/update/unread_message_count.rb', line 8

def unread_count
  @unread_count
end

#unread_unmuted_countInteger

Total number of unread messages in unmuted chats.

Returns:

  • (Integer)

    the current value of unread_unmuted_count



8
9
10
# File 'lib/tdlib/types/update/unread_message_count.rb', line 8

def unread_unmuted_count
  @unread_unmuted_count
end