-
-
Notifications
You must be signed in to change notification settings - Fork 3.4k
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
Bug When sending a message to the channel #2551
Comments
@alechkos is this bug fixed? |
@chirag3232
it will be fixed as soon as i finish the pr |
@alechkos how much time will it take? approximately? |
@techenthusiast8630 @Inaciooooo You can test it in the meantime, but it's still a work in progress npm install github:alechkos/whatsapp-web.js#channels const myChannelId = (await client.createChannel('MyChannel'))?.nid._serialized;
if (myChannelId) {
const sentMsg = await client.sendMessage(myChannelId, msg);
console.log(sentMsg);
} else console.log('Channels are not supported in your country'); |
@techenthusiast8630 @Inaciooooo The Don't forget to reapply the PR: npm install github:alechkos/whatsapp-web.js#channels |
Is there an existing issue for this?
Describe the bug
Quando tento enviar mensagem para algum canal ele simplesmente da em nada como se não estivesse executado o codigo exemplo de como uso client.sendMessage("120363168650684996@newsletter", "teste123");
Expected behavior
Não sei
Steps to Reproduce the Bug or Issue
.
Relevant Code
client.sendMessage("120363168650684996@newsletter", "👽");
Browser Type
Chromium
WhatsApp Account Type
Standard
Does your WhatsApp account have multidevice enabled?
Yes, I am using Multi Device
Environment
.
Additional context
.
The text was updated successfully, but these errors were encountered: