SmsClient Class

Definition

The Azure Communication Services SMS client.

public class SmsClient
type SmsClient = class
Public Class SmsClient
Inheritance
SmsClient

Constructors

SmsClient()

Initializes a new instance of SmsClient for mocking.

SmsClient(String, SmsClientOptions)

Initializes a new instance of SmsClient.

SmsClient(String)

Initializes a new instance of SmsClient.

SmsClient(Uri, AzureKeyCredential, SmsClientOptions)

Initializes a new instance of SmsClient.

SmsClient(Uri, TokenCredential, SmsClientOptions)

Initializes a new instance of SmsClient.

Methods

Send(String, IEnumerable<String>, String, SmsSendOptions, CancellationToken)

Sends an SMS message from a phone number that belongs to the authenticated account.

Send(String, String, String, SmsSendOptions, CancellationToken)

Sends a SMS from a phone number that is acquired by the authenticated account, to another phone number.

SendAsync(String, IEnumerable<String>, String, SmsSendOptions, CancellationToken)

Sends an SMS message from a phone number that belongs to the authenticated account.

SendAsync(String, String, String, SmsSendOptions, CancellationToken)

Sends a SMS from a phone number that is acquired by the authenticated account, to another phone number.

Applies to