rubenlagus / TelegramApi

Java library to create Telegram Clients
MIT License
300 stars 108 forks source link

Kiss examples needed #32

Open codehustler opened 7 years ago

codehustler commented 7 years ago

Hi, I really like your Bot API and it is very easy to use. I try to get my head arround the non bot API and it is much harder to understand. Yes, there is the Deepthought application, but it mixes also TelegramBot api and it is IMO too complex. Is it possible to get more simple examples?

I have a basic setup working, but everytime i start my app, i get a telegram message telling me about the new login, i dont think that is correct!?

In my update listener, i have to do lots of "instanceof" checks and casts, it feels like I am doing it wrong. I am also Confused about all the double objetct names, e.g. TLAbsMessage and TLMessage, whats the reason for that?

And hints are much appreciated :)