Class: TD::Types::ReactionNotificationSettings

Inherits:
Base
  • Object
show all
Defined in:
lib/tdlib/types/reaction_notification_settings.rb

Overview

Contains information about notification settings for reactions.

Instance Attribute Summary collapse

Method Summary

Methods inherited from Base

#to_hash, #to_json

Instance Attribute Details

#message_reaction_sourceTD::Types::ReactionNotificationSource

Source of message reactions for which notifications are shown.

Returns:



10
11
12
# File 'lib/tdlib/types/reaction_notification_settings.rb', line 10

def message_reaction_source
  @message_reaction_source
end

#show_previewBoolean

True, if reaction sender and emoji must be displayed in notifications.

Returns:

  • (Boolean)

    the current value of show_preview



10
11
12
# File 'lib/tdlib/types/reaction_notification_settings.rb', line 10

def show_preview
  @show_preview
end

#sound_idInteger

Identifier of the notification sound to be played; 0 if sound is disabled.

Returns:

  • (Integer)

    the current value of sound_id



10
11
12
# File 'lib/tdlib/types/reaction_notification_settings.rb', line 10

def sound_id
  @sound_id
end

#story_reaction_sourceTD::Types::ReactionNotificationSource

Source of story reactions for which notifications are shown.

Returns:



10
11
12
# File 'lib/tdlib/types/reaction_notification_settings.rb', line 10

def story_reaction_source
  @story_reaction_source
end