Sha256: 74f050647d2c3adffc94f92898744bf8f894528b6617b4a7fe5a4f63dd70b294

Contents?: true

Size: 557 Bytes

Versions: 2

Compression:

Stored size: 557 Bytes

Contents

module TD::Types
  # Contains information about a notification.
  #
  # @attr id [Integer] Unique persistent identifier of this notification.
  # @attr date [Integer] Notification date.
  # @attr is_silent [Boolean] True, if the notification was initially silent.
  # @attr type [TD::Types::NotificationType] Notification type.
  class Notification < Base
    attribute :id, TD::Types::Coercible::Integer
    attribute :date, TD::Types::Coercible::Integer
    attribute :is_silent, TD::Types::Bool
    attribute :type, TD::Types::NotificationType
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

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