diff --git a/main.go b/main.go index 8b5a648..325693d 100644 --- a/main.go +++ b/main.go @@ -111,7 +111,7 @@ func main() { TwitterAccessSecret: accessSecret, Message: message, - Image: buoyPicture, + Images: [][]byte{buoyPicture}, }) if err != nil { log.Fatal(err) diff --git a/struct.go b/struct.go index 22725a1..9b42ade 100644 --- a/struct.go +++ b/struct.go @@ -13,5 +13,5 @@ type MqttMessage struct { TwitterAccessSecret string Message string - Image []byte + Images [][]byte }