struct Discord::Message
- Discord::Message
- Struct
- Value
- Object
Defined in:
discordcr/mappings/channel.crConstructors
Instance Method Summary
- #activity : Union(Activity, Nil)
- #activity=(_activity : Union(Activity, Nil))
- #attachments : Array(Attachment)
- #attachments=(_attachments : Array(Attachment))
- #author : User
- #author=(_author : User)
- #channel_id : Snowflake
- #channel_id=(_channel_id : Snowflake)
- #content : String
- #content=(_content : String)
- #embeds : Array(Embed)
- #embeds=(_embeds : Array(Embed))
- #guild_id : Union(Snowflake, Nil)
- #guild_id=(_guild_id : Union(Snowflake, Nil))
- #id : Snowflake
- #id=(_id : Snowflake)
- #member : Union(PartialGuildMember, Nil)
- #member=(_member : Union(PartialGuildMember, Nil))
- #mention_everyone : Bool
- #mention_everyone=(_mention_everyone : Bool)
- #mention_roles : Array(Snowflake)
- #mention_roles=(_mention_roles : Array(Snowflake))
- #mentions : Array(User)
- #mentions=(_mentions : Array(User))
- #nonce : String | Union(Int64, Nil)
- #nonce=(_nonce : String | Union(Int64, Nil))
- #pinned : Union(Bool, Nil)
- #pinned=(_pinned : Union(Bool, Nil))
- #reactions : Union(Array(Reaction), Nil)
- #reactions=(_reactions : Union(Array(Reaction), Nil))
- #timestamp : Time
- #timestamp=(_timestamp : Time)
- #to_json(json : JSON::Builder)
- #tts : Bool
- #tts=(_tts : Bool)
- #type : MessageType
- #type=(_type : MessageType)