Method UpdateCurrentUserVoiceStateAsync
- Namespace
- DSharpPlus
- Assembly
- DSharpPlus.Rest.dll
UpdateCurrentUserVoiceStateAsync(ulong, ulong, bool?, DateTimeOffset?)
Updates the current user's suppress state in a stage channel.
public Task UpdateCurrentUserVoiceStateAsync(ulong guildId, ulong channelId, bool? suppress, DateTimeOffset? requestToSpeakTimestamp = null)
Parameters
guildId
ulongThe ID of the guild.
channelId
ulongThe ID of the channel.
suppress
bool?Toggles the suppress state.
requestToSpeakTimestamp
DateTimeOffset?Sets the time the user requested to speak.