revbot.js
    Preparing search index...

    Interface TextBasedChannel

    Interface representing a text-based channel, which supports sending and managing messages.

    interface TextBasedChannel {
        lastMessage: null | Message;
        lastMessageId: null | string;
        messages: MessageManager;
        bulkDelete(
            messages: number | Map<string, Message> | MessageResolvable[],
        ): Promise<void>;
        send(options: string | MessageOptions): Promise<Message>;
    }

    Implemented by

    Index

    Properties

    lastMessage: null | Message

    The last message sent in the channel, or null if no message exists.

    lastMessageId: null | string

    The ID of the last message sent in the channel, or null if no message exists.

    messages: MessageManager

    Manages the messages in the channel.

    Methods