Class PlainTextObject
java.lang.Object
com.slack.api.model.block.composition.TextObject
com.slack.api.model.block.composition.PlainTextObject
- All Implemented Interfaces:
ContextBlockElement
https://api.slack.com/reference/messaging/composition-objects#text
-
Nested Class Summary
-
Field Summary
-
Constructor Summary
-
Method Summary
-
Field Details
-
TYPE
- See Also:
-
-
Constructor Details
-
PlainTextObject
public PlainTextObject() -
PlainTextObject
-
-
Method Details
-
builder
-
toBuilder
-
getType
-
getText
- Specified by:
getText
in classTextObject
-
getEmoji
The documentation of the Slack API states that the verbatim field is optional. The API examples always render the emoji field (as true, but that is its default value) -- so that is not helpful. I picked the Boolean because basically you have 3 possible states: - true - false - not present (and therefore not rendered in the resulting JSON sent to the Slack API) -
setText
-
setEmoji
The documentation of the Slack API states that the verbatim field is optional. The API examples always render the emoji field (as true, but that is its default value) -- so that is not helpful. I picked the Boolean because basically you have 3 possible states: - true - false - not present (and therefore not rendered in the resulting JSON sent to the Slack API) -
toString
-
equals
-
canEqual
-
hashCode
public int hashCode()
-