$ npm install telegram_sticker_downloader -g
or
$ yarn global add telegram_sticker_downloader
const tsd = require('telegram_sticker_downloader');
tsd({
token: 'your token', // telegram token
sticker: ['what_what_time_is_it', 'sobdimg'] // sticker name
}).then(console.log).catch(console.log)
// Output
// [
// {
// name: 'what_what_time_is_it',
// links: [...Buffer]
// },
// {
// name: 'sobdimg',
// links: [...Buffer]
// }
// ]
$ tsd --help
Usage: tsd [options]
Options:
-v, --version output the version number
-t, --token [token] Your telegram token, apply for token here at https://t.me/BotFather
-s, --sticker <items...> Telegram sticker link or name (default: [])
-c, --compression [type] Compression method {tar|gzip|tgz|zip} (default: false)
-o, --output [path] Sticker saved folder (default: "./")
-w, --webp Use webp format
-h, --help output usage information
https://miku.tools/tools/telegram_sticker
telegram_sticker_downloader © Ice-Hazymoon, Released under the MIT License.