Skip to content

Commit 8e5b06d

Browse files
authored
Add expand prfoperty to section block type (#2137)
1 parent 9531624 commit 8e5b06d

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

packages/types/src/block-kit/blocks.ts

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -314,6 +314,10 @@ export interface SectionBlock extends Block {
314314
* @description One of the compatible element objects.
315315
*/
316316
accessory?: SectionBlockAccessory;
317+
/**
318+
* 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.
319+
*/
320+
expand?: boolean;
317321
}
318322

319323
/**

0 commit comments

Comments
 (0)