From 8634e652497065178dd5f538327fddd04a53f963 Mon Sep 17 00:00:00 2001 From: Badiboy Date: Wed, 25 Jul 2018 12:44:18 +0300 Subject: [PATCH] Fix kick_chat_member decription Fix kick_chat_member return value type description (should be boolean according to API and is boolean by fact). --- telebot/__init__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/telebot/__init__.py b/telebot/__init__.py index 5106f87..061d4d3 100644 --- a/telebot/__init__.py +++ b/telebot/__init__.py @@ -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)