-
Notifications
You must be signed in to change notification settings - Fork 495
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
capture message catalog from whatsapp bussiness #517
Comments
I implemented message received, I did not test the sending. ProductMessage and OrderMessage |
this is my implementation `/* type OrderMessage struct { func getOrderMessage(msg *proto.WebMessageInfo) OrderMessage {
} func getOrderMessageProto(msg OrderMessage) *proto.WebMessageInfo {
}` `/* type ProductMessage struct { func getProductMessage(msg *proto.WebMessageInfo) ProductMessage {
} func getProductMessageProto(msg ProductMessage) *proto.WebMessageInfo {
}` `func ParseProtoMessage(msg *proto.WebMessageInfo) interface{} {
}` `/* /* `func (wac *Conn) handleWithCustomHandlers(message interface{}, handlers []Handler) {
}` |
you are amazing bro .. |
@Romerito007 thanks for this great idea. |
As we know, we can create a catalog in the WhatsApp business, and those who contact can order products from the catalog into the shopping cart.
When the shopping cart is delivered,
the message the API receives is just a blank text, has anyone caught the shopping cart message?
The text was updated successfully, but these errors were encountered: