Sha256: ed8946e1b68e917346720d18199e378b510ecba1d56f8dc797cdcd962358c717

Contents?: true

Size: 1.04 KB

Versions: 2

Compression:

Stored size: 1.04 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 [TD::Types::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::Coercible::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

2 entries across 2 versions & 1 rubygems

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