Open dafner opened 1 year ago
hi,
I'm trying to send a contact using the vcard format with the function sendContact like the following example:
bot.sendContact(to, "+1234567890", "Han", { vcard: "BEGIN:VCARD\n" + "VERSION:3.0\n" + "N:Solo;Han\n" + "ORG:Scruffy-looking nerf herder\n" + "TEL;TYPE=voice,work,pref:+1234567890\n" + "EMAIL:hansolo@mfalcon.com\n" + "END:VCARD" })
but the message I get is not a contact that I can import into my contact list.
This is the image of the message I receive:
and it should be this way:
Any idea witch is the problem?
Thanks in advance!!
hi,
I'm trying to send a contact using the vcard format with the function sendContact like the following example:
bot.sendContact(to,
"+1234567890", "Han", { vcard: "BEGIN:VCARD\n" + "VERSION:3.0\n" + "N:Solo;Han\n" + "ORG:Scruffy-looking nerf herder\n" + "TEL;TYPE=voice,work,pref:+1234567890\n" + "EMAIL:hansolo@mfalcon.com\n" + "END:VCARD" })
but the message I get is not a contact that I can import into my contact list.
This is the image of the message I receive:
and it should be this way:
Any idea witch is the problem?
Thanks in advance!!