Eleirbag89 / TelegramBotPHP

A very simple PHP Telegram Bot API for sending messages.
http://eleirbag89.github.io/TelegramBotPHP
MIT License
794 stars 343 forks source link

Update Telegram.php #271

Closed zeyudada closed 2 years ago

zeyudada commented 2 years ago

fix getChatMemberCount and then add finderror to throw a normal Exception

Eleirbag89 commented 2 years ago

Hi, thanks forma your PR. I'm not sure about the sendMessage, i think the response array isn't retrocompatible and i'll let handle the message split to the caller,who can introduce a timeout between messages.

Also I don't understand the findError function purpouse