Телетон Получите все каналы
for dialog in client.iter_dialogs():
print(f'{dialog.id}:{dialog.title}')
Fierce Finch
for dialog in client.iter_dialogs():
print(f'{dialog.id}:{dialog.title}')