1
0
mirror of https://github.com/eternnoir/pyTelegramBotAPI.git synced 2023-08-10 21:12:57 +03:00

Fix kick_chat_member decription

Fix kick_chat_member return value type description (should be boolean according to API and is boolean by fact).
This commit is contained in:
Badiboy 2018-07-25 12:44:18 +03:00
parent 27d442fabf
commit 8634e65249

View File

@ -723,7 +723,7 @@ class TeleBot:
:param user_id: Int : Unique identifier of the target user
:param until_date: Date when the user will be unbanned, unix time. If user is banned for more than 366 days or
less than 30 seconds from the current time they are considered to be banned forever
:return: types.Message
:return: boolean
"""
return apihelper.kick_chat_member(self.token, chat_id, user_id, until_date)