mirror of
https://github.com/napnap75/multiarch-docker-images.git
synced 2025-12-16 11:44:18 +01:00
Updated to the new version of the WhatsApp library
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
FROM golang:alpine AS builder
|
||||
FROM golang:1.21-alpine AS builder
|
||||
|
||||
WORKDIR $GOPATH/src/napnap75/piwigo-souvenirs/
|
||||
COPY piwigo-souvenirs.go .
|
||||
|
||||
@@ -89,9 +89,9 @@ func sendMessage(client *whatsmeow.Client, group string, message string, url str
|
||||
Text: proto.String(message),
|
||||
Title: proto.String(title),
|
||||
Description: proto.String(title),
|
||||
CanonicalUrl: proto.String(url),
|
||||
CanonicalURL: proto.String(url),
|
||||
MatchedText: proto.String(url),
|
||||
JpegThumbnail: thumbnail,
|
||||
JPEGThumbnail: thumbnail,
|
||||
}}
|
||||
ts, err := client.SendMessage(context.Background(), jid, msg)
|
||||
if err != nil {
|
||||
|
||||
Reference in New Issue
Block a user