Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface TextChannel

Abstract class that all text-based channels implement

Hierarchy

  • TextChannel

Implemented by

Index

Properties

lastMessageId

lastMessageId: Snowflake | null | undefined

The ID of the last message sent in this channel. May not point to an existing or valid message

messages

The text channel's messages controller

pins

The text channel's pinned messages controller

Methods

sendMessage

triggerTyping

  • triggerTyping(): Promise<void>
  • Posts a typing indicator for a specified text channel. Useful when the bot is responding to a command and expects the computation to take a few seconds. This method may be called to let the user know that the bot is processing their message.

    Returns Promise<void>

Generated using TypeDoc