Skip to content

CallState ​

classe · Source

Represents a call

Extends: Base

Properties ​

channelId ​

channelId: Snowflake

The channel ID of the call Source

region ​

region: string

The region of the call Source

channel ​

channel: DMChannel | GroupDMChannel

The channel of the call Source

ringing ​

ringing: Collection<Snowflake, User>

The list of user ID who is ringing Source

client ​

readonly

client: Client

The client that instantiated this Source

Methods ​

setRTCRegion ​

setRTCRegion(region: string): Promise<void>

Sets the voice region of the call Parameters

NameTypeDescription
regionstringRegion of the call

Returns: Promise<void>Source

Unofficial software. Not affiliated with or supported by Discord.