class Tourmaline::MessageReactionCountUpdated

Overview

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

Included Modules

Defined in:

tourmaline/types/api.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(chat : Tourmaline::Chat, message_id : Int32 | Int64, date : Time, reactions : Array(Tourmaline::ReactionCount) = [] of Tourmaline::ReactionCount) #

[View source]
def self.new(pull : JSON::PullParser) #

[View source]

Instance Method Detail

def chat : Tourmaline::Chat #

The chat containing the message


[View source]
def chat=(chat : Tourmaline::Chat) #

The chat containing the message


[View source]
def date : Time #

[View source]
def date=(date : Time) #

[View source]
def message_id : Int32 | Int64 #

Unique message identifier inside the chat


[View source]
def message_id=(message_id : Int32 | Int64) #

Unique message identifier inside the chat


[View source]
def reactions : Array(Tourmaline::ReactionCount) #

List of reactions that are present on the message


[View source]
def reactions=(reactions : Array(Tourmaline::ReactionCount)) #

List of reactions that are present on the message


[View source]