import { ChannelManager } from "https://deno.land/x/higa@0.1.0-fix/mod.ts";
Constructors
Methods
createMessage(channelID: string, options: CreateMessageOptions): Promise<Message>
Send a message in a Channel
createReaction(): Promise<void>
channelID: string,
messageID: string,
emoji: string,
Create a reaction to a message
crosspostMessage(channelID: string, messageID: string): Promise<Message>
Crosspost a message during the channels who follow the channel
deleteAllReactions(channelID: string, messageID: string): Promise<void>
Delete all reactions from a message
deleteAllReactionsForEmoji(): Promise<void>
channelID: string,
messageID: string,
emoji: string,
Delete all reactions for a specific emoji
deleteChannelPermission(): Promise<void>
channelID: string,
overwriteID: string,
reason?: string,
Delete a permission
deleteOwnReaction(): Promise<void>
channelID: string,
messageID: string,
emoji: string,
Delete your own reaction
deleteUserReaction(): Promise<void>
channelID: string,
messageID: string,
userID: string,
emoji: string,
Delete a user's reaction from a message
followNewsChannel(channelID: string, options: FollowNewsChannelOptions): Promise<FollowedChannel>
Follow a news channel
getChannelMessage(channelID: string, messageID: string): Promise<Message>
Get a single message from a channel
getChannelMessages(channelID: string, options?: GetMessagesOptions): Promise<Message[]>
Get messages from a Channel
groupDMRemoveRecipient(channelID: string, userID: string): Promise<void>
Remove someone to a DM group
listJoinedPrivateArchivedThreads(channelID: string, options: ListArchivedThreadsOptions): Promise<ListArchivedThreadsResponse>
List all public the archived private joined thread
listPrivateArchivedThreads(channelID: string, options: ListArchivedThreadsOptions): Promise<ListArchivedThreadsResponse>
List all public the archived private thread
listPublicArchivedThreads(channelID: string, options: ListArchivedThreadsOptions): Promise<ListArchivedThreadsResponse>
List all public the archived public thread