Closed mehdi1602 closed 7 years ago
TLRequestMessagesGetDialogs getDialogs = new TLRequestMessagesGetDialogs(); getDialogs.setOffsetPeer(new TLInputPeerSelf()); TLAbsDialogs dialogs = api.doRpcCall(getDialogs); for (TLAbsChat c : dialogs.getChats()) { ....
thank you @fbotis but your code sometimes returns channels that I have not joined yet. I want a list of all channels that I have joined.
@fbotis request will only return those channels that you actually join, aka those channels that you will see in any of the telegram app.
Hi Guys, the client calls onChat function in the ChatHandeler for a lot of chats. I want to know wheter I already joined to a chat (channel or group) or not? or equally is there any way to have a list of group and channels that i have joined already?