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
getAllMembersthreadId: Snowflakeoptions?: Pick<RequestData, 'signal'>) : Promise<RESTGetAPIChannelThreadMembersResult> (
threadId: Snowflake
options?: Pick<RequestData, 'signal'>
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> (
threadId: Snowflake
options?: Pick<RequestData, 'signal'>
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> (
threadId: Snowflake
options?: Pick<RequestData, 'signal'>
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