Skip to main content
Module

x/harmony/mod.ts>RESTEndpoints#crosspostMessage

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

Crosspost a message in a News Channel to following channels. This endpoint requires the 'SEND_MESSAGES' permission, if the current user sent the message, or additionally the 'MANAGE_MESSAGES' permission, for all other messages, to be present for the current user. Returns a message object.

Parameters

channelId: string
messageId: string