From 8e5b06dc0e929f6d3c008a59110f0c1f10db6b55 Mon Sep 17 00:00:00 2001 From: Kazuhiro Sera Date: Mon, 3 Feb 2025 16:29:47 +0900 Subject: [PATCH] Add expand prfoperty to section block type (#2137) --- packages/types/src/block-kit/blocks.ts | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/packages/types/src/block-kit/blocks.ts b/packages/types/src/block-kit/blocks.ts index c1e851923..74f7c99c6 100644 --- a/packages/types/src/block-kit/blocks.ts +++ b/packages/types/src/block-kit/blocks.ts @@ -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; } /**