aboutsummaryrefslogtreecommitdiffstats
path: root/typings/slack_rtm/slack_rtm_message.pyi
diff options
context:
space:
mode:
Diffstat (limited to 'typings/slack_rtm/slack_rtm_message.pyi')
-rw-r--r--typings/slack_rtm/slack_rtm_message.pyi12
1 files changed, 12 insertions, 0 deletions
diff --git a/typings/slack_rtm/slack_rtm_message.pyi b/typings/slack_rtm/slack_rtm_message.pyi
index 7eb50f1..1e0c105 100644
--- a/typings/slack_rtm/slack_rtm_message.pyi
+++ b/typings/slack_rtm/slack_rtm_message.pyi
@@ -4,6 +4,8 @@ from slack_api.slack_conversations_history import (
SlackMessageSubtypeBotAdd,
SlackMessageSubtypeBotMessage,
SlackMessageSubtypeBotRemove,
+ SlackMessageSubtypeChannelJoin,
+ SlackMessageSubtypeChannelLeave,
SlackMessageThreadParentNotSubscribed,
SlackMessageThreadParentSubscribed,
SlackMessageWithFiles,
@@ -46,6 +48,14 @@ class SlackMessageSubtypeBotAddRtm(SlackMessageSubtypeBotAdd):
channel: str
@final
+class SlackMessageSubtypeChannelJoinRtm(SlackMessageSubtypeChannelJoin):
+ channel: str
+
+@final
+class SlackMessageSubtypeChannelLeaveRtm(SlackMessageSubtypeChannelLeave):
+ channel: str
+
+@final
class SlackMessageChanged(TypedDict):
type: Literal["message"]
subtype: Literal["message_changed"]
@@ -93,6 +103,8 @@ SlackMessageRtm = (
| SlackMessageSubtypeBotMessageRtm
| SlackMessageSubtypeBotRemoveRtm
| SlackMessageSubtypeBotAddRtm
+ | SlackMessageSubtypeChannelJoinRtm
+ | SlackMessageSubtypeChannelLeaveRtm
)
SlackRtmMessage = (