aboutsummaryrefslogtreecommitdiffstats
path: root/typings
diff options
context:
space:
mode:
authorTrygve Aaberge <trygveaa@gmail.com>2023-08-20 17:21:00 +0200
committerTrygve Aaberge <trygveaa@gmail.com>2024-02-18 11:32:53 +0100
commit9a736ce08f19bc4cd5be63d7b87af3d6e1a8741b (patch)
tree5834130580558005c00ad35ef7e072f48826cdec /typings
parente71e04f1ed15dfa5348350a1f2921458ade3e77a (diff)
downloadwee-slack-9a736ce08f19bc4cd5be63d7b87af3d6e1a8741b.tar.gz
Support rendering message edits and deletions
Diffstat (limited to 'typings')
-rw-r--r--typings/slack_api/slack_conversations_history.pyi6
1 files changed, 6 insertions, 0 deletions
diff --git a/typings/slack_api/slack_conversations_history.pyi b/typings/slack_api/slack_conversations_history.pyi
index 809e7c6..8b2118a 100644
--- a/typings/slack_api/slack_conversations_history.pyi
+++ b/typings/slack_api/slack_conversations_history.pyi
@@ -46,6 +46,11 @@ class SlackMessageReaction(TypedDict):
count: int
@final
+class SlackMessageEdited(TypedDict):
+ user: str
+ ts: str
+
+@final
class SlackMessageFile(TypedDict):
id: str
created: int
@@ -92,6 +97,7 @@ class SlackMessageStandardCommon(SlackMessageCommon):
blocks: List[SlackMessageBlock]
attachments: NotRequired[List[SlackMessageAttachment]]
team: str
+ edited: SlackMessageEdited
@final
class SlackMessageStandardFinal(SlackMessageStandardCommon):