Share via


CommunicationMessagesModelFactory.MessageTemplateText(String, String) Method

Definition

Initializes a new instance of MessageTemplateText.

public static Azure.Communication.Messages.MessageTemplateText MessageTemplateText (string name = default, string text = default);
static member MessageTemplateText : string * string -> Azure.Communication.Messages.MessageTemplateText
Public Shared Function MessageTemplateText (Optional name As String = Nothing, Optional text As String = Nothing) As MessageTemplateText

Parameters

name
String

Template binding reference name.

text
String

The text value.

Returns

A new MessageTemplateText instance for mocking.

Applies to