Class: TD::Types::ScopeNotificationSettings
- Defined in:
- lib/tdlib/types/scope_notification_settings.rb
Overview
Contains information about notification settings for several chats.
Instance Attribute Summary collapse
-
#disable_mention_notifications ⇒ Boolean
True, if notifications for messages with mentions will be created as for an ordinary unread message.
-
#disable_pinned_message_notifications ⇒ Boolean
True, if notifications for incoming pinned messages will be created as for an ordinary unread message.
-
#mute_for ⇒ Integer
Time left before notifications will be unmuted, in seconds.
-
#show_preview ⇒ Boolean
True, if message content should be displayed in notifications.
-
#sound ⇒ TD::Types::String
The name of an audio file to be used for notification sounds; only applies to iOS applications.
Method Summary
Methods inherited from Base
Instance Attribute Details
#disable_mention_notifications ⇒ Boolean
True, if notifications for messages with mentions will be created as for an ordinary unread message.
12 13 14 |
# File 'lib/tdlib/types/scope_notification_settings.rb', line 12 def disable_mention_notifications @disable_mention_notifications end |
#disable_pinned_message_notifications ⇒ Boolean
True, if notifications for incoming pinned messages will be created as for an ordinary unread message.
12 13 14 |
# File 'lib/tdlib/types/scope_notification_settings.rb', line 12 def @disable_pinned_message_notifications end |
#mute_for ⇒ Integer
Time left before notifications will be unmuted, in seconds.
12 13 14 |
# File 'lib/tdlib/types/scope_notification_settings.rb', line 12 def mute_for @mute_for end |
#show_preview ⇒ Boolean
True, if message content should be displayed in notifications.
12 13 14 |
# File 'lib/tdlib/types/scope_notification_settings.rb', line 12 def show_preview @show_preview end |
#sound ⇒ TD::Types::String
The name of an audio file to be used for notification sounds; only applies to iOS applications.
12 13 14 |
# File 'lib/tdlib/types/scope_notification_settings.rb', line 12 def sound @sound end |