yagop / node-telegram-bot-api

Telegram Bot API for NodeJS
MIT License
8.3k stars 1.5k forks source link

TypeError: banChatMember() is not an function #1000

Closed chabwino closed 2 years ago

chabwino commented 2 years ago

So I was trying to ban some user, but couldn't. I saw a message with typeerror and started looking into source files. so:

изображение изображение изображение

Everything (kick, mute, unmute) works. But not ban. So I found this in source code. I guess it can be the problem..? изображение

chabwino commented 2 years ago

updated to 0.58.0 and everything works. been using 0.51.0