class 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? #

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

[View source]
def application : OAuth2Application? #

[View source]
def application=(application : OAuth2Application?) #

[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 edited_timestamp : Time? #

[View source]
def edited_timestamp=(edited_timestamp : Time?) #

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

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

[View source]
def flags : MessageFlags? #

[View source]
def flags=(flags : MessageFlags?) #

[View source]
def guild_id : Snowflake? #

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

[View source]
def id : Snowflake #

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

[View source]
def member : PartialGuildMember? #

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

[View source]
def mention_channels : Array(Snowflake)? #

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

[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 message_reference : MessageReference #

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

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

[View source]
def pinned : Bool? #

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

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

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

[View source]
def referenced_message : Message? #

[View source]
def referenced_message=(referenced_message : Message?) #

[View source]
def thread : Channel? #

[View source]
def thread=(thread : Channel?) #

[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? #

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

[View source]