Skip to main content
Using Deno in production at your company? Earn free Deno merch.
Give us feedback
Module

x/harmony/src/structures/interactions.ts>InteractionChannel

An easy to use Discord API Library for Deno.
Go to Latest
class InteractionChannel
extends SnowflakeBase
import { InteractionChannel } from "https://deno.land/x/harmony@v2.9.0/src/structures/interactions.ts";

Represents a Channel Object for an Option in Slash Command

Constructors

new
InteractionChannel(client: Client, data: InteractionChannelPayload)

Properties

name: string

Name of the Channel

permissions: Permissions

Channel Type

Methods

resolve<T extends Channel = Channel>(): Promise<T | undefined>

Resolve to actual Channel object if present in Cache