struct Discord::Message

Included Modules

Defined in:

discordcr/mappings/channel.cr

Constructors

Instance Method Summary

Constructor Detail

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

[View source]

Instance Method Detail

def activity : Activity | Nil #

[View source]
def activity=(activity : Activity | Nil) #

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

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

[View source]
def author : User #

[View source]
def author=(author : User) #

[View source]
def channel_id : Snowflake #

[View source]
def channel_id=(channel_id : Snowflake) #

[View source]
def content : String #

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

[View source]
def embeds : Array(Embed) #

[View source]
def embeds=(embeds : Array(Embed)) #

[View source]
def guild_id : Snowflake | Nil #

[View source]
def guild_id=(guild_id : Snowflake | Nil) #

[View source]
def id : Snowflake #

[View source]
def id=(id : Snowflake) #

[View source]
def member : PartialGuildMember | Nil #

[View source]
def member=(member : PartialGuildMember | Nil) #

[View source]
def mention_everyone : Bool #

[View source]
def mention_everyone=(mention_everyone : Bool) #

[View source]
def mention_roles : Array(Snowflake) #

[View source]
def mention_roles=(mention_roles : Array(Snowflake)) #

[View source]
def mentions : Array(User) #

[View source]
def mentions=(mentions : Array(User)) #

[View source]
def nonce : String | Int64 | Nil #

[View source]
def nonce=(nonce : String | Int64 | Nil) #

[View source]
def pinned : Bool | Nil #

[View source]
def pinned=(pinned : Bool | Nil) #

[View source]
def reactions : Array(Reaction) | Nil #

[View source]
def reactions=(reactions : Array(Reaction) | Nil) #

[View source]
def timestamp : Time #

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

[View source]
def tts : Bool #

[View source]
def tts=(tts : Bool) #

[View source]
def type : MessageType #

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

[View source]
def webhook_id : Snowflake | Nil #

[View source]
def webhook_id=(webhook_id : Snowflake | Nil) #

[View source]