Table of Contents

Struct MuteStreamsRequest

Namespace
Vonage.Video.Moderation.MuteStreams
Assembly
Vonage.dll

Represents a request to mute streams.

[Builder(new string[] { })]
public readonly struct MuteStreamsRequest : IVonageRequest, IHasApplicationId, IHasSessionId
Implements
Inherited Members

Properties

ApplicationId

The Vonage Application UUID.

[Mandatory(0)]
public Guid ApplicationId { get; }

Property Value

Guid

Configuration

Sets the mute configuration, including whether to enable or disable the mute state and which streams to exclude.

[Mandatory(2)]
public MuteStreamsRequest.MuteStreamsConfiguration Configuration { get; }

Property Value

MuteStreamsRequest.MuteStreamsConfiguration

Examples

.WithConfiguration(new MuteStreamsRequest.MuteStreamsConfiguration(true, Array.Empty<string>()))

SessionId

The session Id.

[Mandatory(1)]
public string SessionId { get; }

Property Value

string

Methods

Build()

public static IBuilderForApplicationId Build()

Returns

IBuilderForApplicationId

BuildRequestMessage()

Converts the request to a HttpRequest.

public HttpRequestMessage BuildRequestMessage()

Returns

HttpRequestMessage

The Http request.