-
Notifications
You must be signed in to change notification settings - Fork 73
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
Send files/attachments #40
Comments
@jeffweiss I love this idea! I'll start thinking about an API for this. |
@scrogson I'm wondering if it would be possible to delegate somehow the I'm really asking, as a clarification for a doubt I have, I don't know if it's already in Hedwig. But I'd be a really nice API if not. Currently at work we've developed something with AWS, kinda like a We've been wanting to change it, completely rewrite it in Elixir, so we can take advantage of what it gives us, like amazing fault tolerance software it's built upon. We were looking around, investigating when we came upon Hedwig, and we really think it could be the answer we've been looking. Thanks for your attention. |
@behind-design what exactly do you have in mind? The response messages do make their way back to the adapter which is responsible for transforming the |
I was wondering if Is this good idea? I am Elixir/Erlang beginner, so I am not sure if there is better/more idiomatic way how to solve this in Elixir. |
For a few days I've been prototyping a hedwig-based bot connected to our internal data mart. I've begun to get requests from folks for more complicated responses, and in some cases requests for file attachments.
Example of current situation
This might work fine for a small-ish responses, but pretty quickly becomes unwieldy. And if the folks using hedwig responses are plugging into to something else, we have to compromise between readability and integration.
I'd like your thoughts on adding the ability for file transfer/attachments for responders. Maybe something like
reply_with_file(msg, text, file)
orsend_with_file(msg, text, file)
Example ideal interaction
Necessary Adapter Changes
Based on some preliminary research, I believe that each of the existing adapters (Slack, HipChat, and IRC) could implement this new functionality.
Non-Hedwig Options
I can use technologies outside of Hedwig to accomplish this, but it requires the user to incur a switching cost as there's now an additional layer between them and what they'd asked for.
Thoughts?
The text was updated successfully, but these errors were encountered: