There is no easy way to know that a person is talking to you anonymously through telegram. One way to try this out is to use the "Who is online" feature on the telegram app. This will show you a list of people who are online at the moment. If you see someone who you think is talking to you anonymously, you can message them to ask who they are.