Class: TD::Types::Update::NotificationGroup
- Inherits:
-
TD::Types::Update
- Object
- Dry::Struct
- Base
- TD::Types::Update
- TD::Types::Update::NotificationGroup
- Defined in:
- lib/tdlib/types/update/notification_group.rb
Overview
A list of active notifications in a notification group has changed.
Instance Attribute Summary collapse
-
#added_notifications ⇒ Array<TD::Types::Notification>
List of added group notifications, sorted by notification ID.
-
#chat_id ⇒ Integer
Identifier of a chat to which all notifications in the group belong.
-
#is_silent ⇒ Boolean
True, if the notifications should be shown without sound.
-
#notification_group_id ⇒ Integer
Unique notification group identifier.
-
#notification_settings_chat_id ⇒ Integer
Chat identifier, which notification settings must be applied to the added notifications.
-
#removed_notification_ids ⇒ Array<Integer>
Identifiers of removed group notifications, sorted by notification ID.
-
#total_count ⇒ Integer
Total number of unread notifications in the group, can be bigger than number of active notifications.
-
#type ⇒ TD::Types::NotificationGroupType
New type of the notification group.
Method Summary
Methods inherited from Base
Instance Attribute Details
#added_notifications ⇒ Array<TD::Types::Notification>
List of added group notifications, sorted by notification ID.
16 17 18 |
# File 'lib/tdlib/types/update/notification_group.rb', line 16 def added_notifications @added_notifications end |
#chat_id ⇒ Integer
Identifier of a chat to which all notifications in the group belong.
16 17 18 |
# File 'lib/tdlib/types/update/notification_group.rb', line 16 def chat_id @chat_id end |
#is_silent ⇒ Boolean
True, if the notifications should be shown without sound.
16 17 18 |
# File 'lib/tdlib/types/update/notification_group.rb', line 16 def is_silent @is_silent end |
#notification_group_id ⇒ Integer
Unique notification group identifier.
16 17 18 |
# File 'lib/tdlib/types/update/notification_group.rb', line 16 def notification_group_id @notification_group_id end |
#notification_settings_chat_id ⇒ Integer
Chat identifier, which notification settings must be applied to the added notifications.
16 17 18 |
# File 'lib/tdlib/types/update/notification_group.rb', line 16 def notification_settings_chat_id @notification_settings_chat_id end |
#removed_notification_ids ⇒ Array<Integer>
Identifiers of removed group notifications, sorted by notification ID.
16 17 18 |
# File 'lib/tdlib/types/update/notification_group.rb', line 16 def removed_notification_ids @removed_notification_ids end |
#total_count ⇒ Integer
Total number of unread notifications in the group, can be bigger than number of active notifications.
16 17 18 |
# File 'lib/tdlib/types/update/notification_group.rb', line 16 def total_count @total_count end |
#type ⇒ TD::Types::NotificationGroupType
New type of the notification group.
16 17 18 |
# File 'lib/tdlib/types/update/notification_group.rb', line 16 def type @type end |