class Tourmaline::MessageOriginUser

Overview

The message was originally sent by a known user.

Included Modules

Defined in:

tourmaline/types/api.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(type : String, date : Time, sender_user : Tourmaline::User) #

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

[View source]

Instance Method Detail

def date : Time #

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

[View source]
def sender_user : Tourmaline::User #

User that sent the message originally


[View source]
def sender_user=(sender_user : Tourmaline::User) #

User that sent the message originally


[View source]
def type : String #

Type of the message origin, always "user"


[View source]
def type=(type : String) #

Type of the message origin, always "user"


[View source]