Go-whatsapp: GetPushName

Created on 7 Aug 2018  路  3Comments  路  Source: Rhymen/go-whatsapp

Hello, is it possible to get the PushName of the contact?

Most helpful comment

You can now get the contact from wac.Store.Contacts[jid]. The function, that retrieve the updated contacts from the server is already implemented, but it does not update the contacts in the store yet.

All 3 comments

This function is not yet implemented into the api. Whatsapp sends a contacts message immediatly after the connection was established. We would need to store all contacts and then provide a function to search them.

EDIT: WhatsApp provides a function to update the contacts, but it only returns changes and not all contacts.

You can now get the contact from wac.Store.Contacts[jid]. The function, that retrieve the updated contacts from the server is already implemented, but it does not update the contacts in the store yet.

Ola, perfect worked perfectly.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

highness28 picture highness28  路  5Comments

orangehaired picture orangehaired  路  10Comments

yazeed44 picture yazeed44  路  4Comments

it-sumanp picture it-sumanp  路  8Comments

andig picture andig  路  6Comments