Share via


TaskModuleTaskInfo Class

Definition

Metadata for a Task Module.

public class TaskModuleTaskInfo
type TaskModuleTaskInfo = class
Public Class TaskModuleTaskInfo
Inheritance
TaskModuleTaskInfo

Constructors

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.

Properties

Card

Gets or sets the JSON for the Adaptive card to appear in the task module.

CompletionBotId

Gets or sets 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.

FallbackUrl

Gets or sets if a client does not support the task module feature, this URL is opened in a browser tab.

Height

Gets or sets this can be a number, representing the task module's height in pixels, or a string, one of: small, medium, large.

Title

Gets or sets the title that appears below the app name and to the right of the app icon.

Url

Gets or sets the URL of what is loaded as an iframe inside the task module. One of url or card is required.

Width

Gets or sets this can be a number, representing the task module's width in pixels, or a string, one of: small, medium, large.

Applies to