class Tourmaline::MessageReactionCountUpdated
- Tourmaline::MessageReactionCountUpdated
- Reference
- Object
Overview
This object represents reaction changes on a message with anonymous reactions.
Included Modules
- JSON::Serializable
Defined in:
tourmaline/types/api.crConstructors
- .new(chat : Tourmaline::Chat, message_id : Int32 | Int64, date : Time, reactions : Array(Tourmaline::ReactionCount) = [] of Tourmaline::ReactionCount)
- .new(pull : JSON::PullParser)
Instance Method Summary
-
#chat : Tourmaline::Chat
The chat containing the message
-
#chat=(chat : Tourmaline::Chat)
The chat containing the message
- #date : Time
- #date=(date : Time)
-
#message_id : Int32 | Int64
Unique message identifier inside the chat
-
#message_id=(message_id : Int32 | Int64)
Unique message identifier inside the chat
-
#reactions : Array(Tourmaline::ReactionCount)
List of reactions that are present on the message
-
#reactions=(reactions : Array(Tourmaline::ReactionCount))
List of reactions that are present on the message
Constructor Detail
def self.new(chat : Tourmaline::Chat, message_id : Int32 | Int64, date : Time, reactions : Array(Tourmaline::ReactionCount) = [] of Tourmaline::ReactionCount)
#
Instance Method Detail
def reactions : Array(Tourmaline::ReactionCount)
#
List of reactions that are present on the message
def reactions=(reactions : Array(Tourmaline::ReactionCount))
#
List of reactions that are present on the message