diff options
author | Trygve Aaberge <trygveaa@gmail.com> | 2023-10-15 12:27:15 +0200 |
---|---|---|
committer | Trygve Aaberge <trygveaa@gmail.com> | 2024-02-18 11:32:54 +0100 |
commit | a184d156aba210a81f0e13a9016088431ed50882 (patch) | |
tree | cc6119a109404b2b0d84bdbfff38d0f4cbec44de /typings/slack_api | |
parent | 3785cec18f56afb0c9b098ff700492543fe63859 (diff) | |
download | wee-slack-a184d156aba210a81f0e13a9016088431ed50882.tar.gz |
Add render blocks tests from old version
Diffstat (limited to 'typings/slack_api')
-rw-r--r-- | typings/slack_api/slack_conversations_history.pyi | 13 |
1 files changed, 7 insertions, 6 deletions
diff --git a/typings/slack_api/slack_conversations_history.pyi b/typings/slack_api/slack_conversations_history.pyi index 4f0cfa8..6799f02 100644 --- a/typings/slack_api/slack_conversations_history.pyi +++ b/typings/slack_api/slack_conversations_history.pyi @@ -9,10 +9,10 @@ from typing_extensions import Literal, NotRequired, TypedDict, final @final class SlackMessageBlockRichTextElementTextStyle(TypedDict): - bold: bool - italic: bool - strike: bool - code: bool + bold: NotRequired[bool] + italic: NotRequired[bool] + strike: NotRequired[bool] + code: NotRequired[bool] @final class SlackMessageBlockRichTextElementText(TypedDict): @@ -32,7 +32,7 @@ class SlackMessageBlockRichTextElementEmoji(TypedDict): type: Literal["emoji"] name: str unicode: str - skin_tone: int + skin_tone: NotRequired[int] @final class SlackMessageBlockRichTextElementChannel(TypedDict): @@ -75,6 +75,7 @@ class SlackMessageBlockRichTextPreformatted(TypedDict): elements: List[ SlackMessageBlockRichTextElementText | SlackMessageBlockRichTextElementLink ] + border: int @final class SlackMessageBlockRichTextQuote(TypedDict): @@ -87,7 +88,7 @@ class SlackMessageBlockRichTextList(TypedDict): elements: List[SlackMessageBlockRichTextSection] style: Literal["ordered", "bullet"] indent: int - offset: int + offset: NotRequired[int] border: int @final |