2019-05-10 17:15:46 +02:00
|
|
|
"""This example shows how to get the full dialogs list (as user)."""
|
2019-01-07 10:33:09 +01:00
|
|
|
|
|
|
|
from pyrogram import Client
|
|
|
|
|
|
|
|
app = Client("my_account")
|
|
|
|
|
|
|
|
with app:
|
|
|
|
for dialog in app.iter_dialogs():
|
|
|
|
print(dialog.chat.title or dialog.chat.first_name)
|