Interface JSONMessage

Hierarchy

Properties

channelID: string

ID of the channel on which the message was sent.

content: null | string

Content of the message.

createdAt: Date

When the message was created.

deletedAt: null | Date

When the message was deleted.

editedTimestamp: null | Date

Timestamp at which this message was last edited.

embeds?: [] | APIEmbedOptions[]

Array of message embed.

guildID: null | string

ID of the server on which the message was sent.

id: string
isPrivate: boolean

If true, the message appears as private.

isSilent: boolean

If true, the message didn't mention anyone.

memberID: string

ID of the message author.

mentions: APIMentions

object containing all mentioned users.

replyMessageIds: string[]

The IDs of the message replied by the message.

type: string

Message type.

webhookID?: null | string

ID of the webhook used to send this message. (if sent by a webhook)