Sha256: 334f8b1da308fce2c0aea3708dcc27fa9f26c3ea84813868264d8ef6e379bc11

Contents?: true

Size: 804 Bytes

Versions: 3

Compression:

Stored size: 804 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::Integer
    attribute :type, TD::Types::NotificationGroupType
    attribute :chat_id, TD::Types::Integer
    attribute :total_count, TD::Types::Integer
    attribute :notifications, TD::Types::Array.of(TD::Types::Notification)
  end
end

Version data entries

3 entries across 3 versions & 2 rubygems

Version Path
tdlib-schema-1.7.0.1 lib/tdlib/types/notification_group.rb
tdlib-ruby-2.2.0 lib/tdlib/types/notification_group.rb
tdlib-ruby-2.1.0 lib/tdlib/types/notification_group.rb