Skip to content
This repository has been archived by the owner on Oct 21, 2019. It is now read-only.

Add attachment support #13

Open
williln opened this issue Feb 28, 2018 · 5 comments
Open

Add attachment support #13

williln opened this issue Feb 28, 2018 · 5 comments

Comments

@williln
Copy link

williln commented Feb 28, 2018

It would be nice to be able to use the attachments feature in Slack messages to format the message.

Link to code in Slacker for reference
Link to Slack API for reference

One bug I ran into when just forking the connector is that the current Message class doesn't support passing an extra argument, like attachments, to the respond() method and there's not currently a message attribute that looks like it could be used for that.

@NMC-DAVE
Copy link

So williln,
Do you successed to send attachments? I want to send images to slack.
Is there any clues? Very thanks!
Dave

@williln
Copy link
Author

williln commented Apr 26, 2018

@NMC-DAVE I did not. As far as I can tell, Opsdroid isn't yet configured to allow for sending the arguments that the Slack API needs to do special formatting or to pass files/images. Sorry!

@jacobtomlinson
Copy link
Member

@williln and @NMC-DAVE I am looking to merge this ocnnector and a few others into the core of opsdroid in opsdroid/opsdroid#530. I will explore adding this functionality once I've done that.

@kim0
Copy link

kim0 commented Oct 27, 2018

@jacobtomlinson Seems like slack connector was merged in Apr (Thank!) .. Any status update please for adding attachment support. I'm contemplating to use opsdroid, and that's one piece of functionality I would love to have! Thanks for good job on opsdroid!

@jacobtomlinson
Copy link
Member

@kim0 Slack has always been supported. In April it got merged into opsdroid as a core connector instead of a plugin. There still isn't support for other message types, but it's high on my priority list.

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

No branches or pull requests

4 participants