MessageActionsPayloadBody Class
- java.
lang. Object - com.
microsoft. bot. schema. teams. MessageActionsPayloadBody
- com.
public class MessageActionsPayloadBody
Plaintext/HTML representation of the content of the message.
Constructor Summary
| Constructor | Description | |
|---|---|---|
| MessageActionsPayloadBody() | ||
Method Summary
| Modifier and Type | Method and Description |
|---|---|
| java.lang.String |
getContent()
Gets the content of the body. |
| java.lang.String |
getContentType()
Gets type of the content. |
| void |
setContent(String withContent)
Sets the content of the body. |
| void |
setContentType(String withContentType)
Sets type of the content. |
Methods inherited from java.lang.Object
Constructor Details
MessageActionsPayloadBody
public MessageActionsPayloadBody()
Method Details
getContent
public String getContent()
Gets the content of the body.
Returns:
getContentType
public String getContentType()
Gets type of the content. Possible values include: 'html', 'text'
Returns:
setContent
public void setContent(String withContent)
Sets the content of the body.
Parameters:
setContentType
public void setContentType(String withContentType)
Sets type of the content. Possible values include: 'html',
Parameters: