From 535a14ca0c47f796e6c160a950eee4b362a696f1 Mon Sep 17 00:00:00 2001 From: _run Date: Wed, 15 Mar 2023 05:48:16 +0400 Subject: [PATCH] Update telebot/apihelper.py --- telebot/apihelper.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/telebot/apihelper.py b/telebot/apihelper.py index a0bb592..1100ed7 100644 --- a/telebot/apihelper.py +++ b/telebot/apihelper.py @@ -1159,7 +1159,7 @@ def set_my_description(token, description=None, language_code=None): payload = {} if description is not None: payload['description'] = description - if language_code: + if language_code is not None: payload['language_code'] = language_code return _make_request(token, method_url, params=payload, method='post')