aboutsummaryrefslogtreecommitdiffstats
path: root/typings/slack_api/slack_conversations_join.pyi
blob: 8d30898a7318cdd8d5c52c83e03d7675c6b343b2 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
from __future__ import annotations

from slack_api.slack_common import SlackErrorResponse
from typing_extensions import Literal, TypedDict, final

@final
class SlackConversationsJoinChannel(TypedDict):
    id: str
    # incomplete

@final
class SlackConversationsJoinSuccessResponse(TypedDict):
    ok: Literal[True]
    channel: SlackConversationsJoinChannel

SlackConversationsJoinResponse = (
    SlackConversationsJoinSuccessResponse | SlackErrorResponse
)