Interface PartialMessage

Hierarchy

  • Partialize<Message, "type" | "system" | "pinned" | "tts", "content" | "cleanContent" | "author">
    • PartialMessage

Properties

activity: null | MessageActivity
applicationId: null | string
attachments: Collection<string, Attachment>
author: null | User
bulkDeletable: boolean
call: null | MessageCall
channelId: string
cleanContent: null | string
client: Client<true>
content: null | string
createdAt: Date
createdTimestamp: number
crosspostable: boolean
deletable: boolean
editable: boolean
editedAt: null | Date
editedTimestamp: null | number
embeds: Embed[]
flags: Readonly<MessageFlagsBitField>
groupActivityApplication: null | ClientApplication
guild: null | Guild
guildId: null | string
hasThread: boolean
id: string
interaction: null | MessageInteraction

Deprecated

Use interactionMetadata instead.

interactionMetadata: null | MessageInteractionMetadata
member: null | GuildMember
mentions: MessageMentions<boolean>
nonce: null | string | number
partial: true
pinnable: boolean
pinned: null
poll: null | Poll
position: null | number
reactions: ReactionManager
reference: null | MessageReference
roleSubscriptionData: null | RoleSubscriptionData
stickers: Collection<string, Sticker>
system: null
thread: null | AnyThreadChannel
tts: null
type: null
url: string
webhookId: null | string

Methods

  • Returns Promise<NonPartialGroupDMChannel<Message<boolean>>>

  • Returns Promise<NonPartialGroupDMChannel<Message<boolean>>>

  • Parameters

    Returns Promise<NonPartialGroupDMChannel<Message<boolean>>>

  • Parameters

    • message: Message<boolean>
    • rawData: unknown

    Returns boolean

  • Parameters

    • Optional force: boolean

    Returns Promise<NonPartialGroupDMChannel<Message<boolean>>>

  • Returns Promise<NonPartialGroupDMChannel<Message<boolean>>>

  • Returns Promise<Webhook<WebhookType>>

  • Returns this is Message<true>

  • Parameters

    • Optional reason: string

    Returns Promise<NonPartialGroupDMChannel<Message<boolean>>>

  • Returns Promise<NonPartialGroupDMChannel<Message<boolean>>>

  • Parameters

    Returns Promise<NonPartialGroupDMChannel<Message<boolean>>>

  • Parameters

    • Optional suppress: boolean

    Returns Promise<NonPartialGroupDMChannel<Message<boolean>>>

  • Returns unknown

  • Returns string

  • Parameters

    • Optional reason: string

    Returns Promise<NonPartialGroupDMChannel<Message<boolean>>>

  • Returns string

Generated using TypeDoc