This is why hackers might use social engineering to trick you into giving them the necessary code to verify your number on their device. They might also try to send you malicious links that download malware onto your device as a way of getting the right credentials to log in to your Telegram account.