aboutsummaryrefslogtreecommitdiffstats
path: root/typings
diff options
context:
space:
mode:
Diffstat (limited to 'typings')
-rw-r--r--typings/slack_api/slack_conversations_join.pyi18
1 files changed, 18 insertions, 0 deletions
diff --git a/typings/slack_api/slack_conversations_join.pyi b/typings/slack_api/slack_conversations_join.pyi
new file mode 100644
index 0000000..8d30898
--- /dev/null
+++ b/typings/slack_api/slack_conversations_join.pyi
@@ -0,0 +1,18 @@
+from __future__ import annotations
+
+from slack_api.slack_common import SlackErrorResponse
+from typing_extensions import Literal, TypedDict, final
+
+@final
+class SlackConversationsJoinChannel(TypedDict):
+ id: str
+ # incomplete
+
+@final
+class SlackConversationsJoinSuccessResponse(TypedDict):
+ ok: Literal[True]
+ channel: SlackConversationsJoinChannel
+
+SlackConversationsJoinResponse = (
+ SlackConversationsJoinSuccessResponse | SlackErrorResponse
+)