MessageActionsPayloadBody Class

  • java.lang.Object
    • com.microsoft.bot.schema.teams.MessageActionsPayloadBody

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

java.lang.Object.clone java.lang.Object.equals java.lang.Object.finalize java.lang.Object.getClass java.lang.Object.hashCode java.lang.Object.notify java.lang.Object.notifyAll java.lang.Object.toString java.lang.Object.wait java.lang.Object.wait java.lang.Object.wait

Constructor Details

MessageActionsPayloadBody

public MessageActionsPayloadBody()

Method Details

getContent

public String getContent()

Gets the content of the body.

Returns:

The payload content.

getContentType

public String getContentType()

Gets type of the content. Possible values include: 'html', 'text'

Returns:

The content type of the payload.

setContent

public void setContent(String withContent)

Sets the content of the body.

Parameters:

withContent - The payload content.

setContentType

public void setContentType(String withContentType)

Sets type of the content. Possible values include: 'html',

Parameters:

withContentType - The content type of the payload.

Applies to