You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Estou tentando fazer um envio de mensagem em comunidade pelo link de convite, mas ao chamar a função "getGroupInfoFromInviteLink " a mesma está trazendo um ID errado.
Environment
WPPConnect version(s): 2.2347.56
WA-JS version(s): 2.28.0
Browser: Chrome 119.0.6045.160
OS: Windows 10
Node version: Node 18.18.0
WhatsApp version: 2.23.23.79
MultiDevice (BETA): yes
Steps to Reproduce
Chame a função "getGroupInfoFromInviteLink" e passe o CÓDIGO do link da comunidade de avisos;
Pegue o ID retornado e tente chamar a função "sendText" para o ID retornado;
Nada acontecerá.
Log Output
If relevant, paste all of your Log Output
Your Code
If relevant, paste all of your challenge code in here
Additional context / Screenshot
✅ Veja o ID da comunidade através do evento "onAnyMessage"
❌ Veja agora o ID (errado) gerado chamando a função "getGroupInfoFromInviteLink":
The text was updated successfully, but these errors were encountered:
Hoje passei um tempo tentando resolver essa issue. Quando utilizarmos o getGroupInfoFromInviteLink em uma comunidade, ele retorna um grupo da comunidade, uma instância que tem os dados dela e subtype create, porém não a comunidade em si (ou seja, o grupo de anuncios), que é subtype community, em breve, vou tentar mais um pouco, e vejo se acho alguma parte do código que dá para pegarmos esse link do grupo de anuncios em si (comunidade).
Description
Estou tentando fazer um envio de mensagem em comunidade pelo link de convite, mas ao chamar a função "getGroupInfoFromInviteLink " a mesma está trazendo um ID errado.
Environment
Steps to Reproduce
Log Output
Your Code
Additional context / Screenshot
✅ Veja o ID da comunidade através do evento "onAnyMessage"
❌ Veja agora o ID (errado) gerado chamando a função "getGroupInfoFromInviteLink":
The text was updated successfully, but these errors were encountered: