struct Message

Defined in:

models/message.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(row_id : Int32, text : String, time : Time, sender : User, from_me : Bool, attachments : Array(Attachment)) #

[View source]

Instance Method Detail

def attachments : Array(Attachment) #

[View source]
def attachments=(attachments : Array(Attachment)) #

[View source]
def from_me : Bool #

[View source]
def has_attachments? #

[View source]
def local_time #

[View source]
def mine? #

[View source]
def row_id : Int32 #

[View source]
def sender : User #

[View source]
def text : String #

[View source]
def time : Time #

[View source]