[GH-ISSUE #8] send messages to groups #7

Closed
opened 2026-02-27 10:25:21 +03:00 by kerem · 1 comment
Owner

Originally created by @ichandkusuma on GitHub (Jul 15, 2023).
Original GitHub issue: https://github.com/mimamch/wa-multi-session/issues/8

how to send message to group page?
Thx sir.

Originally created by @ichandkusuma on GitHub (Jul 15, 2023). Original GitHub issue: https://github.com/mimamch/wa-multi-session/issues/8 how to send message to group page? Thx sir.
kerem closed this issue 2026-02-27 10:25:22 +03:00
Author
Owner

@mimamch commented on GitHub (Jul 20, 2023):

Here is how to send a message to group, first you must has group id

code:

 await wa.sendTextMessage({
      sessionId: "mysession",
      to: "62822xxxxx-1631099xxx@g.us",
      isGroup: true,
      text: "Hello Group",
    });
<!-- gh-comment-id:1643437811 --> @mimamch commented on GitHub (Jul 20, 2023): Here is how to send a message to group, first you must has group id code: ``` await wa.sendTextMessage({ sessionId: "mysession", to: "62822xxxxx-1631099xxx@g.us", isGroup: true, text: "Hello Group", }); ```
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/wa-multi-session-mimamch#7
No description provided.