Skip to main content
Module

x/harmony/mod.ts>RESTEndpoints#getChannelMessage

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

Returns a specific message in the channel. If operating on a guild channel, this endpoint requires the 'READ_MESSAGE_HISTORY' permission to be present on the current user. Returns a message object on success.

Parameters

channelId: string
messageId: string