Update client_ad.py

pull/409/head
midoks 2 years ago
parent 2b524cbe75
commit 1712cfd024
  1. 4
      plugins/tgclient/startup/extend/client_ad.py

@ -79,6 +79,10 @@ async def run(client):
info = await client.get_dialogs()
for chat in info:
if chat.is_group and not chat.id in filter_g_id:
chat_id = str(chat.id)
if chat_id[0:4] != '-100':
continue
# print(chat)
await writeLog('name:{0} id:{1} is_user:{2} is_channel:{3} is_group:{4}'.format(
chat.name, chat.id, chat.is_user, chat.is_channel, chat.is_group))

Loading…
Cancel
Save