I have used the link: [login to view URL]
I want a script to read a file (file_get_contents). This is with the phone number. then, trying log in to telegram with 2FA, then read another file which has the code till the code is in this file -do while.
When user is logged OK with phone (not with the API) just add a contact to the contact list.
All things to be done without user interaction, just "php [login to view URL]" .