Skip to content
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

Método deleteMessage, não apaga na MD. #1151

Closed
megustalol opened this issue Jun 1, 2022 · 3 comments
Closed

Método deleteMessage, não apaga na MD. #1151

megustalol opened this issue Jun 1, 2022 · 3 comments
Labels
bug Something isn't working needs triage

Comments

@megustalol
Copy link
Contributor

Description

A função deleteMessage não está apagando a mensagem enviada na MD, na versão que usa a conexão do celular como a principal apaga normalmente. (Uso atraves de comando respodendo a mensagem que eu queria apagar), como falei antes, não pega apenas na versão MD.
await client.deleteMessage(message.from, message.quotedMsgId, false).then((result)

Environment

  • WPPConnect version(s): 1.13.3
  • WA-JS version(s): 2.4.1
  • Browser: Chrome
  • OS: Windows server 2012
  • Node version: Node 16.14.0
  • WhatsApp version: 2.2214.12
  • MultiDevice (BETA): yes
@megustalol megustalol added bug Something isn't working needs triage labels Jun 1, 2022
@megustalol
Copy link
Contributor Author

if (!message.quotedMsgId) return client.reply(message.from, "Mencione a mensagem!", message.id.toString());
console.log(message)
await client.deleteMessage(message.from, message.quotedMsgId, false).then((result) => {
console.log(result)

@syifarahmat
Copy link

syifarahmat commented Jun 1, 2022

This is the same with my case:
image

image

@edgardmessias
Copy link
Contributor

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working needs triage
Projects
None yet
Development

No branches or pull requests

3 participants