Language

HtmlWidgetCallToolResponse.FromText(String) Method

Definition

Creates a successful response with text content.

public static Microsoft.Teams.Apps.HtmlWidget.HtmlWidgetCallToolResponse FromText(string text);
static member FromText : string -> Microsoft.Teams.Apps.HtmlWidget.HtmlWidgetCallToolResponse
Public Shared Function FromText (text As String) As HtmlWidgetCallToolResponse

Parameters

text
String

The text to return to the widget.

Returns

A new HtmlWidgetCallToolResponse.

Applies to