var attachments: [Attachment]
Array of Attachment structs that was sent with the message
let author: User?
User struct of the author (not returned if webhook)
let channel: TextChannel
Channel struct of the message
let content: String
Content of the message
let editedTimestamp: Date?
If message was edited, this is the time it happened
var embeds: [Embed]
Array of embeds sent with message
var flags: Int?
Message type flags
var guild: Guild?
If sent in a guild, the guild
let id: Snowflake
Message ID
let isEveryoneMentioned: Bool
Whether or not this message mentioned everyone
let isPinned: Bool
Whether or not this message is pinned in it’s channel
let isTts: Bool
Whether or not this messaged was ttsed
var member: Member?
Member struct for message
var mentionedRoles: [Snowflake]
Array of Roles that were mentioned
var mentions: [User]
Array of Users that were mentioned
let nonce: Snowflake?
Used to validate a message was sent
var reactions: [[String : Any]]
Array of reactions with message
let swiftcord: Swiftcord
Main Swiftcord class
let timestamp: Date
Time when message was sent
let type: Message.Type
Determines what type of message was sent
let webhookId: Snowflake?
If message was sent by webhook, this is that webhook’s ID