diff options
Diffstat (limited to 'typings/slack_rtm')
-rw-r--r-- | typings/slack_rtm/slack_rtm_message.pyi | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/typings/slack_rtm/slack_rtm_message.pyi b/typings/slack_rtm/slack_rtm_message.pyi index 65f15e8..64dc64e 100644 --- a/typings/slack_rtm/slack_rtm_message.pyi +++ b/typings/slack_rtm/slack_rtm_message.pyi @@ -14,6 +14,7 @@ from slack_api.slack_conversations_history import ( SlackMessageThreadParentSubscribed, SlackMessageWithFiles, ) +from slack_api.slack_conversations_replies import SlackMessageThreadCommon from typing_extensions import Literal, NotRequired, TypedDict, final class SlackRtmHello(TypedDict): @@ -40,6 +41,14 @@ class SlackMessageThreadParentSubscribedRtm(SlackMessageThreadParentSubscribed): channel: str @final +class SlackMessageThreadRtm(SlackMessageThreadCommon): + channel: str + event_ts: str + source_team: str + suppress_notification: bool + user_team: str + +@final class SlackMessageWithFilesRtm(SlackMessageWithFiles): channel: str @@ -160,6 +169,7 @@ SlackMessageRtm = ( | SlackMessageMeRtm | SlackMessageThreadParentNotSubscribedRtm | SlackMessageThreadParentSubscribedRtm + | SlackMessageThreadRtm | SlackMessageWithFilesRtm | SlackMessageSubtypeHuddleThreadRtm | SlackMessageSubtypeBotMessageRtm |