Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Interact with attachments in slack #408

Open
birdman4512 opened this issue Mar 28, 2019 · 2 comments
Open

Interact with attachments in slack #408

birdman4512 opened this issue Mar 28, 2019 · 2 comments

Comments

@birdman4512
Copy link

Can will respond to information (Or access information) located in attachments in slack?
Mostly looking at seeing if a post has an attachment or text file attached and then if it does, downloading it and doing something with its contents?

@BrianGallew
Copy link
Contributor

Not without code changes. The new Slack backend (currently under review) receives events from Slack, so you could easily create an appropriate handler for such events. The tricky part comes with making such events accessible via a Plugin: Currently plugins support @hear/respond (which accepts messages) and @route() (which enables HTTP access). You would need to stand up a new decorator and all the machinery underneath to figure out selectivity and actually accessing the file (PDF, XLS, CSV, TXT, etc). That's quite a lot of infrastructure, and it would all be Slack-specific.

@pastorhudson
Copy link
Contributor

Slack has rich content messages with rich text, buttons, and interactivity. It calls these messages "Message Attachments" and seems to be renaming them to "Message Blocks". Just to be clear this feature request is for actual file attachments, not "Slack Message Attachments".

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants