共用方式為


CommunicationMessagesModelFactory.StickerNotificationContent Method

Definition

Initializes a new instance of StickerNotificationContent.

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

Parameters

channelRegistrationId
Guid

The Channel Registration ID for the Business Identifier.

to
IEnumerable<String>

The native external platform user identifiers of the recipient.

mediaUri
Uri

A media url for the file. Required if the type is one of the supported media types, e.g. image.

Returns

A new StickerNotificationContent instance for mocking.

Applies to