Comments (2)
The message from Slack will only have the user id, but you can take advantage of Slack's message formatting and it will automatically convert a formatted user link into their name. For example, if you sent the following string in your response, it would be converted to a link that is the user's @name
.
<@U024BE7LH>
More about that here: https://api.slack.com/docs/message-formatting#linking_to_channels_and_users
If you need the username, you can always do an api lookup using the users.info call.
from bolt-js.
sweet thanks
from bolt-js.
Related Issues (20)
- How to built customisable form using slack api HOT 4
- Can I require choosing a channel when authorizing a Slack App? HOT 2
- Using AWS Lambda Handler while retrieving Bot Token and Signing Secret from Vault HOT 2
- Add slack_file object to image block element HOT 1
- How to document `optional` field from housing Block and how it applies to Block Elements within? HOT 8
- app_home_opened not firing on iOS client HOT 15
- Duplicate message getting created when trying to update bot message using chat.update HOT 1
- Unfurl links when the app is installed in the workspace HOT 2
- State verification during OAuth process HOT 8
- `context.matches.groups` becomes undefined after a Web API call HOT 8
- Is it possible to get typing event or indicator when a user in slack starts typing in a message HOT 1
- `files` property missing in `app_mention` event HOT 3
- How to track of deleted users HOT 3
- External select not refreshing HOT 4
- Issue with extracting headers from incoming requests HOT 1
- User scope not working in OAuth HOT 3
- Message event payloads missing `team_id` in enterprise on mobile slack clients HOT 9
- Issue with `respond` to update message returning cant_update_message HOT 10
- Is there a way to get the event envelope and more specifically the event_context for a bolt message event? HOT 3
- No way to reliably determine which user + user token a message event was delivered on behalf of. .authorize returns an installation for an arbitrary user from the same workspace. HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from bolt-js.