class

Tourmaline::MessageOriginUser

Inherits JSON::Serializable < Reference < Object

The message was originally sent by a known user.

Constructors

new(type : String, date : Time, sender_user : Tourmaline::User)
Source
new(*, __pull_for_json_serializable pull : JSON::PullParser)
Source

Instance methods

date

Date the message was sent originally in Unix time

Source
date=(date : Time)

Date the message was sent originally in Unix time

Source
sender_user

User that sent the message originally

Source
sender_user=(sender_user : Tourmaline::User)

User that sent the message originally

Source
type

Type of the message origin, always "user"

Source
type=(type : String)

Type of the message origin, always "user"

Source