TaskModuleTaskInfo Class
- java.
lang. Object - com.
microsoft. bot. schema. teams. TaskModuleTaskInfo
- com.
public class TaskModuleTaskInfo
Metadata for a Task Module.
Constructor Summary
| Constructor | Description | |
|---|---|---|
| TaskModuleTaskInfo() | ||
Method Summary
| Modifier and Type | Method and Description |
|---|---|
| Attachment |
getCard()
Gets the Adaptive card to appear in the task module. |
| java.lang.String |
getCompletionBotId()
Gets id if a client does not support the task module feature, this URL is opened in a browser tab. |
| java.lang.String |
getFallbackUrl()
Gets the URL if a client does not support the task module feature, this URL is opened in a browser tab. |
| java.lang.Object |
getHeight()
Gets title height. |
| java.lang.String |
getTitle()
Gets the text that appears below the app name and to the right of the app icon. |
| java.lang.String |
getUrl()
Gets the URL of what is loaded as an iframe inside the task module. |
| java.lang.Object |
getWidth()
Gets title width. |
| void |
setCard(Attachment withCard)
Sets the Adaptive card to appear in the task module. |
| void |
setCompletionBotId(String withCompletionBotId)
Sets id if a client does not support the task module feature, this URL is opened in a browser tab. |
| void |
setFallbackUrl(String withFallbackUrl)
Sets the URL if a client does not support the task module feature, this URL is opened in a browser tab. |
| void |
setHeight(Object withHeight)
Sets title height. |
| void |
setTitle(String withTitle)
Sets the text that appears below the app name and to the right of the app icon. |
| void |
setUrl(String withUrl)
Sets the URL of what is loaded as an iframe inside the task module. |
| void |
setWidth(Object withWidth)
Sets title width. |
Methods inherited from java.lang.Object
Constructor Details
TaskModuleTaskInfo
public TaskModuleTaskInfo()
Method Details
getCard
public Attachment getCard()
Gets the Adaptive card to appear in the task module.
Returns:
getCompletionBotId
public String getCompletionBotId()
Gets id if a client does not support the task module feature, this URL is opened in a browser tab.
Returns:
getFallbackUrl
public String getFallbackUrl()
Gets the URL if a client does not support the task module feature, this URL is opened in a browser tab.
Returns:
getHeight
public Object getHeight()
Gets title height. This can be a number, representing the task module's height in pixels, or a string, one of: small, medium, large.
Returns:
getTitle
public String getTitle()
Gets the text that appears below the app name and to the right of the app icon.
Returns:
getUrl
public String getUrl()
Gets the URL of what is loaded as an iframe inside the task module. One of url or card is required.
Returns:
getWidth
public Object getWidth()
Gets title width. This can be a number, representing the task module's width in pixels, or a string, one of: small, medium, large.
Returns:
setCard
public void setCard(Attachment withCard)
Sets the Adaptive card to appear in the task module.
Parameters:
setCompletionBotId
public void setCompletionBotId(String withCompletionBotId)
Sets id if a client does not support the task module feature, this URL is opened in a browser tab.
Parameters:
setFallbackUrl
public void setFallbackUrl(String withFallbackUrl)
Sets the URL if a client does not support the task module feature, this URL is opened in a browser tab.
Parameters:
setHeight
public void setHeight(Object withHeight)
Sets title height. This can be a number, representing the task module's height in pixels, or a string, one of: small, medium, large.
Parameters:
setTitle
public void setTitle(String withTitle)
Sets the text that appears below the app name and to the right of the app icon.
Parameters:
setUrl
public void setUrl(String withUrl)
Sets the URL of what is loaded as an iframe inside the task module. One of url or card is required.
Parameters:
setWidth
public void setWidth(Object withWidth)
Sets title width. This can be a number, representing the task module's width in pixels, or a string, one of: small, medium, large.
Parameters: