aboutsummaryrefslogtreecommitdiffstats
path: root/typings/slack_rtm
diff options
context:
space:
mode:
authorTrygve Aaberge <trygveaa@gmail.com>2023-08-21 18:32:17 +0200
committerTrygve Aaberge <trygveaa@gmail.com>2024-02-18 11:32:54 +0100
commitf5dc1e5601a441a2378298e7b15490faab904584 (patch)
tree233ca253648b7d5516bd260157f9ae96706c5c3f /typings/slack_rtm
parentf3f97e5cbb97ed7a04bc3e40a110805ff0ae53c8 (diff)
downloadwee-slack-f5dc1e5601a441a2378298e7b15490faab904584.tar.gz
Render me/action messages correctly
Diffstat (limited to 'typings/slack_rtm')
-rw-r--r--typings/slack_rtm/slack_rtm_message.pyi6
1 files changed, 6 insertions, 0 deletions
diff --git a/typings/slack_rtm/slack_rtm_message.pyi b/typings/slack_rtm/slack_rtm_message.pyi
index d6840ec..1fae2d6 100644
--- a/typings/slack_rtm/slack_rtm_message.pyi
+++ b/typings/slack_rtm/slack_rtm_message.pyi
@@ -1,5 +1,6 @@
from slack_api.slack_conversations_history import (
SlackMessage,
+ SlackMessageMe,
SlackMessageStandardCommon,
SlackMessageSubtypeBotAdd,
SlackMessageSubtypeBotMessage,
@@ -24,6 +25,10 @@ class SlackMessageStandardRtm(SlackMessageStandardCommon):
channel: str
@final
+class SlackMessageMeRtm(SlackMessageMe):
+ channel: str
+
+@final
class SlackMessageThreadParentNotSubscribedRtm(SlackMessageThreadParentNotSubscribed):
channel: str
@@ -123,6 +128,7 @@ class SlackUserTyping(TypedDict):
SlackMessageRtm = (
SlackMessageStandardRtm
+ | SlackMessageMeRtm
| SlackMessageThreadParentNotSubscribedRtm
| SlackMessageThreadParentSubscribedRtm
| SlackMessageWithFilesRtm