你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn。
CommunicationMessagesModelFactory.MessageTemplateVideo 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 MessageTemplateVideo.
public static Azure.Communication.Messages.MessageTemplateVideo MessageTemplateVideo(string name = default, Uri uri = default, string caption = default, string fileName = default);
static member MessageTemplateVideo : string * Uri * string * string -> Azure.Communication.Messages.MessageTemplateVideo
Public Shared Function MessageTemplateVideo (Optional name As String = Nothing, Optional uri As Uri = Nothing, Optional caption As String = Nothing, Optional fileName As String = Nothing) As MessageTemplateVideo
Parameters
- name
- String
Template binding reference name.
- uri
- Uri
The (public) URL of the media.
- caption
- String
The [optional] caption of the media object.
- fileName
- String
The [optional] filename of the media file.
Returns
A new MessageTemplateVideo instance for mocking.