followups
create
Creates a followup message
content
string
the message contents (up to 2000 characters)
One of content, files, or embeds
tts
boolean
true if this is a TTS message
no
embeds
embedded rich content
One of content, files, or embeds
allowed_mentions
AllowedMentions
allowed mentions for the message
no
components
Component[]
the components to include with the message
no
files
string[]
the contents of the file being sent
One of content, files, or embeds
attachments
Partial<Attachment>[]
attachment objects with filename and description
no
flags
number
message flags combined as a bitfield (only SUPPRESS_EMBEDS
can be set)
no
thread_name
string
name of thread to create (requires the webhook channel to be a forum channel)
no
get
Gets a followup message
edit
Edits a followup message
delete
Deletes a followup message
classes
FollowupMessage
properties
id
Snowflake
id of the message
channel_id
Snowflake
id of the channel the message was sent in
author
User
the author of this message (not guaranteed to be a valid user)
content
string
contents of the message
timestamp
string
when this message was sent
edited_timestamp
?string
when this message was edited (or null if never)
tts
boolean
whether this was a TTS message
mention_everyone
boolean
whether this message mentions everyone
mentions
User[]
users specifically mentioned in the message
mention_roles
string[]
roles specifically mentioned in this message
mention_channels?
ChannelMention[]
channels specifically mentioned in this message
attachments
Attachment[]
any attached files
embeds
any embedded content
reactions
Reaction[]
reactions to the message
nonce?
number | string
used for validating a message was sent
pinned
boolean
whether this message is pinned
webhook_id?
Snowflake
if the message is generated by a webhook, this is the webhook's id
type
number
type of message
activity?
MessageActivity
sent with Rich Presence-related chat embeds
application?
Partial<Application>
sent with Rich Presence-related chat embeds
application_id?
Snowflake
if the message is an Interaction or application-owned webhook, this is the id of the application
message_reference?
MessageReference
data showing the source of a crosspost, channel follow add, pin, or reply message
flags?
number
message flags combined as a bitfield
referenced_message?
?Message
the message associated with the message_reference
interaction?
MessageInteraction
sent if the message is a response to an Interaction
thread?
Channel
he thread that was started from this message, includes thread member object
components?
Component[]
sent if the message contains components like buttons, action rows, or other interactive components
sticker_items?
StickerItem[]
sent if the message contains stickers
stickers?
Sticker[]
the stickers sent with the message (deprecated)
position?
number
A generally increasing integer (there may be gaps or duplicates) that represents the approximate position of the message in a thread, it can be used to estimate the relative position of the message in a thread in company with total_message_sent on parent thread
role_subscription_data?
RoleSubscriptionData
data of the role subscription purchase or renewal that prompted this ROLE_SUBSCRIPTION_PURCHASE message
token
string
methods
get
Gets this followup message (updates this class instance)
edit
Edits this followup message (updates this class instance)
delete
Deletes this followup message
Last updated
Was this helpful?