diff options
author | Trygve Aaberge <trygveaa@gmail.com> | 2023-10-02 00:19:45 +0200 |
---|---|---|
committer | Trygve Aaberge <trygveaa@gmail.com> | 2024-02-18 11:32:54 +0100 |
commit | 12ce8befda90d79ff3c1533770e38f865728482f (patch) | |
tree | 16bd450c00441b515519da69b88b9a40df8550d5 /typings/slack_api | |
parent | 91312364d70efaa3a0c6d4e8a15965383df5fcf7 (diff) | |
download | wee-slack-12ce8befda90d79ff3c1533770e38f865728482f.tar.gz |
Mark as read when switching away from buffer
Diffstat (limited to 'typings/slack_api')
-rw-r--r-- | typings/slack_api/slack_common.pyi | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/typings/slack_api/slack_common.pyi b/typings/slack_api/slack_common.pyi index 33a4f76..dc7754a 100644 --- a/typings/slack_api/slack_common.pyi +++ b/typings/slack_api/slack_common.pyi @@ -1,10 +1,15 @@ from typing_extensions import Literal, TypedDict, final +class SlackSuccessResponse(TypedDict): + ok: Literal[True] + @final class SlackErrorResponse(TypedDict): ok: Literal[False] error: str +SlackGenericResponse = SlackSuccessResponse | SlackErrorResponse + @final class SlackResponseMetadata(TypedDict): next_cursor: str |