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

Is it possible to attach an image when sending a message? #18

Open
nicgord opened this issue Jun 15, 2022 · 1 comment
Open

Is it possible to attach an image when sending a message? #18

nicgord opened this issue Jun 15, 2022 · 1 comment

Comments

@nicgord
Copy link

nicgord commented Jun 15, 2022

Would like to know if it is possible to send an image as the message or just send an image on its own...... maybe a node-red example?

thanks

@chughts
Copy link
Member

chughts commented Jun 16, 2022

The node looks at msg.payload and if it is a string sends that as
message: {text: msg.payload} otherwise it sends it untouched as message: msg.payload. So you can send a message object as defined by the Facebook Messenger API. https://developers.facebook.com/docs/messenger-platform/reference/send-api/#message

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