Share via


TemplateNotificationContent Constructor

Definition

Initializes a new instance of TemplateNotificationContent.

public TemplateNotificationContent (Guid channelRegistrationId, System.Collections.Generic.IEnumerable<string> to, Azure.Communication.Messages.MessageTemplate template);
new Azure.Communication.Messages.TemplateNotificationContent : Guid * seq<string> * Azure.Communication.Messages.MessageTemplate -> Azure.Communication.Messages.TemplateNotificationContent
Public Sub New (channelRegistrationId As Guid, to As IEnumerable(Of String), template As MessageTemplate)

Parameters

channelRegistrationId
Guid

The Channel Registration ID for the Business Identifier.

to
IEnumerable<String>

The native external platform user identifiers of the recipient.

template
MessageTemplate

The template object used to create templates.

Exceptions

to or template is null.

Applies to