CommunicationMessagesModelFactory.AudioNotificationContent 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 AudioNotificationContent.
public static Azure.Communication.Messages.AudioNotificationContent AudioNotificationContent(Guid channelRegistrationId = default, System.Collections.Generic.IEnumerable<string> to = default, Uri mediaUri = default);
static member AudioNotificationContent : Guid * seq<string> * Uri -> Azure.Communication.Messages.AudioNotificationContent
Public Shared Function AudioNotificationContent (Optional channelRegistrationId As Guid = Nothing, Optional to As IEnumerable(Of String) = Nothing, Optional mediaUri As Uri = Nothing) As AudioNotificationContent
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 AudioNotificationContent instance for mocking.
Applies to
Colaborar con nosotros en GitHub
El origen de este contenido se puede encontrar en GitHub, donde también puede crear y revisar problemas y solicitudes de incorporación de cambios. Para más información, consulte nuestra guía para colaboradores.
Azure SDK for .NET