Thread
Methods
Thread#createMessage()
Creates a new message in a Thread.
Params
Title
Type
Required
content
string
true
Thread#deleteThread()
Deletes a Thread.
Properties
Name
Type
Description
id
snowflake
Thread ID
type
number
Type of Thread (Private, Public, News Channel etc)
guild_id
snowflake
Guild ID the Thread is in
name
string
Name of the Thread
last_message_id?
snowflake?
ID of the last message sent in the Thread
last_pin_timestamp?
ISO8601 Timestamp?
Timestamp of the last pin
rate_limit_per_user?
number
Rate limit per user, slowmode/Thread cooldown
owner_id
snowflake
The ID of the user who started the Thread
parent_id
snowflake
The channel the Thread is in
message_count?
number?
The amount of messages in the Thread, stops at 50
member_count?
number?
The amount of members in the Thread
thread_metadata
Thread Metadata object
Other Thread data
Used by
Events
THREAD_CREATE THREAD_DELETE THREAD_EDIT
GUILD_CREATE
CHANNEL_CREATE
Last updated