Authenticate in MTProto without needing to get api_id & api_hash
I wondered how Telegram desktop, Android or any official Telegram app does authentication?
I mean, we can use MTProto with pyrogram or telethon, but we need api_hash
and api_id
. But in Telegram desktop, we are only asked for our phone_number and by entering the code, we can use MTProto.