From aefa70891cfd489fccb8a9567b5bdafb0f863ede Mon Sep 17 00:00:00 2001 From: Wim Date: Sat, 12 Mar 2022 23:02:04 +0100 Subject: Update vendor (whatsapp) --- vendor/go.mau.fi/whatsmeow/errors.go | 2 ++ 1 file changed, 2 insertions(+) (limited to 'vendor/go.mau.fi/whatsmeow/errors.go') diff --git a/vendor/go.mau.fi/whatsmeow/errors.go b/vendor/go.mau.fi/whatsmeow/errors.go index 584aa76f..8b68bd0e 100644 --- a/vendor/go.mau.fi/whatsmeow/errors.go +++ b/vendor/go.mau.fi/whatsmeow/errors.go @@ -45,6 +45,8 @@ var ( ErrInviteLinkRevoked = errors.New("that group invite link has been revoked") // ErrBusinessMessageLinkNotFound is returned by ResolveBusinessMessageLink if the link doesn't exist or has been revoked. ErrBusinessMessageLinkNotFound = errors.New("that business message link does not exist or has been revoked") + // ErrInvalidImageFormat is returned by SetGroupPhoto if the given photo is not in the correct format. + ErrInvalidImageFormat = errors.New("the given data is not a valid image") ) // Some errors that Client.SendMessage can return -- cgit v1.2.3