Closed manojsitapara closed 3 years ago
Its working fine for me, can you try executing WAPI.addParticipant('123456789@g.us','755775775@c.us')
on the browser's console directly?
I ran the command as you mentioned above, got this error
Uncaught SyntaxError: unexpected token: identifier
the first number is a group (?)
note that it's @g.us
instead of @c.us
otherwise you can ignore my comment, it's also working fine on my end
ohhh what a silly mistake I did. I was trying to add participant in the group in which I was not admin. I am sorry for the trouble to everyone.
I am getting following error while adding participant in existing group
here is my code
res = g.driver.add_participant_group(idParticipant=group_member_id, idGroup=group_id)
Can anyone please help me?