How to invoke telegram API to get all massages with kotlin or java
I want to receive all my messages via Telegram API not with Bot API, but when I want to read related documents about how to make a request I actually do not understand any thing. Can anyone guide me how to start using Telegram API?