Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

249
Views
How to get a link preview in Nodejs?

I have made an app in slack where I want to fetch details of a document from an API and then display the preview of the same file in slack. I'm using Nodejs for the app but how do I get a document or link preview in slack while using Nodejs.

Thanks in advance!

about 4 years ago · Juan Pablo Isaza
1 answers
Answer question

0


For unfurling links/media when posting using chat.postMessage,
you can make use of below mentioned 'optional argurments'

unfurl_links Pass true to enable unfurling of primarily text-based content.
https://api.slack.com/methods/chat.postMessage#arg_unfurl_links

unfurl_media Pass false to disable unfurling of media content.
https://api.slack.com/methods/chat.postMessage#arg_unfurl_media

https://api.slack.com/methods/chat.postMessage

about 4 years ago · Juan Pablo Isaza Report
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!