TaskInfo interface

Properties

card

JSON defining an adaptive card.

completionBotId

Specifies a bot ID to send the result of the user's interaction with the task module. If specified, the bot will receive a task/complete invoke event with a JSON object in the event payload.

fallbackUrl

If client doesnt support the URL, the URL that needs to be opened in the browser.

height

The requested height of the webview/iframe.

title

Title of the task module.

url

The url to be rendered in the webview/iframe.

width

The requested width of the webview/iframe.

Property Details

card

JSON defining an adaptive card.

card?: string

Property Value

string

completionBotId

Specifies a bot ID to send the result of the user's interaction with the task module. If specified, the bot will receive a task/complete invoke event with a JSON object in the event payload.

completionBotId?: string

Property Value

string

fallbackUrl

If client doesnt support the URL, the URL that needs to be opened in the browser.

fallbackUrl?: string

Property Value

string

height

The requested height of the webview/iframe.

height?: number | TaskModuleDimension

Property Value

number | @microsoft/teams-js.@microsoft.teams-js.TaskModuleDimension

title

Title of the task module.

title?: string

Property Value

string

url

The url to be rendered in the webview/iframe.

url?: string

Property Value

string

width

The requested width of the webview/iframe.

width?: number | TaskModuleDimension

Property Value

number | @microsoft/teams-js.@microsoft.teams-js.TaskModuleDimension