aboutsummaryrefslogtreecommitdiffstats
path: root/typings
diff options
context:
space:
mode:
authorTrygve Aaberge <trygveaa@gmail.com>2023-10-22 13:03:23 +0200
committerTrygve Aaberge <trygveaa@gmail.com>2024-02-18 11:32:54 +0100
commitb522ba1e34e003ae9a384661b732e4c9a407a1a0 (patch)
tree0f247b38e47c78a8ef6c568926203c28aa84d41f /typings
parentd712abc15a7297129c8e8a445eb3b9a20bcf4c02 (diff)
downloadwee-slack-b522ba1e34e003ae9a384661b732e4c9a407a1a0.tar.gz
Add completion of emoji names
Diffstat (limited to 'typings')
-rw-r--r--typings/slack_api/slack_emoji.pyi12
1 files changed, 12 insertions, 0 deletions
diff --git a/typings/slack_api/slack_emoji.pyi b/typings/slack_api/slack_emoji.pyi
new file mode 100644
index 0000000..12e8de5
--- /dev/null
+++ b/typings/slack_api/slack_emoji.pyi
@@ -0,0 +1,12 @@
+from typing import Dict
+
+from slack_api.slack_common import SlackErrorResponse
+from typing_extensions import Literal, TypedDict, final
+
+@final
+class SlackEmojiListSuccessResponse(TypedDict):
+ ok: Literal[True]
+ emoji: Dict[str, str]
+ cache_ts: str
+
+SlackEmojiListResponse = SlackEmojiListSuccessResponse | SlackErrorResponse