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

Update apihelper.py

This commit is contained in:
_run 2021-11-06 19:51:05 +05:00
parent 3a6073e3a0
commit becce1f580

View File

@ -986,7 +986,7 @@ def create_chat_invite_link(token, chat_id, name, expire_date, member_limit, cre
payload['expire_date'] = expire_date
if member_limit:
payload['member_limit'] = member_limit
if creates_join_request:
if creates_join_request is not None:
payload['creates_join_request'] = creates_join_request
if name:
payload['name'] = name