[PR #54] [CLOSED] [New Feature] onContactUpdate, get contact from list #63

Closed
opened 2026-02-27 10:25:46 +03:00 by kerem · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/mimamch/wa-multi-session/pull/54
Author: @stievenk
Created: 6/21/2025
Status: Closed

Base: masterHead: master


📄 Description

New Feature:
onContactUpdate({ sessionId, contacts });
this function only call when user first time login => Event['contacts.upsert'];

Example:

import * as whastapp from "wa-multi-session";
whastapp.onContactUpdate(async (data) => {
    // console.log(data);
    // console.log(`session: '${data.sessionId}' contact updated`,data.contacts);
 });

🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/mimamch/wa-multi-session/pull/54 **Author:** [@stievenk](https://github.com/stievenk) **Created:** 6/21/2025 **Status:** ❌ Closed **Base:** `master` ← **Head:** `master` --- ### 📄 Description New Feature: onContactUpdate({ sessionId, contacts }); this function only call when user first time login => Event['contacts.upsert']; Example: ``` import * as whastapp from "wa-multi-session"; whastapp.onContactUpdate(async (data) => { // console.log(data); // console.log(`session: '${data.sessionId}' contact updated`,data.contacts); }); ``` --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
kerem 2026-02-27 10:25:46 +03:00
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#63
No description provided.