Class: TD::Types::Update::MessageReaction
- Inherits:
-
TD::Types::Update
- Object
- Dry::Struct
- Base
- TD::Types::Update
- TD::Types::Update::MessageReaction
- Defined in:
- lib/tdlib/types/update/message_reaction.rb
Overview
User changed its reactions on a message with public reactions; for bots only.
Instance Attribute Summary collapse
-
#actor_id ⇒ TD::Types::MessageSender
Identifier of the user or chat that changed reactions.
-
#chat_id ⇒ Integer
Chat identifier.
-
#date ⇒ Integer
Point in time (Unix timestamp) when the reactions were changed.
-
#message_id ⇒ Integer
Message identifier.
-
#new_reaction_types ⇒ Array<TD::Types::ReactionType>
New list of chosen reactions.
-
#old_reaction_types ⇒ Array<TD::Types::ReactionType>
Old list of chosen reactions.
Method Summary
Methods inherited from Base
Instance Attribute Details
#actor_id ⇒ TD::Types::MessageSender
Identifier of the user or chat that changed reactions.
10 11 12 |
# File 'lib/tdlib/types/update/message_reaction.rb', line 10 def actor_id @actor_id end |
#chat_id ⇒ Integer
Chat identifier.
10 11 12 |
# File 'lib/tdlib/types/update/message_reaction.rb', line 10 def chat_id @chat_id end |
#date ⇒ Integer
Point in time (Unix timestamp) when the reactions were changed.
10 11 12 |
# File 'lib/tdlib/types/update/message_reaction.rb', line 10 def date @date end |
#message_id ⇒ Integer
Message identifier.
10 11 12 |
# File 'lib/tdlib/types/update/message_reaction.rb', line 10 def @message_id end |
#new_reaction_types ⇒ Array<TD::Types::ReactionType>
New list of chosen reactions.
10 11 12 |
# File 'lib/tdlib/types/update/message_reaction.rb', line 10 def new_reaction_types @new_reaction_types end |
#old_reaction_types ⇒ Array<TD::Types::ReactionType>
Old list of chosen reactions.
10 11 12 |
# File 'lib/tdlib/types/update/message_reaction.rb', line 10 def old_reaction_types @old_reaction_types end |