Class: TD::Types::ReactionNotificationSettings
- Defined in:
- lib/tdlib/types/reaction_notification_settings.rb
Overview
Contains information about notification settings for reactions.
Instance Attribute Summary collapse
-
#message_reaction_source ⇒ TD::Types::ReactionNotificationSource
Source of message reactions for which notifications are shown.
-
#show_preview ⇒ Boolean
True, if reaction sender and emoji must be displayed in notifications.
-
#sound_id ⇒ Integer
Identifier of the notification sound to be played; 0 if sound is disabled.
-
#story_reaction_source ⇒ TD::Types::ReactionNotificationSource
Source of story reactions for which notifications are shown.
Method Summary
Methods inherited from Base
Instance Attribute Details
#message_reaction_source ⇒ TD::Types::ReactionNotificationSource
Source of message reactions for which notifications are shown.
10 11 12 |
# File 'lib/tdlib/types/reaction_notification_settings.rb', line 10 def @message_reaction_source end |
#show_preview ⇒ Boolean
True, if reaction sender and emoji must be displayed in notifications.
10 11 12 |
# File 'lib/tdlib/types/reaction_notification_settings.rb', line 10 def show_preview @show_preview end |
#sound_id ⇒ Integer
Identifier of the notification sound to be played; 0 if sound is disabled.
10 11 12 |
# File 'lib/tdlib/types/reaction_notification_settings.rb', line 10 def sound_id @sound_id end |
#story_reaction_source ⇒ TD::Types::ReactionNotificationSource
Source of story reactions for which notifications are shown.
10 11 12 |
# File 'lib/tdlib/types/reaction_notification_settings.rb', line 10 def story_reaction_source @story_reaction_source end |