Skip to content

class Tourmaline::MessageOriginUser
inherits Reference #

The message was originally sent by a known user.

Included modules

JSON::Serializable

Constructors#

.new(type, date, sender_user) #

View source

.new(pull : JSON::PullParser) #

View source

Methods#

#date : Time #

View source

#date=(date : Time) #

View source

#sender_user : Tourmaline::User #

User that sent the message originally

View source

#sender_user=(sender_user : Tourmaline::User) #

User that sent the message originally

View source

#type : String #

Type of the message origin, always "user"

View source

#type=(type : String) #

Type of the message origin, always "user"

View source