Hacktoberfest 2026: le issue che i maintainer hanno segnato per ottobre, aperte e adatte ai principianti. Sfoglia le issue Hacktoberfest

Add option to omit phone/waid from sendContact vCard

Aperta
#2,748 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub

I maintainer di solito rispondono entro 15 giorni

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
3/5
Tempo stimato
1-2 giorni
Idoneità per principianti
68/100
Tipo di issue
Funzionalità
Chiarezza
Abbastanza chiara
Stato di attività
Attiva
Stack tecnologico
typescript

Direzione di ricerca

Start at the /message/sendContact/{instance} endpoint and its sendContact payload handling, then trace the generated vCard and the automatic wuid/TEL resolution. Add a payload option that omits the phone/waid line while preserving the name-only contact, and verify the endpoint response with a direct test matching the behavior described in the issue.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

Related to #24, which made wuid auto-derive from phoneNumber when sending a contact via /message/sendContact. Since then, item1.TEL;waid={wuid}:{phoneNumber} is always included in the generated vCard — there's no way to share a "name only" contact without exposing/confirming a WhatsApp number tied to it.

Suggestion: add an option in the sendContact payload (e.g. includePhone: false) to skip the waid= TEL line, or support a vCard with just fullName and no phone/wuid resolution.

Confirmed this is enforced server-side with a direct test against /message/sendContact/{instance}, bypassing our own integration code entirely — the vCard returned still had waid= auto-populated from the phone number sent in the payload.

Also posted as a suggestion on the community Discord (tag: Modify).

Lingua principale
TypeScript
Stelle
9.9k
Fork
7.4k
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Preparare l'ambiente

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di evolution-foundation/evolution-api

Tutte le issue di evolution-foundation/evolution-api

Issue simili

Altre issue su TypeScript

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.