wppconnect-team / wa-js

WPPConnect/WA-JS is an open-source project with the aim of exporting functions from WhatsApp Web
https://wppconnect.io/wa-js/
Apache License 2.0
432 stars 137 forks source link

send messages in group chat #1758

Closed s1dc0des closed 7 months ago

s1dc0des commented 8 months ago

Is your feature request related to a problem? Please describe. A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]

Describe the solution you'd like A clear and concise description of what you want to happen.

Describe alternatives you've considered A clear and concise description of any alternative solutions or features you've considered.

Additional context Add any other context or screenshots about the feature request here.

icleitoncosta commented 8 months ago

Please, send: WhatsApp Version: WA_JS Version:

s1dc0des commented 8 months ago

using lates version of wa_js. and using a wrapper around it for dart/flutter https://pub.dev/packages/whatsapp_bot_flutter

heres how it injects wajs in inappwebview on mobile devices https://github.com/rohitsangwan01/whatsapp_bot_flutter/blob/2534cbd8028061b25eeec762ad24ff398768255a/packages/whatsapp_bot_platform_interface/lib/src/wpp/wpp_connect.dart#L12

icleitoncosta commented 8 months ago

using lates version of wa_js. and using a wrapper around it for dart/flutter https://pub.dev/packages/whatsapp_bot_flutter

heres how it injects wajs in inappwebview on mobile devices https://github.com/rohitsangwan01/whatsapp_bot_flutter/blob/2534cbd8028061b25eeec762ad24ff398768255a/packages/whatsapp_bot_platform_interface/lib/src/wpp/wpp_connect.dart#L12

What is the version of WhatsApp you are logged in and getting the error?

mkamra2000 commented 7 months ago

Description

When I'm sending message to any group chat then this error is showing Your Message was not sent or sometimes clock icon near to message is visible. image

Environment

WhatsApp Version 2.2412.50 WA-JS version(s): 3.0.0 Browser: Chrome 122.0.6261.131 OS: Windows 10 MultiDevice (BETA): no

Steps to reproduce

Just Send message to any group chat

Question

using lates version of wa_js. and using a wrapper around it for dart/flutter https://pub.dev/packages/whatsapp_bot_flutter

heres how it injects wajs in inappwebview on mobile devices https://github.com/rohitsangwan01/whatsapp_bot_flutter/blob/2534cbd8028061b25eeec762ad24ff398768255a/packages/whatsapp_bot_platform_interface/lib/src/wpp/wpp_connect.dart#L12

Is this a permanent fix for this issue?

icleitoncosta commented 7 months ago

Description

When I'm sending message to any group chat then this error is showing Your Message was not sent or sometimes clock icon near to message is visible. image

Environment

WhatsApp Version 2.2412.50 WA-JS version(s): 3.0.0 Browser: Chrome 122.0.6261.131 OS: Windows 10 MultiDevice (BETA): no

Steps to reproduce

Just Send message to any group chat

Question

using lates version of wa_js. and using a wrapper around it for dart/flutter https://pub.dev/packages/whatsapp_bot_flutter heres how it injects wajs in inappwebview on mobile devices https://github.com/rohitsangwan01/whatsapp_bot_flutter/blob/2534cbd8028061b25eeec762ad24ff398768255a/packages/whatsapp_bot_platform_interface/lib/src/wpp/wpp_connect.dart#L12

Is this a permanent fix for this issue?

Please, inject the latest version of WAJS (3.0.1), try send the message and check the isOfficial WPP.whatsapp.isOfficialClient

icleitoncosta commented 7 months ago

I will mark this issue as resolved, as I have already received feedback on other issues. Please reopen it if it has not been resolved.