Udostępnij za pośrednictwem


OptOutsClient Class

Definition

The Azure Communication Services SMS Opt Out Management client.

public class OptOutsClient
type OptOutsClient = class
Public Class OptOutsClient
Inheritance
OptOutsClient

Constructors

OptOutsClient()

Initializes a new instance of SmsClient for mocking.

Methods

Add(String, IEnumerable<String>, CancellationToken)

Opts out to phone numbers from receiving SMS from from phone number.

AddAsync(String, IEnumerable<String>, CancellationToken)

Opts out to phone numbers from receiving SMS from from phone number.

Check(String, IEnumerable<String>, CancellationToken)

Checks if to phone numbers are opted out from from phone number.

CheckAsync(String, IEnumerable<String>, CancellationToken)

Checks if to phone numbers are opted out from from phone number.

Remove(String, IEnumerable<String>, CancellationToken)

Opts in to phone numbers to receive SMS from from phone number.

RemoveAsync(String, IEnumerable<String>, CancellationToken)

Opts in to phone numbers to receive SMS from from phone number.

Applies to