Closed monyuan closed 1 month ago
resp, err = clientPointer[userid].SendMessage(context.Background(), recipient, msg, whatsmeow.SendRequestExtra{ID: msgid}) if err != nil { s.Respond(w, r, http.StatusInternalServerError, errors.New(fmt.Sprintf("Error sending message: %v", err))) return }
Hi monyuan,
Not sure if I understand your proposed solution, adding a 4th parameter SEndRequestExtra? Can you send a pull request so I can check/test ?
https://github.com/tulir/whatsmeow/issues/343