Package com.slack.api.model
Class Field.FieldBuilder
java.lang.Object
com.slack.api.model.Field.FieldBuilder
- Enclosing class:
- Field
-
Method Summary
Modifier and TypeMethodDescriptionbuild()Shown as a bold heading above the value text.toString()The text value of the field.valueShortEnough(boolean valueShortEnough) An optional flag indicating whether the value is short enough to be displayed side-by-side with other values.
-
Method Details
-
title
Shown as a bold heading above the value text. It cannot contain markup and will be escaped for you.- Returns:
this.
-
value
The text value of the field. It may contain standard message markup (see details below) and must be escaped as normal. May be multi-line. https://api.slack.com/docs/message-attachments#message_formatting- Returns:
this.
-
valueShortEnough
An optional flag indicating whether the value is short enough to be displayed side-by-side with other values.- Returns:
this.
-
build
-
toString
-