Type Parameters

  • InGuild extends boolean = boolean

Hierarchy (View Summary)

Properties

activity: null | MessageActivity
applicationId: null | string
attachments: Collection<string, Attachment>
author: User
call: null | MessageCall
channelId: string
client: Client<true>
components: TopLevelComponent[]
content: string
createdTimestamp: number
editedTimestamp: null | number
embeds: Embed[]
groupActivityApplication: null | ClientApplication
guildId: If<InGuild, string>
id: string
interaction: null | MessageInteraction

Use Message.interactionMetadata instead.

interactionMetadata: null | MessageInteractionMetadata
messageSnapshots: Collection<string, MessageSnapshot>
nonce: null | string | number
pinned: boolean
poll: null | Poll
position: null | number
reactions: ReactionManager
reference: null | MessageReference
roleSubscriptionData: null | RoleSubscriptionData
stickers: Collection<string, Sticker>
system: boolean
tts: boolean
webhookId: null | string

Accessors

  • get bulkDeletable(): boolean

    Returns boolean

  • get cleanContent(): string

    Returns string

  • get createdAt(): Date

    Returns Date

  • get crosspostable(): boolean

    Returns boolean

  • get deletable(): boolean

    Returns boolean

  • get editable(): boolean

    Returns boolean

  • get editedAt(): null | Date

    Returns null | Date

  • get hasThread(): boolean

    Returns boolean

  • get member(): null | GuildMember

    Returns null | GuildMember

  • get partial(): false

    Returns false

  • get pinnable(): boolean

    Returns boolean

  • get url(): string

    Returns string

Methods

  • Parameters

    Returns boolean

  • Returns this is Message<true>

  • Returns unknown

  • Returns a string representation of an object.

    Returns string

  • Returns string