Table of Contents

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 ulong

The ID of the guild.

userId ulong

The ID of the member.

channelId ulong

The ID of the stage channel.

suppress bool?

Toggles the member's suppress state.

Returns

Task