diff options
Diffstat (limited to 'typings/slack_rtm/slack_rtm_message.pyi')
-rw-r--r-- | typings/slack_rtm/slack_rtm_message.pyi | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/typings/slack_rtm/slack_rtm_message.pyi b/typings/slack_rtm/slack_rtm_message.pyi index 7f566e2..709f4a5 100644 --- a/typings/slack_rtm/slack_rtm_message.pyi +++ b/typings/slack_rtm/slack_rtm_message.pyi @@ -239,6 +239,12 @@ class SlackUserTyping(TypedDict): id: int user: str +@final +class SlackPrefChange(TypedDict): + type: Literal["pref_change"] + name: str + value: str + SlackMessageRtm = ( SlackMessageStandardRtm | SlackMessageMeRtm @@ -273,4 +279,5 @@ SlackRtmMessage = ( | SlackShRoomJoin | SlackShRoomUpdate | SlackUserTyping + | SlackPrefChange ) |