-
Notifications
You must be signed in to change notification settings - Fork 1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add sendPresence #237
Add sendPresence #237
Conversation
Excellent, please send us a description of the request so we can add it to Evolution's postman |
Esse endpoint envia o status digitando para o destinatário. |
The request curl --location '{{baseUrl}}/message/sendPresence/teste' \
--header 'Content-Type: application/json' \
--header 'apikey: {{apiKey}}' \
--data '{
"number": "{{remoteJid}}",
"options": {
"delay": 2000, //ms
"presence": "composing"
}
}' Usage sendPresence.mp4 |
No caso @gabrielpastori1 daria pra usar o status recording tambem? |
Eu usei os status disponíveis no |
Ta legal a implementação, coloque na parte de chats e não em mensagens, alterando isso ja aprovo daqui! |
A questao é o contexto onde se aplica a função, ela é aplicada no chat e não como o envio de uma mensage, da mesma forma que temos o read messages, delete messages, etc... |
Pronto, mudei do |
Hi Team,
This pull request introduces a new feature for sending presence status. Key changes include:
presenceSchema
invalidate.schema.ts
.sendMessage.controller.ts
withsendPresence
method.sendMessage.dto.ts
withSendPresenceDto
class.sendMessage.router.ts
.sendPresence
logic inwhatsapp.service.ts
.