Share via


NotificationMessagesClient Class

Definition

The NotificationMessages service client.

public class NotificationMessagesClient
type NotificationMessagesClient = class
Public Class NotificationMessagesClient
Inheritance
NotificationMessagesClient

Constructors

NotificationMessagesClient()

Initializes a new instance of NotificationMessagesClient for mocking.

NotificationMessagesClient(String)

Initializes a new instance of NotificationMessagesClient.

NotificationMessagesClient(String, CommunicationMessagesClientOptions)

Initializes a new instance of NotificationMessagesClient.

NotificationMessagesClient(Uri, AzureKeyCredential)

Initializes a new instance of NotificationMessagesClient.

NotificationMessagesClient(Uri, AzureKeyCredential, CommunicationMessagesClientOptions)

Initializes a new instance of NotificationMessagesClient.

NotificationMessagesClient(Uri, TokenCredential)

Initializes a new instance of NotificationMessagesClient.

NotificationMessagesClient(Uri, TokenCredential, CommunicationMessagesClientOptions)

Initializes a new instance of NotificationMessagesClient.

Properties

Pipeline

The HTTP pipeline for sending and receiving REST requests and responses.

Methods

DownloadMedia(String, CancellationToken)

The DownloadMedia(String, CancellationToken) downloads the Media payload from a User to Business message asynchronously.

DownloadMediaAsync(String, CancellationToken)

Download the Media payload from a User to Business message asynchronously.

DownloadMediaTo(String, Stream, CancellationToken)

The DownloadMediaTo(String, Stream, CancellationToken) operation downloads the specified content, and writes the content to destinationStream.

DownloadMediaTo(String, String, CancellationToken)

The DownloadMediaTo(String, String, CancellationToken) operation downloads the specified content, and writes the content to destinationPath.

DownloadMediaToAsync(String, Stream, CancellationToken)

The DownloadMediaToAsync(String, Stream, CancellationToken) operation downloads the specified content asynchronously, and writes the content to destinationStream.

DownloadMediaToAsync(String, String, CancellationToken)

The DownloadMediaTo(String, String, CancellationToken) operation downloads the specified content, and writes the content to destinationPath.

Send(NotificationContent, CancellationToken)

Sends a notification message from Business to User.

Send(RequestContent, RequestContext)

[Protocol Method] Sends a notification message from Business to User.

SendAsync(NotificationContent, CancellationToken)

Sends a notification message from Business to User.

SendAsync(RequestContent, RequestContext)

[Protocol Method] Sends a notification message from Business to User.

SendMessage(SendMessageOptions, CancellationToken)

Sends a notification message.

SendMessageAsync(SendMessageOptions, CancellationToken)

Sends a notification message asynchronously.

Applies to