Hacktoberfest 2026: as issues que os mantenedores marcaram para outubro, abertas e boas para iniciantes. Ver issues do Hacktoberfest

Add option to omit phone/waid from sendContact vCard

Aberta
#2,748 0 comentários 0 reações 0 responsáveis Ver no GitHub

Mantenedores costumam responder em até 5 dias

Ninguém assumiu esta issue ainda.

Avaliação

Dificuldade
3/5
Tempo estimado
1-2 dias
Facilidade para iniciantes
68/100
Tipo de issue
Funcionalidade
Clareza
Razoavelmente clara
Status de atividade
Ativa
Stack de tecnologia
typescript

Direção de pesquisa

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.

Escrita pelo modelo de indexação a partir do texto da issue.

Descrição

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

Linguagem predominante
TypeScript
Estrelas
9.9k
Forks
7.4k
Métricas de merge de PRs
Nenhum PR com merge em 30d

Preparar o ambiente

Primeiros passos

  1. Leia a issue inteira e depois o guia de contribuição do projeto.
  2. Comente na issue dizendo que vai assumir — evita que duas pessoas façam o mesmo trabalho.
  3. Faça um fork do repositório e trabalhe em uma branch.
  4. Abra um pull request que referencie o número da issue.

Mais de evolution-foundation/evolution-api

Todas as issues de evolution-foundation/evolution-api

Issues semelhantes

Mais issues de TypeScript

Receba novas issues na sua caixa de entrada

Um resumo curto de issues do GitHub para quem está começando.