Update latest whatsmeow?
Closed this issue · 2 comments
Latest whatsmeow required golang 1.19, any updates?
Ad it would be great to actualize code for the new whatsmeow version
go build -o go-whatsapp-multidevice-rest/cmd/main/__debug_bin -gcflags all=-N -l .
github.com/dimaskiddo/go-whatsapp-multidevice-rest/pkg/whatsapp
../../pkg/whatsapp/whatsapp.go:332:60: cannot use msgId (variable of type string) as type *"go.mau.fi/whatsmeow/binary/proto".Message in argument to WhatsAppClient[jid].SendMessage
../../pkg/whatsapp/whatsapp.go:332:67: cannot use msgContent (variable of type *"go.mau.fi/whatsmeow/binary/proto".Message) as type whatsmeow.SendRequestExtra in argument to WhatsAppClient[jid].SendMessage
../../pkg/whatsapp/whatsapp.go:374:60: cannot use msgId (variable of type string) as type *"go.mau.fi/whatsmeow/binary/proto".Message in argument to WhatsAppClient[jid].SendMessage
../../pkg/whatsapp/whatsapp.go:374:67: cannot use msgContent (variable of type *"go.mau.fi/whatsmeow/binary/proto".Message) as type whatsmeow.SendRequestExtra in argument to WhatsAppClient[jid].SendMessage
../../pkg/whatsapp/whatsapp.go:429:60: cannot use msgId (variable of type string) as type *"go.mau.fi/whatsmeow/binary/proto".Message in argument to WhatsAppClient[jid].SendMessage
../../pkg/whatsapp/whatsapp.go:429:67: cannot use msgContent (variable of type *"go.mau.fi/whatsmeow/binary/proto".Message) as type whatsmeow.SendRequestExtra in argument to WhatsAppClient[jid].SendMessage
../../pkg/whatsapp/whatsapp.go:561:60: cannot use msgId (variable of type string) as type *"go.mau.fi/whatsmeow/binary/proto".Message in argument to WhatsAppClient[jid].SendMessage
../../pkg/whatsapp/whatsapp.go:561:67: cannot use msgContent (variable of type *"go.mau.fi/whatsmeow/binary/proto".Message) as type whatsmeow.SendRequestExtra in argument to WhatsAppClient[jid].SendMessage
../../pkg/whatsapp/whatsapp.go:614:60: cannot use msgId (variable of type string) as type *"go.mau.fi/whatsmeow/binary/proto".Message in argument to WhatsAppClient[jid].SendMessage
../../pkg/whatsapp/whatsapp.go:614:67: cannot use msgContent (variable of type *"go.mau.fi/whatsmeow/binary/proto".Message) as type whatsmeow.SendRequestExtra in argument to WhatsAppClient[jid].SendMessage
../../pkg/whatsapp/whatsapp.go:614:67: too many errors (exit status 2)