Skip to main content
Module

x/harmony/mod.ts>RESTEndpoints#startPublicThread

An easy to use Discord API Library for Deno.
Go to Latest
method RESTEndpoints.prototype.startPublicThread
Re-export
import { RESTEndpoints } from "https://deno.land/x/harmony@v2.9.0/mod.ts";

Creates a new public thread from an existing message. Returns a channel on success, and a 400 BAD REQUEST on invalid parameters. Fires a Thread Create Gateway event.

Parameters

channelId: string
messageId: string