Class InteractionResolvedChannel

Represents a channel from an interaction option. This can be any guild channel, or a direct message.

Hierarchy

  • Channel
    • InteractionResolvedChannel

Accessors

  • get mention(): string
  • A string that will mention this channel.

    Returns string

Constructors

Methods

Properties

appPermissions: Permission

The permissions the bot has in the channel.

id: string
name: null | string

The name of this channel.

parentID: null | string

The ID of the parent of this channel, if this represents a thread.

threadMetadata: null | ThreadMetadata | PrivateThreadMetadata

The thread metadata associated with this channel, if this represents a thread.

The type of this channel.