-
Notifications
You must be signed in to change notification settings - Fork 31
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 / Receive Files #16
Comments
How would this work? |
In terms of use cases, I can imagine giving a command to a bot which then creates and sends me a file (such as a PDF report). Or perhaps a bot that you send a jpg (or other image) and it converted it to PDF and sent it back - just an example. On the technical side, I haven't a clue what I'm talking about. But that said, I can see, that there is a message type "m.file" in the API spec: http://matrix.org/docs/spec/client_server/r0.2.0.html#m-file Presumably that means that it is possible to send messages which are files? Being able to send real files would be one of the ways that a Matrix Bot could differentiate itself from an IRC bot. |
Hummm... Converters actually sounds really nice. Annoyingly though most matrix clients do not support sending metadata with files. This means there's no mechanism to tell neb which files to convert and to what format. I like the idea though. |
You could give the bot this information in a message. For example, you could send a file and then the bot could say: "What format do you want? Say 'convert pdf' to make it a PDF". You could then send a message confirming the format and the bot would send the file back to you. |
Would it be possible for NEB to send and receive files?
The text was updated successfully, but these errors were encountered: