Open flykby opened 3 months ago
same problem
resp, _ := client.SendMessage(context.Background(), v.Info.Chat, client.BuildPollCreation("meow?", []string{"yes", "no"}, 1))
client.SendMessage(context.Background(), v.Info.Chat, client.BuildRevoke(v.Info.Chat, types.EmptyJID, resp.ID))
its work ya ges yaaaa
Delete for me is an app state event, so it can be sent using https://pkg.go.dev/go.mau.fi/whatsmeow#Client.SendAppState
Feel free to make PR for adding a BuildDeleteForMe
helper in https://github.com/tulir/whatsmeow/blob/main/appstate/encode.go
Delete for me is an app state event, so it can be sent using https://pkg.go.dev/go.mau.fi/whatsmeow#Client.SendAppState
Feel free to make PR for adding a
BuildDeleteForMe
helper in https://github.com/tulir/whatsmeow/blob/main/appstate/encode.go
Who can help me achieve it? Thank you so much. 🥺
@tulir
Delete for me is an app state event, so it can be sent using https://pkg.go.dev/go.mau.fi/whatsmeow#Client.SendAppState Feel free to make PR for adding a
BuildDeleteForMe
helper in https://github.com/tulir/whatsmeow/blob/main/appstate/encode.goWho can help me achieve it? Thank you so much. 🥺
@tulir
I made the helper, waiting for approval on my PR #702
I am writing a system for filtering messages. I need the messages that are in the list of "Stop words" to be blocked. I tried using the SendMessage(BuildRevoke()) and RevokeMessage() methods. but they only delete messages sent by me