class BaseChannel
implements APIPartialChannel
import { BaseChannel } from "https://deno.land/x/denocordts@1.2.0/src/structures/channel/base.ts";
Constructors
new
BaseChannel(data: APIPartialChannel, client: Base)Methods
bulkDeleteMessages(messageIds: Snowflake[])
Minimum 2, Maximum 100
closeChannel(reason?: string)
For Community guilds, the Rules or Guidelines channel and the Community Updates channel cannot be deleted.
deleteMessage(unnamed 0: { reason?: string; messageId: Snowflake; })
getPinnedMessages(): Promise<(Message | ClientMessage)[]>
isGuildCategory(): this is GuildCategory
isGuildNews(): this is GuildNewsChannel
isText(): this is TextChannel
isThread(): this is ThreadChannel
pinMessage(unnamed 0: { reason?: string; messageId: Snowflake; })
send(content: Omit<ReplyPayload, "message_reference">)
unPinMessage(unnamed 0: { reason?: string; messageId: Snowflake; })