aboutsummaryrefslogtreecommitdiffstats
path: root/typings/slack_api/slack_conversations_history.pyi
diff options
context:
space:
mode:
Diffstat (limited to 'typings/slack_api/slack_conversations_history.pyi')
-rw-r--r--typings/slack_api/slack_conversations_history.pyi8
1 files changed, 8 insertions, 0 deletions
diff --git a/typings/slack_api/slack_conversations_history.pyi b/typings/slack_api/slack_conversations_history.pyi
index bf81c15..944d367 100644
--- a/typings/slack_api/slack_conversations_history.pyi
+++ b/typings/slack_api/slack_conversations_history.pyi
@@ -3,6 +3,7 @@ from __future__ import annotations
from typing import Dict, List
from slack_api.slack_common import SlackErrorResponse
+from slack_api.slack_conversations_replies import SlackMessageThreadCommon
from slack_rtm.slack_rtm_message import SlackMessageRtm
from typing_extensions import Literal, NotRequired, TypedDict, final
@@ -331,6 +332,12 @@ class SlackMessageThreadParentSubscribed(SlackMessageThreadParentCommon):
class SlackMessageThreadParentSubscribedFinal(SlackMessageThreadParentSubscribed):
pass
+@final
+class SlackMessageThreadBroadcast(SlackMessageThreadCommon):
+ subtype: Literal["thread_broadcast"]
+ root: SlackMessageThreadParentCommon
+ # TODO: team is missing in response
+
class SlackMessageWithFiles(SlackMessageCommon):
user: str
files: List[SlackMessageFile]
@@ -439,6 +446,7 @@ SlackMessage = (
| SlackMessageThreadParentCommon
| SlackMessageThreadParentNotSubscribedFinal
| SlackMessageThreadParentSubscribedFinal
+ | SlackMessageThreadBroadcast
| SlackMessageWithFilesFinal
| SlackMessageSubtypeHuddleThreadFinal
| SlackMessageSubtypeBotMessageFinal