Method UpdateUserVoiceStateAsync
- Namespace
- DSharpPlus
- Assembly
- DSharpPlus.Rest.dll
UpdateUserVoiceStateAsync(ulong, ulong, ulong, bool?)
Updates a member's suppress state in a stage channel.
public Task UpdateUserVoiceStateAsync(ulong guildId, ulong userId, ulong channelId, bool? suppress)
Parameters
guildId
ulongThe ID of the guild.
userId
ulongThe ID of the member.
channelId
ulongThe ID of the stage channel.
suppress
bool?Toggles the member's suppress state.
Returns
- Task