interface RPCGetChannelResultData

external
export interface RPCGetChannelResultData

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

optionalexternal
bitrate? : number

(voice) bitrate of voice channel

external
guild_id : Snowflake

Channel's guild id

external
id : Snowflake

Channel id

optionalexternal
messages? : APIMessage[]

(text) channel's messages

external
name : string

Channel name

external
position : number

Position of channel in channel list

optionalexternal
topic? : string

(text) channel topic

external
type : ChannelType

Channel type

optionalexternal
user_limit? : number

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

optionalexternal
voice_states? : APIVoiceState[]

(voice) channel's voice states