你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn。
CommunicationMessagesModelFactory.VideoNotificationContent 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 VideoNotificationContent.
public static Azure.Communication.Messages.VideoNotificationContent VideoNotificationContent(Guid channelRegistrationId = default, System.Collections.Generic.IEnumerable<string> to = default, string caption = default, Uri mediaUri = default);
static member VideoNotificationContent : Guid * seq<string> * string * Uri -> Azure.Communication.Messages.VideoNotificationContent
Public Shared Function VideoNotificationContent (Optional channelRegistrationId As Guid = Nothing, Optional to As IEnumerable(Of String) = Nothing, Optional caption As String = Nothing, Optional mediaUri As Uri = Nothing) As VideoNotificationContent
Parameters
- channelRegistrationId
- Guid
The Channel Registration ID for the Business Identifier.
- to
- IEnumerable<String>
The native external platform user identifiers of the recipient.
- caption
- 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 VideoNotificationContent instance for mocking.