It seems that there's a mismatch between the code and the "whatsmeow" library. The library might have undergone changes since the code was written.
go run main.go
command-line-arguments
./main.go:61:61: cannot use "" (untyped string constant) as "go.mau.fi/whatsmeow/binary/proto".Message value in argument to mycli.WAClient.SendMessage
./main.go:61:65: cannot use response (variable of type "go.mau.fi/whatsmeow/binary/proto".Message) as whatsmeow.SendRequestExtra value in argument to mycli.WAClient.SendMessage
It seems that there's a mismatch between the code and the "whatsmeow" library. The library might have undergone changes since the code was written. go run main.go
command-line-arguments
./main.go:61:61: cannot use "" (untyped string constant) as "go.mau.fi/whatsmeow/binary/proto".Message value in argument to mycli.WAClient.SendMessage ./main.go:61:65: cannot use response (variable of type "go.mau.fi/whatsmeow/binary/proto".Message) as whatsmeow.SendRequestExtra value in argument to mycli.WAClient.SendMessage