class

Tourmaline::MessageReactionCountUpdated

Inherits JSON::Serializable < Reference < Object

This object represents reaction changes on a message with anonymous reactions.

Constructors

new(chat : Tourmaline::Chat, message_id : Int32 | Int64, date : Time, reactions : Array(Tourmaline::ReactionCount) = [] of Tourmaline::ReactionCount)
Source
new(*, __pull_for_json_serializable pull : JSON::PullParser)
Source

Instance methods

chat

The chat containing the message

Source
chat=(chat : Tourmaline::Chat)

The chat containing the message

Source
date

Date of the change in Unix time

Source
date=(date : Time)

Date of the change in Unix time

Source
message_id

Unique message identifier inside the chat

Source
message_id=(message_id : Int32 | Int64)

Unique message identifier inside the chat

Source
reactions

List of reactions that are present on the message

Source
reactions=(reactions : Array(Tourmaline::ReactionCount))

List of reactions that are present on the message

Source