'how to restore telegram bot users id in Api-bot

how I can get all users who have sent msg to my old bot ?
I mean somehow recover their user id . name method please .
I do a lot research but cant make it .



Solution 1:[1]

There is no way to get past chats, or users that have previously /started your bot. It is up to the developer (you) to store the UserID of users for later use.

Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source
Solution 1 ColinShark