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

"sendMessageWithThumb" não funciona #703

Closed
mvac1991 opened this issue Nov 30, 2021 · 3 comments
Closed

"sendMessageWithThumb" não funciona #703

mvac1991 opened this issue Nov 30, 2021 · 3 comments
Labels
bug Something isn't working question Further information is requested

Comments

@mvac1991
Copy link

mvac1991 commented Nov 30, 2021

Description

Ao executar o trecho "await client.sendMessageWithThumb('https://upload.wikimedia.org/wikipedia/commons/thumb/1/18/Creative-Tail-rocket.svg/768px-Creative-Tail-rocket.svg.png', 'https://www.instagram.com/p/CVWXPAZssZv/', 'testando title', 'description here...', CONTACT_ID);" o mesmo não retorna erro e também não envia nenhuma mensagem, nada acontece.

Environment

  • Wppconnect version(s): [1.10.3]
  • Browser: [Google Chrome 96.0.4664.45]
  • OS: [WINDOWS 10]
  • Node version: [Node 14]
  • WhatsApp version: [2.2144.11]
  • MultiDevice (BETA): NO
@mvac1991 mvac1991 added the bug Something isn't working label Nov 30, 2021
@edgardmessias
Copy link
Contributor

@mvac1991 , poderia por gentileza atualizar o ticket e colocar as informações corretas do ambiente utilizado?

@edgardmessias edgardmessias added the question Further information is requested label Dec 3, 2021
@wppconnect-team wppconnect-team deleted a comment from mvac1991 Dec 3, 2021
@mvac1991
Copy link
Author

mvac1991 commented Dec 8, 2021

@mvac1991 , poderia por gentileza atualizar o ticket e colocar as informações corretas do ambiente utilizado?

Atualizei

@edgardmessias
Copy link
Contributor

@mvac1991 , para essa issue, a função sendMessageWithThumb esperava um base64 no primeiro argumento, que é a thumb.

Atualizei o código para aceitar URLs também.

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

No branches or pull requests

2 participants