Class: TD::Types::StoryAreaType::SuggestedReaction
- Inherits:
-
TD::Types::StoryAreaType
- Object
- Dry::Struct
- Base
- TD::Types::StoryAreaType
- TD::Types::StoryAreaType::SuggestedReaction
- Defined in:
- lib/tdlib/types/story_area_type/suggested_reaction.rb
Overview
An area pointing to a suggested reaction. App needs to show a clickable reaction on the area and call setStoryReaction when the are is clicked.
Instance Attribute Summary collapse
-
#is_dark ⇒ Boolean
True, if reaction has a dark background.
-
#is_flipped ⇒ Boolean
True, if reaction corner is flipped.
-
#reaction_type ⇒ TD::Types::ReactionType
Type of the reaction.
-
#total_count ⇒ Integer
Number of times the reaction was added.
Method Summary
Methods inherited from Base
Instance Attribute Details
#is_dark ⇒ Boolean
True, if reaction has a dark background.
9 10 11 |
# File 'lib/tdlib/types/story_area_type/suggested_reaction.rb', line 9 def is_dark @is_dark end |
#is_flipped ⇒ Boolean
True, if reaction corner is flipped.
9 10 11 |
# File 'lib/tdlib/types/story_area_type/suggested_reaction.rb', line 9 def is_flipped @is_flipped end |
#reaction_type ⇒ TD::Types::ReactionType
Type of the reaction.
9 10 11 |
# File 'lib/tdlib/types/story_area_type/suggested_reaction.rb', line 9 def reaction_type @reaction_type end |
#total_count ⇒ Integer
Number of times the reaction was added.
9 10 11 |
# File 'lib/tdlib/types/story_area_type/suggested_reaction.rb', line 9 def total_count @total_count end |