import { RESTEndpoints } from "https://deno.land/x/harmony@v2.9.0/mod.ts";
Returns the messages for a channel. If operating on a guild channel, this endpoint requires the VIEW_CHANNEL
permission to be present on the current user. If the current user is missing the 'READ_MESSAGE_HISTORY' permission in the channel then this will return no messages (since they cannot read the message history). Returns an array of message objects on success.
Returns
Promise<MessagePayload[]>