telegram_sticker_downloader

1.0.0 • Public • Published

Telegram sticker downloader

Installation

$ npm install telegram_sticker_downloader -g

or

$ yarn global add telegram_sticker_downloader

Usage

Nodejs

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]
//     }
// ]

CLI

$ 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

Online use

https://miku.tools/tools/telegram_sticker

Author

telegram_sticker_downloader © Ice-Hazymoon, Released under the MIT License.

Readme

Keywords

Package Sidebar

Install

npm i telegram_sticker_downloader

Weekly Downloads

1

Version

1.0.0

License

MIT

Unpacked Size

8.14 kB

Total Files

5

Last publish

Collaborators

  • hazymoon