HtmlWidgetCallToolResponse.FromText(String) 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.
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.