Package com.slack.api.model.block
Class HeaderBlock.HeaderBlockBuilder
java.lang.Object
com.slack.api.model.block.HeaderBlock.HeaderBlockBuilder
- Enclosing class:
- HeaderBlock
public static class HeaderBlock.HeaderBlockBuilder extends Object
-
Method Summary
Modifier and Type Method Description HeaderBlock.HeaderBlockBuilderblockId(String blockId)A string acting as a unique identifier for a block.HeaderBlockbuild()HeaderBlock.HeaderBlockBuildertext(PlainTextObject text)The text for the block, in the form of a plain_text text object.StringtoString()
-
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
-