diff --git a/src/whatsapp/services/whatsapp.service.ts b/src/whatsapp/services/whatsapp.service.ts index 5b9092eb..d54520ca 100644 --- a/src/whatsapp/services/whatsapp.service.ts +++ b/src/whatsapp/services/whatsapp.service.ts @@ -1425,15 +1425,15 @@ export class WAStartupService { const message: proto.IMessage = {}; const vcard = (contact: ContactMessage) => { - const result = + return ( 'BEGIN:VCARD\n' + 'VERSION:3.0\n' + `FN:${contact.fullName}\n` + `ORG:${contact.organization};\n` + - `TEL;type=CELL;type=VOICE;waid=${contact.wuid}:${contact.wuid}\n` + - 'END:VCARD'; - - return result; + `item1.TEL;waid=${contact.wuid}:${contact.phoneNumber}\n` + + 'item1.X-ABLabel:Celular\n' + + 'END:VCARD' + ); }; if (data.contactMessage.length === 1) {