CommunicationMessagesModelFactory.MessageTemplateDocument 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 MessageTemplateDocument.
public static Azure.Communication.Messages.MessageTemplateDocument MessageTemplateDocument (string name = default, Uri uri = default, string caption = default, string fileName = default);
static member MessageTemplateDocument : string * Uri * string * string -> Azure.Communication.Messages.MessageTemplateDocument
Public Shared Function MessageTemplateDocument (Optional name As String = Nothing, Optional uri As Uri = Nothing, Optional caption As String = Nothing, Optional fileName As String = Nothing) As MessageTemplateDocument
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 MessageTemplateDocument 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