Skip to content

Eventos de edição de mensagem não estão sendo entregues corretamente #2545

@BaseChatBr

Description

@BaseChatBr

Welcome!

  • Yes, I have searched for similar issues on GitHub and found none.

What did you do?

Os eventos de edição de mensagem aparentemente deixaram de ser entregues/processados corretamente.

Ao editar uma mensagem no WhatsApp:

nenhum evento messages.update é emitido;
o conteúdo editado não é recebido;
o webhook recebe apenas um secretEncryptedMessage;
não é possível recuperar o texto atualizado via payload.

What did you expect?

Quando uma mensagem for editada, a API deveria entregar:

o ID da mensagem original;
o novo conteúdo;
algum evento de update/edição (messages.update, protocolMessage ou equivalente).

Exemplo esperado:

{
"editedMessage": {
"conversation": "novo texto"
}
}

What did you observe instead of what you expected?

O webhook recebe apenas um secretEncryptedMessage apontando para a mensagem original.

Mensagem original:

{
"ID": "3A39EDCAADA4107FA4A4",
"text": "Opa!!!"
}

Evento recebido após edição:

{
"ID": "3A50EE8D2DCA0060BDDB",
"Edit": "1",
"secretEncryptedMessage": {
"targetMessageKey": {
"ID": "3A39EDCAADA4107FA4A4"
}
}
}

Porém o conteúdo editado não vem no payload.

Screenshots/Videos

No response

Which version of the API are you using?

Evolution API v2.3.7

What is your environment?

Docker

Other environment specifications

No response

If applicable, paste the log output

{
"ID": "3A50EE8D2DCA0060BDDB",
"Edit": "1",
"secretEncryptedMessage": {
"targetMessageKey": {
"ID": "3A39EDCAADA4107FA4A4"
}
}
}

Additional Notes

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions