Skip to main content
Module

x/discord_rpc_deno/mod.ts>Channel

port of @xhayper/discord-rpc to deno
Go to Latest
class Channel
extends Base
Re-export
import { Channel } from "https://deno.land/x/discord_rpc_deno@v1.1.1/mod.ts";

Constructors

new
Channel(client: Client, props: Record<string, any>)

Properties

optional
bitrate: number

(voice) bitrate of voice channel

optional
guild_id: string

channel's guild id

id: string

channel id

optional
messages: Message[]

(text) channel's messages

name: string

channel name

optional
position: number

position of channel in channel list

optional
topic: string

(text) channel topic

channel type (guild text: 0, guild voice: 2, dm: 1, group dm: 3)

optional
user_limit: number

(voice) user limit of voice channel (0 for none)

optional
voice_states: GatewayVoiceState[]

(voice) channel's voice states