"context"
"errors"
"fmt"
- "time"
"go.mau.fi/whatsmeow"
"go.mau.fi/whatsmeow/proto/waE2E"
)
-// whatsappImageTime is the longest time of an image download.
-const whatsappImageTime = 2 * time.Minute
-
// whatsappImage downloads only supported images and stores them before the
// event can be acknowledged. Both the declared size and the downloaded bytes
// must fit the image store. Decoded bytes determine the stored format.