Description
I was exploring the examples folder of this repository and came across the following lines:
https://github.com/slackapi/bolt/blob/522e70b381cf3d18a88b7ca271dcfb4f0ce1be9b/examples/hubot-example/script.js#L108-L113
Tested them in my app, they work great!
But, there are a couple of issues related to directMention() function.
- It would be great to see more examples of
directMention() in the official documentation. Currently, we have very little of the information about directionMention in "Listener middleware" section.
- There are no corresponding typings. If I copy the example above to my TS project I'm getting compilation errors.
What type of issue is this? (place an x in one of the [ ])
Requirements (place an x in each of the [ ])
Description
I was exploring the
examplesfolder of this repository and came across the following lines:https://github.com/slackapi/bolt/blob/522e70b381cf3d18a88b7ca271dcfb4f0ce1be9b/examples/hubot-example/script.js#L108-L113
Tested them in my app, they work great!
But, there are a couple of issues related to
directMention()function.directMention()in the official documentation. Currently, we have very little of the information aboutdirectionMentionin "Listener middleware" section.What type of issue is this? (place an
xin one of the[ ])Requirements (place an
xin each of the[ ])