Skip to main content
Module

x/harmony/mod.ts>RESTEndpoints#deletePinnedChannelMessage

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

Delete a pinned message in a channel. Requires the MANAGE_MESSAGES permission. Returns a 204 empty response on success.

Parameters

channelId: string
messageId: string

Returns

Promise<void>