diff options
author | Trygve Aaberge <trygveaa@gmail.com> | 2023-01-28 23:40:56 +0100 |
---|---|---|
committer | Trygve Aaberge <trygveaa@gmail.com> | 2024-02-18 11:32:53 +0100 |
commit | 633c881c3b8732dddc5b4abdbe111769b72137e3 (patch) | |
tree | 4fe5726f9c6fd09678ae76ccb023852715ebbe2a /typings/slack_edgeapi | |
parent | 2ba6473b41a9a742d4611a8f1259aa36a769ed7e (diff) | |
download | wee-slack-633c881c3b8732dddc5b4abdbe111769b72137e3.tar.gz |
Support unfurling usergroup names
Diffstat (limited to 'typings/slack_edgeapi')
-rw-r--r-- | typings/slack_edgeapi/slack_usergroups_info.pyi | 14 |
1 files changed, 14 insertions, 0 deletions
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 +) |