TaskModuleResponseBuilder Class
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.
Builder for TaskModuleResponse.
public class TaskModuleResponseBuilder
type TaskModuleResponseBuilder = class
Public Class TaskModuleResponseBuilder
- Inheritance
-
TaskModuleResponseBuilder
Constructors
| Name | Description |
|---|---|
| TaskModuleResponseBuilder() | |
Methods
| Name | Description |
|---|---|
| Build(Int32) |
Builds the TaskModuleResponse and wraps it in an InvokeResponse<TBody>. |
| WithCard(TeamsAttachment) |
Sets the card content for Continue responses. |
| WithHeight(Object) |
Sets the height. Can be a number (pixels) or use TaskModuleSizes constants. |
| WithMessage(String) |
Sets the message for Message responses. |
| WithTitle(String) |
Sets the title of the task module. |
| WithType(TaskModuleResponseType) |
Sets the type of the response. Use TaskModuleResponseTypes constants. |
| WithWidth(Object) |
Sets the width. Can be a number (pixels) or use TaskModuleSizes constants. |