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
client: Client
The client that instantiated this Source
Methods
setRTCRegion
setRTCRegion(region: string): Promise<void>
Sets the voice region of the call Parameters
| Name | Type | Description |
|---|---|---|
region | string | Region of the call |
Returns: Promise<void>Source