I wonder how I can find the id of a certain user I started a regular or secret chat with.
Example:
dialogs=client.get_dialogs()
for dialog in dialogs:
print(dialog.peerUser_id)
What can substitute the peerUser_id? Note: I use Telethon Library