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:
parent
67a52b2e98
commit
535a14ca0c
@ -1159,7 +1159,7 @@ def set_my_description(token, description=None, language_code=None):
|
|||||||
payload = {}
|
payload = {}
|
||||||
if description is not None:
|
if description is not None:
|
||||||
payload['description'] = description
|
payload['description'] = description
|
||||||
if language_code:
|
if language_code is not None:
|
||||||
payload['language_code'] = language_code
|
payload['language_code'] = language_code
|
||||||
return _make_request(token, method_url, params=payload, method='post')
|
return _make_request(token, method_url, params=payload, method='post')
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user