Open batara666 opened 2 years ago
the code:
msg := whatsapp.ImageMessage{
Info: whatsapp.MessageInfo{
RemoteJid: myPhone + "@s.whatsapp.net",
},
Type: "image/jpeg",
Caption: text,
Content: obj,
}
b, err := ioutil.ReadAll(obj)
if err == nil {
msg.Thumbnail = b
}
_, err = wac.Send(msg)
This library is out if update.... Unfortunately.
Regard
On Tue, Nov 2, 2021, 12:35 PM batara666 @.***> wrote:
message sending responded with 400
— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/Rhymen/go-whatsapp/issues/628, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABDLT25IN2SX7QEXN2KI7PTUJ65HJANCNFSM5HGDPIBA . Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.
hi @beshoo, could you please help us solve this problem
or, could you tell me how to fix this kind of problem, thanks @beshoo
how to debug whatsapp web (non MD)
it is working with my API! check my API which is works with go-whatsapp
what version you use
the latest one!
On Tue, Nov 2, 2021 at 4:14 PM batara666 @.***> wrote:
what version you use
— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/Rhymen/go-whatsapp/issues/628#issuecomment-957669058, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABDLT274HRSSJPNWBGRSR7DUJ7W5LANCNFSM5HGDPIBA . Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.
message sending responded with 400
and the message is not send