Interface JSONMessage

Hierarchy

Properties

activity?: MessageActivity
application?: string | JSONPartialApplication
attachments: JSONAttachment[]
author: JSONUser
channel: string
components?: MessageActionRow[]
content: string
createdAt: number
editedTimestamp: null | number
embeds: Embed[]
flags?: number
guild?: string
id: string
interaction?: { id: string; member?: JSONMember; name: string; type: InteractionTypes; user: JSONUser }

Type declaration

mentionChannels?: ChannelMention[]
mentions: { channels: string[]; everyone: boolean; members: JSONMember[]; roles: string[]; users: JSONUser[] }

Type declaration

  • channels: string[]
  • everyone: boolean
  • members: JSONMember[]
  • roles: string[]
  • users: JSONUser[]
messageReference?: MessageReference
nonce?: string | number
pinned: boolean
position?: number
reactions: Record<string, MessageReaction>
referencedMessage?: null | JSONMessage
stickerItems?: StickerItem[]
timestamp: number
tts: boolean
webhook?: string