Geek Social — Documentação
API ReferenceChat

POST /chat/messages/{id}/forward

Encaminhar mensagem para outras conversas

POST/chat/messages/{id}/forwardAuth: accessToken

Replica content/attachments em N conversations. Limite 20 destinos.

Request

CampoTipoRequeridoDescrição
conversationIdsArray of string (uuid)sim

Response

200

Sem corpo na resposta.

Erros

Sem respostas de erro documentadas.

Exemplos

curl -X POST 'http://localhost:3003/chat/messages/{id}/forward' \
  -H 'Content-Type: application/json' \
  -H 'Authorization: Bearer SEU_ACCESS_TOKEN' \
  -d '{}'
await fetch('http://localhost:3003/chat/messages/{id}/forward', {
  method: 'POST',
  headers: {
    'Content-Type': 'application/json',
    Authorization: 'Bearer ' + accessToken,
  },
  body: JSON.stringify({}),
})

Side effects

Relacionados

On this page