aboutsummaryrefslogtreecommitdiffstats
path: root/typings/slack_rtm
diff options
context:
space:
mode:
Diffstat (limited to 'typings/slack_rtm')
-rw-r--r--typings/slack_rtm/slack_rtm_message.pyi14
1 files changed, 14 insertions, 0 deletions
diff --git a/typings/slack_rtm/slack_rtm_message.pyi b/typings/slack_rtm/slack_rtm_message.pyi
index 548e695..7f566e2 100644
--- a/typings/slack_rtm/slack_rtm_message.pyi
+++ b/typings/slack_rtm/slack_rtm_message.pyi
@@ -198,6 +198,18 @@ class SlackThreadMarked(TypedDict):
subscription: SlackThreadSubscription | SlackThreadSubscriptionUnknown
event_ts: str
+@final
+class SlackThreadSubscribed(TypedDict):
+ type: Literal["thread_subscribed"]
+ subscription: SlackThreadSubscription | SlackThreadSubscriptionUnknown
+ event_ts: str
+
+@final
+class SlackThreadUnsubscribed(TypedDict):
+ type: Literal["thread_unsubscribed"]
+ subscription: SlackThreadSubscription | SlackThreadSubscriptionUnknown
+ event_ts: str
+
class SlackShRoomHuddle(TypedDict):
channel_id: str
@@ -256,6 +268,8 @@ SlackRtmMessage = (
| SlackMpImMarked
| SlackImMarked
| SlackThreadMarked
+ | SlackThreadSubscribed
+ | SlackThreadUnsubscribed
| SlackShRoomJoin
| SlackShRoomUpdate
| SlackUserTyping