Skip to main content
Module

x/harmony/mod.ts>RESTEndpoints#leaveThread

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

Removes the current user from a thread. Returns a 204 empty response on success. Fires a Thread Members Update Gateway event.

Parameters

channelId: string

Returns

Promise<void>