Skip to content

Commit

Permalink
Add expand prfoperty to section block type (#2137)
Browse files Browse the repository at this point in the history
  • Loading branch information
seratch authored Feb 3, 2025
1 parent 9531624 commit 8e5b06d
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions packages/types/src/block-kit/blocks.ts
Original file line number Diff line number Diff line change
Expand Up @@ -314,6 +314,10 @@ export interface SectionBlock extends Block {
* @description One of the compatible element objects.
*/
accessory?: SectionBlockAccessory;
/**
* Whether or not this section block's text should always expand when rendered. If false or not provided, it may be rendered with a 'see more' option to expand and show the full text. For AI Assistant apps, this allows the app to post long messages without users needing to click 'see more' to expand the message.
*/
expand?: boolean;
}

/**
Expand Down

0 comments on commit 8e5b06d

Please sign in to comment.