kopia lustrzana https://github.com/J-Rios/TLG_JoinCaptchaBot
PTB method deprecate update name
rodzic
dfe025e0f2
commit
32658d8417
|
@ -71,7 +71,7 @@ def tlg_get_chat_members_count(bot, chat_id, timeout=None):
|
||||||
result["num_members"] = None
|
result["num_members"] = None
|
||||||
result["error"] = ""
|
result["error"] = ""
|
||||||
try:
|
try:
|
||||||
result["num_members"] = bot.get_chat_members_count(chat_id=chat_id,
|
result["num_members"] = bot.get_chat_member_count(chat_id=chat_id,
|
||||||
timeout=timeout)
|
timeout=timeout)
|
||||||
except Exception as e:
|
except Exception as e:
|
||||||
result["error"] = str(e)
|
result["error"] = str(e)
|
||||||
|
|
Ładowanie…
Reference in New Issue