rubenlagus / TelegramApi

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

TLChannel class is incomplete? #5

Closed afshar-mohammad closed 8 years ago

afshar-mohammad commented 8 years ago

I was wondering how to get channel.isBroadcast() in a TLChannel. Actually it's possible in TLChannelForbidden, but not in TLChannel. Is it because TLChannel class is incomplete or because Telegram doesn't return it in response?

afshar-mohammad commented 8 years ago

20 days passed... no answers... 😢 😭

rubenlagus commented 8 years ago

Broadcast are obsolete chats types in Telegram. The getter could be added but it won't be really helpful.

afshar-mohammad commented 8 years ago

how about the other flags? I guess there are a lot more without getter.

rubenlagus commented 8 years ago

Probably, I add them as I'm needed them. Feel free to make a pull request with one of them if you need it in any object

afshar-mohammad commented 8 years ago

OK. thanks.