Share via


CommunicationMessagesModelFactory.TextNotificationContent Method

Definition

Initializes a new instance of TextNotificationContent.

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

Parameters

channelRegistrationId
Guid

The Channel Registration ID for the Business Identifier.

to
IEnumerable<String>

The native external platform user identifiers of the recipient.

content
String

Message content.

Returns

A new TextNotificationContent instance for mocking.

Applies to