Budget: 500 UAH Deadline: 1 day
Without the user's consent, it is impossible to obtain their number by ID.
There is no such function in the Telegram API.
I can rewrite your code for sending messages by ID.
If this works for you, please reach out.