Interface LayoutBlock

All Known Implementing Classes:
ActionsBlock, CallBlock, ContextBlock, DividerBlock, FileBlock, HeaderBlock, ImageBlock, InputBlock, RichTextBlock, SectionBlock, UnknownBlock

public interface LayoutBlock
Block Kit is a new UI framework that offers you more control and flexibility when building messages for Slack. Comprised of "blocks," stackable bits of message UI, you can customize the order and appearance of information delivered by your app in Slack.
See Also:
Block Kit Guide, Block Kit Reference
  • Method Summary

    Modifier and Type Method Description
    String getBlockId()
    Returns the block_id string; the value can be null if the object is manually crafted.
    String getType()
    Determines the type of layout block, e.g.
  • Method Details

    • getType

      String getType()
      Determines the type of layout block, e.g. section, divider, context, actions and image.
    • getBlockId

      String getBlockId()
      Returns the block_id string; the value can be null if the object is manually crafted.