TaskModuleTaskInfo Constructors
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.
Overloads
TaskModuleTaskInfo() |
Initializes a new instance of the TaskModuleTaskInfo class. |
TaskModuleTaskInfo(String, Object, Object, String, Attachment, String, String) |
Initializes a new instance of the TaskModuleTaskInfo class. |
TaskModuleTaskInfo()
Initializes a new instance of the TaskModuleTaskInfo class.
public TaskModuleTaskInfo ();
Public Sub New ()
Applies to
TaskModuleTaskInfo(String, Object, Object, String, Attachment, String, String)
Initializes a new instance of the TaskModuleTaskInfo class.
public TaskModuleTaskInfo (string title = default, object height = default, object width = default, string url = default, Microsoft.Bot.Schema.Attachment card = default, string fallbackUrl = default, string completionBotId = default);
new Microsoft.Bot.Schema.Teams.TaskModuleTaskInfo : string * obj * obj * string * Microsoft.Bot.Schema.Attachment * string * string -> Microsoft.Bot.Schema.Teams.TaskModuleTaskInfo
Public Sub New (Optional title As String = Nothing, Optional height As Object = Nothing, Optional width As Object = Nothing, Optional url As String = Nothing, Optional card As Attachment = Nothing, Optional fallbackUrl As String = Nothing, Optional completionBotId As String = Nothing)
Parameters
- title
- String
Appears below the app name and to the right of the app icon.
- height
- Object
This can be a number, representing the task module's height in pixels, or a string, one of: small, medium, large.
- width
- Object
This can be a number, representing the task module's width in pixels, or a string, one of: small, medium, large.
- url
- String
The URL of what is loaded as an iframe inside the task module. One of url or card is required.
- card
- Attachment
The JSON for the Adaptive card to appear in the task module.
- fallbackUrl
- String
If a client does not support the task module feature, this URL is opened in a browser tab.
- completionBotId
- String
Specifies a bot App ID to send the result of the user's interaction with the task module to. If specified, the bot will receive a task/submit invoke event with a JSON object in the event payload.