-
Notifications
You must be signed in to change notification settings - Fork 678
feat(types): add table block #2426
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -173,6 +173,21 @@ export interface MrkdwnElement { | |
| verbatim?: boolean; | ||
| } | ||
|
|
||
| /** | ||
| * @description Defines an object containing some text. | ||
| * @see {@link https://docs.slack.dev/reference/block-kit/composition-objects/text-object Text object reference}. | ||
|
Member
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. 📝 note: This is undocumented as a text object at this time. I've sent a message related to this but believe this is the correct place for the
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Sweet 💯 |
||
| */ | ||
| export interface RawTextElement { | ||
| /** | ||
| * @description The formatting to use for this text object. | ||
| */ | ||
| type: 'raw_text'; | ||
| /** | ||
| * @description The text for the block. The minimum length is 1 and maximum length is 3000 characters. | ||
| */ | ||
| text: string; | ||
| } | ||
|
|
||
| interface BaseConversationFilter { | ||
| /** | ||
| * @description Indicates which type of conversations should be included in the list. When this field is provided, any | ||
|
|
||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Praise!