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

Feature request - attach image as file #15

Open
CiruxiaSWE opened this issue Oct 27, 2023 · 1 comment
Open

Feature request - attach image as file #15

CiruxiaSWE opened this issue Oct 27, 2023 · 1 comment

Comments

@CiruxiaSWE
Copy link

Hi!

The plugin is working really well. But I am lacking one thing and that is to attach an image as a file instead.

An example is the use of camera.snapshot in Homeassistant, it saves the image as a file. I would like to ad that file as a payload instead of the Base64 string that is needed now for images.

I have not yet found a way in homeassistant to encode camera.snapshot to a base64 string so the bot can accept it.

@v411e
Copy link
Owner

v411e commented Oct 27, 2023

I agree, adding the image as a file would be much better than using a base64 string.

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