NGRP / node-red-contrib-viseo

Node-RED nodes OpenSourced by VISEO Technologies
Apache License 2.0
227 stars 83 forks source link

How to send video #133

Open jacyuan opened 5 years ago

jacyuan commented 5 years ago

Hello,

While using a previous version : 0.1.9, I'm trying to send back attachments, such as video. Seems that the "bot-send-card" component does not have this possibility (please tell me if I've missed something).

I'm wondering whether the "bot-send-cusom-message" component would be the right choice. (maybe with the use of the "bot-attachment" component ?)

Is that possible to give a sample flow please ?

Thank you very much

JpEncausse commented 5 years ago

I think even if the UI state a label "image" in message type or card in fact it's a media https://github.com/NGRP/node-red-contrib-viseo/blob/master/node-red-contrib-bot-message/bot-send-card.js#L97 that might be used by bot's connector

jacyuan commented 5 years ago

Hi @JpEncausse thank you for your reply, with the lastest version of send-card we can add videos (test done), but not with its 0.1.9 version. (well, the current version of our application still uses the template provided in your Getting-started page, with a previous structure ref ).

I haven't tried yet to update viseo packages, since I'm not sure about the compatibility issues. What's your suggestion about it ? Should I update everything ?

Thank you