From 67a52b2e983fc5c60f465a7786abdf450a67b8bf Mon Sep 17 00:00:00 2001 From: _run Date: Wed, 15 Mar 2023 05:46:03 +0400 Subject: [PATCH] Apply suggestions from code review --- telebot/apihelper.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/telebot/apihelper.py b/telebot/apihelper.py index 0a30fcb..a0bb592 100644 --- a/telebot/apihelper.py +++ b/telebot/apihelper.py @@ -1157,7 +1157,7 @@ def set_chat_title(token, chat_id, title): def set_my_description(token, description=None, language_code=None): method_url = r'setMyDescription' payload = {} - if description: + if description is not None: payload['description'] = description if language_code: payload['language_code'] = language_code