ThreadsAPI
No summary provided.
constructor(rest)
Constructs a new instance of the 
ThreadsAPI class| Name | Type | Optional | Description | 
|---|---|---|---|
| rest | REST | No | None | 
Adds a member to a thread
Creates a new thread
| Name | Type | Optional | Description | 
|---|---|---|---|
| channelId | Snowflake | No | The id of the channel to start the thread in | 
| data | StartThreadOptions | No | The data to use when starting the thread | 
Creates a new forum post
| Name | Type | Optional | Description | 
|---|---|---|---|
| channelId | Snowflake | No | The id of the forum channel to start the thread in | 
| data | StartForumThreadOptions | No | The data to use when starting the thread | 
Fetches a thread
| Name | Type | Optional | Description | 
|---|---|---|---|
| threadId | Snowflake | No | The id of the thread | 
Fetches all members of a thread
| Name | Type | Optional | Description | 
|---|---|---|---|
| threadId | Snowflake | No | The id of the thread to fetch the members from | 
Fetches a member of a thread
Adds the current user to a thread
| Name | Type | Optional | Description | 
|---|---|---|---|
| threadId | Snowflake | No | The id of the thread to join | 
Removes the current user from a thread
| Name | Type | Optional | Description | 
|---|---|---|---|
| threadId | Snowflake | No | The id of the thread to leave | 
Removes a member from a thread