POST
/group/updateAtualiza membros do grupo
Descrição
Atualiza membros do grupo
Parâmetros
Corpo da requisição
| Nome | Tipo | Localização | Obrigatório |
|---|---|---|---|
GroupJID | string | body | Não |
ParticipantJID | any[] | body | Não |
Action | string | body | Não |
Exemplo de requisição
curl -X POST 'https://api-server.dichat.com.br/group/update' \
-H 'Authorization: Bearer YOUR_API_KEY' \
-H 'Content-Type: application/json' \
-d '{
"GroupJID": "120362023605733675@g.us",
"ParticipantJID": [
"5511999999999",
"5511888888888"
],
"Action": "add"
}'Respostas
200Response
application/json
{
"code": 200,
"data": {
"Group Updated": {
"Attrs": {
"from": "120363044766485403@g.us",
"id": "172.166-25",
"type": "result"
},
"Content": [
{
"Attrs": null,
"Content": [
{
"Attrs": {
"jid": "12345@s.whatsapp.net"
},
"Content": null,
"Tag": "participant"
}
],
"Tag": "remove"
}
],
"Tag": "iq"
}
},
"success": true
}