tulir / whatsmeow

Go library for the WhatsApp web multidevice API

Home Page:https://go.mau.fi/whatsmeow

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Get Pushname

refaldyrk opened this issue · comments

how can i get push name without send message or receive message?

PushName automatically updated via *events.<...> that received in whatsmeow client. You can get it in contacts info. Client.Store.Contacts.GetContact(jid).

#202 (comment)

So I want to input a number or JID, without having to communicate with him, so it's like a random person, and then I want to see his push name., how?

Currently there is no way to get a pushname directly without ever communicating.

The PushName is sent within the first message is sent, and the next name update will be received in the form of a PushName change event (*events.<...>) broadcast by the user account.