diff options
Diffstat (limited to 'typings/slack_edgeapi')
-rw-r--r-- | typings/slack_edgeapi/slack_users_search.pyi | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/typings/slack_edgeapi/slack_users_search.pyi b/typings/slack_edgeapi/slack_users_search.pyi new file mode 100644 index 0000000..47a9f38 --- /dev/null +++ b/typings/slack_edgeapi/slack_users_search.pyi @@ -0,0 +1,11 @@ +from typing import List, Literal, TypedDict + +from slack_api.slack_error import SlackErrorResponse +from slack_api.slack_users_info import SlackUserInfo + +class SlackUsersSearchSuccessResponse(TypedDict): + ok: Literal[True] + results: List[SlackUserInfo] + presence_active_ids: List[str] + +SlackUsersSearchResponse = SlackUsersSearchSuccessResponse | SlackErrorResponse |