class
Hamilton::Types::MessageReactionUpdated
- Hamilton::Types::MessageReactionUpdated
- Reference
- Object
Overview
This object represents a change of a reaction on a message performed by a user.
Included Modules
- Hamilton::Types::Common
- JSON::Serializable
Defined in:
types/message_reaction_updated.crConstructors
- .new(pull : JSON::PullParser)
- .new(params)
- .new(*, __pull_for_json_serializable pull : JSON::PullParser)
- .new(**params)
Instance Method Summary
-
#actor_chat : Hamilton::Types::Chat | Nil
The chat on behalf of which the reaction was changed, if the user is anonymous.
-
#actor_chat=(actor_chat : Hamilton::Types::Chat | Nil)
The chat on behalf of which the reaction was changed, if the user is anonymous.
-
#chat : Hamilton::Types::Chat
The chat containing the message the user reacted to.
-
#chat=(chat : Hamilton::Types::Chat)
The chat containing the message the user reacted to.
-
#date : Int32
Date of the change in Unix time.
-
#date=(date : Int32)
Date of the change in Unix time.
-
#message_id : Int32
Unique identifier of the message inside the chat.
-
#message_id=(message_id : Int32)
Unique identifier of the message inside the chat.
-
#new_reaction : Array(Hamilton::Types::ReactionType)
New list of reaction types that have been set by the user.
-
#new_reaction=(new_reaction : Array(Hamilton::Types::ReactionType))
New list of reaction types that have been set by the user.
-
#non_nil_fields : Array(String)
List of available non-nil fields.
-
#non_nil_fields=(non_nil_fields : Array(String))
List of available non-nil fields.
-
#old_reaction : Array(Hamilton::Types::ReactionType)
Previous list of reaction types that were set by the user.
-
#old_reaction=(old_reaction : Array(Hamilton::Types::ReactionType))
Previous list of reaction types that were set by the user.
-
#user : Hamilton::Types::User | Nil
The user that changed the reaction, if the user isn't anonymous.
-
#user=(user : Hamilton::Types::User | Nil)
The user that changed the reaction, if the user isn't anonymous.
Instance methods inherited from class Reference
==(other : Hamilton::Any)
==
Instance methods inherited from class Object
===(other : Hamilton::Any)
===
Constructor Detail
Instance Method Detail
The chat on behalf of which the reaction was changed, if the user is anonymous.
The chat on behalf of which the reaction was changed, if the user is anonymous.
New list of reaction types that have been set by the user.
New list of reaction types that have been set by the user.
Previous list of reaction types that were set by the user.
Previous list of reaction types that were set by the user.
The user that changed the reaction, if the user isn't anonymous.
The user that changed the reaction, if the user isn't anonymous.