diff options
-rw-r--r-- | typings/slack_api/slack_rtm_connect.pyi | 5 | ||||
-rw-r--r-- | typings/slack_api/slack_users_info.pyi | 3 |
2 files changed, 7 insertions, 1 deletions
diff --git a/typings/slack_api/slack_rtm_connect.pyi b/typings/slack_api/slack_rtm_connect.pyi index c499426..e5dcd8c 100644 --- a/typings/slack_api/slack_rtm_connect.pyi +++ b/typings/slack_api/slack_rtm_connect.pyi @@ -1,18 +1,21 @@ from __future__ import annotations -from typing import Literal, TypedDict +from typing import Literal, TypedDict, final from slack_api.slack_error import SlackErrorResponse +@final class SlackRtmConnectTeam(TypedDict): id: str name: str domain: str +@final class SlackRtmConnectSelf(TypedDict): id: str name: str +@final class SlackRtmConnectSuccessResponse(TypedDict): ok: Literal[True] url: str diff --git a/typings/slack_api/slack_users_info.pyi b/typings/slack_api/slack_users_info.pyi index 086dbb4..ab43378 100644 --- a/typings/slack_api/slack_users_info.pyi +++ b/typings/slack_api/slack_users_info.pyi @@ -7,10 +7,12 @@ from typing_extensions import NotRequired T = TypeVar("T") +@final class SlackProfileField(TypedDict): value: str alt: str +@final class SlackProfileStatusEmojiDisplayInfo(TypedDict): emoji_name: str display_url: str @@ -61,6 +63,7 @@ class SlackProfileBot(SlackProfileCommon): SlackProfile = SlackProfilePerson | SlackProfileBot +@final class SlackEnterpriseUser(TypedDict): id: str enterprise_id: str |