export declare class ThreadsAPI
addMember) : Promise<void> (
Adds a member to a thread
See also: https://discord.com/developers/docs/resources/channel#add-thread-member
create) : Promise<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
createForumThread) : Promise<APIThreadChannel> (
Creates a new forum post
See also: https://discord.com/developers/docs/resources/channel#start-thread-in-forum-channel
getthreadId: Snowflakeoptions?: Pick<RequestData, 'signal'>) : Promise<APIThreadChannel> (
Fetches a thread
See also: https://discord.com/developers/docs/resources/channel#get-channel
getAllMembersthreadId: Snowflakeoptions?: Pick<RequestData, 'signal'>) : 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
jointhreadId: Snowflakeoptions?: Pick<RequestData, 'signal'>) : Promise<void> (
Adds the current user to a thread
See also: https://discord.com/developers/docs/resources/channel#join-thread
leavethreadId: Snowflakeoptions?: Pick<RequestData, 'signal'>) : Promise<void> (
Removes the current user from a thread
See also: https://discord.com/developers/docs/resources/channel#leave-thread
removeMember) : Promise<void> (
Removes a member from a thread
See also: https://discord.com/developers/docs/resources/channel#remove-thread-member