Open ribeiroferreiralucas opened 4 years ago
Yes, I have the same problem
I'm still with the problem. I really need some way to solve this or some idea to how to solve this.
If you just want the sender JID for knowing the message sender in a group, just use the following:
var jid string
if message.Info.Source.Participant == nil {
jid = message.Info.RemoteJid
}else{
jid = *message.Info.Source.Participant
}
Unfourtenately, I have the same problem and dont know how to solve it. Tried many ways, but without any result
Unfourtenately, I have the same problem and dont know how to solve it. Tried many ways, but without any result
Hi, the following suggestion (by @cianoscatolo ) worked to me.
If you just want the sender JID for knowing the message sender in a group, just use the following:
var jid string if message.Info.Source.Participant == nil { jid = message.Info.RemoteJid }else{ jid = *message.Info.Source.Participant }
maybe you can use contacts store ?
wac.Store.Contacts[senderJid]
Does anyone know how to retrieve the PushName? Or in which conditions the field is not empty? I imagined that the PushName is only transmitted if the number is not in your contact list, but a quick test showed that even then it is empty.
Output: