CommunicationMessagesModelFactory.MediaNotificationContent 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 MediaNotificationContent.
public static Azure.Communication.Messages.MediaNotificationContent MediaNotificationContent (Guid channelRegistrationId = default, System.Collections.Generic.IEnumerable<string> to = default, string content = default, Uri mediaUri = default);
static member MediaNotificationContent : Guid * seq<string> * string * Uri -> Azure.Communication.Messages.MediaNotificationContent
Public Shared Function MediaNotificationContent (Optional channelRegistrationId As Guid = Nothing, Optional to As IEnumerable(Of String) = Nothing, Optional content As String = Nothing, Optional mediaUri As Uri = Nothing) As MediaNotificationContent
Parameters
- channelRegistrationId
- Guid
The Channel Registration ID for the Business Identifier.
- to
- IEnumerable<String>
The native external platform user identifiers of the recipient.
- content
- String
Optional text content.
- 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 MediaNotificationContent instance for mocking.
Applies to
Spolupracujte s námi na GitHubu
Zdroj tohoto obsahu najdete na GitHubu, kde můžete také vytvářet a kontrolovat problémy a žádosti o přijetí změn. Další informace najdete v našem průvodci pro přispěvatele.
Azure SDK for .NET