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:
parent
535a14ca0c
commit
603a7cf9f2
@ -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')
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user