From b522ba1e34e003ae9a384661b732e4c9a407a1a0 Mon Sep 17 00:00:00 2001 From: Trygve Aaberge Date: Sun, 22 Oct 2023 13:03:23 +0200 Subject: Add completion of emoji names --- typings/slack_api/slack_emoji.pyi | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 typings/slack_api/slack_emoji.pyi (limited to 'typings') 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 -- cgit