Class: TD::Types::MessageReaction
- Defined in:
- lib/tdlib/types/message_reaction.rb
Overview
Contains information about a reaction to a message.
Instance Attribute Summary collapse
-
#is_chosen ⇒ Boolean
True, if the reaction is chosen by the current user.
-
#recent_sender_ids ⇒ Array<TD::Types::MessageSender>
Identifiers of at most 3 recent message senders, added the reaction; available in private, basic group and supergroup chats.
-
#total_count ⇒ Integer
Number of times the reaction was added.
-
#type ⇒ TD::Types::ReactionType
Type of the reaction.
-
#used_sender_id ⇒ TD::Types::MessageSender?
Identifier of the message sender used by the current user to add the reaction; may be null if unknown or the reaction isn’t chosen.
Method Summary
Methods inherited from Base
Instance Attribute Details
#is_chosen ⇒ Boolean
True, if the reaction is chosen by the current user.
11 12 13 |
# File 'lib/tdlib/types/message_reaction.rb', line 11 def is_chosen @is_chosen end |
#recent_sender_ids ⇒ Array<TD::Types::MessageSender>
Identifiers of at most 3 recent message senders, added the reaction; available in private, basic group and supergroup chats.
11 12 13 |
# File 'lib/tdlib/types/message_reaction.rb', line 11 def recent_sender_ids @recent_sender_ids end |
#total_count ⇒ Integer
Number of times the reaction was added.
11 12 13 |
# File 'lib/tdlib/types/message_reaction.rb', line 11 def total_count @total_count end |
#type ⇒ TD::Types::ReactionType
Type of the reaction.
11 12 13 |
# File 'lib/tdlib/types/message_reaction.rb', line 11 def type @type end |
#used_sender_id ⇒ TD::Types::MessageSender?
Identifier of the message sender used by the current user to add the reaction; may be null if unknown or the reaction isn’t chosen.
11 12 13 |
# File 'lib/tdlib/types/message_reaction.rb', line 11 def used_sender_id @used_sender_id end |