meteor-telegram-bot icon indicating copy to clipboard operation
meteor-telegram-bot copied to clipboard

uploading images etc

Open dcsan opened this issue 10 years ago • 0 comments

did you look at supporting upload of images yet? if not, i was going to ask your advice on how to proceed

I see the docs state Must be posted using multipart/form-data https://core.telegram.org/bots/api#inputfile

I was going to look at adding it using this https://github.com/rosh93/meteor-multipart-form-data/

or else just wrap up a full-featured telegram node package such as https://github.com/mast/telegram-bot-api which makes it trivial to send images

do you see any problems with the second approach? (npm inside meteor and fibers has caused me headaches in the past).

dcsan avatar Aug 16 '15 11:08 dcsan