共用方式為


CommunicationMessagesModelFactory.InteractiveNotificationContent Method

Definition

Initializes a new instance of InteractiveNotificationContent.

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

Parameters

channelRegistrationId
Guid

The Channel Registration ID for the Business Identifier.

to
IEnumerable<String>

The native external platform user identifiers of the recipient.

interactiveMessage
InteractiveMessage

The interactive message content.

Returns

A new InteractiveNotificationContent instance for mocking.

Applies to