diff options
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 |