aboutsummaryrefslogtreecommitdiffstats
path: root/typings/slack_rtm
diff options
context:
space:
mode:
authorTrygve Aaberge <trygveaa@gmail.com>2023-08-20 12:10:28 +0200
committerTrygve Aaberge <trygveaa@gmail.com>2024-02-18 11:32:53 +0100
commitb4c1ebeead35f84d50dee33a9bf6d314a84a3d86 (patch)
tree47e07e1c04d360168812d47f6dd3703eaa6456bd /typings/slack_rtm
parent4e38811c1a97ed4217b8cf38aa0f82816e9f8513 (diff)
downloadwee-slack-b4c1ebeead35f84d50dee33a9bf6d314a84a3d86.tar.gz
Support sending and receiving typing
This does not support globally showing typing from direct messages, like the old wee-slack did, because that's not supported by WeeChats typing plugin. It only shows typing in the current buffer.
Diffstat (limited to 'typings/slack_rtm')
-rw-r--r--typings/slack_rtm/slack_rtm_message.pyi4
1 files changed, 2 insertions, 2 deletions
diff --git a/typings/slack_rtm/slack_rtm_message.pyi b/typings/slack_rtm/slack_rtm_message.pyi
index 0f8d397..7eb50f1 100644
--- a/typings/slack_rtm/slack_rtm_message.pyi
+++ b/typings/slack_rtm/slack_rtm_message.pyi
@@ -8,7 +8,7 @@ from slack_api.slack_conversations_history import (
SlackMessageThreadParentSubscribed,
SlackMessageWithFiles,
)
-from typing_extensions import Literal, TypedDict, final
+from typing_extensions import Literal, NotRequired, TypedDict, final
class SlackRtmHello(TypedDict):
type: Literal["hello"]
@@ -81,7 +81,7 @@ class SlackMessageReplied(TypedDict):
class SlackUserTyping(TypedDict):
type: Literal["user_typing"]
channel: str
- thread_ts: str
+ thread_ts: NotRequired[str]
id: int
user: str