Sha256: 761dc2cccf1543e2eb57bcd99ada4836253048afca4c4eceeaef17be7e9faa32

Contents?: true

Size: 837 Bytes

Versions: 3

Compression:

Stored size: 837 Bytes

Contents

module TD::Types
  # Describes a group of notifications.
  #
  # @attr id [Integer] Unique persistent auto-incremented from 1 identifier of the notification group.
  # @attr type [TD::Types::NotificationGroupType] Type of the group.
  # @attr chat_id [Integer] Identifier of a chat to which all notifications in the group belong.
  # @attr total_count [Integer] Total number of active notifications in the group.
  # @attr notifications [Array<TD::Types::Notification>] The list of active notifications.
  class NotificationGroup < Base
    attribute :id, TD::Types::Coercible::Integer
    attribute :type, TD::Types::NotificationGroupType
    attribute :chat_id, TD::Types::Coercible::Integer
    attribute :total_count, TD::Types::Coercible::Integer
    attribute :notifications, TD::Types::Array.of(TD::Types::Notification)
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
tdlib-schema-1.7.0.4 lib/tdlib/types/notification_group.rb
tdlib-schema-1.7.0.3 lib/tdlib/types/notification_group.rb
tdlib-schema-1.7.0.2 lib/tdlib/types/notification_group.rb