Class VoiceStateUpdatedEventArgs
- Namespace
- DSharpPlus.EventArgs
- Assembly
- DSharpPlus.dll
Represents arguments for VoiceStateUpdated event.
public class VoiceStateUpdatedEventArgs : DiscordEventArgs
- Inheritance
-
objectEventArgsVoiceStateUpdatedEventArgs
Properties
- After
Gets the voice state post-update.
- Before
Gets the voice state pre-update.
- ChannelId
Gets the ID of the channel this user is now connected to.
- GuildId
Gets the ID of the guild this voice state update is associated with.
- SessionId
Gets the ID of voice session.
- UserId
Gets the ID of the user whose voice state was updated.
Methods
- GetChannelAsync(bool)
Gets the channel associated with this voice state.
- GetGuildAsync(bool)
Gets the guild associated with this voice state.
- GetUserAsync(bool)
Gets the member associated with this voice state.