diff options
author | Trygve Aaberge <trygveaa@gmail.com> | 2023-10-13 01:15:31 +0200 |
---|---|---|
committer | Trygve Aaberge <trygveaa@gmail.com> | 2024-02-18 11:32:54 +0100 |
commit | e8c464b7e3512e39c7c1d97a78904ae7b437f932 (patch) | |
tree | 96180cf7f885b8f04ceee08ef2a67fda42280feb /typings/slack_api | |
parent | 19fe2300fd85e0b96e53e2cdf14f28f947585f12 (diff) | |
download | wee-slack-e8c464b7e3512e39c7c1d97a78904ae7b437f932.tar.gz |
Support muted conversations config
Diffstat (limited to 'typings/slack_api')
-rw-r--r-- | typings/slack_api/slack_users_prefs.pyi | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/typings/slack_api/slack_users_prefs.pyi b/typings/slack_api/slack_users_prefs.pyi new file mode 100644 index 0000000..13cc804 --- /dev/null +++ b/typings/slack_api/slack_users_prefs.pyi @@ -0,0 +1,16 @@ +from __future__ import annotations + +from slack_api.slack_common import SlackErrorResponse +from typing_extensions import Literal, TypedDict, final + +@final +class SlackUsersPrefs(TypedDict): + muted_channels: str + # Incomplete + +@final +class SlackUsersPrefsGetSuccessResponse(TypedDict): + ok: Literal[True] + prefs: SlackUsersPrefs + +SlackUsersPrefsGetResponse = SlackUsersPrefsGetSuccessResponse | SlackErrorResponse |