Deleting Received Message for Us Only #397
Unanswered
ghafarizar
asked this question in
WhatsApp protocol Q&A
Replies: 1 comment 2 replies
-
// Needed fields
var isme = client.Store.ID.ToNonAD().String() == *ctx.Participant
var id_message = ctx.StanzaId
var participant_sender = ctx.Participant
var delete_protocol = &waProto.Message{
ProtocolMessage: &waProto.ProtocolMessage{
Key: &waProto.MessageKey{
FromMe: &isme,
RemoteJid: proto.String(event.Info.Chat.ToNonAD().String()),
Id: id_message,
Participant: participant_sender,
},
Type: waProto.ProtocolMessage_REVOKE.Enum(),
},
} The
|
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
How to delete chats from client?
The case is when someone using my Bot to process something secret (documents, etc.)
As far as i know, revoke only for our own chat.
Im migrating from Nodejs to Golang.
and nodejs library "Whatsapp-Web.js" for example, can delete our chat and client chat too
I think thats achievable right?
or is now achieveable ? if so, please tell me the example...
thankyou!
Beta Was this translation helpful? Give feedback.
All reactions