From 633c881c3b8732dddc5b4abdbe111769b72137e3 Mon Sep 17 00:00:00 2001 From: Trygve Aaberge Date: Sat, 28 Jan 2023 23:40:56 +0100 Subject: Support unfurling usergroup names --- typings/slack_edgeapi/slack_usergroups_info.pyi | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 typings/slack_edgeapi/slack_usergroups_info.pyi (limited to 'typings/slack_edgeapi') diff --git a/typings/slack_edgeapi/slack_usergroups_info.pyi b/typings/slack_edgeapi/slack_usergroups_info.pyi new file mode 100644 index 0000000..06bbb4a --- /dev/null +++ b/typings/slack_edgeapi/slack_usergroups_info.pyi @@ -0,0 +1,14 @@ +from typing import List + +from slack_api.slack_error import SlackErrorResponse +from slack_api.slack_usergroups_info import SlackUsergroupInfo +from typing_extensions import Literal, NotRequired, TypedDict + +class SlackEdgeUsergroupsInfoSuccessResponse(TypedDict): + ok: Literal[True] + failed_ids: NotRequired[List[str]] + results: List[SlackUsergroupInfo] + +SlackEdgeUsergroupsInfoResponse = ( + SlackEdgeUsergroupsInfoSuccessResponse | SlackErrorResponse +) -- cgit