How to find out the Telegram user ID?
For such a task, use the bot @userinfobot. The method works even if the account does not have a username.
Forward the user’s message to the bot. In response, get the first name, last name, login and the user ID itself.