Method GetVoiceState
| Improve this Doc View SourceGetVoiceState(Snowflake, Snowflake)
Returns the voice state for the specified user or, null if the voice state is not currently cached or the guild is not currently cached.
Declaration
public DiscordVoiceState? GetVoiceState(Snowflake guildId, Snowflake userId)
Parameters
| Type | Name | Description |
|---|---|---|
| Snowflake | guildId | |
| Snowflake | userId |
Returns
| Type | Description |
|---|---|
| DiscordVoiceState |