depoio / node-telegram-bot

Client wrapper for Telegram Bot API (Under heavy development)
MIT License
136 stars 30 forks source link

Fix for sending media #62

Open sebastianarena opened 8 years ago

sebastianarena commented 8 years ago

If not provided with the correct options in the parameters the methods would crash trying to access the required properties.

I also upgraded the sendAudio method to be sendVoice since sendAudio is for sending music.

shernshiou commented 8 years ago

I will need to test on this. BTW, I got your email, will reply when I have time.

sebastianarena commented 8 years ago

Hi! Sorry for not being more active here... the project that I run that uses the library has been in full development and I can't get my hands around what we talked about. Very sorry.

I did find another critical bug that I just fixed. Take a look.