Class: TD::Types::NotificationGroup
- Defined in:
- lib/tdlib/types/notification_group.rb
Overview
Describes a group of notifications.
Instance Attribute Summary collapse
-
#chat_id ⇒ Integer
Identifier of a chat to which all notifications in the group belong.
-
#id ⇒ Integer
Unique persistent auto-incremented from 1 identifier of the notification group.
-
#notifications ⇒ Array<TD::Types::Notification>
The list of active notifications.
-
#total_count ⇒ Integer
Total number of active notifications in the group.
-
#type ⇒ TD::Types::NotificationGroupType
Type of the group.
Method Summary
Methods inherited from Base
Instance Attribute Details
#chat_id ⇒ Integer
Identifier of a chat to which all notifications in the group belong.
9 10 11 |
# File 'lib/tdlib/types/notification_group.rb', line 9 def chat_id @chat_id end |
#id ⇒ Integer
Unique persistent auto-incremented from 1 identifier of the notification group.
9 10 11 |
# File 'lib/tdlib/types/notification_group.rb', line 9 def id @id end |
#notifications ⇒ Array<TD::Types::Notification>
The list of active notifications.
9 10 11 |
# File 'lib/tdlib/types/notification_group.rb', line 9 def notifications @notifications end |
#total_count ⇒ Integer
Total number of active notifications in the group.
9 10 11 |
# File 'lib/tdlib/types/notification_group.rb', line 9 def total_count @total_count end |
#type ⇒ TD::Types::NotificationGroupType
Type of the group.
9 10 11 |
# File 'lib/tdlib/types/notification_group.rb', line 9 def type @type end |