TaskInfo interface
Properties
card | JSON defining an adaptive card. |
completion |
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. |
fallback |
If client doesn't 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 doesn't 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
反馈
https://aka.ms/ContentUserFeedback。
即将发布:在整个 2024 年,我们将逐步淘汰作为内容反馈机制的“GitHub 问题”,并将其取代为新的反馈系统。 有关详细信息,请参阅:提交和查看相关反馈