Recently I tried to add contact in telegram with telethon, according to this tutorial: 1) Add new contact in api telegram python telethon ,I used this codes:
contact = InputPhoneContact(client_id=0, phone='+989122725691', first_name="user",
last_name="test")
result = ImportContactsRequest(contacts=[contact])
print(result)
But I in my output I get this :
ImportContactsRequest(contacts=[InputPhoneContact(client_id=0, phone='+989122725691', first_name='user', last_name='test')])
I can'd find out what is my problem, but when I go to my telegram app, this contact isn't add.