Cannot find any entity corresponding to
with TelegramClient('session_name', api_id, api_hash) as client:
async def main():
#try:
#Рассылка во все чаты
for chat in all_chats:
await client.send_message(chat, text, parse_mode = 'html')
print('Успешно')
#except:
# pass
while True:
client.loop.run_until_complete(main())
time.sleep(3600)
all_chats = ['https://t.me/+PSB-шшшш', 'https://t.me/+шшшш']