Sha256: 6863bd5e88f583fd146fd4f3ece557041ced22a1f8d5a6628115e3aa419427e9

Contents?: true

Size: 1.01 KB

Versions: 3

Compression:

Stored size: 1.01 KB

Contents

module TD::Types
  # Contains information about notification settings for several chats.
  #
  # @attr mute_for [Integer] Time left before notifications will be unmuted, in seconds.
  # @attr sound [String] The name of an audio file to be used for notification sounds; only applies to iOS
  #   applications.
  # @attr show_preview [Boolean] True, if message content should be displayed in notifications.
  # @attr disable_pinned_message_notifications [Boolean] True, if notifications for incoming pinned messages will be
  #   created as for an ordinary unread message.
  # @attr disable_mention_notifications [Boolean] True, if notifications for messages with mentions will be created as
  #   for an ordinary unread message.
  class ScopeNotificationSettings < Base
    attribute :mute_for, TD::Types::Integer
    attribute :sound, TD::Types::String
    attribute :show_preview, TD::Types::Bool
    attribute :disable_pinned_message_notifications, TD::Types::Bool
    attribute :disable_mention_notifications, TD::Types::Bool
  end
end

Version data entries

3 entries across 3 versions & 2 rubygems

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