BasicCard Class
- java.
lang. Object - com.
microsoft. bot. schema. BasicCard
- com.
public class BasicCard
A basic card.
Constructor Summary
| Constructor | Description | |
|---|---|---|
| BasicCard() | ||
Method Summary
| Modifier and Type | Method and Description |
|---|---|
|
java.util.List<Card |
getButtons()
Get the buttons value. |
|
java.util.List<Card |
getImages()
Get the images value. |
| java.lang.String |
getSubtitle()
Get the subtitle value. |
| java.lang.String |
getText()
Get the text value. |
| java.lang.String |
getTitle()
Get the title value. |
| void |
setButtons(List<CardAction> withButtons)
Set the buttons value. |
| void |
setImages(List<CardImage> withImages)
Set the images value. |
| void |
setSubtitle(String withSubtitle)
Set the subtitle value. |
| void |
setTap(CardAction withTap)
Set the tap value. |
| void |
setText(String withText)
Set the text value. |
| void |
setTitle(String withTitle)
Set the title value. |
|
Card |
tap()
Get the tap value. |
Methods inherited from java.lang.Object
Constructor Details
BasicCard
public BasicCard()
Method Details
getButtons
public List
Get the buttons value.
Returns:
getImages
public List
Get the images value.
Returns:
getSubtitle
public String getSubtitle()
Get the subtitle value.
Returns:
getText
public String getText()
Get the text value.
Returns:
getTitle
public String getTitle()
Get the title value.
Returns:
setButtons
public void setButtons(List
Set the buttons value.
Parameters:
setImages
public void setImages(List
Set the images value.
Parameters:
setSubtitle
public void setSubtitle(String withSubtitle)
Set the subtitle value.
Parameters:
setTap
public void setTap(CardAction withTap)
Set the tap value.
Parameters:
setText
public void setText(String withText)
Set the text value.
Parameters:
setTitle
public void setTitle(String withTitle)
Set the title value.
Parameters:
tap
public CardAction tap()
Get the tap value.
Returns: