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

Send / Receive Files #16

Open
rlp10 opened this issue Aug 18, 2016 · 4 comments
Open

Send / Receive Files #16

rlp10 opened this issue Aug 18, 2016 · 4 comments

Comments

@rlp10
Copy link

rlp10 commented Aug 18, 2016

Would it be possible for NEB to send and receive files?

@kegsay
Copy link
Member

kegsay commented Aug 18, 2016

How would this work?

@rlp10
Copy link
Author

rlp10 commented Aug 18, 2016

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.

@kegsay
Copy link
Member

kegsay commented Aug 20, 2016

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.

@rlp10
Copy link
Author

rlp10 commented Nov 21, 2016

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.

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

No branches or pull requests

2 participants