Telethon: List of groups

Created on 28 Feb 2018  路  6Comments  路  Source: LonamiWebs/Telethon

Hello.
After I have connected a client, How can I receive a list of only the groups that the user is subscripted?
-group id, list of users in this group, group name

Thank you very much!

RTFM invalid

Most helpful comment

The issues section is for bugs with the library, not to ask for help. Nowhere I insulted the original author, I only told them to read the documentation. I spent many hours writing that so it could be read instead of asking. If someone's going to ask, they should at least do it in the right places.

All 6 comments

Sounds like your job.

There's a method called .get_dialogs(). You're responsible for doing isinstance(dialog.entity, Chat) yourself. But you could've found this yourself by reading the documentation and playing around.

Thank you, but with this method I can see the list of the last chat (for example the last ten chat etc..).
But if it's been a long time from the last message in a specific group, this method doesn't return the group data's..
I need to see all the groups of the user and what users are in every group.

Is there a method to do this?

Thank you!

Read the manual.

Wow, rude!

The issues section is for bugs with the library, not to ask for help. Nowhere I insulted the original author, I only told them to read the documentation. I spent many hours writing that so it could be read instead of asking. If someone's going to ask, they should at least do it in the right places.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

JackCloudman picture JackCloudman  路  6Comments

Fleyderer picture Fleyderer  路  3Comments

rbabaee2014 picture rbabaee2014  路  3Comments

mircoianese picture mircoianese  路  3Comments

denilen picture denilen  路  3Comments