diff options
Diffstat (limited to 'typings')
-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 5f78cbb..6310352 100644 --- a/typings/slack_rtm/slack_rtm_message.pyi +++ b/typings/slack_rtm/slack_rtm_message.pyi @@ -303,6 +303,15 @@ class SlackUserStatusChanged(TypedDict): cache_ts: str event_ts: str +class SlackUserInvalidatedUser(TypedDict): + id: str + +@final +class SlackUserInvalidated(TypedDict): + type: Literal["user_invalidated"] + user: SlackUserInvalidatedUser + event_ts: str + SlackMessageRtm = ( SlackMessageStandardRtm | SlackMessageMeRtm @@ -346,4 +355,5 @@ SlackRtmMessage = ( | SlackUserTyping | SlackPrefChange | SlackUserStatusChanged + | SlackUserInvalidated ) |