Discord::Gateway::MessageUpdatePayload
Inherits JSON::Serializable / Struct / Value / Object
Constructors
new(pull : JSON::PullParser)
Sourcenew(*, __pull_for_json_serializable pull : JSON::PullParser)
SourceInstance methods
attachments
Sourceattachments=(attachments : Array(Attachment) | Nil)
Sourceauthor
Sourceauthor=(author : User | Nil)
Sourcechannel_id
Sourcechannel_id=(channel_id : Snowflake)
Sourcecontent
Sourcecontent=(content : String | Nil)
Sourceembeds
Sourceembeds=(embeds : Array(Embed) | Nil)
Sourceguild_id
Sourceguild_id=(guild_id : Snowflake | Nil)
Sourceid
Sourceid=(id : Snowflake)
Sourcemention_everyone
Sourcemention_everyone=(mention_everyone : Bool | Nil)
Sourcemention_roles
Sourcemention_roles=(mention_roles : Array(Snowflake) | Nil)
Sourcementions
Sourcementions=(mentions : Array(User) | Nil)
Sourcepinned
Sourcepinned=(pinned : Bool | Nil)
Sourcetimestamp
Sourcetimestamp=(timestamp : Time | Nil)
Sourcetts
Sourcetts=(tts : Bool | Nil)
Sourcetype
Sourcetype=(type : UInt8 | Nil)
Source