Hacktoberfest 2026 : les issues que les mainteneurs ont marquées pour octobre, ouvertes et accessibles aux débutants. Parcourir les issues Hacktoberfest

Add option to omit phone/waid from sendContact vCard

Ouverte
#2,748 0 commentaires 0 réactions 0 personnes assignées Voir sur GitHub

Les mainteneurs répondent en général sous 15 jours

Personne n'a encore pris cette issue.

Évaluation

Difficulté
3/5
Temps estimé
1-2 jours
Accessibilité débutants
68/100
Type d'issue
Fonctionnalité
Clarté
Plutôt claire
Activité
Active
Stack technique
typescript

Piste de recherche

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.

Rédigé par le modèle d'indexation à partir du texte de l'issue.

Description

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).

Langage dominant
TypeScript
Étoiles
9.9k
Forks
7.4k
Métriques de merge des PR
Aucune PR mergée en 30 j

Préparer son environnement

Par où commencer

  1. Lisez l'issue en entier, puis le guide de contribution du projet.
  2. Signalez en commentaire que vous la prenez — cela évite que deux personnes fassent le même travail.
  3. Forkez le dépôt et travaillez sur une branche.
  4. Ouvrez une pull request qui référence le numéro de l'issue.

Autres issues de evolution-foundation/evolution-api

Toutes les issues de evolution-foundation/evolution-api

Issues similaires

Plus d'issues TypeScript

Recevez les nouvelles issues par e-mail

Un résumé court des issues GitHub adaptées aux débutants.