Preview environment

interface RPCGetChannelResultData

export interface RPCGetChannelResultData

See also: https://discord.com/developers/docs/topics/rpc#getchannel-get-channel-response-structure

optional
bitrate? : number

(voice) bitrate of voice channel

guild_id : Snowflake

Channel's guild id

id : Snowflake

Channel id

optional
messages? : APIMessage[]

(text) channel's messages

name : string

Channel name

position : number

Position of channel in channel list

optional
topic? : string

(text) channel topic

type : ChannelType

Channel type

optional
user_limit? : number

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

optional
voice_states? : APIVoiceState[]

(voice) channel's voice states