Comments (3)
I did a pretty thorough search on the API docs, but maybe I missed something. I wanted to know if there is a way to return all the groups I am in? (to work with a specific group that I want, but I don't have its ID)
Anyway, looking forward to any reply(:
You can get the group ID using the GetContacts method: https://greenapi.com/en/docs/api/service/GetContacts/
In the article you will find ways to determine the group ID: https://greenapi.com/en/docs/api/chat-id/#gus
from whatsapp-api-client-python.
Oh, I see. I would recommend creating something like GreenAPI.serviceMethods.getGroups
(split the whole contacts data between x.type == 'user'
and x.type == 'group'
).
Anyways, thank you(:
from whatsapp-api-client-python.
Oh, I see. I would recommend creating something like
GreenAPI.serviceMethods.getGroups
(split the whole contacts data betweenx.type == 'user'
andx.type == 'group'
).Anyways, thank you(:
Previously, a task was registered to improve the getContacts method to obtain a list of groups: Required to obtain a list of account groups. The task will be completed in future releases.
from whatsapp-api-client-python.
Related Issues (14)
- ImportError HOT 1
- Cant register account HOT 4
- issues on sending message through API HOT 1
- How to download destructive images/videos HOT 5
- Установка пакета происходит некорректно HOT 5
- add member to group issues HOT 2
- Question | Add member to contacts list using the API HOT 4
- Q | Create a WhatsApp bot HOT 3
- Getting JSONDecodeError on invalid response from API HOT 5
- Требуется передавать хосты по параметру для класса GreenApi / Required to pass hosts as parameters in GreenApi class
- Question | Custom Session For Whatsapp Client HOT 2
- Does not find the module HOT 6
- Предложение по улучшению HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from whatsapp-api-client-python.