Skip to main content

slack.headerblock

Home > @runlightyear/slack > HeaderBlock

HeaderBlock interface

Signature:
interface HeaderBlock 

Required Properties

PropertyModifiersTypeDescription
textPlainTextObjectThe text for the block, in the form of a plain_text text object. Maximum length for the text in this field is 150 characters.
type"header"

Optional Properties

PropertyModifiersTypeDescription
blockId?stringA 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.