Private #inReadonly _webhookOptional Readonly applicationIDOptional attachmentsFile attachments on the message.
Readonly authorThe author of the message.
Readonly channelIDThe channel this message belongs to.
Webhooks do not have enough information to determine the channel type by themselves.
Optional componentsAttached message components
Optional contentString content of the message.
Optional editedWhen the message was edited. (null if never)
Optional embedsEmbeds attached to the message.
Optional flagsMessage flags bitfield.
Readonly idThe ID of the message.
Optional mentionWhether this message mentions everyone.
Optional mentionsAny user entries that were mentioned in the message (sent from Discord).
Optional mentionsAny roles that were mentioned in the message (sent from Discord).
Optional pinnedIs this message pinned? (Applies to all channel types).
Optional position(Forum Post / Public Thread) Approximate position of message entry in a thread.
Readonly timestampWhen the message was created.
Whether the message was sent with text-to-speech enabled.
Optional webhookIDThe webhook that sent the message.
Generated using TypeDoc
If the webhook is application-owned, this will return the application's ID.