declare class ThreadsAPI
Adds a member to a thread
See also: https://discord.com/developers/docs/resources/channel#add-thread-member
createchannelId: Snowflakedata: StartThreadOptions) : Promise<discord_api_types_v10.APIChannel> (
Creates a new thread
See also: https://discord.com/developers/docs/resources/channel#start-thread-from-messagehttps://discord.com/developers/docs/resources/channel#start-thread-without-message
createForumThreadchannelId: Snowflakedata: StartForumThreadOptions) : Promise<APIThreadChannel> (
Creates a new forum post
See also: https://discord.com/developers/docs/resources/channel#start-thread-in-forum-channel
getthreadId: Snowflake) : Promise<APIThreadChannel> (
Fetches a thread
See also: https://discord.com/developers/docs/resources/channel#get-channel
getAllMembersthreadId: Snowflake) : Promise<RESTGetAPIChannelThreadMembersResult> (
Fetches all members of a thread
See also: https://discord.com/developers/docs/resources/channel#list-thread-members
getMember) : Promise<APIThreadMember> (
Fetches a member of a thread
See also: https://discord.com/developers/docs/resources/channel#get-thread-member
Adds the current user to a thread
See also: https://discord.com/developers/docs/resources/channel#join-thread
Removes the current user from a thread
See also: https://discord.com/developers/docs/resources/channel#leave-thread
Removes a member from a thread
See also: https://discord.com/developers/docs/resources/channel#remove-thread-member