declare class ThreadsAPI
createchannelId: Snowflakedata: StartThreadOptions) : Promise<discord_api_types_v10.APIChannel> (
channelId: Snowflake
data: StartThreadOptions
Creates a new thread
createForumThreadchannelId: Snowflakedata: StartForumThreadOptions) : Promise<APIThreadChannel> (
channelId: Snowflake
data: StartForumThreadOptions
Creates a new forum post
get) : Promise<APIThreadChannel> (
Fetches a thread
getAllMembersthreadId: Snowflake) : Promise<RESTGetAPIChannelThreadMembersResult> (
threadId: Snowflake
Fetches all members of a thread
getMember) : Promise<APIThreadMember> (
Fetches a member of a thread