Closed azickri closed 6 months ago
The contacts are probably also synced into the database. You can see this in the whatsmeow_contacts
table.
ContactInfo.FullName
Here is how to get the contact info :
ci, err := client.Store.Contacts.GetContact(jid)
if err != nil {
panic(err)
}
fmt.Println(ci.FullName)
Thanks, i will try it.
@JustSoursop When I delete the .db file and try to reconnect, there are some contact names that go back to the beginning (before they were changed) is there a proper handling for this?
The contacts are auto-synced by default, including the update.
Is there an option or function to get the WhatsApp contact name instead of the name displayed by the WhatsApp user?