diff --git a/src/util/Injected.js b/src/util/Injected.js index 76d134a..3f5aa96 100644 --- a/src/util/Injected.js +++ b/src/util/Injected.js @@ -119,7 +119,10 @@ exports.LoadUtils = () => { forceDocument: options.sendMediaAsDocument, forceGif: options.sendVideoAsGif }); - + + if (options.caption){ + attOptions.caption = options.caption; + } content = options.sendMediaAsSticker ? undefined : attOptions.preview; delete options.attachment;