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

Update telebot/asyncio_helper.py

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

View File

@ -1145,7 +1145,7 @@ async def set_my_description(token, description=None, language_code=None):
payload = {}
if description:
payload['description'] = description
if language_code:
if language_code is not None:
payload['language_code'] = language_code
return await _process_request(token, method_url, params=payload, method='post')