file_share
message subtype is missing in the message
property of SlackEventMiddlewareArgs<'message'>
#926
Closed
4 of 10 tasks
Labels
bug
M-T: confirmed bug report. Issues are confirmed when the reproduction steps are documented
semver:minor
TypeScript-specific
Milestone
Description
When checking the value of
subtype
of a message even't message, the type is"bot_message" | "ekm_access_denied" | "me_message" | "message_changed" | "message_deleted" | "message_replied" | "thread_broadcast"
even though it may also befile_share
. When trying to compare the values ofsubtype
andfile_share
, it gives a TS error since it is not part of the type union even though it is a valid subtype.What type of issue is this? (place an
x
in one of the[ ]
)Requirements (place an
x
in each of the[ ]
)Bug Report
Filling out the following details about bugs will help us solve your issue sooner.
Reproducible in:
package version: 3.3.0
node version:
OS version(s):
Steps to reproduce:
Expected result:
What you expected to happen
Actual result:
What actually happened
Attachments:
Logs, screenshots, screencast, sample project, funny gif, etc.
The text was updated successfully, but these errors were encountered: