CommunicationMessagesModelFactory.NotificationContent 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 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
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