CardImage Class
- java.
lang. Object - com.
microsoft. bot. schema. CardImage
- com.
public class CardImage
An image on a card.
Constructor Summary
| Constructor | Description |
|---|---|
| CardImage() |
Creates a new Card |
| CardImage(String withUrl) |
Creates a new Card |
Method Summary
| Modifier and Type | Method and Description |
|---|---|
| java.lang.String |
getAlt()
Get the alt value. |
|
Card |
getTap()
Get the tap value. |
| java.lang.String |
getUrl()
Get the url value. |
| void |
setAlt(String withAlt)
Set the alt value. |
| void |
setTap(CardAction withTap)
Set the tap value. |
| void |
setUrl(String withUrl)
Set the url value. |
Methods inherited from java.lang.Object
Constructor Details
CardImage
public CardImage()
Creates a new CardImage.
CardImage
public CardImage(String withUrl)
Creates a new CardImage with an initial URL.
Parameters:
Method Details
getAlt
public String getAlt()
Get the alt value.
Returns:
getTap
public CardAction getTap()
Get the tap value.
Returns:
getUrl
public String getUrl()
Get the url value.
Returns:
setAlt
public void setAlt(String withAlt)
Set the alt value.
Parameters:
setTap
public void setTap(CardAction withTap)
Set the tap value.
Parameters:
setUrl
public void setUrl(String withUrl)
Set the url value.
Parameters: