Package com.slack.api.model.block
Class HeaderBlock.HeaderBlockBuilder
java.lang.Object
com.slack.api.model.block.HeaderBlock.HeaderBlockBuilder
- Enclosing class:
- HeaderBlock
-
Method Summary
Modifier and TypeMethodDescriptionA string acting as a unique identifier for a block.build()
text
(PlainTextObject text) The text for the block, in the form of a plain_text text object.toString()
-
Method Details
-
blockId
A string acting as a unique identifier for a block. If not specified, one will be generated. Maximum length for this field is 255 characters. block_id should be unique for each message and each iteration of a message. If a message is updated, use a new block_id.- Returns:
this
.
-
text
The text for the block, in the form of a plain_text text object. Maximum length for the text in this field is 3000 characters.- Returns:
this
.
-
build
-
toString
-