diff options
author | Trygve Aaberge <trygveaa@gmail.com> | 2024-02-21 19:10:11 +0100 |
---|---|---|
committer | Trygve Aaberge <trygveaa@gmail.com> | 2024-02-21 19:10:11 +0100 |
commit | f931870f46ce0af8739ab1439269eabc8dcc2cb4 (patch) | |
tree | 9aa9bacd71011693d0d845a1f93b99ac9977c53e /typings | |
parent | 3f2dd0e60cde8396a4b09f2e5668674f16a40703 (diff) | |
download | wee-slack-f931870f46ce0af8739ab1439269eabc8dcc2cb4.tar.gz |
Support date in rich text elements
Diffstat (limited to 'typings')
-rw-r--r-- | typings/slack_api/slack_conversations_history.pyi | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/typings/slack_api/slack_conversations_history.pyi b/typings/slack_api/slack_conversations_history.pyi index 228d824..dc43cd4 100644 --- a/typings/slack_api/slack_conversations_history.pyi +++ b/typings/slack_api/slack_conversations_history.pyi @@ -41,6 +41,12 @@ class SlackMessageBlockRichTextElementColor(TypedDict): value: str @final +class SlackMessageBlockRichTextElementDate(TypedDict): + type: Literal["date"] + timestamp: int + format: str + +@final class SlackMessageBlockRichTextElementChannel(TypedDict): type: Literal["channel"] channel_id: str @@ -65,6 +71,7 @@ SlackMessageBlockRichTextElement = ( | SlackMessageBlockRichTextElementLink | SlackMessageBlockRichTextElementEmoji | SlackMessageBlockRichTextElementColor + | SlackMessageBlockRichTextElementDate | SlackMessageBlockRichTextElementChannel | SlackMessageBlockRichTextElementUser | SlackMessageBlockRichTextElementUsergroup |