aboutsummaryrefslogtreecommitdiffstats
path: root/typings/slack_edgeapi/slack_users_search.pyi
blob: a8c8d739beff6bd424ca9c780e296118662433e5 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
from typing import List

from slack_api.slack_common import SlackErrorResponse
from slack_api.slack_users_info import SlackUserInfo
from typing_extensions import Literal, TypedDict

class SlackUsersSearchSuccessResponse(TypedDict):
    ok: Literal[True]
    results: List[SlackUserInfo]
    presence_active_ids: List[str]

SlackUsersSearchResponse = SlackUsersSearchSuccessResponse | SlackErrorResponse