diff --git a/telebot/__init__.py b/telebot/__init__.py index 3d8e217..d0e0a5e 100644 --- a/telebot/__init__.py +++ b/telebot/__init__.py @@ -949,6 +949,8 @@ class TeleBot: use inline bots, implies can_send_media_messages :param can_add_web_page_previews: Pass True, if the user may add web page previews to their messages, implies can_send_media_messages + :param can_invite_users: Pass True, if the user is allowed to invite new users to the chat, + implies can_invite_users :return: types.Message """ return apihelper.restrict_chat_member(self.token, chat_id, user_id, until_date, can_send_messages,