struct Discord::Message

Defined in:

discordcr/mappings/channel.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(__temp_36 : JSON::PullParser) #

Instance Method Detail

def activity : ::Union(Activity, Nil) #

def activity=(_activity : ::Union(Activity, Nil)) #

def attachments : Array(Attachment) #

def attachments=(_attachments : Array(Attachment)) #

def author : User #

def author=(_author : User) #

def channel_id : Snowflake #

def channel_id=(_channel_id : Snowflake) #

def content : String #

def content=(_content : String) #

def embeds : Array(Embed) #

def embeds=(_embeds : Array(Embed)) #

def guild_id : ::Union(Snowflake, Nil) #

def guild_id=(_guild_id : ::Union(Snowflake, Nil)) #

def id : Snowflake #

def id=(_id : Snowflake) #

def member : ::Union(PartialGuildMember, Nil) #

def member=(_member : ::Union(PartialGuildMember, Nil)) #

def mention_everyone : Bool #

def mention_everyone=(_mention_everyone : Bool) #

def mention_roles : Array(Snowflake) #

def mention_roles=(_mention_roles : Array(Snowflake)) #

def mentions : Array(User) #

def mentions=(_mentions : Array(User)) #

def pinned : ::Union(Bool, Nil) #

def pinned=(_pinned : ::Union(Bool, Nil)) #

def reactions : ::Union(Array(Reaction), Nil) #

def reactions=(_reactions : ::Union(Array(Reaction), Nil)) #

def timestamp : Time #

def timestamp=(_timestamp : Time) #

def to_json(json : JSON::Builder) #

def tts : Bool #

def tts=(_tts : Bool) #

def type : MessageType #

def type=(_type : MessageType) #