Closed taaaal closed 6 months ago
Hello, A boolean value is passed in the body of the method response; in cases where the user could not be added, it will be false.
{ "addParticipant": false }
Reason answer False can be different:
While some numbers can be added to the group without being saved in the phonebook, it is recommended to always pre-save the participant's phone number in the contacts list to ensure successful addition to the group.
We also recommend reading the article "Why aren't members being added to the group?" for further details.
Yeah.. as I mentioned before it'll already fall automatically cause of the participant's privacy settings for groups. I would recommend create custom exceptions for the API only. Anyways, thank you very much for the quick response 😼
[method:
GreenAPI.groups.addGroupParticipant
]Hey! I'm trying to add a participant to a certain group using the mentioned method above.
I know the code would fail cause of the participant's privacy settings for groups. But no error appeared. Looking forward for some reply/help! thanks anyways(: