restrict_chat_member now working?
Please answer these questions before submitting your issue. Thanks!
- What version of pyTelegramBotAPI are you using? Last one
- What OS are you using? ubuntu 12.10
- What version of python are you using? python 3.6
Have tried new version with restrict_chat_member and it simply doesnt work in any way I try, it does not restrict the user.
Have you checked of your bot's permission?
I've tried to change the photo of a channel and it said me: Bad Request: not enough rights to change chat photo
I changed it and now works perfectly.
yes, it have permissions, it works with a simple http api call but not with this library and it is strange because it returns true, but it doesnt restrict the user
I got it to work, but I had to add all the parameters to make it work:
can_send_messages=False,can_send_media_messages=False, can_send_other_messages=False,can_add_web_page_previews=False
telegram doc sais they are not required though