Support for Stream
Support theses errbots methods with mattermost backend : http://errbot.io/en/latest/user_guide/plugin_development/streams.html?highlight=streams#sending-a-file-to-a-user-or-a-room
This link may help : https://github.com/mattermost/mattermost-api-reference/blob/master/v4/source/files.yaml
Thanks, you pointed out a bug in my mattermostdriver by creating this bug btw :-D
Do I understand you correctly, you want to be able to send files to errbot?
Example scenario:
User 1 uploads an image to mattermost.
User 2 makes an errbot command like !send_file_to_bot myFileID
The bot makes an api request get_files and receives the file as binary
Is that correct?
Not really. I'm thinking about a errbot that is able to send itself a file through send_stream_request() in mattermost. But support for callback_stream() may be cool as well .
@Vaelor I checked a bit more about callback_stream() . It's look like in some protocol, they may be a callback or something like that each time a person upload into this protocol a file.
Example scenario : User 1 upload an image to mattermost The bot received the information with callback_stream() and upload the image somewhere else.
I don't know if this one (the callback) is possible in mattermost. I tried to find the slack backend implementation but i don't find it.
However send_stream_request() is working with Slack backend .