struct Discord::Gateway::MessageUpdatePayload

Included Modules

Defined in:

discordcr/mappings/gateway.cr

Constructors

Instance Method Summary

Constructor Detail

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

[View source]

Instance Method Detail

def attachments : Array(Attachment) | Nil #

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

[View source]
def author : User | Nil #

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

[View source]
def channel_id : Snowflake #

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

[View source]
def content : String | Nil #

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

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

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

[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 mention_everyone : Bool | Nil #

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

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

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

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

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

[View source]
def pinned : Bool | Nil #

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

[View source]
def timestamp : Time | Nil #

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

[View source]
def tts : Bool | Nil #

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

[View source]
def type : UInt8 | Nil #

[View source]
def type=(type : UInt8 | Nil) #

[View source]