Partilhar via


AudioNotificationContent(Guid, IEnumerable<String>, Uri) Constructor

Definition

Initializes a new instance of AudioNotificationContent.

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

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.

Exceptions

to or mediaUri is null.

Applies to