struct Discord::Gateway::MessageUpdatePayload

Defined in:

discordcr/mappings/gateway.cr

Constructors

Instance Method Summary

Constructor Detail

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

Instance Method Detail

def attachments : Union(Array(Attachment), Nil) #

def attachments=(_attachments : Union(Array(Attachment), Nil)) #

def author : Union(User, Nil) #

def author=(_author : Union(User, Nil)) #

def channel_id : Snowflake #

def channel_id=(_channel_id : Snowflake) #

def content : Union(String, Nil) #

def content=(_content : Union(String, Nil)) #

def embeds : Union(Array(Embed), Nil) #

def embeds=(_embeds : Union(Array(Embed), Nil)) #

def guild_id : Union(Snowflake, Nil) #

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

def id : Snowflake #

def id=(_id : Snowflake) #

def mention_everyone : Union(Bool, Nil) #

def mention_everyone=(_mention_everyone : Union(Bool, Nil)) #

def mention_roles : Union(Array(Snowflake), Nil) #

def mention_roles=(_mention_roles : Union(Array(Snowflake), Nil)) #

def mentions : Union(Array(User), Nil) #

def mentions=(_mentions : Union(Array(User), Nil)) #

def pinned : Union(Bool, Nil) #

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

def timestamp : Union(Time, Nil) #

def timestamp=(_timestamp : Union(Time, Nil)) #

def to_json(json : JSON::Builder) #

def tts : Union(Bool, Nil) #

def tts=(_tts : Union(Bool, Nil)) #

def type : Union(UInt8, Nil) #

def type=(_type : Union(UInt8, Nil)) #