Tourmaline::MessageReactionUpdated
Inherits JSON::Serializable < Reference < Object
This object represents a change of a reaction on a message performed by a user.
Constructors
new(chat : Tourmaline::Chat, message_id : Int32 | Int64, date : Time, old_reaction : Array(Tourmaline::ReactionType) = [] of Tourmaline::ReactionType, new_reaction : Array(Tourmaline::ReactionType) = [] of Tourmaline::ReactionType, user : Tourmaline::User | Nil = nil, actor_chat : Tourmaline::Chat | Nil = nil)
Sourcenew(pull : JSON::PullParser)
Sourcenew(*, __pull_for_json_serializable pull : JSON::PullParser)
SourceInstance methods
actor_chat
Optional. The chat on behalf of which the reaction was changed, if the user is anonymous
Optional. 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
Previous list of reaction types that were set by the user
Optional. The user that changed the reaction, if the user isn't anonymous