diff options
Diffstat (limited to 'vendor/go.mau.fi/whatsmeow/errors.go')
-rw-r--r-- | vendor/go.mau.fi/whatsmeow/errors.go | 2 |
1 files changed, 2 insertions, 0 deletions
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 |