mast / telegram-bot-api

First Telegram Bot API node.js library
http://mast.github.io/telegram-bot-api/
MIT License
245 stars 65 forks source link

fix issue #64 #73

Closed pedroaf0 closed 4 years ago

pedroaf0 commented 4 years ago

add parse_mode to sendPhoto.

test code:

api.sendPhoto({
    chat_id,
    caption: "<b>HTML</b>",
    parse_mode: "HTML",
    photo: './img.jpg',
  })

before // after oooo

mast commented 4 years ago

Fixed in 2.0