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

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

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

[View source]
def id : Snowflake #

[View source]
def id=(id : 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 pinned : Bool? #

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

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

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

[View source]