diff options
Diffstat (limited to 'typings/slack_rtm')
-rw-r--r-- | typings/slack_rtm/slack_rtm_message.pyi | 14 |
1 files changed, 12 insertions, 2 deletions
diff --git a/typings/slack_rtm/slack_rtm_message.pyi b/typings/slack_rtm/slack_rtm_message.pyi index 64dc64e..01c3f9c 100644 --- a/typings/slack_rtm/slack_rtm_message.pyi +++ b/typings/slack_rtm/slack_rtm_message.pyi @@ -9,6 +9,7 @@ from slack_api.slack_conversations_history import ( SlackMessageSubtypeChannelLeave, SlackMessageSubtypeHuddleThread, SlackMessageSubtypeHuddleThreadRoom, + SlackMessageThreadBroadcast, SlackMessageThreadParentCommon, SlackMessageThreadParentNotSubscribed, SlackMessageThreadParentSubscribed, @@ -45,7 +46,15 @@ class SlackMessageThreadRtm(SlackMessageThreadCommon): channel: str event_ts: str source_team: str - suppress_notification: bool + suppress_notification: NotRequired[bool] + user_team: str + +@final +class SlackMessageThreadBroadcastRtm(SlackMessageThreadBroadcast): + channel: str + event_ts: str + source_team: str + suppress_notification: NotRequired[bool] user_team: str @final @@ -55,7 +64,7 @@ class SlackMessageWithFilesRtm(SlackMessageWithFiles): @final class SlackMessageSubtypeHuddleThreadRtm(SlackMessageSubtypeHuddleThread): event_ts: str - suppress_notification: bool + suppress_notification: NotRequired[bool] @final class SlackMessageSubtypeBotMessageRtm(SlackMessageSubtypeBotMessage): @@ -170,6 +179,7 @@ SlackMessageRtm = ( | SlackMessageThreadParentNotSubscribedRtm | SlackMessageThreadParentSubscribedRtm | SlackMessageThreadRtm + | SlackMessageThreadBroadcastRtm | SlackMessageWithFilesRtm | SlackMessageSubtypeHuddleThreadRtm | SlackMessageSubtypeBotMessageRtm |