Share via


CommunicationMessagesModelFactory.NotificationContent Method

Definition

Initializes a new instance of NotificationContent.

public static Azure.Communication.Messages.NotificationContent NotificationContent (Guid channelRegistrationId = default, System.Collections.Generic.IEnumerable<string> to = default, string kind = default);
static member NotificationContent : Guid * seq<string> * string -> Azure.Communication.Messages.NotificationContent
Public Shared Function NotificationContent (Optional channelRegistrationId As Guid = Nothing, Optional to As IEnumerable(Of String) = Nothing, Optional kind As String = Nothing) As NotificationContent

Parameters

channelRegistrationId
Guid

The Channel Registration ID for the Business Identifier.

to
IEnumerable<String>

The native external platform user identifiers of the recipient.

kind
String

The type discriminator describing a notification type.

Returns

A new NotificationContent instance for mocking.

Applies to