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

Better image handling support #12

Open
DanH42 opened this issue Jan 28, 2016 · 0 comments
Open

Better image handling support #12

DanH42 opened this issue Jan 28, 2016 · 0 comments
Assignees

Comments

@DanH42
Copy link
Owner

DanH42 commented Jan 28, 2016

Images currently need to be handled by plugins on a per-network basis. There are already weird glitches with Messenger's images, and additional networks will only complicate things more. There should be core support for sending images that gets handled by the network. Potential example:

reply({
    image: "http://example.com/image.jpg",
    alt: "Message to be displayed on text-only networks (if blank, use the image URL)"
});

Possibly also allow for supplying a message and an image in the same reply call, to be sent in the same message. Messenger allows this, and other networks could always just handle it on their end as two messages if needed.

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

No branches or pull requests

1 participant