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

Update telebot/apihelper.py

This commit is contained in:
_run 2023-03-15 05:48:16 +04:00 committed by GitHub
parent 67a52b2e98
commit 535a14ca0c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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')