Discore
Show / Hide Table of Contents

Method GetVoiceState

| Improve this Doc View Source

GetVoiceState(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
  • Improve this Doc
  • View Source
In This Article
Back to top Generated by DocFX