2

does anyone know a way? this is what I tried so far and the err I get:

const media = MessageMedia.fromFilePath('C:/desktop/test.gif');
    try {
            client.sendMessage(message.from, media, {sendMediaAsSticker: false});
        } catch(e) {
            console.log(e);
        }
 throw new Error('Evaluation failed: ' + helper_js_1.helper.getExceptionMessage(exceptionDetails));
                  ^
Error: Evaluation failed: 

I also tried to set sendMediaAsSticker to true and I also tried sending it with webp&mp4

turivishal
  • 34,368
  • 7
  • 36
  • 59
Shahar
  • 85
  • 1
  • 7

0 Answers0