CommunicationMessagesModelFactory.TemplateNotificationContent Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Initializes a new instance of TemplateNotificationContent.
public static Azure.Communication.Messages.TemplateNotificationContent TemplateNotificationContent (Guid channelRegistrationId = default, System.Collections.Generic.IEnumerable<string> to = default, Azure.Communication.Messages.MessageTemplate template = default);
static member TemplateNotificationContent : Guid * seq<string> * Azure.Communication.Messages.MessageTemplate -> Azure.Communication.Messages.TemplateNotificationContent
Public Shared Function TemplateNotificationContent (Optional channelRegistrationId As Guid = Nothing, Optional to As IEnumerable(Of String) = Nothing, Optional template As MessageTemplate = Nothing) As TemplateNotificationContent
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.
Returns
A new TemplateNotificationContent instance for mocking.
Applies to
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.
Azure SDK for .NET