Auties00 / Cobalt

Standalone unofficial fully-featured Whatsapp Web and Mobile API for Java and Kotlin
MIT License
648 stars 188 forks source link

method; fetchAllParticipating #511

Closed piLovr closed 1 month ago

piLovr commented 1 month ago

idk if something like this exists, if yes, I wasn't able to find it. I need a list of groups, in which a session is participating. The "onChats" listener shows all chats, even though I am no more a part of it.

Auties00 commented 1 month ago

queryGroupMetadata Then call participants()

piLovr commented 3 weeks ago

I need a method to get all Jids/Metadata of the Groups, in which a session is participating

session.fetchAllParticipating() -> Collection<Jid>

something like that

For reference, Baileys has this: Baileys:groupFetchAllParticipating

piLovr commented 3 weeks ago

Nvm, got it. Chats list via store