{"_id":"telegraf","_rev":"293-2ebfe3141424699d511e03ca3626c626","name":"telegraf","dist-tags":{"legacy":"3.40.0","canary":"4.16.0-rc.2","latest":"4.16.3"},"versions":{"0.0.0":{"name":"telegraf","version":"0.0.0","author":"","license":"ISC","_id":"telegraf@0.0.0","maintainers":[{"name":"dotcypress","email":"dotcypress@gmail.com"}],"dist":{"shasum":"e0d5227b730a148582676a143fae2f0848e57400","tarball":"https://registry.npmjs.org/telegraf/-/telegraf-0.0.0.tgz","integrity":"sha512-ztvppx1gfehc+eP7W1tsPQvKl251ZIvbXdUPRh9rMq0VBustNji+wW5BpAcQTgzKiVGBeg52mJDuje/1ZHpv5w==","signatures":[{"sig":"MEYCIQC9snM3nKJhlv5/7PsVn211EcnGf7/MtQ4SCs7qEe4VZgIhAIaLuxCoa+ncKKuHOmjE1+v6FZCzeWwCVyLMroIFVpXN","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}]},"main":"index.js","_from":".","_shasum":"e0d5227b730a148582676a143fae2f0848e57400","scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"_npmUser":{"name":"dotcypress","email":"dotcypress@gmail.com"},"_npmVersion":"3.6.0","description":"","directories":{},"_nodeVersion":"4.2.4","_npmOperationalInternal":{"tmp":"tmp/telegraf-0.0.0.tgz_1460761007162_0.5887719443999231","host":"packages-12-west.internal.npmjs.com"}},"0.0.1":{"name":"telegraf","version":"0.0.1","keywords":["telegraf","telegram","bot","bot framework"],"author":{"name":"Vitaly Domnikov","email":"dotcypress@gmail.com"},"license":"MIT","_id":"telegraf@0.0.1","maintainers":[{"name":"dotcypress","email":"dotcypress@gmail.com"}],"homepage":"https://github.com/telegraf/telegraf#readme","bugs":{"url":"https://github.com/telegraf/telegraf/issues"},"dist":{"shasum":"1ba58d2d27c2a0863959a3e12fddc4141561854d","tarball":"https://registry.npmjs.org/telegraf/-/telegraf-0.0.1.tgz","integrity":"sha512-5GXw5U+UF8g7ebhxdVAGk0MJHbucfG7HFN7Dx4/JeGu1l1qICTPKNkZcXFviFExYc5H97IyIa59pgQmgMe49/A==","signatures":[{"sig":"MEYCIQD1CDN4CkDJaO+tkpncZqJ/Km4moletcYMoAIQP8ZUA+QIhAImst0CRYBUWP31zJx1f1+uC5JIB0G7DcuSpmUmMcw1v","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}]},"main":"lib/app.js","_from":".","_shasum":"1ba58d2d27c2a0863959a3e12fddc4141561854d","gitHead":"47b9aafd9833551ebdf55cefd7322ca6ecbc4191","scripts":{"examples":"DEBUG='telegraf:*' supervisor examples/simple-bot.js"},"_npmUser":{"name":"dotcypress","email":"dotcypress@gmail.com"},"repository":{"url":"git+ssh://git@github.com/telegraf/telegraf.git","type":"git"},"_npmVersion":"3.6.0","description":"Telegram bot framework","directories":{},"_nodeVersion":"4.2.4","dependencies":{"debug":"^2.2.0","co-ware":"^1.6.0","form-data":"^1.0.0-rc4","node-fetch":"^1.5.1","koa-compose":"^2.4.0"},"devDependencies":{"supervisor":"^0.10.0"},"_npmOperationalInternal":{"tmp":"tmp/telegraf-0.0.1.tgz_1460834593036_0.6757579057011753","host":"packages-12-west.internal.npmjs.com"}},"0.1.0":{"name":"telegraf","version":"0.1.0","keywords":["telegraf","telegram","bot","bot framework"],"author":{"name":"Vitaly Domnikov","email":"dotcypress@gmail.com"},"license":"MIT","_id":"telegraf@0.1.0","maintainers":[{"name":"dotcypress","email":"dotcypress@gmail.com"}],"homepage":"https://github.com/telegraf/telegraf#readme","bugs":{"url":"https://github.com/telegraf/telegraf/issues"},"dist":{"shasum":"82039d111bb0d5ecf6bba985483800e6ff8b2950","tarball":"https://registry.npmjs.org/telegraf/-/telegraf-0.1.0.tgz","integrity":"sha512-RhnfqvEdmYswuy7cJaXQlpVnYXDw9IMPK0I9sOSIf7XWcKFIAIFRysPwzhLRg2jQcvDFQy9DVoJzHMQGmcqEbw==","signatures":[{"sig":"MEQCIEwnFD4g5qtfow1weRXhKdZVrNawSH1cQ7T519sx5EObAiA9/Svij8xOtia0CtC/Z27PlExn5LYZZ7d/QiDPcv+hXA==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}]},"main":"lib/app.js","_from":".","files":["lib/app.js"],"_shasum":"82039d111bb0d5ecf6bba985483800e6ff8b2950","engines":{"node":">=4.0.0"},"gitHead":"cbc3eee3e4e49b4f5619c8ff1c9678452af185ff","scripts":{"test":"mocha test"},"_npmUser":{"name":"dotcypress","email":"dotcypress@gmail.com"},"repository":{"url":"git+ssh://git@github.com/telegraf/telegraf.git","type":"git"},"_npmVersion":"3.6.0","description":"Telegram bot framework","directories":{},"_nodeVersion":"4.2.4","dependencies":{"debug":"^2.2.0","co-ware":"^1.6.0","form-data":"^1.0.0-rc4","node-fetch":"^1.5.1","koa-compose":"^2.4.0"},"devDependencies":{"mocha":"^2.4.5","should":"^8.3.1","supervisor":"^0.10.0"},"_npmOperationalInternal":{"tmp":"tmp/telegraf-0.1.0.tgz_1461029797798_0.25771192484535277","host":"packages-12-west.internal.npmjs.com"}},"0.1.1":{"name":"telegraf","version":"0.1.1","keywords":["telegraf","telegram","bot","bot framework"],"author":{"name":"Vitaly Domnikov","email":"dotcypress@gmail.com"},"license":"MIT","_id":"telegraf@0.1.1","maintainers":[{"name":"dotcypress","email":"dotcypress@gmail.com"}],"homepage":"https://github.com/telegraf/telegraf#readme","bugs":{"url":"https://github.com/telegraf/telegraf/issues"},"dist":{"shasum":"e99ada017997f2ddfcee626a5e259612e03e5dae","tarball":"https://registry.npmjs.org/telegraf/-/telegraf-0.1.1.tgz","integrity":"sha512-g0W/Uv8r84OSePn7yvK1OLhjhuYYM775DPRq+iTVdlHvAE+sM4xj4r55Y29phg69fYIiVBSOG/sutmblU6odUQ==","signatures":[{"sig":"MEQCIEsGWUUiB8J4H9rPch3n2C1Ye0RrEDdqfBnVtuil3MV9AiAYEbqJhhbUTO5gXW+FZt+jFKt4SqBVtw/qbE44nr4H5w==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}]},"main":"lib/app.js","_from":".","files":["lib/app.js"],"_shasum":"e99ada017997f2ddfcee626a5e259612e03e5dae","engines":{"node":">=4.0.0"},"gitHead":"7837ebfc60827482849937e882b77ff3de3b5156","scripts":{"test":"mocha test"},"_npmUser":{"name":"dotcypress","email":"dotcypress@gmail.com"},"repository":{"url":"git+ssh://git@github.com/telegraf/telegraf.git","type":"git"},"_npmVersion":"3.6.0","description":"Telegram bot framework","directories":{},"_nodeVersion":"4.2.4","dependencies":{"debug":"^2.2.0","co-ware":"^1.6.0","form-data":"^1.0.0-rc4","node-fetch":"^1.5.1","koa-compose":"^2.4.0"},"devDependencies":{"mocha":"^2.4.5","should":"^8.3.1","supervisor":"^0.10.0"},"_npmOperationalInternal":{"tmp":"tmp/telegraf-0.1.1.tgz_1461123824624_0.086591477971524","host":"packages-16-east.internal.npmjs.com"}},"0.2.0":{"name":"telegraf","version":"0.2.0","keywords":["telegraf","telegram","bot","bot framework"],"author":{"name":"Vitaly Domnikov","email":"dotcypress@gmail.com"},"license":"MIT","_id":"telegraf@0.2.0","maintainers":[{"name":"dotcypress","email":"dotcypress@gmail.com"}],"homepage":"https://github.com/telegraf/telegraf#readme","bugs":{"url":"https://github.com/telegraf/telegraf/issues"},"dist":{"shasum":"74c6394fe2492b885bd71278c20d4fe0bf0964be","tarball":"https://registry.npmjs.org/telegraf/-/telegraf-0.2.0.tgz","integrity":"sha512-5Fjrk2NB04tlBN1T7iDkvspXGj6Ed9RV7UeusRfK5ZXiLyMlI6dq9qwh0dQ4g3M0FjxBFYoYkOKc6s27gua2iA==","signatures":[{"sig":"MEUCIQCApQo4L+k3jn1Fj61vLBGpbmFAdg77l0+BuCJxAOgZCQIgHWlaMipEPKo1bRm1RZ58um+hcQ+WBxi5CoUUAjdyXbs=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}]},"main":"lib/app.js","_from":".","files":["lib/app.js"],"_shasum":"74c6394fe2492b885bd71278c20d4fe0bf0964be","engines":{"node":">=4.0.0"},"gitHead":"8ae3f7b13fa35259a4ea8b5ed10d7fd427259abf","scripts":{"test":"mocha test"},"_npmUser":{"name":"dotcypress","email":"dotcypress@gmail.com"},"repository":{"url":"git+ssh://git@github.com/telegraf/telegraf.git","type":"git"},"_npmVersion":"3.6.0","description":"Telegram bot framework","directories":{},"_nodeVersion":"4.2.4","dependencies":{"debug":"^2.2.0","co-ware":"^1.6.0","form-data":"^1.0.0-rc4","node-fetch":"^1.5.1","koa-compose":"^2.4.0"},"devDependencies":{"mocha":"^2.4.5","should":"^8.3.1","supervisor":"^0.10.0"},"_npmOperationalInternal":{"tmp":"tmp/telegraf-0.2.0.tgz_1461202298446_0.633147829445079","host":"packages-12-west.internal.npmjs.com"}},"0.3.0":{"name":"telegraf","version":"0.3.0","keywords":["telegraf","telegram","bot","bot framework"],"author":{"name":"Vitaly Domnikov","email":"dotcypress@gmail.com"},"license":"MIT","_id":"telegraf@0.3.0","maintainers":[{"name":"dotcypress","email":"dotcypress@gmail.com"}],"homepage":"https://github.com/telegraf/telegraf#readme","bugs":{"url":"https://github.com/telegraf/telegraf/issues"},"dist":{"shasum":"3d2bbe7b872fcc06b4b58bac88393ec4911f22af","tarball":"https://registry.npmjs.org/telegraf/-/telegraf-0.3.0.tgz","integrity":"sha512-x6gNJ1fjf6ZviLPrm958oLY+SvOiggSFwTR9bHb05mIxc63F/vt0BiFUDCrpvGdnG+SHDu8QbzLFMZUDqsNcwA==","signatures":[{"sig":"MEQCIEkAkRilqNGuAR/0pdcVhJQBG8oW7alPOOlSTt+Wi94BAiBtmY9/Tu6ho4MqQJQHmMKTPL9/7wuerwD/ztpT3Ydxsw==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}]},"main":"lib/app.js","_from":".","files":["lib/app.js"],"_shasum":"3d2bbe7b872fcc06b4b58bac88393ec4911f22af","engines":{"node":">=4.0.0"},"gitHead":"56f08bddff07a9a67a568a084b73339bdba5feb7","scripts":{"test":"mocha test"},"_npmUser":{"name":"dotcypress","email":"dotcypress@gmail.com"},"repository":{"url":"git+ssh://git@github.com/telegraf/telegraf.git","type":"git"},"_npmVersion":"3.6.0","description":"Telegram bot framework","directories":{},"_nodeVersion":"4.2.4","dependencies":{"debug":"^2.2.0","co-ware":"^1.6.0","form-data":"^1.0.0-rc4","node-fetch":"^1.5.1","koa-compose":"^2.4.0"},"devDependencies":{"mocha":"^2.4.5","should":"^8.3.1","supervisor":"^0.10.0"},"_npmOperationalInternal":{"tmp":"tmp/telegraf-0.3.0.tgz_1461202847492_0.7435357866343111","host":"packages-16-east.internal.npmjs.com"}},"0.3.1":{"name":"telegraf","version":"0.3.1","keywords":["telegraf","telegram","telegram bot","telegram api","telegram bot api","bot","bot framework"],"author":{"name":"Vitaly Domnikov","email":"dotcypress@gmail.com"},"license":"MIT","_id":"telegraf@0.3.1","maintainers":[{"name":"dotcypress","email":"dotcypress@gmail.com"}],"homepage":"https://github.com/telegraf/telegraf#readme","bugs":{"url":"https://github.com/telegraf/telegraf/issues"},"dist":{"shasum":"4b7cc5ad005cdc9441683e1658938d2fe66c11b2","tarball":"https://registry.npmjs.org/telegraf/-/telegraf-0.3.1.tgz","integrity":"sha512-IaS3axTefebK/9wgYvt4XEy32CCgp/SYVbTzLyeIjwExdimMf+LzGyo1pPdnVV8sx+q3Bk5Chgjewgl+EkMHZQ==","signatures":[{"sig":"MEUCIQCtIZ/wEbnt1VoZp5ubuvgFA1vO8UqtmxjO1fzab2yLqgIgLHwesX16D89R8jVl3j8IKzddGcGkVIb6FZ/oMC2/MCQ=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}]},"main":"lib/app.js","_from":".","files":["lib/app.js"],"_shasum":"4b7cc5ad005cdc9441683e1658938d2fe66c11b2","engines":{"node":">=4.0.0"},"gitHead":"5a17f4385d0632a28249806058417cb04899c08e","scripts":{"test":"mocha test"},"_npmUser":{"name":"dotcypress","email":"dotcypress@gmail.com"},"repository":{"url":"git+ssh://git@github.com/telegraf/telegraf.git","type":"git"},"_npmVersion":"3.6.0","description":"Telegram bot framework","directories":{},"_nodeVersion":"4.2.4","dependencies":{"debug":"^2.2.0","co-ware":"^1.6.0","form-data":"^1.0.0-rc4","node-fetch":"^1.5.1","koa-compose":"^2.4.0"},"devDependencies":{"mocha":"^2.4.5","should":"^8.3.1","supervisor":"^0.10.0"},"_npmOperationalInternal":{"tmp":"tmp/telegraf-0.3.1.tgz_1461597498866_0.8101267828606069","host":"packages-12-west.internal.npmjs.com"}},"0.3.2":{"name":"telegraf","version":"0.3.2","keywords":["telegraf","telegram","telegram bot","telegram api","telegram bot api","bot","bot framework"],"author":{"name":"Vitaly Domnikov","email":"dotcypress@gmail.com"},"license":"MIT","_id":"telegraf@0.3.2","maintainers":[{"name":"dotcypress","email":"dotcypress@gmail.com"}],"homepage":"https://github.com/telegraf/telegraf#readme","bugs":{"url":"https://github.com/telegraf/telegraf/issues"},"dist":{"shasum":"2fe573550b1fae05d56388b37f0ed65a76f7f3b0","tarball":"https://registry.npmjs.org/telegraf/-/telegraf-0.3.2.tgz","integrity":"sha512-vYOdJekR7DKua8INNSvTm40j/0Iu891ilbcPGn7zUr+g2Lqkzf+K3mK3pde/qoigBDowEkGFHnhp8q8KlCIiEQ==","signatures":[{"sig":"MEUCIAkeaO7T0y8f+GwP1aP7dXJ2CuNnXmNU7xF81hDhT8d7AiEAhOweYhL78HbYa4HllXqEbQ6TiUkHTzD2U3CE5pKX+bU=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}]},"main":"lib/app.js","_from":".","files":["lib/app.js"],"_shasum":"2fe573550b1fae05d56388b37f0ed65a76f7f3b0","engines":{"node":">=4.0.0"},"gitHead":"5a17f4385d0632a28249806058417cb04899c08e","scripts":{"test":"mocha test"},"_npmUser":{"name":"dotcypress","email":"dotcypress@gmail.com"},"repository":{"url":"git+ssh://git@github.com/telegraf/telegraf.git","type":"git"},"_npmVersion":"3.6.0","description":"Telegram bot framework","directories":{},"_nodeVersion":"4.2.4","dependencies":{"debug":"^2.2.0","co-ware":"^1.6.0","form-data":"^1.0.0-rc4","node-fetch":"^1.5.1","koa-compose":"^2.4.0"},"devDependencies":{"mocha":"^2.4.5","should":"^8.3.1","supervisor":"^0.10.0"},"_npmOperationalInternal":{"tmp":"tmp/telegraf-0.3.2.tgz_1461897838944_0.7856909804977477","host":"packages-16-east.internal.npmjs.com"}},"0.4.0":{"name":"telegraf","version":"0.4.0","keywords":["telegraf","telegram","telegram bot","telegram api","telegram bot api","bot","bot framework"],"author":{"name":"Vitaly Domnikov","email":"dotcypress@gmail.com"},"license":"MIT","_id":"telegraf@0.4.0","maintainers":[{"name":"dotcypress","email":"dotcypress@gmail.com"}],"homepage":"https://github.com/telegraf/telegraf#readme","bugs":{"url":"https://github.com/telegraf/telegraf/issues"},"dist":{"shasum":"e0a5835f8a1a572e6ac1b862a579112fae81c0b0","tarball":"https://registry.npmjs.org/telegraf/-/telegraf-0.4.0.tgz","integrity":"sha512-J9xrcWOO+PVwzoh8jzPfTBXXXOnOMo05OGZ7pqAShdKs++33/JIaItQd6Y9y2YEklOmzcavH9x6qzUShVvj5OQ==","signatures":[{"sig":"MEQCIFE9yh4O2hZ19NmyYpGWgO+m93TLKUdNTvQcYpsYriXvAiBsrWiuhMf73nAflQ1vwKZxNmEFoStsu7VkbJa+FNz/dQ==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}]},"main":"lib/app.js","_from":".","files":["lib/app.js"],"_shasum":"e0a5835f8a1a572e6ac1b862a579112fae81c0b0","engines":{"node":">=4.0.0"},"gitHead":"23e81745454a44095336ef534ac314672145ef05","scripts":{"test":"mocha test"},"_npmUser":{"name":"dotcypress","email":"dotcypress@gmail.com"},"repository":{"url":"git+ssh://git@github.com/telegraf/telegraf.git","type":"git"},"_npmVersion":"3.6.0","description":"Telegram bot framework","directories":{},"_nodeVersion":"4.2.4","dependencies":{"debug":"^2.2.0","co-ware":"^1.6.0","form-data":"^1.0.0-rc4","node-fetch":"^1.5.1","koa-compose":"^2.4.0"},"devDependencies":{"mocha":"^2.4.5","should":"^8.3.1","supervisor":"^0.10.0"},"_npmOperationalInternal":{"tmp":"tmp/telegraf-0.4.0.tgz_1461900985934_0.08256090129725635","host":"packages-12-west.internal.npmjs.com"}},"0.4.1":{"name":"telegraf","version":"0.4.1","keywords":["telegraf","telegram","telegram bot","telegram api","telegram bot api","bot","bot framework"],"author":{"name":"Vitaly Domnikov","email":"dotcypress@gmail.com"},"license":"MIT","_id":"telegraf@0.4.1","maintainers":[{"name":"dotcypress","email":"dotcypress@gmail.com"}],"homepage":"https://github.com/telegraf/telegraf#readme","bugs":{"url":"https://github.com/telegraf/telegraf/issues"},"dist":{"shasum":"2b1e63485bf09215bc0a19c53f0e5ff4477c195a","tarball":"https://registry.npmjs.org/telegraf/-/telegraf-0.4.1.tgz","integrity":"sha512-ZurItBrwuHnuqpeVVWea4aye2Z3olCTolnqE+PaTwUZbeYS4+5vJgqJ+Pukn+tvRlJPQfi4Mr7mFUARqn500Ow==","signatures":[{"sig":"MEUCIQCctCgh0me5FvgKIzYSGIqXgmGtNr+H2KWX7dR8onSxJgIgSoxDPt2pm1nhokh9j/nyqH636XNBFprqYVuIUnkkfWU=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}]},"main":"lib/app.js","_from":".","files":["lib/app.js"],"_shasum":"2b1e63485bf09215bc0a19c53f0e5ff4477c195a","engines":{"node":">=4.0.0"},"gitHead":"dee054195a623e870a2b1057b640393d7101d360","scripts":{"test":"mocha test"},"_npmUser":{"name":"dotcypress","email":"dotcypress@gmail.com"},"repository":{"url":"git+ssh://git@github.com/telegraf/telegraf.git","type":"git"},"_npmVersion":"3.6.0","description":"Telegram bot framework","directories":{},"_nodeVersion":"4.2.4","dependencies":{"debug":"^2.2.0","co-ware":"^1.6.0","form-data":"^1.0.0-rc4","node-fetch":"^1.5.1","koa-compose":"^2.4.0"},"devDependencies":{"mocha":"^2.4.5","should":"^8.3.1","supervisor":"^0.10.0"},"_npmOperationalInternal":{"tmp":"tmp/telegraf-0.4.1.tgz_1461901163336_0.9569475662428886","host":"packages-16-east.internal.npmjs.com"}},"0.4.2":{"name":"telegraf","version":"0.4.2","keywords":["telegraf","telegram","telegram bot","telegram api","telegram bot api","bot","bot framework"],"author":{"name":"Vitaly Domnikov","email":"dotcypress@gmail.com"},"license":"MIT","_id":"telegraf@0.4.2","maintainers":[{"name":"dotcypress","email":"dotcypress@gmail.com"}],"homepage":"https://github.com/telegraf/telegraf#readme","bugs":{"url":"https://github.com/telegraf/telegraf/issues"},"dist":{"shasum":"59bd6e1d2507a1b6462adfb1d5349530ae29eb5f","tarball":"https://registry.npmjs.org/telegraf/-/telegraf-0.4.2.tgz","integrity":"sha512-nG6iiuxpby2yzGomOxA/Pc2RaFrh2iy1N8g4tTPpbwDveAVCVHaMcTLZgPAt9tKj7mvNNBlkQ5XMFkWGLooN6A==","signatures":[{"sig":"MEUCIQCdMpo17x3AP5/2c9Y4BMqlwThR5Ri7uC0GkEmHpcbtLQIgLK2+9//K5RMjQWsjN9vReW5Y20WN3jCsAFu/t9xJ5vI=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}]},"main":"lib/app.js","_from":".","files":["lib/app.js"],"_shasum":"59bd6e1d2507a1b6462adfb1d5349530ae29eb5f","engines":{"node":">=4.0.0"},"gitHead":"65d1e443f761d339682266be2feacf445bdff70d","scripts":{"test":"mocha test"},"_npmUser":{"name":"dotcypress","email":"dotcypress@gmail.com"},"repository":{"url":"git+ssh://git@github.com/telegraf/telegraf.git","type":"git"},"_npmVersion":"3.6.0","description":"Telegram bot framework","directories":{},"_nodeVersion":"4.2.4","dependencies":{"debug":"^2.2.0","co-ware":"^1.6.0","form-data":"^1.0.0-rc4","node-fetch":"^1.5.1","koa-compose":"^2.4.0"},"devDependencies":{"mocha":"^2.4.5","should":"^8.3.1","supervisor":"^0.10.0"},"_npmOperationalInternal":{"tmp":"tmp/telegraf-0.4.2.tgz_1461903644256_0.10353655461221933","host":"packages-16-east.internal.npmjs.com"}},"0.4.3":{"name":"telegraf","version":"0.4.3","keywords":["telegraf","telegram","telegram bot","telegram api","telegram bot api","bot","bot framework"],"author":{"name":"Vitaly Domnikov","email":"dotcypress@gmail.com"},"license":"MIT","_id":"telegraf@0.4.3","maintainers":[{"name":"dotcypress","email":"dotcypress@gmail.com"}],"homepage":"https://github.com/telegraf/telegraf#readme","bugs":{"url":"https://github.com/telegraf/telegraf/issues"},"dist":{"shasum":"bcd3668c7514eb3211cf0b109dc2d592daf65760","tarball":"https://registry.npmjs.org/telegraf/-/telegraf-0.4.3.tgz","integrity":"sha512-PPymuXCoK7uAj7xMlkTJARZb2/+tsxUbO1ARMZMPvjh2ypU1XkNOGj6O843bLQf/cZF4VtNgyd/glkpQtq9KFQ==","signatures":[{"sig":"MEQCIFeHZUyuX5ZH6ZhTfQDgUaB5u5zrHrzDUnEELH5cYCY8AiBIPQrNPAGX3yQ7tw3j1bSEt/y/obu9xgtcRAeh+E+flA==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}]},"main":"lib/app.js","_from":".","files":["lib/app.js"],"_shasum":"bcd3668c7514eb3211cf0b109dc2d592daf65760","engines":{"node":">=4.0.0"},"gitHead":"236f4f3a3fddfe6d7506d3f2e1f0bceafa4567bf","scripts":{"test":"mocha test"},"_npmUser":{"name":"dotcypress","email":"dotcypress@gmail.com"},"repository":{"url":"git+ssh://git@github.com/telegraf/telegraf.git","type":"git"},"_npmVersion":"3.6.0","description":"Telegram bot framework","directories":{},"_nodeVersion":"4.2.4","dependencies":{"debug":"^2.2.0","co-ware":"^1.6.0","form-data":"^1.0.0-rc4","node-fetch":"^1.5.1","koa-compose":"^2.4.0"},"devDependencies":{"mocha":"^2.4.5","should":"^8.3.1","supervisor":"^0.10.0"},"_npmOperationalInternal":{"tmp":"tmp/telegraf-0.4.3.tgz_1462248344408_0.08292520348913968","host":"packages-16-east.internal.npmjs.com"}},"0.4.4":{"name":"telegraf","version":"0.4.4","keywords":["telegraf","telegram","telegram bot","telegram api","telegram bot api","bot","bot framework"],"author":{"name":"Vitaly Domnikov","email":"dotcypress@gmail.com"},"license":"MIT","_id":"telegraf@0.4.4","maintainers":[{"name":"dotcypress","email":"dotcypress@gmail.com"}],"homepage":"https://github.com/telegraf/telegraf#readme","bugs":{"url":"https://github.com/telegraf/telegraf/issues"},"dist":{"shasum":"90803dbcef73cfad39621d12ad04008293e9d822","tarball":"https://registry.npmjs.org/telegraf/-/telegraf-0.4.4.tgz","integrity":"sha512-9Pt/J7BkTzje+M10UvJE6/2SyBeGMTpaiNyN1Ns1Dz3BhXuLbUjrJXQVdW/vG74I7jBN31lycgzxmw8AlC8rfw==","signatures":[{"sig":"MEQCIDQSr+73PYPH61TwG0txv8phRtHDag1oy8kPvPEsLz+LAiAcu9kIpENn6n5Ed+aAKRIbqj7ckbm0Z+VY6b3HwRLIvA==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}]},"main":"lib/app.js","_from":".","files":["lib/app.js"],"_shasum":"90803dbcef73cfad39621d12ad04008293e9d822","engines":{"node":">=4.0.0"},"gitHead":"2e7b52080893bcbbe33049b5b07ed0144402ad89","scripts":{"test":"mocha test"},"_npmUser":{"name":"dotcypress","email":"dotcypress@gmail.com"},"repository":{"url":"git+ssh://git@github.com/telegraf/telegraf.git","type":"git"},"_npmVersion":"3.6.0","description":"Telegram bot framework","directories":{},"_nodeVersion":"4.2.4","dependencies":{"debug":"^2.2.0","co-ware":"^1.6.0","form-data":"^1.0.0-rc4","node-fetch":"^1.5.1","koa-compose":"^2.4.0"},"devDependencies":{"mocha":"^2.4.5","should":"^8.3.1","supervisor":"^0.10.0"},"_npmOperationalInternal":{"tmp":"tmp/telegraf-0.4.4.tgz_1462431508534_0.9992110726889223","host":"packages-16-east.internal.npmjs.com"}},"0.5.0":{"name":"telegraf","version":"0.5.0","keywords":["telegraf","telegram","telegram bot","telegram api","telegram bot api","bot","bot framework"],"author":{"name":"Vitaly Domnikov","email":"dotcypress@gmail.com"},"license":"MIT","_id":"telegraf@0.5.0","maintainers":[{"name":"dotcypress","email":"dotcypress@gmail.com"}],"homepage":"https://github.com/telegraf/telegraf#readme","bugs":{"url":"https://github.com/telegraf/telegraf/issues"},"dist":{"shasum":"3df8ec5f0a20179387df2ce7f128ff0acd7e062a","tarball":"https://registry.npmjs.org/telegraf/-/telegraf-0.5.0.tgz","integrity":"sha512-qdxxE8uJa/A4UbSxJR55WsPOwsgqo1w2u3WL1qye/wCcPWgImpcwhCaj3ZWdgjKVXI2vfYQ9jiHSwKjFg4X1/w==","signatures":[{"sig":"MEUCIQD5PLsWqR+KedBuyksTajskKV3IOoCfrRK5gzGXoVinKQIgH0ZDAgy4zRhfScI4q8V9OSGKVgSHsxS4qT8MmMfoXzo=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}]},"main":"lib/telegraf.js","_from":".","files":["lib/telegraf.js","lib/memory-session.js"],"_shasum":"3df8ec5f0a20179387df2ce7f128ff0acd7e062a","engines":{"node":">=4.0.0"},"gitHead":"449e015f762266764b895bb2258115355d14225f","scripts":{"test":"mocha test"},"_npmUser":{"name":"dotcypress","email":"dotcypress@gmail.com"},"repository":{"url":"git+ssh://git@github.com/telegraf/telegraf.git","type":"git"},"_npmVersion":"3.6.0","description":"Telegram bot framework","directories":{},"_nodeVersion":"4.2.4","dependencies":{"debug":"^2.2.0","co-ware":"^1.6.0","form-data":"^1.0.0-rc4","node-fetch":"^1.5.1","koa-compose":"^2.4.0"},"devDependencies":{"mocha":"^2.4.5","should":"^8.3.1","supervisor":"^0.10.0"},"_npmOperationalInternal":{"tmp":"tmp/telegraf-0.5.0.tgz_1462659775924_0.5563319644425064","host":"packages-12-west.internal.npmjs.com"}},"0.6.0":{"name":"telegraf","version":"0.6.0","keywords":["telegraf","telegram","telegram bot","telegram api","telegram bot api","bot","bot framework"],"author":{"name":"Vitaly Domnikov","email":"dotcypress@gmail.com"},"license":"MIT","_id":"telegraf@0.6.0","maintainers":[{"name":"dotcypress","email":"dotcypress@gmail.com"}],"homepage":"https://github.com/telegraf/telegraf#readme","bugs":{"url":"https://github.com/telegraf/telegraf/issues"},"dist":{"shasum":"b19eec52993485a814822ca00c0637e4631edbf6","tarball":"https://registry.npmjs.org/telegraf/-/telegraf-0.6.0.tgz","integrity":"sha512-18yW12/hZo2GQPsMKaw7CPqrja1BQtiW9gr+hAYpaBSU7o2ks8bUv6gADP0juvp40JzGBIJVTcknDxS8WYwmug==","signatures":[{"sig":"MEYCIQCA3niDiC6XUv+/9U8sU6uiWZGy8k+wn3hsMWgUqlGkZQIhAMxxjsLTrh8uTaTHOwZcZt/oyIDImmSkT1v0s80PHTL4","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}]},"main":"lib/telegraf.js","_from":".","files":["lib/telegraf.js","lib/memory-session.js"],"_shasum":"b19eec52993485a814822ca00c0637e4631edbf6","engines":{"node":">=4.0.0"},"gitHead":"d7f89c0b118c1cf79339dccebb406da7bdff1fde","scripts":{"test":"mocha test"},"_npmUser":{"name":"dotcypress","email":"dotcypress@gmail.com"},"repository":{"url":"git+ssh://git@github.com/telegraf/telegraf.git","type":"git"},"_npmVersion":"3.6.0","description":"Telegram bot framework","directories":{},"_nodeVersion":"4.2.4","dependencies":{"debug":"^2.2.0","co-ware":"^1.6.0","form-data":"^1.0.0-rc4","node-fetch":"^1.5.1","koa-compose":"^2.4.0"},"devDependencies":{"mocha":"^2.4.5","should":"^8.3.1","supervisor":"^0.10.0"},"_npmOperationalInternal":{"tmp":"tmp/telegraf-0.6.0.tgz_1462742875948_0.0024859770201146603","host":"packages-16-east.internal.npmjs.com"}},"0.6.1":{"name":"telegraf","version":"0.6.1","keywords":["telegraf","telegram","telegram bot","telegram api","telegram bot api","bot","bot framework"],"author":{"name":"Vitaly Domnikov","email":"dotcypress@gmail.com"},"license":"MIT","_id":"telegraf@0.6.1","maintainers":[{"name":"dotcypress","email":"dotcypress@gmail.com"}],"homepage":"https://github.com/telegraf/telegraf#readme","bugs":{"url":"https://github.com/telegraf/telegraf/issues"},"dist":{"shasum":"71de44c4be2b7f32047d90158dfb16050b330ed0","tarball":"https://registry.npmjs.org/telegraf/-/telegraf-0.6.1.tgz","integrity":"sha512-jKopRWiqQi0fSBrMsd9khqadzd34A2ML3rN35E2XCw1wnNxUrDzddX4uTmNt6P8cxGzJsDfIfBtgM+eGjFClJA==","signatures":[{"sig":"MEUCIQCSYeWilz6A7svGNP4dkuh/DPclQ3Y+2Oc6DsBYqsaP/AIgKfHG3gWNVUM8o12oMbnaPHTXgZuuRabH9yXPzkbPJcI=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}]},"main":"lib/telegraf.js","_from":".","files":["lib/telegraf.js","lib/memory-session.js"],"_shasum":"71de44c4be2b7f32047d90158dfb16050b330ed0","engines":{"node":">=4.0.0"},"gitHead":"37086abd93e463c0e0c9b74b17025026fc0e55f4","scripts":{"test":"mocha test"},"_npmUser":{"name":"dotcypress","email":"dotcypress@gmail.com"},"repository":{"url":"git+ssh://git@github.com/telegraf/telegraf.git","type":"git"},"_npmVersion":"3.6.0","description":"Telegram bot framework","directories":{},"_nodeVersion":"4.2.4","dependencies":{"debug":"^2.2.0","co-ware":"^1.6.0","form-data":"^1.0.0-rc4","node-fetch":"^1.5.1","koa-compose":"^2.4.0"},"devDependencies":{"mocha":"^2.4.5","should":"^8.3.1","supervisor":"^0.10.0"},"_npmOperationalInternal":{"tmp":"tmp/telegraf-0.6.1.tgz_1462743777339_0.7046686648391187","host":"packages-16-east.internal.npmjs.com"}},"0.6.2":{"name":"telegraf","version":"0.6.2","keywords":["telegraf","telegram","telegram bot","telegram api","telegram bot api","bot","bot framework"],"author":{"name":"Vitaly Domnikov","email":"dotcypress@gmail.com"},"license":"MIT","_id":"telegraf@0.6.2","maintainers":[{"name":"dotcypress","email":"dotcypress@gmail.com"}],"homepage":"https://github.com/telegraf/telegraf#readme","bugs":{"url":"https://github.com/telegraf/telegraf/issues"},"dist":{"shasum":"81d139386397c7ab965d224666c077e81c237728","tarball":"https://registry.npmjs.org/telegraf/-/telegraf-0.6.2.tgz","integrity":"sha512-c+Jk1LDKJVsgDQ4fdkGefGP+s23eY6jxVxm1m9TsGJL6amvPQ9mwjj7WOz2btteMVXXPK6uTsG+WUpqTgt+wmA==","signatures":[{"sig":"MEUCIDpkW4fvy9n4C81pP/YRFxCbufUwIpzTkXrWoSieswp4AiEAoL/xJs7y4IEdwa6TnqarPPmLWih2KVVFn6Ts7F+eWvA=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}]},"main":"lib/telegraf.js","_from":".","files":["lib/telegraf.js","lib/memory-session.js"],"_shasum":"81d139386397c7ab965d224666c077e81c237728","engines":{"node":">=4.0.0"},"gitHead":"03a026b05677ad52162c6b3183ec613b8239d525","scripts":{"test":"mocha test"},"_npmUser":{"name":"dotcypress","email":"dotcypress@gmail.com"},"repository":{"url":"git+ssh://git@github.com/telegraf/telegraf.git","type":"git"},"_npmVersion":"3.6.0","description":"📢 Modern Telegram bot framework","directories":{},"_nodeVersion":"4.2.4","dependencies":{"debug":"^2.2.0","co-ware":"^1.6.0","form-data":"^1.0.0-rc4","node-fetch":"^1.5.1","koa-compose":"^2.4.0"},"devDependencies":{"mocha":"^2.4.5","should":"^8.3.1","supervisor":"^0.10.0"},"_npmOperationalInternal":{"tmp":"tmp/telegraf-0.6.2.tgz_1462857743140_0.1408771222922951","host":"packages-12-west.internal.npmjs.com"}},"0.6.3":{"name":"telegraf","version":"0.6.3","keywords":["telegraf","telegram","telegram bot","telegram api","telegram bot api","bot","bot framework"],"author":{"name":"Vitaly Domnikov","email":"dotcypress@gmail.com"},"license":"MIT","_id":"telegraf@0.6.3","maintainers":[{"name":"dotcypress","email":"dotcypress@gmail.com"}],"homepage":"https://github.com/telegraf/telegraf#readme","bugs":{"url":"https://github.com/telegraf/telegraf/issues"},"dist":{"shasum":"487631864fb634d5cad5803b2775246030ed7ce7","tarball":"https://registry.npmjs.org/telegraf/-/telegraf-0.6.3.tgz","integrity":"sha512-0X6rz2DP/Q9N2GpeDTUBsR1hHH+lG+1h5y68fDukrNd2InVCcccLcKQiF8snpmABCoC6OBUIXp9m9JJC/IMAUg==","signatures":[{"sig":"MEUCIQCpCk2QP0pLe5DiwcNnlJ7TYgkRGq/vzepCpN9bH2xc0QIgX0dmKLKbEAadcaz4CltE3pYk2gcefVBJfn+BNXahYd8=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}]},"main":"lib/telegraf.js","_from":".","files":["lib/telegraf.js","lib/memory-session.js"],"_shasum":"487631864fb634d5cad5803b2775246030ed7ce7","engines":{"node":">=4.0.0"},"gitHead":"df5acd1e4edf095ab1747c6a3a0984385f8e79a4","scripts":{"test":"mocha test"},"_npmUser":{"name":"dotcypress","email":"dotcypress@gmail.com"},"repository":{"url":"git+ssh://git@github.com/telegraf/telegraf.git","type":"git"},"_npmVersion":"3.6.0","description":"📢 Modern Telegram bot framework","directories":{},"_nodeVersion":"4.2.4","dependencies":{"debug":"^2.2.0","co-ware":"^1.6.0","form-data":"^1.0.0-rc4","node-fetch":"^1.5.1","koa-compose":"^2.4.0"},"devDependencies":{"mocha":"^2.4.5","should":"^8.3.1","supervisor":"^0.10.0"},"_npmOperationalInternal":{"tmp":"tmp/telegraf-0.6.3.tgz_1462858131652_0.466856969287619","host":"packages-16-east.internal.npmjs.com"}},"0.7.0":{"name":"telegraf","version":"0.7.0","keywords":["telegraf","telegram","telegram bot","telegram api","telegram bot api","bot","bot framework"],"license":"MIT","_id":"telegraf@0.7.0","maintainers":[{"name":"dotcypress","email":"dotcypress@gmail.com"}],"homepage":"https://github.com/telegraf/telegraf#readme","bugs":{"url":"https://github.com/telegraf/telegraf/issues"},"dist":{"shasum":"f2840ea840754adaa56113263d87f2b79d968ff5","tarball":"https://registry.npmjs.org/telegraf/-/telegraf-0.7.0.tgz","integrity":"sha512-ZwF0SuYuHWxheBTamoN4DRQyuYk6/6Eag6me2gtL9AFq52297RkFs+cmto/uttXAJPJhaOcIUkGVIsn9/8IUIg==","signatures":[{"sig":"MEYCIQCs/jbro6+6ywwKWjXTP8mzZL5yL5v0WSz+5nk/zM8segIhANoDB/G/RbsjQbQ0d90UEf3BDbq6znbASMnEQ1fYZ82M","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}]},"main":"lib/telegraf.js","_from":".","files":["lib/telegraf.js","lib/memory-session.js"],"_shasum":"f2840ea840754adaa56113263d87f2b79d968ff5","authors":["Vitaly Domnikov "],"engines":{"node":">=4.4.4"},"gitHead":"bcbc42d3ea66b9d603de8814b9c54b4e7ef33cd5","scripts":{"test":"mocha test"},"_npmUser":{"name":"dotcypress","email":"dotcypress@gmail.com"},"repository":{"url":"git+ssh://git@github.com/telegraf/telegraf.git","type":"git"},"_npmVersion":"3.9.0","description":"📢 Modern Telegram bot framework","directories":{},"_nodeVersion":"4.2.4","dependencies":{"debug":"^2.2.0","co-ware":"^1.6.0","form-data":"^1.0.0-rc4","node-fetch":"^1.5.1"},"devDependencies":{"mocha":"^2.4.5","should":"^8.3.1","supervisor":"^0.10.0"},"_npmOperationalInternal":{"tmp":"tmp/telegraf-0.7.0.tgz_1463180419027_0.4581900271587074","host":"packages-16-east.internal.npmjs.com"}},"0.8.0":{"name":"telegraf","version":"0.8.0","keywords":["telegraf","telegram","telegram bot","telegram api","telegram bot api","bot","bot framework"],"license":"MIT","_id":"telegraf@0.8.0","maintainers":[{"name":"dotcypress","email":"dotcypress@gmail.com"}],"homepage":"https://github.com/telegraf/telegraf#readme","bugs":{"url":"https://github.com/telegraf/telegraf/issues"},"dist":{"shasum":"8efb9e452baa05e091306a59de8aeb63803c985a","tarball":"https://registry.npmjs.org/telegraf/-/telegraf-0.8.0.tgz","integrity":"sha512-4tITpSFTdtNzSqXdHfe09NVlTvrRwDYeRHQoF/zQKWK2amOYUbbdXA2uzWVZ7A5pnEc8EmTHa7sSqgFcSFMqaA==","signatures":[{"sig":"MEUCIA7nxdqp+7HMdW2jY8li7z2cEgrDX9uobgt+fxngr/6kAiEAxRBX0bRFv/1H0cHJ5AbXZs3dJDSo79TMSXVGgdVi9XY=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}]},"main":"lib/telegraf.js","_from":".","files":["lib/telegraf.js","lib/constants.js","lib/memory-session.js"],"_shasum":"8efb9e452baa05e091306a59de8aeb63803c985a","authors":["Vitaly Domnikov "],"engines":{"node":">=4.4.4"},"gitHead":"1f47362584db61e49215ae6508cc84dd51ab081a","scripts":{"test":"mocha test"},"_npmUser":{"name":"dotcypress","email":"dotcypress@gmail.com"},"repository":{"url":"git+ssh://git@github.com/telegraf/telegraf.git","type":"git"},"_npmVersion":"3.8.9","description":"📢 Modern Telegram bot framework","directories":{},"_nodeVersion":"6.2.0","dependencies":{"debug":"^2.2.0","co-ware":"^1.6.0","form-data":"^1.0.0-rc4","node-fetch":"^1.5.1"},"devDependencies":{"mocha":"^2.4.5","eslint":"^2.10.2","should":"^8.3.1","supervisor":"^0.10.0","eslint-plugin-mocha":"^2.2.0"},"_npmOperationalInternal":{"tmp":"tmp/telegraf-0.8.0.tgz_1463906941782_0.12049449747428298","host":"packages-16-east.internal.npmjs.com"}},"0.9.0":{"name":"telegraf","version":"0.9.0","keywords":["telegraf","telegram","telegram bot","telegram api","telegram bot api","bot","bot framework"],"license":"MIT","_id":"telegraf@0.9.0","maintainers":[{"name":"dotcypress","email":"dotcypress@gmail.com"}],"homepage":"https://github.com/telegraf/telegraf#readme","bugs":{"url":"https://github.com/telegraf/telegraf/issues"},"dist":{"shasum":"34e0957d7a8f5e58f96c6ca8b75d91a429218440","tarball":"https://registry.npmjs.org/telegraf/-/telegraf-0.9.0.tgz","integrity":"sha512-YhiyYV0PyzanDLMNGJ3Fk2AWXbOEg3HyhS5A2mvD83e/xmtrAW8OBKjEAQVFSnWdIiBAmu4tJTYiAlK9eEg/yg==","signatures":[{"sig":"MEQCIA+SWUeIJJQQ0TaAAc+d6yJjfRH3ITMitRpnLGwYQqy7AiB1WLSTVPeRSvzCGrWFgLqT9BNK7Mq1i5WwGLn7xe6jZg==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}]},"main":"lib/telegraf.js","_from":".","files":["lib/telegraf.js","lib/constants.js","lib/memory-session.js"],"_shasum":"34e0957d7a8f5e58f96c6ca8b75d91a429218440","authors":["Vitaly Domnikov "],"engines":{"node":">=4.4.4"},"gitHead":"8a4c785a0924081b2b542b18b244b3187f6ed2dc","scripts":{"test":"mocha test"},"_npmUser":{"name":"dotcypress","email":"dotcypress@gmail.com"},"repository":{"url":"git+ssh://git@github.com/telegraf/telegraf.git","type":"git"},"_npmVersion":"3.8.9","description":"📢 Modern Telegram bot framework","directories":{},"_nodeVersion":"6.2.0","dependencies":{"debug":"^2.2.0","co-ware":"^1.6.0","form-data":"^1.0.0-rc4","node-fetch":"^1.5.1"},"devDependencies":{"mocha":"^2.4.5","eslint":"^2.10.2","should":"^8.3.1","supervisor":"^0.10.0","eslint-plugin-mocha":"^2.2.0"},"_npmOperationalInternal":{"tmp":"tmp/telegraf-0.9.0.tgz_1463909943359_0.4707499125506729","host":"packages-12-west.internal.npmjs.com"}},"0.9.1":{"name":"telegraf","version":"0.9.1","keywords":["telegraf","telegram","telegram bot","telegram api","telegram bot api","bot","bot framework"],"license":"MIT","_id":"telegraf@0.9.1","maintainers":[{"name":"dotcypress","email":"dotcypress@gmail.com"}],"homepage":"https://github.com/telegraf/telegraf#readme","bugs":{"url":"https://github.com/telegraf/telegraf/issues"},"dist":{"shasum":"c952c0f573805213f2742f2fdc54850bf852aa7d","tarball":"https://registry.npmjs.org/telegraf/-/telegraf-0.9.1.tgz","integrity":"sha512-ekTH7386aD/mcSXwGZnjXQxgRboUp04+YsfwgAXcf/9kb8iMT87/7WkoO3LsfU9QJar3+nBDJlg92qmpyAvwsQ==","signatures":[{"sig":"MEQCIHWkCkw1CbUg0/NT9vJo9g3wLGVncX7UZ7Ee48WxcLksAiB7j/cAfWf42Q1TnDd49vzptYrp8uxTxaIhuSmZhlEORQ==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}]},"main":"lib/telegraf.js","_from":".","files":["lib/telegraf.js","lib/constants.js","lib/memory-session.js"],"_shasum":"c952c0f573805213f2742f2fdc54850bf852aa7d","authors":["Vitaly Domnikov "],"engines":{"node":">=4.4.4"},"gitHead":"f9054531dbb510187b2c31dc02298929e0bcaf0a","scripts":{"test":"mocha test"},"_npmUser":{"name":"dotcypress","email":"dotcypress@gmail.com"},"repository":{"url":"git+ssh://git@github.com/telegraf/telegraf.git","type":"git"},"_npmVersion":"3.8.9","description":"📢 Modern Telegram bot framework","directories":{},"_nodeVersion":"6.2.0","dependencies":{"debug":"^2.2.0","co-ware":"^1.6.0","form-data":"^1.0.0-rc4","node-fetch":"^1.5.1"},"devDependencies":{"mocha":"^2.4.5","eslint":"^2.10.2","should":"^8.3.1","supervisor":"^0.10.0","eslint-plugin-mocha":"^2.2.0"},"_npmOperationalInternal":{"tmp":"tmp/telegraf-0.9.1.tgz_1463910522517_0.5150958052836359","host":"packages-16-east.internal.npmjs.com"}},"0.9.2":{"name":"telegraf","version":"0.9.2","keywords":["telegraf","telegram","telegram bot","telegram api","telegram bot api","bot","bot framework"],"license":"MIT","_id":"telegraf@0.9.2","maintainers":[{"name":"dotcypress","email":"dotcypress@gmail.com"}],"homepage":"https://github.com/telegraf/telegraf#readme","bugs":{"url":"https://github.com/telegraf/telegraf/issues"},"dist":{"shasum":"ce968964a683b129ad3dc6fe9846f9ae6c2b8948","tarball":"https://registry.npmjs.org/telegraf/-/telegraf-0.9.2.tgz","integrity":"sha512-dmozYcDcP53rfDwkpb24l6AvloCEL7IDJlrIL1Nqt02xh3KpF8g3SvLvWlid7a3D/csve2RqgbSMKIAvS/J7Rg==","signatures":[{"sig":"MEYCIQCiKQ71tMyep28VWwUFj3R6kD2aUSxpubv0seR9lWHY6gIhAK9W8M8mbA2Sk6bu6ymYhkmnIHr7nTI6vVfkTOPTkiue","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}]},"main":"lib/telegraf.js","_from":".","files":["lib/telegraf.js","lib/constants.js","lib/memory-session.js"],"_shasum":"ce968964a683b129ad3dc6fe9846f9ae6c2b8948","authors":["Vitaly Domnikov "],"engines":{"node":">=4.4.4"},"gitHead":"1d02d050796ecff09d939e86349e737c28f9f27b","scripts":{"test":"mocha test"},"_npmUser":{"name":"dotcypress","email":"dotcypress@gmail.com"},"repository":{"url":"git+ssh://git@github.com/telegraf/telegraf.git","type":"git"},"_npmVersion":"3.8.9","description":"📢 Modern Telegram bot framework","directories":{},"_nodeVersion":"6.2.0","dependencies":{"debug":"^2.2.0","co-ware":"^1.6.0","form-data":"^1.0.0-rc4","node-fetch":"^1.5.1"},"devDependencies":{"mocha":"^2.4.5","eslint":"^2.10.2","should":"^8.3.1","supervisor":"^0.10.0","eslint-plugin-mocha":"^2.2.0"},"_npmOperationalInternal":{"tmp":"tmp/telegraf-0.9.2.tgz_1463910704767_0.6479759416542947","host":"packages-12-west.internal.npmjs.com"}},"0.9.3":{"name":"telegraf","version":"0.9.3","keywords":["telegraf","telegram","telegram bot","telegram api","telegram bot api","bot","bot framework"],"license":"MIT","_id":"telegraf@0.9.3","maintainers":[{"name":"dotcypress","email":"dotcypress@gmail.com"}],"homepage":"https://github.com/telegraf/telegraf#readme","bugs":{"url":"https://github.com/telegraf/telegraf/issues"},"dist":{"shasum":"c6820815a0fc19d77432cf4d7ccc9e2063def232","tarball":"https://registry.npmjs.org/telegraf/-/telegraf-0.9.3.tgz","integrity":"sha512-O+8cD/P8jq06K10kxNK+Xwg61dqiPRheqJ9zlNF0rvwOFyPThPB6b8dA9gAGHgRPLlWH1d7WDC0vacE4EeaT0g==","signatures":[{"sig":"MEQCIBQjQ+2LGebi2a8yiEE73lQtRvC/E4Xy8hYgsHZad/BkAiBPQg9qDsOkjRfWoOeaLmCAfgEoMmwW9lIVmbkuAb9oEA==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}]},"main":"lib/telegraf.js","_from":".","files":["lib/telegraf.js","lib/constants.js","lib/memory-session.js"],"_shasum":"c6820815a0fc19d77432cf4d7ccc9e2063def232","authors":["Vitaly Domnikov "],"engines":{"node":">=4.4.4"},"gitHead":"228f7c9df35716a78b1a085d907e416ff07d4e26","scripts":{"test":"mocha test"},"_npmUser":{"name":"dotcypress","email":"dotcypress@gmail.com"},"repository":{"url":"git+ssh://git@github.com/telegraf/telegraf.git","type":"git"},"_npmVersion":"3.8.9","description":"📢 Modern Telegram bot framework","directories":{},"_nodeVersion":"6.2.0","dependencies":{"debug":"^2.2.0","co-ware":"^1.6.0","form-data":"^1.0.0-rc4","node-fetch":"^1.5.1"},"devDependencies":{"mocha":"^2.4.5","eslint":"^2.10.2","should":"^8.3.1","supervisor":"^0.10.0","eslint-plugin-mocha":"^2.2.0"},"_npmOperationalInternal":{"tmp":"tmp/telegraf-0.9.3.tgz_1463921078601_0.1472161621786654","host":"packages-16-east.internal.npmjs.com"}},"0.9.4":{"name":"telegraf","version":"0.9.4","keywords":["telegraf","telegram","telegram bot","telegram api","telegram bot api","bot","bot framework"],"license":"MIT","_id":"telegraf@0.9.4","maintainers":[{"name":"dotcypress","email":"dotcypress@gmail.com"}],"homepage":"https://github.com/telegraf/telegraf#readme","bugs":{"url":"https://github.com/telegraf/telegraf/issues"},"dist":{"shasum":"3a71b6eebb34ebe08735b1590296c3c5d615a155","tarball":"https://registry.npmjs.org/telegraf/-/telegraf-0.9.4.tgz","integrity":"sha512-oS/e+Gw4Vpu/InpnvZvJutYTrdi+VTdJ2PW9jHwJRJp6b+Mlj4Wclm0xndUpuLZfIXSs8lvqb5lF76hfAnmlLw==","signatures":[{"sig":"MEYCIQDkZC9aYDREutQrFEhFSgdsPSmML3EdZHj1scv0/4YOCQIhANaYfDPPIcAnJ0zwRbp2Zeamw+KPK/zj+tQEdfapPXn6","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}]},"main":"lib/telegraf.js","_from":".","files":["lib/telegraf.js","lib/constants.js","lib/memory-session.js"],"_shasum":"3a71b6eebb34ebe08735b1590296c3c5d615a155","authors":["Vitaly Domnikov "],"engines":{"node":">=4.4.4"},"gitHead":"c4eeeeaa8b90d2e8a26eaa957d6b0c51268ec87d","scripts":{"test":"mocha test"},"_npmUser":{"name":"dotcypress","email":"dotcypress@gmail.com"},"repository":{"url":"git+ssh://git@github.com/telegraf/telegraf.git","type":"git"},"_npmVersion":"3.8.9","description":"📢 Modern Telegram bot framework","directories":{},"_nodeVersion":"6.2.0","dependencies":{"debug":"^2.2.0","co-ware":"^1.6.0","form-data":"^1.0.0-rc4","node-fetch":"^1.5.1"},"devDependencies":{"mocha":"^2.4.5","eslint":"^2.10.2","should":"^8.3.1","supervisor":"^0.10.0","eslint-plugin-mocha":"^2.2.0"},"_npmOperationalInternal":{"tmp":"tmp/telegraf-0.9.4.tgz_1463923403880_0.5408058727625757","host":"packages-16-east.internal.npmjs.com"}},"0.9.5":{"name":"telegraf","version":"0.9.5","keywords":["telegraf","telegram","telegram bot","telegram api","telegram bot api","bot","bot framework"],"license":"MIT","_id":"telegraf@0.9.5","maintainers":[{"name":"dotcypress","email":"dotcypress@gmail.com"}],"homepage":"https://github.com/telegraf/telegraf#readme","bugs":{"url":"https://github.com/telegraf/telegraf/issues"},"dist":{"shasum":"cda8a1b5b792df2a6b5a8654614d0b766054bc90","tarball":"https://registry.npmjs.org/telegraf/-/telegraf-0.9.5.tgz","integrity":"sha512-0WfApGy0rWj1JSmUS7lPuDREdokXJxDt6lEC49OMRhGp9pIBi1MtVxIRSkF9iJvciWR6693WMsWGY7SMvkFqlg==","signatures":[{"sig":"MEYCIQC4d+1kTNtpu3sL5Nt0vDigtMLxz9IshguRJtLBja1W9AIhAM8YKTSs049AKCsjcflssOMnWvxJ5d5opUba3vLYzQ6e","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}]},"main":"lib/telegraf.js","_from":".","files":["lib/telegraf.js","lib/constants.js","lib/memory-session.js"],"_shasum":"cda8a1b5b792df2a6b5a8654614d0b766054bc90","authors":["Vitaly Domnikov "],"engines":{"node":">=4.4.4"},"gitHead":"f4477f8be820445209c4282991e6f63991daaf1c","scripts":{"test":"mocha test"},"_npmUser":{"name":"dotcypress","email":"dotcypress@gmail.com"},"repository":{"url":"git+ssh://git@github.com/telegraf/telegraf.git","type":"git"},"_npmVersion":"3.8.9","description":"📢 Modern Telegram bot framework","directories":{},"_nodeVersion":"6.2.0","dependencies":{"debug":"^2.2.0","co-ware":"^1.6.0","form-data":"^1.0.0-rc4","node-fetch":"^1.5.1"},"devDependencies":{"mocha":"^2.4.5","eslint":"^2.10.2","should":"^8.3.1","supervisor":"^0.10.0","eslint-plugin-mocha":"^2.2.0"},"_npmOperationalInternal":{"tmp":"tmp/telegraf-0.9.5.tgz_1463925123403_0.025505477795377374","host":"packages-16-east.internal.npmjs.com"}},"0.9.6":{"name":"telegraf","version":"0.9.6","keywords":["telegraf","telegram","telegram bot","telegram api","telegram bot api","bot","bot framework"],"license":"MIT","_id":"telegraf@0.9.6","maintainers":[{"name":"dotcypress","email":"dotcypress@gmail.com"}],"homepage":"https://github.com/telegraf/telegraf#readme","bugs":{"url":"https://github.com/telegraf/telegraf/issues"},"dist":{"shasum":"c24261329dd6e470b46e64246cdc0841f0b491ab","tarball":"https://registry.npmjs.org/telegraf/-/telegraf-0.9.6.tgz","integrity":"sha512-lBbPfXgUOhTNFLs0R6C9nPjwuSxFbToFpv5SdFkVjflHO1QMYlzuAKef+P0MBEDXaLsmIAvgRYGsgv0isppcLA==","signatures":[{"sig":"MEUCIH4Sbt3snIPWWbDN5IZWh5ZWyFUYkZUanee4I+HVStCeAiEA1CVI5mjJ76ES5a/+3AJBx6n9bUxIIHiruyn0gDzu5LE=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}]},"main":"lib/telegraf.js","_from":".","files":["lib/telegraf.js","lib/constants.js","lib/memory-session.js"],"_shasum":"c24261329dd6e470b46e64246cdc0841f0b491ab","authors":["Vitaly Domnikov "],"engines":{"node":">=4.4.4"},"gitHead":"22347b39894d7cadc517f1eabd1531a9cd12203e","scripts":{"test":"mocha test"},"_npmUser":{"name":"dotcypress","email":"dotcypress@gmail.com"},"repository":{"url":"git+ssh://git@github.com/telegraf/telegraf.git","type":"git"},"_npmVersion":"3.8.9","description":"📢 Modern Telegram bot framework","directories":{},"_nodeVersion":"6.2.0","dependencies":{"debug":"^2.2.0","co-ware":"^1.6.0","is-stream":"^1.1.0","node-fetch":"^1.5.1","multipart-stream":"^2.0.1"},"devDependencies":{"mocha":"^2.4.5","eslint":"^2.10.2","should":"^8.3.1","supervisor":"^0.10.0","eslint-plugin-mocha":"^2.2.0","eslint-plugin-promise":"^1.1.0","eslint-config-standard":"^5.3.1","eslint-plugin-standard":"^1.3.2"},"_npmOperationalInternal":{"tmp":"tmp/telegraf-0.9.6.tgz_1464067291205_0.8970509546343237","host":"packages-16-east.internal.npmjs.com"}},"0.9.7":{"name":"telegraf","version":"0.9.7","keywords":["telegraf","telegram","telegram bot","telegram api","telegram bot api","bot","bot framework"],"license":"MIT","_id":"telegraf@0.9.7","maintainers":[{"name":"dotcypress","email":"dotcypress@gmail.com"}],"homepage":"https://github.com/telegraf/telegraf#readme","bugs":{"url":"https://github.com/telegraf/telegraf/issues"},"dist":{"shasum":"c63a2e06b6a041174e6bfe479904d56e41e047d2","tarball":"https://registry.npmjs.org/telegraf/-/telegraf-0.9.7.tgz","integrity":"sha512-M5lrjK+cDJCsUBEGa83ix58CMHF7npzKS/v96lgmzMdjBhVcKl8FtXVHu/NxmcxtUZJ8Y92bfMCU/1LNZa0JoQ==","signatures":[{"sig":"MEUCIBk/+8FccYcF+0MXlpXZsS3qVqsw446dOzz9omMZO92OAiEAp2Y1cLgUFAZ14uhCldS43K9muo9oS7Ux/d83ARj890Q=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}]},"main":"lib/telegraf.js","_from":".","files":["api.md","lib/telegraf.js","lib/telegram-api.js","lib/constants.js","lib/memory-session.js"],"_shasum":"c63a2e06b6a041174e6bfe479904d56e41e047d2","authors":["Vitaly Domnikov "],"engines":{"node":">=4.4.4"},"gitHead":"af1f4a09be94dbfbfbd7b719faca413a8f248c48","scripts":{"test":"mocha test"},"_npmUser":{"name":"dotcypress","email":"dotcypress@gmail.com"},"repository":{"url":"git+ssh://git@github.com/telegraf/telegraf.git","type":"git"},"_npmVersion":"3.8.9","description":"📢 Modern Telegram bot framework","directories":{},"_nodeVersion":"6.2.0","dependencies":{"debug":"^2.2.0","co-ware":"^1.6.0","bluebird":"^3.4.0","is-stream":"^1.1.0","node-fetch":"^1.5.1","multipart-stream":"^2.0.1"},"devDependencies":{"mocha":"^2.4.5","eslint":"^2.10.2","should":"^8.3.1","supervisor":"^0.10.0","eslint-plugin-mocha":"^2.2.0","eslint-plugin-promise":"^1.1.0","eslint-config-standard":"^5.3.1","eslint-plugin-standard":"^1.3.2"},"_npmOperationalInternal":{"tmp":"tmp/telegraf-0.9.7.tgz_1464076145036_0.3296558412257582","host":"packages-16-east.internal.npmjs.com"}},"1.0.0":{"name":"telegraf","version":"1.0.0","keywords":["telegraf","telegram","telegram bot","telegram api","telegram bot api","bot","bot framework"],"license":"MIT","_id":"telegraf@1.0.0","maintainers":[{"name":"dotcypress","email":"dotcypress@gmail.com"}],"homepage":"https://github.com/telegraf/telegraf#readme","bugs":{"url":"https://github.com/telegraf/telegraf/issues"},"dist":{"shasum":"1312bb6d749a0114ce817cb60c8ec18f7b01080f","tarball":"https://registry.npmjs.org/telegraf/-/telegraf-1.0.0.tgz","integrity":"sha512-+nb95XgU6pJP04LL0mZ4Jjop3eeQsLSAXeUzJ3D2SaOkmAMcFpqdZETq5gG64dwTzGschyXN8ggrIlYeiRzGXA==","signatures":[{"sig":"MEQCIEUSjYeVj3/IxmNpLBPGnuIfPzIJMDiVyEt+au06f/TJAiBLDSIjh67mmE4axujc8pY+6UGEeQQrykd2+9zxT+HMFg==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}]},"main":"lib/telegraf.js","_from":".","files":["api.md","lib/telegraf.js","lib/telegram-api.js","lib/constants.js","lib/memory-session.js"],"_shasum":"1312bb6d749a0114ce817cb60c8ec18f7b01080f","authors":["Vitaly Domnikov "],"engines":{"node":">=4.4.4"},"gitHead":"b7e372b525fba8a805ebf7aa769307e97f8a13c8","scripts":{"test":"mocha test"},"_npmUser":{"name":"dotcypress","email":"dotcypress@gmail.com"},"repository":{"url":"git+ssh://git@github.com/telegraf/telegraf.git","type":"git"},"_npmVersion":"3.8.9","description":"📢 Modern Telegram bot framework","directories":{},"_nodeVersion":"6.2.0","dependencies":{"debug":"^2.2.0","co-ware":"^1.6.0","bluebird":"^3.4.0","is-stream":"^1.1.0","node-fetch":"^1.5.1","multipart-stream":"^2.0.1"},"devDependencies":{"mocha":"^2.4.5","eslint":"^2.10.2","should":"^8.3.1","supervisor":"^0.10.0","eslint-plugin-mocha":"^2.2.0","eslint-plugin-promise":"^1.1.0","eslint-config-standard":"^5.3.1","eslint-plugin-standard":"^1.3.2"},"_npmOperationalInternal":{"tmp":"tmp/telegraf-1.0.0.tgz_1464125616450_0.45193801168352365","host":"packages-16-east.internal.npmjs.com"}},"1.1.0":{"name":"telegraf","version":"1.1.0","keywords":["telegraf","telegram","telegram bot","telegram api","telegram bot api","bot","bot framework"],"license":"MIT","_id":"telegraf@1.1.0","maintainers":[{"name":"dotcypress","email":"dotcypress@gmail.com"}],"homepage":"https://github.com/telegraf/telegraf#readme","bugs":{"url":"https://github.com/telegraf/telegraf/issues"},"dist":{"shasum":"2bcdd88a378469d3333a17c460476189136a6e78","tarball":"https://registry.npmjs.org/telegraf/-/telegraf-1.1.0.tgz","integrity":"sha512-s6l+cnKWiRafPy7pcQfRwT57Q/eDeglYaq/R8lijfTA/wsdZwH612mDnQXm2y3zkVbd+iQDsrvZiSJTHIzFjJw==","signatures":[{"sig":"MEUCIE+YLtNs14+jLfcyCsFhPavsOjJ9jMA4sYoS68QHSiKJAiEA7MYDgizmIjjnIhdB200A1YhcyqvLaMUHSDpBqaGReKE=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}]},"main":"lib/telegraf.js","_from":".","files":["api.md","lib/telegraf.js","lib/telegram-api.js","lib/platform.js","lib/memory-session.js"],"_shasum":"2bcdd88a378469d3333a17c460476189136a6e78","authors":["Vitaly Domnikov "],"engines":{"node":">=4.4.4"},"gitHead":"044c5886347b105a49f4578330550682089beeb3","scripts":{"test":"mocha test"},"_npmUser":{"name":"dotcypress","email":"dotcypress@gmail.com"},"repository":{"url":"git+ssh://git@github.com/telegraf/telegraf.git","type":"git"},"_npmVersion":"3.8.9","description":"📢 Modern Telegram bot framework","directories":{},"_nodeVersion":"6.2.0","dependencies":{"debug":"^2.2.0","co-ware":"^1.6.0","bluebird":"^3.4.0","is-stream":"^1.1.0","node-fetch":"^1.5.1","multipart-stream":"^2.0.1"},"devDependencies":{"mocha":"^2.4.5","eslint":"^2.10.2","should":"^8.3.1","supervisor":"^0.10.0","eslint-plugin-mocha":"^2.2.0","eslint-plugin-promise":"^1.1.0","eslint-config-standard":"^5.3.1","eslint-plugin-standard":"^1.3.2"},"_npmOperationalInternal":{"tmp":"tmp/telegraf-1.1.0.tgz_1464581920092_0.6130386805161834","host":"packages-12-west.internal.npmjs.com"}},"1.1.1":{"name":"telegraf","version":"1.1.1","keywords":["telegraf","telegram","telegram bot","telegram api","telegram bot api","bot","bot framework"],"license":"MIT","_id":"telegraf@1.1.1","maintainers":[{"name":"dotcypress","email":"dotcypress@gmail.com"}],"homepage":"https://github.com/telegraf/telegraf#readme","bugs":{"url":"https://github.com/telegraf/telegraf/issues"},"dist":{"shasum":"69c4c4789fac0ae414ffe782c8e49096463c8e53","tarball":"https://registry.npmjs.org/telegraf/-/telegraf-1.1.1.tgz","integrity":"sha512-ybPX0gJ4z90kNpXUWcfQmIVs3AyX3UU2SdJEJxUuMLl3H05WTGEO67whF48vBo7V17Tp/vQCUXH65YL8uCgM3A==","signatures":[{"sig":"MEQCICTSEaBku8PPXNuESJIftdjMFhBS/9R166iFNx4fA2AKAiBAucyxHvxyVL5KyUKS6gDPjg3h0j55qQ/Zdwnyh3b40A==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}]},"main":"lib/telegraf.js","_from":".","files":["api.md","lib/telegraf.js","lib/telegram-api.js","lib/platform.js","lib/memory-session.js"],"_shasum":"69c4c4789fac0ae414ffe782c8e49096463c8e53","authors":["Vitaly Domnikov "],"engines":{"node":">=4.4.4"},"gitHead":"96b015cc40039793bbd8e4a236be6867440468a5","scripts":{"test":"mocha test"},"_npmUser":{"name":"dotcypress","email":"dotcypress@gmail.com"},"repository":{"url":"git+ssh://git@github.com/telegraf/telegraf.git","type":"git"},"_npmVersion":"3.8.9","description":"📢 Modern Telegram bot framework","directories":{},"_nodeVersion":"6.2.0","dependencies":{"debug":"^2.2.0","lodash":"^4.13.1","co-ware":"^1.6.0","bluebird":"^3.4.0","is-stream":"^1.1.0","node-fetch":"^1.5.1","multipart-stream":"^2.0.1"},"devDependencies":{"mocha":"^2.4.5","eslint":"^2.10.2","should":"^8.3.1","supervisor":"^0.10.0","eslint-plugin-mocha":"^2.2.0","eslint-plugin-promise":"^1.1.0","eslint-config-standard":"^5.3.1","eslint-plugin-standard":"^1.3.2"},"_npmOperationalInternal":{"tmp":"tmp/telegraf-1.1.1.tgz_1464587801996_0.31870182347483933","host":"packages-16-east.internal.npmjs.com"}},"1.1.2":{"name":"telegraf","version":"1.1.2","keywords":["telegraf","telegram","telegram bot","telegram api","telegram bot api","bot","bot framework"],"license":"MIT","_id":"telegraf@1.1.2","maintainers":[{"name":"dotcypress","email":"dotcypress@gmail.com"}],"homepage":"https://github.com/telegraf/telegraf#readme","bugs":{"url":"https://github.com/telegraf/telegraf/issues"},"dist":{"shasum":"5c28a3581272cc95e2f1fa0bec80a7571d027379","tarball":"https://registry.npmjs.org/telegraf/-/telegraf-1.1.2.tgz","integrity":"sha512-Qa41kbdMoOkO09wfugOqNze43fctUhAt/3wCjV26qyuQfjJqA51SFd+m24M0096IEeVNQ1Ej2zAccKQEK306oQ==","signatures":[{"sig":"MEUCIQDUv12vNfiPeMxxTkummW9VZ/UFYj5pY0iGlhZiiLcN5wIgWxxZ4YGG4p+vSnHW4ZbW0OG5VGnn7sOsRDjNku2dMEs=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}]},"main":"lib/telegraf.js","_from":".","files":["api.md","lib/telegraf.js","lib/telegram-api.js","lib/platform.js","lib/memory-session.js"],"_shasum":"5c28a3581272cc95e2f1fa0bec80a7571d027379","authors":["Vitaly Domnikov "],"engines":{"node":">=4.4.4"},"gitHead":"b3b7eda36c2c214c6e8121b536651f5c144b27d0","scripts":{"test":"mocha test"},"_npmUser":{"name":"dotcypress","email":"dotcypress@gmail.com"},"repository":{"url":"git+ssh://git@github.com/telegraf/telegraf.git","type":"git"},"_npmVersion":"3.8.9","description":"📢 Modern Telegram bot framework","directories":{},"_nodeVersion":"6.2.0","dependencies":{"debug":"^2.2.0","lodash":"^4.13.1","co-ware":"^1.6.0","bluebird":"^3.4.0","is-stream":"^1.1.0","node-fetch":"^1.5.1","multipart-stream":"^2.0.1"},"devDependencies":{"mocha":"^2.4.5","eslint":"^2.10.2","should":"^8.3.1","supervisor":"^0.10.0","eslint-plugin-mocha":"^2.2.0","eslint-plugin-promise":"^1.1.0","eslint-config-standard":"^5.3.1","eslint-plugin-standard":"^1.3.2"},"_npmOperationalInternal":{"tmp":"tmp/telegraf-1.1.2.tgz_1465538099082_0.4133186680264771","host":"packages-16-east.internal.npmjs.com"}},"2.0.0-alpha.0":{"name":"telegraf","version":"2.0.0-alpha.0","keywords":["telegraf","telegram","telegram bot","telegram api","telegram bot api","bot","bot framework"],"license":"MIT","_id":"telegraf@2.0.0-alpha.0","maintainers":[{"name":"dotcypress","email":"dotcypress@gmail.com"}],"homepage":"https://github.com/telegraf/telegraf#readme","bugs":{"url":"https://github.com/telegraf/telegraf/issues"},"dist":{"shasum":"96effdad0507d97413ba883c300cd8927221c0f3","tarball":"https://registry.npmjs.org/telegraf/-/telegraf-2.0.0-alpha.0.tgz","integrity":"sha512-Hsjs2wnrVjSEvWiTvHUhUhdlUB3KQOFSCIm9HNF5yJA6O8su/p5+6SBrROqNW8S8dviaHGTPEQyymR7Mc7LplA==","signatures":[{"sig":"MEYCIQC2ck7u9ZsI3hprfZaeKDEXJb2z2x3PuvoqlM2fyFMGcQIhAJQDkQIbxJYxMP8tml0+IGXZtKlVtdavTZz0XGnE6Oit","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}]},"main":"lib/telegraf.js","_from":".","files":["api.md","lib/telegraf.js","lib/telegram.js","lib/context.js","lib/platform.js","lib/memory-session.js"],"_shasum":"96effdad0507d97413ba883c300cd8927221c0f3","authors":["Vitaly Domnikov "],"engines":{"node":">=4.4.4"},"gitHead":"4822e2e81b3b71373832b19b3ebeca52fb23a42d","scripts":{"test":"mocha test"},"_npmUser":{"name":"dotcypress","email":"dotcypress@gmail.com"},"repository":{"url":"git+ssh://git@github.com/telegraf/telegraf.git","type":"git"},"_npmVersion":"3.8.9","description":"📢 Modern Telegram bot framework","directories":{},"_nodeVersion":"6.2.0","dependencies":{"debug":"^2.2.0","bluebird":"^3.4.0","is-stream":"^1.1.0","node-fetch":"^1.5.1","multipart-stream":"^2.0.1"},"devDependencies":{"mocha":"^2.4.5","eslint":"^2.10.2","should":"^8.3.1","supervisor":"^0.10.0","eslint-plugin-mocha":"^2.2.0","eslint-plugin-promise":"^1.1.0","eslint-config-standard":"^5.3.1","eslint-plugin-standard":"^1.3.2"},"_npmOperationalInternal":{"tmp":"tmp/telegraf-2.0.0-alpha.0.tgz_1465880254191_0.44000391219742596","host":"packages-16-east.internal.npmjs.com"}},"2.0.0":{"name":"telegraf","version":"2.0.0","keywords":["telegraf","telegram","telegram bot","telegram api","telegram bot api","bot","bot framework"],"license":"MIT","_id":"telegraf@2.0.0","maintainers":[{"name":"dotcypress","email":"dotcypress@gmail.com"}],"homepage":"https://github.com/telegraf/telegraf#readme","bugs":{"url":"https://github.com/telegraf/telegraf/issues"},"dist":{"shasum":"f9b848fac483db92a2ad4399728641522d449644","tarball":"https://registry.npmjs.org/telegraf/-/telegraf-2.0.0.tgz","integrity":"sha512-DKqMdp63F4y6S74FP9ONR0r4so3O5i3GligHnZDluvRc7AJLPndwHztMPu+mTGbHac8dTsmFbIJ/NkSaTFbseg==","signatures":[{"sig":"MEQCID+pK4r4yVHd0/ICbzF7UlwQWREG5s3dip8Ki1CPpxt4AiBqJ+fc8Npr09YC5ikeOFGha/DYYIAAH0XTMsRxIAxxLA==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}]},"main":"lib/telegraf.js","_from":".","files":["api.md","lib/telegraf.js","lib/telegram.js","lib/context.js","lib/platform.js","lib/memory-session.js"],"_shasum":"f9b848fac483db92a2ad4399728641522d449644","authors":["Vitaly Domnikov "],"engines":{"node":">=6.2.0"},"gitHead":"101606b11dc584e42b5a50013e07d0218d10c5a9","scripts":{"test":"mocha test"},"_npmUser":{"name":"dotcypress","email":"dotcypress@gmail.com"},"repository":{"url":"git+ssh://git@github.com/telegraf/telegraf.git","type":"git"},"_npmVersion":"3.8.9","description":"📢 Modern Telegram bot framework","directories":{},"_nodeVersion":"6.2.0","dependencies":{"debug":"^2.2.0","bluebird":"^3.4.0","is-stream":"^1.1.0","node-fetch":"^1.5.1","multipart-stream":"^2.0.1"},"devDependencies":{"mocha":"^2.4.5","eslint":"^2.10.2","should":"^9.0.2","supervisor":"^0.11.0","eslint-plugin-mocha":"^3.0.0","eslint-plugin-promise":"^1.1.0","eslint-config-standard":"^5.3.1","eslint-plugin-standard":"^1.3.2"},"_npmOperationalInternal":{"tmp":"tmp/telegraf-2.0.0.tgz_1465882526137_0.4435826297849417","host":"packages-16-east.internal.npmjs.com"}},"2.0.1":{"name":"telegraf","version":"2.0.1","keywords":["telegraf","telegram","telegram bot","telegram api","telegram bot api","bot","bot framework"],"license":"MIT","_id":"telegraf@2.0.1","maintainers":[{"name":"dotcypress","email":"dotcypress@gmail.com"}],"homepage":"https://github.com/telegraf/telegraf#readme","bugs":{"url":"https://github.com/telegraf/telegraf/issues"},"dist":{"shasum":"ffa1ceda13fd8d534a7123c6878ce239d039bbb5","tarball":"https://registry.npmjs.org/telegraf/-/telegraf-2.0.1.tgz","integrity":"sha512-tepLiUNQe/QKJQkoTnza34R8Jx2oB+VmBBD92o3cB/Rulto/QhEseYbVYzlur/OHyT19FQh0xYs+5zJ7THhvDA==","signatures":[{"sig":"MEYCIQCYdWa5SoS/CNYbWKAZKUGS7N6LEy26FCmRBxb+LF0TjQIhAMGUj51MdGegdhpOsc0PkCRyh21GEetHQLj0d2jqtTGI","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}]},"main":"lib/telegraf.js","_from":".","files":["api.md","lib/telegraf.js","lib/telegram.js","lib/context.js","lib/platform.js","lib/memory-session.js"],"_shasum":"ffa1ceda13fd8d534a7123c6878ce239d039bbb5","authors":["Vitaly Domnikov "],"engines":{"node":">=6.2.0"},"gitHead":"2963273016aa026a988045726f0fad5c807194d9","scripts":{"test":"mocha test"},"_npmUser":{"name":"dotcypress","email":"dotcypress@gmail.com"},"repository":{"url":"git+ssh://git@github.com/telegraf/telegraf.git","type":"git"},"_npmVersion":"3.9.3","description":"📢 Modern Telegram bot framework","directories":{},"_nodeVersion":"6.2.1","dependencies":{"debug":"^2.2.0","bluebird":"^3.4.0","is-stream":"^1.1.0","node-fetch":"^1.5.1","multipart-stream":"^2.0.1"},"devDependencies":{"mocha":"^2.4.5","eslint":"^2.10.2","should":"^9.0.2","supervisor":"^0.11.0","eslint-plugin-mocha":"^3.0.0","eslint-plugin-promise":"^1.1.0","eslint-config-standard":"^5.3.1","eslint-plugin-standard":"^1.3.2"},"_npmOperationalInternal":{"tmp":"tmp/telegraf-2.0.1.tgz_1465976884778_0.901295471470803","host":"packages-16-east.internal.npmjs.com"}},"2.0.2":{"name":"telegraf","version":"2.0.2","keywords":["telegraf","telegram","telegram bot","telegram api","telegram bot api","bot","bot framework"],"license":"MIT","_id":"telegraf@2.0.2","maintainers":[{"name":"dotcypress","email":"dotcypress@gmail.com"}],"homepage":"https://github.com/telegraf/telegraf#readme","bugs":{"url":"https://github.com/telegraf/telegraf/issues"},"dist":{"shasum":"77ecb7ea663334887dce6e3c917e24df32a5bfce","tarball":"https://registry.npmjs.org/telegraf/-/telegraf-2.0.2.tgz","integrity":"sha512-CunB6+T1F03WrcaLID3jbpIYhbDujcjGlcQ+/VD9S+QEg+k99+sOCXhg9m8NYP0o+sq9zhQg7NIZiF3Mc2KGlg==","signatures":[{"sig":"MEYCIQC9e8c/Kzd+f3V6r198etIoDLN4cgMMy9OKpP07UlEDDAIhAJR1ML5WyibC7Fl/5WvacvJaNxOM00sh8LQtXfy+xSOj","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}]},"main":"lib/telegraf.js","_from":".","files":["api.md","lib/telegraf.js","lib/telegram.js","lib/context.js","lib/platform.js","lib/memory-session.js"],"_shasum":"77ecb7ea663334887dce6e3c917e24df32a5bfce","authors":["Vitaly Domnikov "],"engines":{"node":">=6.2.0"},"gitHead":"130d5c7b0b5ebead1af762ace2721d9eea5296e2","scripts":{"test":"mocha test"},"_npmUser":{"name":"dotcypress","email":"dotcypress@gmail.com"},"repository":{"url":"git+ssh://git@github.com/telegraf/telegraf.git","type":"git"},"_npmVersion":"3.9.3","description":"📢 Modern Telegram bot framework","directories":{},"_nodeVersion":"6.2.1","dependencies":{"debug":"^2.2.0","bluebird":"^3.4.0","is-stream":"^1.1.0","node-fetch":"^1.5.1","multipart-stream":"^2.0.1"},"devDependencies":{"mocha":"^2.4.5","eslint":"^2.10.2","should":"^9.0.2","supervisor":"^0.11.0","eslint-plugin-mocha":"^3.0.0","eslint-plugin-promise":"^1.1.0","eslint-config-standard":"^5.3.1","eslint-plugin-standard":"^1.3.2"},"_npmOperationalInternal":{"tmp":"tmp/telegraf-2.0.2.tgz_1466024697634_0.2445968894753605","host":"packages-12-west.internal.npmjs.com"}},"2.0.3":{"name":"telegraf","version":"2.0.3","keywords":["telegraf","telegram","telegram bot","telegram api","telegram bot api","bot","bot framework"],"license":"MIT","_id":"telegraf@2.0.3","maintainers":[{"name":"dotcypress","email":"dotcypress@gmail.com"}],"homepage":"https://github.com/telegraf/telegraf#readme","bugs":{"url":"https://github.com/telegraf/telegraf/issues"},"dist":{"shasum":"914ef7ed6e09f9ea5086e1935b020c308e765b0c","tarball":"https://registry.npmjs.org/telegraf/-/telegraf-2.0.3.tgz","integrity":"sha512-LmbxyhiqOK2jjgPxe1y9K1yEKUroHDCMT78y46LLpf0wRau+LxFd48daE7ifYUiHWM7g3LDWlfDhz+zuQkYnwg==","signatures":[{"sig":"MEQCIAyI5APe7gtmBiWm5JAjx8ZGk3kxAc8mef0/E9RiAswnAiBFfQJ0J3EZTKrKRkn8vNqaH+GKFB06zk4etF73qS3/7A==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}]},"main":"lib/telegraf.js","_from":".","files":["api.md","lib/telegraf.js","lib/telegram.js","lib/context.js","lib/platform.js","lib/memory-session.js"],"_shasum":"914ef7ed6e09f9ea5086e1935b020c308e765b0c","authors":["Vitaly Domnikov "],"engines":{"node":">=6.2.0"},"gitHead":"be7e6bcc8d6e3116b279b3d7240f2cdd71f7cdae","scripts":{"test":"mocha test"},"_npmUser":{"name":"dotcypress","email":"dotcypress@gmail.com"},"repository":{"url":"git+ssh://git@github.com/telegraf/telegraf.git","type":"git"},"_npmVersion":"3.9.3","description":"📢 Modern Telegram bot framework","directories":{},"_nodeVersion":"6.2.1","dependencies":{"debug":"^2.2.0","bluebird":"^3.4.0","is-stream":"^1.1.0","node-fetch":"^1.5.1","multipart-stream":"^2.0.1"},"devDependencies":{"mocha":"^2.4.5","eslint":"^2.10.2","should":"^9.0.2","supervisor":"^0.11.0","eslint-plugin-mocha":"^3.0.0","eslint-plugin-promise":"^1.1.0","eslint-config-standard":"^5.3.1","eslint-plugin-standard":"^1.3.2"},"_npmOperationalInternal":{"tmp":"tmp/telegraf-2.0.3.tgz_1466024856179_0.01954191504046321","host":"packages-12-west.internal.npmjs.com"}},"2.1.0":{"name":"telegraf","version":"2.1.0","keywords":["telegraf","telegram","telegram bot","telegram api","telegram bot api","bot","bot framework"],"license":"MIT","_id":"telegraf@2.1.0","maintainers":[{"name":"dotcypress","email":"dotcypress@gmail.com"}],"homepage":"https://github.com/telegraf/telegraf#readme","bugs":{"url":"https://github.com/telegraf/telegraf/issues"},"dist":{"shasum":"84b96ef93a52e58d052860230b3dca39d1f07253","tarball":"https://registry.npmjs.org/telegraf/-/telegraf-2.1.0.tgz","integrity":"sha512-JaYk8XuwCGsXiBNXc2zTqhyKUu4MbJS/i19eVvxEK6gXLNedKigMjoEKqlm36heHRw/RWhHRO9ZBIGrXck86UA==","signatures":[{"sig":"MEQCICHxQ3i4STy1B2JsSPk9AiN0mnyNIXiD7JzlVaMTtB5CAiAzthB/QJucS9f9GOaw2CQlfgkEBEqk1E6Wcwel+oytTQ==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}]},"main":"lib/telegraf.js","_from":".","files":["api.md","lib/telegraf.js","lib/telegram.js","lib/context.js","lib/platform.js","lib/memory-session.js"],"_shasum":"84b96ef93a52e58d052860230b3dca39d1f07253","authors":["Vitaly Domnikov "],"engines":{"node":">=6.2.0"},"gitHead":"01e91ccd6693a5e800097d41a17bc0e5fcc5e457","scripts":{"test":"mocha test"},"_npmUser":{"name":"dotcypress","email":"dotcypress@gmail.com"},"repository":{"url":"git+ssh://git@github.com/telegraf/telegraf.git","type":"git"},"_npmVersion":"3.9.3","description":"📢 Modern Telegram bot framework","directories":{},"_nodeVersion":"6.2.1","dependencies":{"debug":"^2.2.0","bluebird":"^3.4.0","is-stream":"^1.1.0","node-fetch":"^1.5.1","multipart-stream":"^2.0.1"},"devDependencies":{"mocha":"^2.4.5","eslint":"^2.10.2","should":"^9.0.2","supervisor":"^0.11.0","eslint-plugin-mocha":"^3.0.0","eslint-plugin-promise":"^1.1.0","eslint-config-standard":"^5.3.1","eslint-plugin-standard":"^1.3.2"},"_npmOperationalInternal":{"tmp":"tmp/telegraf-2.1.0.tgz_1466278532995_0.9801408955827355","host":"packages-16-east.internal.npmjs.com"}},"2.1.1":{"name":"telegraf","version":"2.1.1","keywords":["telegraf","telegram","telegram bot","telegram api","telegram bot api","bot","bot framework"],"license":"MIT","_id":"telegraf@2.1.1","maintainers":[{"name":"dotcypress","email":"dotcypress@gmail.com"}],"homepage":"https://github.com/telegraf/telegraf#readme","bugs":{"url":"https://github.com/telegraf/telegraf/issues"},"dist":{"shasum":"1d4e15130cbf03268c62d18d670a5b696c787181","tarball":"https://registry.npmjs.org/telegraf/-/telegraf-2.1.1.tgz","integrity":"sha512-RcrFJzYyPNgoq5OyA/dd8B683+An4cDRPcwLrYbeqmpX9yx3duOWN8AklGSO/X8Oea8KLhw/0TpsOSsfD53Z8w==","signatures":[{"sig":"MEQCIFY/QTzWCK9zv03SZD1rwggZSfcwsV0FyovCgPD0fvo2AiAvBmsbJsbKZfNpVw8QPgEp1PQ1F2aOmSWH6uB/KzNFqQ==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}]},"main":"lib/telegraf.js","_from":".","files":["api.md","lib/telegraf.js","lib/telegram.js","lib/context.js","lib/platform.js","lib/memory-session.js"],"_shasum":"1d4e15130cbf03268c62d18d670a5b696c787181","authors":["Vitaly Domnikov "],"engines":{"node":">=6.2.0"},"gitHead":"50d7efbbc444cf77279ab440fa59e2eae08f0368","scripts":{"test":"mocha test"},"_npmUser":{"name":"dotcypress","email":"dotcypress@gmail.com"},"repository":{"url":"git+ssh://git@github.com/telegraf/telegraf.git","type":"git"},"_npmVersion":"3.9.3","description":"📢 Modern Telegram bot framework","directories":{},"_nodeVersion":"6.2.1","dependencies":{"debug":"^2.2.0","bluebird":"^3.4.0","is-stream":"^1.1.0","node-fetch":"^1.5.1","multipart-stream":"^2.0.1"},"devDependencies":{"mocha":"^2.4.5","eslint":"^2.10.2","should":"^9.0.2","supervisor":"^0.11.0","eslint-plugin-mocha":"^3.0.0","eslint-plugin-promise":"^1.1.0","eslint-config-standard":"^5.3.1","eslint-plugin-standard":"^1.3.2"},"_npmOperationalInternal":{"tmp":"tmp/telegraf-2.1.1.tgz_1466384497375_0.8786266308743507","host":"packages-16-east.internal.npmjs.com"}},"2.2.0":{"name":"telegraf","version":"2.2.0","keywords":["telegraf","telegram","telegram bot","telegram api","telegram bot api","bot","bot framework"],"license":"MIT","_id":"telegraf@2.2.0","maintainers":[{"name":"dotcypress","email":"dotcypress@gmail.com"}],"homepage":"https://github.com/telegraf/telegraf#readme","bugs":{"url":"https://github.com/telegraf/telegraf/issues"},"dist":{"shasum":"cee2e0b40bcb392a8ad600648711f2e8e4884b4a","tarball":"https://registry.npmjs.org/telegraf/-/telegraf-2.2.0.tgz","integrity":"sha512-vKqZM35JQB35HWVmuPSnpqpZ1VDZlp0wZb3hHIy8yWoIJ+wmOrIKe6Ow3TJ2COkIx86ild8E9ky6JY+VA6Ti3g==","signatures":[{"sig":"MEYCIQCEiHhS7OA3HVkm8FUOyX8Xb61zjK9AjVT/E1Lcb28ECwIhAJ1CDxTY4GcmMsB1TWgoxnddeLU4JlcWAUSzYUxOYx7F","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}]},"main":"lib/telegraf.js","_from":".","files":["api.md","lib/telegraf.js","lib/telegram.js","lib/context.js","lib/platform.js","lib/memory-session.js"],"_shasum":"cee2e0b40bcb392a8ad600648711f2e8e4884b4a","authors":["Vitaly Domnikov "],"engines":{"node":">=6.2.0"},"gitHead":"6776a0abd8842630f53e326efe04acb4745a3c30","scripts":{"test":"mocha test"},"_npmUser":{"name":"dotcypress","email":"dotcypress@gmail.com"},"repository":{"url":"git+ssh://git@github.com/telegraf/telegraf.git","type":"git"},"_npmVersion":"3.9.3","description":"📢 Modern Telegram bot framework","directories":{},"_nodeVersion":"6.2.1","dependencies":{"debug":"^2.2.0","bluebird":"^3.4.0","is-stream":"^1.1.0","node-fetch":"^1.5.1","multipart-stream":"^2.0.1"},"devDependencies":{"mocha":"^2.4.5","eslint":"^2.10.2","should":"^9.0.2","supervisor":"^0.11.0","eslint-plugin-mocha":"^3.0.0","eslint-plugin-promise":"^1.1.0","eslint-config-standard":"^5.3.1","eslint-plugin-standard":"^1.3.2"},"_npmOperationalInternal":{"tmp":"tmp/telegraf-2.2.0.tgz_1466637291119_0.22013797657564282","host":"packages-12-west.internal.npmjs.com"}},"2.2.1":{"name":"telegraf","version":"2.2.1","keywords":["telegraf","telegram","telegram bot","telegram api","telegram bot api","bot","bot framework"],"license":"MIT","_id":"telegraf@2.2.1","maintainers":[{"name":"dotcypress","email":"dotcypress@gmail.com"}],"homepage":"https://github.com/telegraf/telegraf#readme","bugs":{"url":"https://github.com/telegraf/telegraf/issues"},"dist":{"shasum":"2b5cb52b88eef88089108e6807e43362f5fd29ed","tarball":"https://registry.npmjs.org/telegraf/-/telegraf-2.2.1.tgz","integrity":"sha512-lTJCdbnFQgnAQJOwaARZ0sKB1hBNzb1hx1dbKW/GEHpIgAgERL5Oiho9lbrIJxTRvNV2kbLz1PjMjDq8r5OqPg==","signatures":[{"sig":"MEQCIEI/q82GOjomZRWVOVQuULbYl94iQfqfBFTKfY7KIe7PAiBbiNEZmNa296yI8/ZhX3tzbmykFiwkcnDf5YyZEyNFUg==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}]},"main":"lib/telegraf.js","_from":".","files":["api.md","lib/telegraf.js","lib/telegram.js","lib/context.js","lib/platform.js","lib/memory-session.js"],"_shasum":"2b5cb52b88eef88089108e6807e43362f5fd29ed","authors":["Vitaly Domnikov "],"engines":{"node":">=6.2.0"},"gitHead":"2f126f92094344743b29b78faae328fab5949441","scripts":{"test":"mocha test"},"_npmUser":{"name":"dotcypress","email":"dotcypress@gmail.com"},"repository":{"url":"git+ssh://git@github.com/telegraf/telegraf.git","type":"git"},"_npmVersion":"3.9.3","description":"📢 Modern Telegram bot framework","directories":{},"_nodeVersion":"6.2.1","dependencies":{"debug":"^2.2.0","bluebird":"^3.4.0","is-stream":"^1.1.0","node-fetch":"^1.5.1","multipart-stream":"^2.0.1"},"devDependencies":{"mocha":"^2.4.5","eslint":"^2.10.2","should":"^9.0.2","supervisor":"^0.11.0","eslint-plugin-mocha":"^3.0.0","eslint-plugin-promise":"^1.1.0","eslint-config-standard":"^5.3.1","eslint-plugin-standard":"^1.3.2"},"_npmOperationalInternal":{"tmp":"tmp/telegraf-2.2.1.tgz_1466648240099_0.02805307460948825","host":"packages-12-west.internal.npmjs.com"}},"2.2.2":{"name":"telegraf","version":"2.2.2","keywords":["telegraf","telegram","telegram bot","telegram api","telegram bot api","bot","bot framework"],"license":"MIT","_id":"telegraf@2.2.2","maintainers":[{"name":"dotcypress","email":"dotcypress@gmail.com"}],"homepage":"https://github.com/telegraf/telegraf#readme","bugs":{"url":"https://github.com/telegraf/telegraf/issues"},"dist":{"shasum":"454cbfb62e7ee3dce95a70a6ca00f5def954a565","tarball":"https://registry.npmjs.org/telegraf/-/telegraf-2.2.2.tgz","integrity":"sha512-0kFxOaCId7Tlg+RIawpyj4Uasok6KBgDBEtCSIxDstBdQFdE5cbltfr8DaabvkOHlLv1XsHZS3GZoaTSbR/RFg==","signatures":[{"sig":"MEUCIQDToPOJiKJIi9K7RXiK7NcgR2VDSQhsaJHoZrEVBwhSiAIgSy5F4Wx3jLZNIQ9C8n19bYmdLvOhMRUZ9s9kftmXSXA=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}]},"main":"lib/telegraf.js","_from":".","files":["api.md","lib/telegraf.js","lib/telegram.js","lib/context.js","lib/platform.js","lib/memory-session.js"],"_shasum":"454cbfb62e7ee3dce95a70a6ca00f5def954a565","authors":["Vitaly Domnikov "],"engines":{"node":">=6.2.0"},"gitHead":"7cd38891d5ffd20a502f2f2e058b06ac0ff890c7","scripts":{"test":"mocha test"},"_npmUser":{"name":"dotcypress","email":"dotcypress@gmail.com"},"repository":{"url":"git+ssh://git@github.com/telegraf/telegraf.git","type":"git"},"_npmVersion":"3.9.3","description":"📢 Modern Telegram bot framework","directories":{},"_nodeVersion":"6.2.1","dependencies":{"debug":"^2.2.0","bluebird":"^3.4.0","is-stream":"^1.1.0","node-fetch":"^1.5.1","multipart-stream":"^2.0.1"},"devDependencies":{"mocha":"^2.4.5","eslint":"^2.10.2","should":"^9.0.2","supervisor":"^0.11.0","eslint-plugin-mocha":"^3.0.0","eslint-plugin-promise":"^1.1.0","eslint-config-standard":"^5.3.1","eslint-plugin-standard":"^1.3.2"},"_npmOperationalInternal":{"tmp":"tmp/telegraf-2.2.2.tgz_1466968003350_0.866764671402052","host":"packages-12-west.internal.npmjs.com"}},"2.3.0":{"name":"telegraf","version":"2.3.0","keywords":["telegraf","telegram","telegram bot","telegram api","telegram bot api","bot","bot framework"],"license":"MIT","_id":"telegraf@2.3.0","maintainers":[{"name":"dotcypress","email":"dotcypress@gmail.com"}],"homepage":"https://github.com/telegraf/telegraf#readme","bugs":{"url":"https://github.com/telegraf/telegraf/issues"},"dist":{"shasum":"e5352d5e75d834fa8bcad52738dea7543449182f","tarball":"https://registry.npmjs.org/telegraf/-/telegraf-2.3.0.tgz","integrity":"sha512-jz+G7EfxYARXXsZPJDlcm65CDchOY8j98drSxZWDoum3InOl7YLgt8RgiPLzArnnrSP7snudsGFYAT54F69d4g==","signatures":[{"sig":"MEYCIQCd/YnQ5Qh2lvlV7t+OE3Iza6H/IgFQTmm7o3KqJ6xXdwIhANUK+c2A4v2TIcg5H92zbkuHm69ibqqmPRsp/uKTKej4","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}]},"main":"lib/telegraf.js","_from":".","files":["api.md","lib/telegraf.js","lib/telegram.js","lib/context.js","lib/platform.js","lib/send-options.js","lib/reply-markup.js","lib/memory-session.js"],"_shasum":"e5352d5e75d834fa8bcad52738dea7543449182f","authors":["Vitaly Domnikov "],"engines":{"node":">=6.2.0"},"gitHead":"d5341fa5a6c8217ed60fc1e981ccd45f3b2cb1a6","scripts":{"test":"mocha test"},"_npmUser":{"name":"dotcypress","email":"dotcypress@gmail.com"},"repository":{"url":"git+ssh://git@github.com/telegraf/telegraf.git","type":"git"},"_npmVersion":"3.9.3","description":"📢 Modern Telegram bot framework","directories":{},"_nodeVersion":"6.2.1","dependencies":{"debug":"^2.2.0","bluebird":"^3.4.0","is-stream":"^1.1.0","node-fetch":"^1.5.1","multipart-stream":"^2.0.1"},"devDependencies":{"mocha":"^2.4.5","eslint":"^2.10.2","should":"^9.0.2","supervisor":"^0.11.0","eslint-plugin-mocha":"^3.0.0","eslint-plugin-promise":"^1.1.0","eslint-config-standard":"^5.3.1","eslint-plugin-standard":"^1.3.2"},"_npmOperationalInternal":{"tmp":"tmp/telegraf-2.3.0.tgz_1467094368489_0.5246652299538255","host":"packages-16-east.internal.npmjs.com"}},"2.3.2":{"name":"telegraf","version":"2.3.2","keywords":["telegraf","telegram","telegram bot","telegram api","telegram bot api","bot","bot framework","telegram bot framework"],"license":"MIT","_id":"telegraf@2.3.2","maintainers":[{"name":"dotcypress","email":"dotcypress@gmail.com"}],"homepage":"https://github.com/telegraf/telegraf#readme","bugs":{"url":"https://github.com/telegraf/telegraf/issues"},"dist":{"shasum":"4bba1ea609dd1c287cfd54942c3f3ae55d004087","tarball":"https://registry.npmjs.org/telegraf/-/telegraf-2.3.2.tgz","integrity":"sha512-bOfhAqwTjDL1zr1ssG23t0/7xshVz075d2yL1h8NHpeqYz2lZmY3VC/qfJndKz+Uz3dcitKIsP0rpqqtkH9nIw==","signatures":[{"sig":"MEQCIBT1t1UpJ5NMYzUe1cmqNvSHdUybA41lG96YcOnj2x0dAiBtPIcDiVfN+gvYOjwlpDgPRr7+iuh4sMZb80SSARjUbA==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}]},"main":"lib/telegraf.js","_from":".","files":["api.md","lib/telegraf.js","lib/telegram.js","lib/context.js","lib/platform.js","lib/send-options.js","lib/reply-markup.js","lib/memory-session.js"],"_shasum":"4bba1ea609dd1c287cfd54942c3f3ae55d004087","authors":["Vitaly Domnikov "],"engines":{"node":">=6.2.0"},"gitHead":"4010af9edf01e9c89751a03fc76cf757a25fc02f","scripts":{"test":"mocha test"},"_npmUser":{"name":"dotcypress","email":"dotcypress@gmail.com"},"repository":{"url":"git+ssh://git@github.com/telegraf/telegraf.git","type":"git"},"_npmVersion":"3.9.3","description":"📢 Modern Telegram bot framework","directories":{},"_nodeVersion":"6.2.1","dependencies":{"debug":"^2.2.0","bluebird":"^3.4.0","is-stream":"^1.1.0","node-fetch":"^1.5.1","multipart-stream":"^2.0.1"},"devDependencies":{"mocha":"^2.4.5","eslint":"^2.10.2","should":"^9.0.2","supervisor":"^0.11.0","eslint-plugin-mocha":"^3.0.0","eslint-plugin-promise":"^1.1.0","eslint-config-standard":"^5.3.1","eslint-plugin-standard":"^1.3.2"},"_npmOperationalInternal":{"tmp":"tmp/telegraf-2.3.2.tgz_1467105360196_0.6740375116933137","host":"packages-16-east.internal.npmjs.com"}},"2.3.3":{"name":"telegraf","version":"2.3.3","keywords":["telegraf","telegram","telegram bot","telegram api","telegram bot api","bot","bot framework","telegram bot framework"],"license":"MIT","_id":"telegraf@2.3.3","maintainers":[{"name":"dotcypress","email":"dotcypress@gmail.com"}],"homepage":"https://github.com/telegraf/telegraf#readme","bugs":{"url":"https://github.com/telegraf/telegraf/issues"},"dist":{"shasum":"ba0787d78d922118d689045bedec630cc9104df9","tarball":"https://registry.npmjs.org/telegraf/-/telegraf-2.3.3.tgz","integrity":"sha512-BmD6zfNuluVAlXlwzdSBYOLicvfYyvnpUTsnUl3GUeyYAYt6o+kURpgHlp/ZTzaBiyRdZx8JrEmT84bbuYNHMg==","signatures":[{"sig":"MEUCIQDcAxuEitpp3FxIoZIC97V4SrtDn1wl+FweFem592+P0QIgFSdln0tDf1oL2ApIapegkPBvfmoMD5P2jlYTMwM2c5g=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}]},"main":"lib/telegraf.js","_from":".","files":["api.md","lib/telegraf.js","lib/telegram.js","lib/context.js","lib/platform.js","lib/extra.js","lib/reply-markup.js","lib/memory-session.js"],"_shasum":"ba0787d78d922118d689045bedec630cc9104df9","authors":["Vitaly Domnikov "],"engines":{"node":">=6.2.0"},"gitHead":"b1a13682bd564894c23cbe0677b2e4f2f1b2a743","scripts":{"test":"mocha test"},"_npmUser":{"name":"dotcypress","email":"dotcypress@gmail.com"},"repository":{"url":"git+ssh://git@github.com/telegraf/telegraf.git","type":"git"},"_npmVersion":"3.9.3","description":"📢 Modern Telegram bot framework","directories":{},"_nodeVersion":"6.2.1","dependencies":{"debug":"^2.2.0","bluebird":"^3.4.0","is-stream":"^1.1.0","node-fetch":"^1.5.1","multipart-stream":"^2.0.1"},"devDependencies":{"mocha":"^2.4.5","eslint":"^2.10.2","should":"^9.0.2","supervisor":"^0.11.0","eslint-plugin-mocha":"^3.0.0","eslint-plugin-promise":"^1.1.0","eslint-config-standard":"^5.3.1","eslint-plugin-standard":"^1.3.2"},"_npmOperationalInternal":{"tmp":"tmp/telegraf-2.3.3.tgz_1467152885934_0.694119261810556","host":"packages-12-west.internal.npmjs.com"}},"2.4.0":{"name":"telegraf","version":"2.4.0","keywords":["telegraf","telegram","telegram bot","telegram api","telegram bot api","bot","bot framework","telegram bot framework"],"license":"MIT","_id":"telegraf@2.4.0","maintainers":[{"name":"dotcypress","email":"dotcypress@gmail.com"}],"homepage":"https://github.com/telegraf/telegraf#readme","bugs":{"url":"https://github.com/telegraf/telegraf/issues"},"dist":{"shasum":"051c5a75e55e06f0fc013e07648ed2bf7c5b37a0","tarball":"https://registry.npmjs.org/telegraf/-/telegraf-2.4.0.tgz","integrity":"sha512-3B+q1lbms7Rbel6iUEGK3ZwHr1t/FbtoMuFlGbNoiBHS6g0IGLZRzZX7alwK14kPkCZHs2CLXgUOTKT5sjnsQg==","signatures":[{"sig":"MEYCIQD1eM14ohIt/GM3JRr84Q6b+kUHZBpauU1QZFH7S4TrFgIhAINBrYKZ5Nj0pRdu8j7Juz2upN0WqOtuLmta9psoYu9u","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}]},"main":"lib/telegraf.js","_from":".","files":["api.md","lib/context.js","lib/extra.js","lib/memory-session.js","lib/platform.js","lib/reply-markup.js","lib/router.js","lib/telegraf.js","lib/telegram.js"],"_shasum":"051c5a75e55e06f0fc013e07648ed2bf7c5b37a0","authors":["Vitaly Domnikov "],"engines":{"node":">=6.2.0"},"gitHead":"98548058e241a87b0005e6e518730a69c2131620","scripts":{"test":"mocha test"},"_npmUser":{"name":"dotcypress","email":"dotcypress@gmail.com"},"repository":{"url":"git+ssh://git@github.com/telegraf/telegraf.git","type":"git"},"_npmVersion":"3.9.3","description":"📢 Modern Telegram bot framework","directories":{},"_nodeVersion":"6.2.1","dependencies":{"debug":"^2.2.0","bluebird":"^3.4.0","is-stream":"^1.1.0","node-fetch":"^1.5.1","multipart-stream":"^2.0.1"},"devDependencies":{"mocha":"^2.4.5","eslint":"^2.10.2","should":"^9.0.2","supervisor":"^0.11.0","eslint-plugin-mocha":"^3.0.0","eslint-plugin-promise":"^1.1.0","eslint-config-standard":"^5.3.1","eslint-plugin-standard":"^1.3.2"},"_npmOperationalInternal":{"tmp":"tmp/telegraf-2.4.0.tgz_1467951241606_0.7433630025479943","host":"packages-12-west.internal.npmjs.com"}},"2.4.1":{"name":"telegraf","version":"2.4.1","keywords":["telegraf","telegram","telegram bot","telegram api","telegram bot api","bot","bot framework","telegram bot framework"],"license":"MIT","_id":"telegraf@2.4.1","maintainers":[{"name":"dotcypress","email":"dotcypress@gmail.com"}],"homepage":"https://github.com/telegraf/telegraf#readme","bugs":{"url":"https://github.com/telegraf/telegraf/issues"},"dist":{"shasum":"ee6bf2191fb08c9f6fef60b78a220df0260b54ed","tarball":"https://registry.npmjs.org/telegraf/-/telegraf-2.4.1.tgz","integrity":"sha512-5rwh0GMpJR3V8C1lnkRSDjY6bzXJ9gtnsVPm2E8A/83eGTiHTDNkR4e+icQmU1m/d+V99psGpceA/V9Siel5aQ==","signatures":[{"sig":"MEUCIGYljEzxfvVYFDlE59ZW4iko3HKFPRQA6OwdvMNutM9oAiEAhUzOehQZRBzZzZMG2Lu/XRcMfO9qp171eBvL/2wNJm4=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}]},"main":"lib/telegraf.js","_from":".","files":["api.md","lib/context.js","lib/extra.js","lib/memory-session.js","lib/platform.js","lib/reply-markup.js","lib/router.js","lib/telegraf.js","lib/telegram.js"],"_shasum":"ee6bf2191fb08c9f6fef60b78a220df0260b54ed","authors":["Vitaly Domnikov "],"engines":{"node":">=6.2.0"},"gitHead":"198acf7acc16f695b5799fd2fd8ca70f958c9fed","scripts":{"test":"mocha test"},"_npmUser":{"name":"dotcypress","email":"dotcypress@gmail.com"},"repository":{"url":"git+ssh://git@github.com/telegraf/telegraf.git","type":"git"},"_npmVersion":"3.9.3","description":"📢 Modern Telegram bot framework","directories":{},"_nodeVersion":"6.2.1","dependencies":{"debug":"^2.2.0","bluebird":"^3.4.0","is-stream":"^1.1.0","node-fetch":"^1.5.1","multipart-stream":"^2.0.1"},"devDependencies":{"mocha":"^2.4.5","eslint":"^2.10.2","should":"^9.0.2","supervisor":"^0.11.0","eslint-plugin-mocha":"^3.0.0","eslint-plugin-promise":"^1.1.0","eslint-config-standard":"^5.3.1","eslint-plugin-standard":"^1.3.2"},"_npmOperationalInternal":{"tmp":"tmp/telegraf-2.4.1.tgz_1468279917138_0.33799587516114116","host":"packages-16-east.internal.npmjs.com"}},"2.4.2":{"name":"telegraf","version":"2.4.2","keywords":["telegraf","telegram","telegram bot","telegram api","telegram bot api","bot","bot framework","telegram bot framework"],"license":"MIT","_id":"telegraf@2.4.2","maintainers":[{"name":"dotcypress","email":"dotcypress@gmail.com"}],"homepage":"https://github.com/telegraf/telegraf#readme","bugs":{"url":"https://github.com/telegraf/telegraf/issues"},"dist":{"shasum":"1a42d34c31e8938496f5275d342b10d96a7ae49c","tarball":"https://registry.npmjs.org/telegraf/-/telegraf-2.4.2.tgz","integrity":"sha512-aVG1gbPIkoHZFJgn8DgovJ/5JwUS2n51KpJcOZaj/b2oCap8JaPufquJhgP4qd0zRjmPwrYQKb39oXOWwZ0reA==","signatures":[{"sig":"MEYCIQCCIf3rdIIFN4w5KW0hZCcdNgP+oe+Sc3mACwmLPcOJ8AIhAK76PlibWP3u3sGzlB+4xqvysVPiJxtBFC25vgR8w5Dj","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}]},"main":"lib/telegraf.js","_from":".","files":["api.md","lib/context.js","lib/extra.js","lib/memory-session.js","lib/platform.js","lib/reply-markup.js","lib/router.js","lib/telegraf.js","lib/telegram.js"],"_shasum":"1a42d34c31e8938496f5275d342b10d96a7ae49c","authors":["Vitaly Domnikov "],"engines":{"node":">=6.2.0"},"gitHead":"a96153d1dc5f9ad9a0b52bb70b27501130a3a52b","scripts":{"test":"mocha test"},"_npmUser":{"name":"dotcypress","email":"dotcypress@gmail.com"},"repository":{"url":"git+ssh://git@github.com/telegraf/telegraf.git","type":"git"},"_npmVersion":"3.9.3","description":"📢 Modern Telegram bot framework","directories":{},"_nodeVersion":"6.2.1","dependencies":{"debug":"^2.2.0","bluebird":"^3.4.0","is-stream":"^1.1.0","node-fetch":"^1.5.1","multipart-stream":"^2.0.1"},"devDependencies":{"mocha":"^2.4.5","eslint":"^2.10.2","should":"^9.0.2","supervisor":"^0.11.0","eslint-plugin-mocha":"^3.0.0","eslint-plugin-promise":"^1.1.0","eslint-config-standard":"^5.3.1","eslint-plugin-standard":"^1.3.2"},"_npmOperationalInternal":{"tmp":"tmp/telegraf-2.4.2.tgz_1468377059791_0.2593080811202526","host":"packages-16-east.internal.npmjs.com"}},"2.4.3":{"name":"telegraf","version":"2.4.3","keywords":["telegraf","telegram","telegram bot","telegram api","telegram bot api","bot","bot framework","telegram bot framework"],"license":"MIT","_id":"telegraf@2.4.3","maintainers":[{"name":"dotcypress","email":"dotcypress@gmail.com"}],"homepage":"https://github.com/telegraf/telegraf#readme","bugs":{"url":"https://github.com/telegraf/telegraf/issues"},"dist":{"shasum":"7f3b41d6a2721d2ad5fb93aea1834c8074673083","tarball":"https://registry.npmjs.org/telegraf/-/telegraf-2.4.3.tgz","integrity":"sha512-pIsL0d70an1/xEnLJnnOg9J8S+eN+uk1T77p51v30Qwdmjq+zMqezaYHl2AWC/tCnUWMHxX/Kqrom1CzDr9lHA==","signatures":[{"sig":"MEUCIE7IA/y0j0/UpGXu25vLKDfItdCON1OGx80BANwTqZhYAiEA0cc3ejbCDaDjxZei8C/MkJRc71kHnJWyShDNZJLeyrA=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}]},"main":"lib/telegraf.js","_from":".","files":["api.md","lib/context.js","lib/extra.js","lib/memory-session.js","lib/platform.js","lib/reply-markup.js","lib/router.js","lib/telegraf.js","lib/telegram.js"],"_shasum":"7f3b41d6a2721d2ad5fb93aea1834c8074673083","authors":["Vitaly Domnikov "],"engines":{"node":">=6.2.0"},"gitHead":"60ac26028e5e4a883ab74f0e1d7b48d840bdf1eb","scripts":{"test":"mocha test"},"_npmUser":{"name":"dotcypress","email":"dotcypress@gmail.com"},"repository":{"url":"git+ssh://git@github.com/telegraf/telegraf.git","type":"git"},"_npmVersion":"3.9.3","description":"📢 Modern Telegram bot framework","directories":{},"_nodeVersion":"6.2.1","dependencies":{"debug":"^2.2.0","bluebird":"^3.4.0","is-stream":"^1.1.0","node-fetch":"^1.5.1","multipart-stream":"^2.0.1"},"devDependencies":{"mocha":"^2.4.5","eslint":"^2.10.2","should":"^9.0.2","supervisor":"^0.11.0","eslint-plugin-mocha":"^3.0.0","eslint-plugin-promise":"^1.1.0","eslint-config-standard":"^5.3.1","eslint-plugin-standard":"^1.3.2"},"_npmOperationalInternal":{"tmp":"tmp/telegraf-2.4.3.tgz_1468380078011_0.46516764839179814","host":"packages-16-east.internal.npmjs.com"}},"2.5.0":{"name":"telegraf","version":"2.5.0","keywords":["telegraf","telegram","telegram bot","telegram api","telegram bot api","bot","bot framework","telegram bot framework"],"license":"MIT","_id":"telegraf@2.5.0","maintainers":[{"name":"dotcypress","email":"dotcypress@gmail.com"}],"homepage":"https://github.com/telegraf/telegraf#readme","bugs":{"url":"https://github.com/telegraf/telegraf/issues"},"dist":{"shasum":"5c7fc387a8c6e77f54ef888b7d6d22ef2e5bfdf9","tarball":"https://registry.npmjs.org/telegraf/-/telegraf-2.5.0.tgz","integrity":"sha512-6byOVCgGxE9DUlqm3pgNp+0DWM3ex8FyhirpC73qmj96N7fseb63pVVBv9jmIjXa0H1gGaC+9W7b8EPVCHiXjQ==","signatures":[{"sig":"MEUCIQCk9IBGsK2yqHKsiUNDH2AXJqqEmHr939f6p2zwd84/YgIgGDGmz8rt1XeODJSlIYJMq1xXhpgnoqTL3L9MA+maXZc=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}]},"main":"index.js","_from":".","files":["api.md","index.js","lib/utils.js","lib/context.js","lib/extra.js","lib/memory-session.js","lib/platform.js","lib/reply-markup.js","lib/router.js","lib/telegraf.js","lib/telegram.js"],"_shasum":"5c7fc387a8c6e77f54ef888b7d6d22ef2e5bfdf9","authors":["Vitaly Domnikov "],"engines":{"node":">=6.2.0"},"gitHead":"c54f2b0530b789e63a396d8e7bbfa8f63edb1aab","scripts":{"test":"mocha test"},"_npmUser":{"name":"dotcypress","email":"dotcypress@gmail.com"},"repository":{"url":"git+ssh://git@github.com/telegraf/telegraf.git","type":"git"},"_npmVersion":"3.9.3","description":"📢 Telegram bot framework for Node.js","directories":{},"_nodeVersion":"6.2.1","dependencies":{"debug":"^2.2.0","bluebird":"^3.4.0","is-stream":"^1.1.0","node-fetch":"^1.5.1","multipart-stream":"^2.0.1"},"devDependencies":{"mocha":"^2.4.5","eslint":"^3.1.1","should":"^10.0.0","supervisor":"^0.11.0","eslint-plugin-mocha":"^4.0.0","eslint-plugin-promise":"^2.0.0","eslint-config-standard":"^5.3.1","eslint-plugin-standard":"^2.0.0"},"_npmOperationalInternal":{"tmp":"tmp/telegraf-2.5.0.tgz_1468989675893_0.5876481782179326","host":"packages-16-east.internal.npmjs.com"}},"2.5.1":{"name":"telegraf","version":"2.5.1","keywords":["telegraf","telegram","telegram bot","telegram api","telegram bot api","bot","bot framework","telegram bot framework"],"license":"MIT","_id":"telegraf@2.5.1","maintainers":[{"name":"dotcypress","email":"dotcypress@gmail.com"}],"homepage":"https://github.com/telegraf/telegraf#readme","bugs":{"url":"https://github.com/telegraf/telegraf/issues"},"dist":{"shasum":"546d453fecd01ec5fe519475063d0d2532d6d83b","tarball":"https://registry.npmjs.org/telegraf/-/telegraf-2.5.1.tgz","integrity":"sha512-f3SjhSrGh52bk058FvxGsQ4nxvrYqCCnoqUAu9upzjvc2qcjJkfV9+VnSOU2sZfM2WuRZmmOl7keLX23Uq6LKw==","signatures":[{"sig":"MEUCIGp62PYCqswm8q0VNsJAl8WxCmQh0fAl3D5z+6o/ehOzAiEA5sK3HbgU1SZCAAcITJMASc5CtCz+qXicn0+wcKkJnlI=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}]},"main":"index.js","_from":".","files":["index.js","docs/api.md","lib/utils.js","lib/context.js","lib/extra.js","lib/memory-session.js","lib/platform.js","lib/reply-markup.js","lib/router.js","lib/telegraf.js","lib/telegram.js"],"_shasum":"546d453fecd01ec5fe519475063d0d2532d6d83b","authors":["Vitaly Domnikov "],"engines":{"node":">=6.2.0"},"gitHead":"e8df945827b9de9288cd49a9cb27ae49cba5b28d","scripts":{"test":"mocha test"},"_npmUser":{"name":"dotcypress","email":"dotcypress@gmail.com"},"repository":{"url":"git+ssh://git@github.com/telegraf/telegraf.git","type":"git"},"_npmVersion":"3.9.3","description":"📢 Telegram bot framework for Node.js","directories":{},"_nodeVersion":"6.2.1","dependencies":{"debug":"^2.2.0","bluebird":"^3.4.0","node-fetch":"^1.5.1","multipart-stream":"^2.0.1"},"devDependencies":{"mocha":"^2.4.5","eslint":"^3.1.1","should":"^10.0.0","supervisor":"^0.11.0","eslint-plugin-mocha":"^4.0.0","eslint-plugin-promise":"^2.0.0","eslint-config-standard":"^5.3.1","eslint-plugin-standard":"^2.0.0"},"_npmOperationalInternal":{"tmp":"tmp/telegraf-2.5.1.tgz_1469166127339_0.7685534581542015","host":"packages-12-west.internal.npmjs.com"}},"2.5.2":{"name":"telegraf","version":"2.5.2","keywords":["telegraf","telegram","telegram bot","telegram botapi","telegram bot api","bot","botapi","bot framework"],"license":"MIT","_id":"telegraf@2.5.2","maintainers":[{"name":"dotcypress","email":"dotcypress@gmail.com"}],"homepage":"https://github.com/telegraf/telegraf#readme","bugs":{"url":"https://github.com/telegraf/telegraf/issues"},"dist":{"shasum":"f42940e5c852af5af7c1a7256cd1ccb2c692da42","tarball":"https://registry.npmjs.org/telegraf/-/telegraf-2.5.2.tgz","integrity":"sha512-j+g1ltww1QhbF3mQ+S6BHgvMeZuJWmSbt6DK6wcAWnJ2v8K6n2EjWeW3M/RUVKNSL1lBMW94AzLcnPTejhRMew==","signatures":[{"sig":"MEUCIQC5vkbwOPyyHF53c24VjJyZ9XtVummoi7gJVShayuxiTAIgHLq3ILMx2lvodAn8UrGgCNcGdwrChUxkyP/s22nGffk=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}]},"main":"index.js","_from":".","files":["index.js","lib/context.js","lib/extra.js","lib/memory-session.js","lib/platform.js","lib/reply-markup.js","lib/router.js","lib/telegraf.js","lib/telegram.js","lib/utils.js","docs/api.md"],"_shasum":"f42940e5c852af5af7c1a7256cd1ccb2c692da42","authors":["Vitaly Domnikov "],"engines":{"node":">=6.2.0"},"gitHead":"0096cd993510a6616d071c6436c524c40f16e34f","scripts":{"test":"mocha test"},"_npmUser":{"name":"dotcypress","email":"dotcypress@gmail.com"},"repository":{"url":"git+ssh://git@github.com/telegraf/telegraf.git","type":"git"},"_npmVersion":"3.9.3","description":"📢 Telegram bot framework for Node.js","directories":{},"_nodeVersion":"6.2.1","dependencies":{"debug":"^2.2.0","bluebird":"^3.4.0","node-fetch":"^1.5.1","sandwich-stream":"^1.0.0"},"devDependencies":{"mocha":"^2.4.5","eslint":"^3.1.1","should":"^10.0.0","supervisor":"^0.11.0","eslint-plugin-mocha":"^4.0.0","eslint-plugin-promise":"^2.0.0","eslint-config-standard":"^5.3.1","eslint-plugin-standard":"^2.0.0"},"_npmOperationalInternal":{"tmp":"tmp/telegraf-2.5.2.tgz_1469398745617_0.6265295455232263","host":"packages-16-east.internal.npmjs.com"}},"2.6.0":{"name":"telegraf","version":"2.6.0","keywords":["telegraf","telegram","telegram bot","telegram botapi","telegram bot api","bot","botapi","bot framework"],"license":"MIT","_id":"telegraf@2.6.0","maintainers":[{"name":"dotcypress","email":"dotcypress@gmail.com"}],"homepage":"https://github.com/telegraf/telegraf#readme","bugs":{"url":"https://github.com/telegraf/telegraf/issues"},"dist":{"shasum":"873d9e41c00f69a209bd074f21c8e370508240c5","tarball":"https://registry.npmjs.org/telegraf/-/telegraf-2.6.0.tgz","integrity":"sha512-t41VGt5wrt3wBRbXwFH8Lq+LFBqJN0id0bVBCRO3JOZDJNYQqFZ9VDR5bODGCtp0mtilYZELcY87UusSbh3E1w==","signatures":[{"sig":"MEUCIQCbxyTKCzkI4bf+ca3+iye4X/hQMNC4T08N49Iikra/FwIgGSgqc/XsjLXuamAfEauZpZPeCkNFiagzWhogB8e3+bs=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}]},"main":"index.js","_from":".","files":["index.js","lib/context.js","lib/composer.js","lib/extra.js","lib/memory-session.js","lib/platform.js","lib/reply-markup.js","lib/router.js","lib/telegraf.js","lib/telegram.js","lib/utils.js","docs/api.md"],"_shasum":"873d9e41c00f69a209bd074f21c8e370508240c5","authors":["Vitaly Domnikov "],"engines":{"node":">=6.2.0"},"gitHead":"7a13ca768f27dd22f95f1a5c1c03141ba1076069","scripts":{"test":"mocha test"},"_npmUser":{"name":"dotcypress","email":"dotcypress@gmail.com"},"repository":{"url":"git+ssh://git@github.com/telegraf/telegraf.git","type":"git"},"_npmVersion":"3.9.3","description":"📢 Telegram bot framework for Node.js","directories":{},"_nodeVersion":"6.2.1","dependencies":{"debug":"^2.2.0","bluebird":"^3.4.0","node-fetch":"^1.5.1","sandwich-stream":"^1.0.0"},"devDependencies":{"mocha":"^3.0.0","eslint":"^3.1.1","should":"^10.0.0","supervisor":"^0.11.0","eslint-plugin-mocha":"^4.0.0","eslint-plugin-promise":"^2.0.0","eslint-config-standard":"^5.3.1","eslint-plugin-standard":"^2.0.0"},"_npmOperationalInternal":{"tmp":"tmp/telegraf-2.6.0.tgz_1470262419528_0.6994095852132887","host":"packages-16-east.internal.npmjs.com"}},"2.6.1":{"name":"telegraf","version":"2.6.1","keywords":["telegraf","telegram","telegram bot","telegram botapi","telegram bot api","bot","botapi","bot framework"],"license":"MIT","_id":"telegraf@2.6.1","maintainers":[{"name":"dotcypress","email":"dotcypress@gmail.com"}],"homepage":"https://github.com/telegraf/telegraf#readme","bugs":{"url":"https://github.com/telegraf/telegraf/issues"},"dist":{"shasum":"a757e343b010ecef2758d12f916c515af86b6f1f","tarball":"https://registry.npmjs.org/telegraf/-/telegraf-2.6.1.tgz","integrity":"sha512-ivI3J7BlN17uLEEyYty16uMNKhnEgjUWXAPTYgayTu/X194cLsZAnlSuPUgjBjtfbinr6e/hxMLEhDQ1KpWTqA==","signatures":[{"sig":"MEUCIEMh9fuKFumdioTQsPIgmIlnVUV02QX+zSRd4feMot6XAiEAw1oYZ1fQE+ZMnWextWxSXoVQJhUF3m6nxYzWmaTwY+U=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}]},"main":"index.js","_from":".","files":["index.js","lib/context.js","lib/composer.js","lib/extra.js","lib/memory-session.js","lib/platform.js","lib/reply-markup.js","lib/router.js","lib/telegraf.js","lib/telegram.js","lib/utils.js","docs/api.md"],"_shasum":"a757e343b010ecef2758d12f916c515af86b6f1f","authors":["Vitaly Domnikov "],"engines":{"node":">=6.2.0"},"gitHead":"82d38d599facf69529375f9799ba03bcdb923862","scripts":{"test":"mocha test"},"_npmUser":{"name":"dotcypress","email":"dotcypress@gmail.com"},"repository":{"url":"git+ssh://git@github.com/telegraf/telegraf.git","type":"git"},"_npmVersion":"3.9.3","description":"📢 Telegram bot framework for Node.js","directories":{},"_nodeVersion":"6.2.1","dependencies":{"debug":"^2.2.0","bluebird":"^3.4.0","node-fetch":"^1.5.1","sandwich-stream":"^1.0.0"},"devDependencies":{"mocha":"^3.0.0","eslint":"^3.1.1","should":"^10.0.0","supervisor":"^0.11.0","eslint-plugin-mocha":"^4.0.0","eslint-plugin-promise":"^2.0.0","eslint-config-standard":"^5.3.1","eslint-plugin-standard":"^2.0.0"},"_npmOperationalInternal":{"tmp":"tmp/telegraf-2.6.1.tgz_1470369375017_0.7267978554591537","host":"packages-16-east.internal.npmjs.com"}},"2.6.2":{"name":"telegraf","version":"2.6.2","keywords":["telegram","telegraf","bot","bot framework","telegram bot","telegram bot api","botapi"],"license":"MIT","_id":"telegraf@2.6.2","maintainers":[{"name":"dotcypress","email":"dotcypress@gmail.com"}],"homepage":"https://github.com/telegraf/telegraf#readme","bugs":{"url":"https://github.com/telegraf/telegraf/issues"},"dist":{"shasum":"f1a5c66c803ff05e1b45a7b886dc9ede8425c3fb","tarball":"https://registry.npmjs.org/telegraf/-/telegraf-2.6.2.tgz","integrity":"sha512-5n0hTwVI6e0hWXbfeY8ATYC/Fw0cOjYWsVwwV9s1ovYIXaWnLM2rUPEY7KLd3mOPohDyfu9z3iAKN7EaQbnReg==","signatures":[{"sig":"MEUCIQDRSWq+zyfVC05EDufdD/2hWSKnopGOQ5iykaDfDEXCNQIgJl+LAn5EvaEuuozJpE+xbikrd3CMzBqYY//pkqr1pXU=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}]},"main":"index.js","_from":".","files":["index.js","lib/context.js","lib/composer.js","lib/extra.js","lib/memory-session.js","lib/platform.js","lib/reply-markup.js","lib/router.js","lib/telegraf.js","lib/telegram.js","docs/api.md"],"_shasum":"f1a5c66c803ff05e1b45a7b886dc9ede8425c3fb","authors":["Vitaly Domnikov "],"engines":{"node":">=6.2.0"},"gitHead":"01c769e868153d5b1bb6ee1e5e2836ac196e664e","scripts":{"lint":"eslint .","test":"mocha test"},"_npmUser":{"name":"dotcypress","email":"dotcypress@gmail.com"},"repository":{"url":"git+ssh://git@github.com/telegraf/telegraf.git","type":"git"},"_npmVersion":"3.9.3","description":"📢 Telegram bot framework","directories":{},"_nodeVersion":"6.2.1","dependencies":{"debug":"^2.2.0","bluebird":"^3.4.0","node-fetch":"^1.5.1","sandwich-stream":"^1.0.0"},"devDependencies":{"mocha":"^3.0.0","eslint":"^3.1.1","should":"^10.0.0","supervisor":"^0.11.0","eslint-plugin-mocha":"^4.0.0","eslint-plugin-promise":"^2.0.0","eslint-config-standard":"^5.3.1","eslint-plugin-standard":"^2.0.0"},"_npmOperationalInternal":{"tmp":"tmp/telegraf-2.6.2.tgz_1470619032485_0.019936890341341496","host":"packages-16-east.internal.npmjs.com"}},"2.6.3":{"name":"telegraf","version":"2.6.3","keywords":["telegram","telegraf","bot","bot framework","telegram bot","telegram bot api","botapi"],"license":"MIT","_id":"telegraf@2.6.3","maintainers":[{"name":"dotcypress","email":"dotcypress@gmail.com"}],"homepage":"https://github.com/telegraf/telegraf#readme","bugs":{"url":"https://github.com/telegraf/telegraf/issues"},"dist":{"shasum":"1bda29ca4d658177efd754722ccb4de5887430b0","tarball":"https://registry.npmjs.org/telegraf/-/telegraf-2.6.3.tgz","integrity":"sha512-qxRmneIBpoRso8IdMKrcoPx74ANqzjjZ0fePV46FEOyNtY/twgTCXuUnpU9wy2nAvA+ONNZLhSA5zid6Oh75eA==","signatures":[{"sig":"MEUCIQC+JQ8TDXUSHn7Eu2SXfWBER22tJ1lhgZFsK3A5Ds7T+AIgdAgnquHDE+N0UBzCG4yQkdYM/D3t3qB4khZ9jvzFetA=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}]},"main":"index.js","_from":".","files":["index.js","lib/context.js","lib/composer.js","lib/extra.js","lib/memory-session.js","lib/platform.js","lib/reply-markup.js","lib/router.js","lib/telegraf.js","lib/telegram.js","docs/api.md"],"_shasum":"1bda29ca4d658177efd754722ccb4de5887430b0","authors":["Vitaly Domnikov "],"engines":{"node":">=6.2.0"},"gitHead":"483f0d3b893798e1c7b1a5785899d9b3cbe9b6ee","scripts":{"test":"eslint . && mocha test"},"_npmUser":{"name":"dotcypress","email":"dotcypress@gmail.com"},"repository":{"url":"git+ssh://git@github.com/telegraf/telegraf.git","type":"git"},"_npmVersion":"3.9.3","description":"📢 Telegram bot framework","directories":{},"_nodeVersion":"6.2.1","dependencies":{"debug":"^2.2.0","node-fetch":"^1.5.1","sandwich-stream":"^1.0.0"},"devDependencies":{"mocha":"^3.0.0","eslint":"^3.1.1","should":"^10.0.0","supervisor":"^0.11.0","eslint-plugin-mocha":"^4.0.0","eslint-plugin-promise":"^2.0.0","eslint-config-standard":"^5.3.1","eslint-plugin-standard":"^2.0.0"},"_npmOperationalInternal":{"tmp":"tmp/telegraf-2.6.3.tgz_1470882929689_0.487497455207631","host":"packages-16-east.internal.npmjs.com"}},"2.6.4":{"name":"telegraf","version":"2.6.4","keywords":["telegram","telegraf","bot","bot framework","telegram bot","telegram bot api","botapi"],"license":"MIT","_id":"telegraf@2.6.4","maintainers":[{"name":"dotcypress","email":"dotcypress@gmail.com"}],"homepage":"https://github.com/telegraf/telegraf#readme","bugs":{"url":"https://github.com/telegraf/telegraf/issues"},"dist":{"shasum":"c0ff285e43c6d779bbdef42fc7df1b8527025ea2","tarball":"https://registry.npmjs.org/telegraf/-/telegraf-2.6.4.tgz","integrity":"sha512-ArFbtuVeEElUPF4YwDjwbWohcUtNUAfdAUdZjHZUVc18zV6pKmenYm2xXmUA8i7/ZJsQfV4trWH+HYOXjEvxYw==","signatures":[{"sig":"MEQCICJyOP+vkAGmUCYxD3cvA8+dV2OENTg3PX3cN51ITWqXAiAoRc3M2iRcxAteyx4cG9GWBrVVxoExI6ybYPuyAZQpjw==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}]},"main":"index.js","_from":".","files":["index.js","lib/context.js","lib/composer.js","lib/extra.js","lib/memory-session.js","lib/platform.js","lib/reply-markup.js","lib/router.js","lib/telegraf.js","lib/telegram.js","docs/api.md"],"_shasum":"c0ff285e43c6d779bbdef42fc7df1b8527025ea2","authors":["Vitaly Domnikov "],"engines":{"node":">=6.2.0"},"gitHead":"d97fc951a1cc34ce083a65168e023572979bba99","scripts":{"test":"eslint . && mocha test"},"_npmUser":{"name":"dotcypress","email":"dotcypress@gmail.com"},"repository":{"url":"git+ssh://git@github.com/telegraf/telegraf.git","type":"git"},"_npmVersion":"3.9.3","description":"📢 Telegram bot framework","directories":{},"_nodeVersion":"6.2.1","dependencies":{"debug":"^2.2.0","node-fetch":"^1.5.1","sandwich-stream":"^1.0.0"},"devDependencies":{"mocha":"^3.0.0","eslint":"^3.1.1","should":"^10.0.0","supervisor":"^0.11.0","eslint-plugin-mocha":"^4.0.0","eslint-plugin-promise":"^2.0.0","eslint-config-standard":"^5.3.1","eslint-plugin-standard":"^2.0.0"},"_npmOperationalInternal":{"tmp":"tmp/telegraf-2.6.4.tgz_1471213927946_0.6171883237548172","host":"packages-16-east.internal.npmjs.com"}},"2.6.5":{"name":"telegraf","version":"2.6.5","keywords":["telegram","telegraf","bot","bot framework","telegram bot","telegram bot api","botapi"],"license":"MIT","_id":"telegraf@2.6.5","maintainers":[{"name":"dotcypress","email":"dotcypress@gmail.com"}],"homepage":"https://github.com/telegraf/telegraf#readme","bugs":{"url":"https://github.com/telegraf/telegraf/issues"},"dist":{"shasum":"3f8b8dabf95ba0adc00e9c3168ab4af181c46555","tarball":"https://registry.npmjs.org/telegraf/-/telegraf-2.6.5.tgz","integrity":"sha512-0iC1H7p7vg30PqAavJfxD6Gdno+QHoiNv+iRLjr4Nz3lAFN9A6yRbcF+lMgin58luskT4JYZlwwHypa/bn2Bqw==","signatures":[{"sig":"MEYCIQDUuomiCtuYUuds6tJws8KvX/yXsyk9jez3rK/rxPEStgIhAMd+EZxTwWl+DXAOLTNCt7C152fzgT99mUfOlooVxP4U","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}]},"main":"index.js","_from":".","files":["index.js","lib/context.js","lib/composer.js","lib/extra.js","lib/memory-session.js","lib/platform.js","lib/reply-markup.js","lib/router.js","lib/telegraf.js","lib/telegram.js","docs/api.md"],"_shasum":"3f8b8dabf95ba0adc00e9c3168ab4af181c46555","authors":["Vitaly Domnikov "],"engines":{"node":">=6.2.0"},"gitHead":"2c96d23f8f6ba4445508e757f7640bf006486f01","scripts":{"test":"eslint . && mocha test"},"_npmUser":{"name":"dotcypress","email":"dotcypress@gmail.com"},"repository":{"url":"git+ssh://git@github.com/telegraf/telegraf.git","type":"git"},"_npmVersion":"3.9.3","description":"📢 Telegram bot framework","directories":{},"_nodeVersion":"6.2.1","dependencies":{"debug":"^2.2.0","node-fetch":"^1.5.1","sandwich-stream":"^1.0.0"},"devDependencies":{"mocha":"^3.0.0","eslint":"^3.1.1","should":"^10.0.0","supervisor":"^0.11.0","eslint-plugin-mocha":"^4.0.0","eslint-plugin-promise":"^2.0.0","eslint-config-standard":"^5.3.1","eslint-plugin-standard":"^2.0.0"},"_npmOperationalInternal":{"tmp":"tmp/telegraf-2.6.5.tgz_1471225300853_0.7773508585523814","host":"packages-16-east.internal.npmjs.com"}},"2.7.0":{"name":"telegraf","version":"2.7.0","keywords":["telegram","telegraf","bot","bot framework","telegram bot","telegram bot api","botapi"],"license":"MIT","_id":"telegraf@2.7.0","maintainers":[{"name":"dotcypress","email":"dotcypress@gmail.com"}],"homepage":"https://github.com/telegraf/telegraf#readme","bugs":{"url":"https://github.com/telegraf/telegraf/issues"},"dist":{"shasum":"bc0df82a3373ffd97a53870908867b2eabb6d43b","tarball":"https://registry.npmjs.org/telegraf/-/telegraf-2.7.0.tgz","integrity":"sha512-c9exxXtUp21qGNJ/uCQxcM6zGNALmhXXPnZAktuVV9v2XhpcKZ5JgDxTeUoxfPte+VAnYQAIiD4+1IIeEhBJvw==","signatures":[{"sig":"MEYCIQC+cMGRxi6UAJAq5fCL77grnwbyYS19NmMeyC/e1ZX1xAIhAJ3dxYy1i6X4yc4X99dcxutpl2FhkBWVdBC0K/9LG9IA","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}]},"main":"index.js","_from":".","files":["docs/api.md","lib/shared/composer.js","lib/shared/memory-session.js","lib/shared/router.js","lib/telegram/client.js","lib/telegram/extra.js","lib/telegram/platform.js","lib/telegram/reply-markup.js","lib/context.js","lib/telegraf.js","index.js"],"_shasum":"bc0df82a3373ffd97a53870908867b2eabb6d43b","authors":["Vitaly Domnikov "],"engines":{"node":">=6.2.0"},"gitHead":"c94922806ed059d54bdc4618393eca53a8644533","scripts":{"test":"eslint . && mocha test"},"_npmUser":{"name":"dotcypress","email":"dotcypress@gmail.com"},"repository":{"url":"git+ssh://git@github.com/telegraf/telegraf.git","type":"git"},"_npmVersion":"3.9.3","description":"📢 Telegram bot framework","directories":{},"_nodeVersion":"6.2.1","dependencies":{"debug":"^2.2.0","node-fetch":"^1.5.1","sandwich-stream":"^1.0.0"},"devDependencies":{"mocha":"^3.0.0","eslint":"^3.1.1","should":"^11.1.0","supervisor":"^0.11.0","eslint-plugin-mocha":"^4.0.0","eslint-plugin-promise":"^2.0.0","eslint-config-standard":"^5.3.1","eslint-plugin-standard":"^2.0.0"},"_npmOperationalInternal":{"tmp":"tmp/telegraf-2.7.0.tgz_1471392863992_0.8109745103865862","host":"packages-12-west.internal.npmjs.com"}},"2.7.1":{"name":"telegraf","version":"2.7.1","keywords":["telegram","telegraf","bot","bot framework","telegram bot","telegram bot api","botapi"],"license":"MIT","_id":"telegraf@2.7.1","maintainers":[{"name":"dotcypress","email":"dotcypress@gmail.com"}],"homepage":"https://github.com/telegraf/telegraf#readme","bugs":{"url":"https://github.com/telegraf/telegraf/issues"},"dist":{"shasum":"518d0b051b5c587660b10b00948b7b907e4836f5","tarball":"https://registry.npmjs.org/telegraf/-/telegraf-2.7.1.tgz","integrity":"sha512-fyyj+BMnS5kBaF3s63PoqesIf7ZBs2T8DQRZAntZqzKEly4jRefFAzuVWv0cB8wYJ1ZODjfHnY7tCJGh5gA8ow==","signatures":[{"sig":"MEUCIQD+KDe2TnzP3JdyU728/itrL1EMmjN7oEjUjX9+sSoF0gIgMl5wNLHDRsk1r7ClETqXO8Qi604bTZ4RG3j851mJVvY=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}]},"main":"index.js","_from":".","files":["docs/api.md","lib/shared/composer.js","lib/shared/memory-session.js","lib/shared/router.js","lib/telegram/client.js","lib/telegram/extra.js","lib/telegram/platform.js","lib/telegram/reply-markup.js","lib/context.js","lib/telegraf.js","index.js"],"_shasum":"518d0b051b5c587660b10b00948b7b907e4836f5","authors":["Vitaly Domnikov "],"engines":{"node":">=6.2.0"},"gitHead":"7ac76128be65b01a45dd3be4e8931aedad5c63ee","scripts":{"test":"eslint . && mocha test"},"_npmUser":{"name":"dotcypress","email":"dotcypress@gmail.com"},"repository":{"url":"git+ssh://git@github.com/telegraf/telegraf.git","type":"git"},"_npmVersion":"3.9.3","description":"📢 Telegram bot framework","directories":{},"_nodeVersion":"6.2.1","dependencies":{"debug":"^2.2.0","node-fetch":"^1.5.1","sandwich-stream":"^1.0.0"},"devDependencies":{"mocha":"^3.0.0","eslint":"^3.1.1","should":"^11.1.0","supervisor":"^0.11.0","eslint-plugin-mocha":"^4.0.0","eslint-plugin-promise":"^2.0.0","eslint-config-standard":"^5.3.1","eslint-plugin-standard":"^2.0.0"},"_npmOperationalInternal":{"tmp":"tmp/telegraf-2.7.1.tgz_1471568003219_0.22594914049841464","host":"packages-12-west.internal.npmjs.com"}},"2.7.2":{"name":"telegraf","version":"2.7.2","keywords":["telegram","telegraf","bot","bot framework","telegram bot","telegram bot api","botapi"],"license":"MIT","_id":"telegraf@2.7.2","maintainers":[{"name":"dotcypress","email":"dotcypress@gmail.com"}],"homepage":"https://github.com/telegraf/telegraf#readme","bugs":{"url":"https://github.com/telegraf/telegraf/issues"},"dist":{"shasum":"55db733233eb610ab25abe4e43c20e31ce82b922","tarball":"https://registry.npmjs.org/telegraf/-/telegraf-2.7.2.tgz","integrity":"sha512-7agpCh43hVL97cTZOkSyQbE8MmP8T8T7OC/zsXItK8sjljqIfj3q1v5NXUARxOyR7EVYNTlsXREHgruN4fjB9g==","signatures":[{"sig":"MEUCIQCZwUXum6+PKbwI4JB33kdCZDYRNnTX26Kn/M6yP0pyjQIgGtaZrtm6hSiooRnSCnbwgTbnMl1nRJCFKRm0b4nrQn0=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}]},"main":"index.js","_from":".","files":["docs/api.md","lib/shared/composer.js","lib/shared/memory-session.js","lib/shared/router.js","lib/telegram/client.js","lib/telegram/extra.js","lib/telegram/platform.js","lib/telegram/reply-markup.js","lib/context.js","lib/telegraf.js","index.js"],"_shasum":"55db733233eb610ab25abe4e43c20e31ce82b922","authors":["Vitaly Domnikov "],"engines":{"node":">=6.2.0"},"gitHead":"0b1323d9d8d98179876e0178b943787530583f3f","scripts":{"test":"eslint . && mocha test"},"_npmUser":{"name":"dotcypress","email":"dotcypress@gmail.com"},"repository":{"url":"git+ssh://git@github.com/telegraf/telegraf.git","type":"git"},"_npmVersion":"3.8.9","description":"📢 Telegram bot framework","directories":{},"_nodeVersion":"6.2.0","dependencies":{"debug":"^2.2.0","node-fetch":"^1.5.1","sandwich-stream":"^1.0.0"},"devDependencies":{"mocha":"^3.0.0","eslint":"^3.1.1","should":"^11.1.0","supervisor":"^0.11.0","eslint-plugin-mocha":"^4.0.0","eslint-plugin-promise":"^2.0.0","eslint-config-standard":"^5.3.1","eslint-plugin-standard":"^2.0.0"},"_npmOperationalInternal":{"tmp":"tmp/telegraf-2.7.2.tgz_1471841336098_0.46693088416941464","host":"packages-12-west.internal.npmjs.com"}},"2.7.3":{"name":"telegraf","version":"2.7.3","keywords":["telegram","telegraf","bot","bot framework","telegram bot","telegram bot api","botapi"],"author":{"name":"Vitaly Domnikov","email":"dotcypress@gmail.com"},"license":"MIT","_id":"telegraf@2.7.3","maintainers":[{"name":"dotcypress","email":"dotcypress@gmail.com"}],"homepage":"https://github.com/telegraf/telegraf#readme","bugs":{"url":"https://github.com/telegraf/telegraf/issues"},"dist":{"shasum":"195e1d247b6d876939f9f4df7b31a325f0de676b","tarball":"https://registry.npmjs.org/telegraf/-/telegraf-2.7.3.tgz","integrity":"sha512-NDzcyDxz2OWfT4QxSafw0ncxj2tWLhNfQDxABot8j5LAkK2eVvbjPmDOl9Obwa1ChmiQ6mCxMlp9ztZ0YUIcsA==","signatures":[{"sig":"MEUCIQC3Xs6HtKj7Zt5aAtkJ0smkj9M71IqYlrSskxOntT4xgQIgAxkN6bwMDMr25cBxox3h01T+6X/gJTomnkNriPlJ9C4=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}]},"main":"index.js","_from":".","files":["index.js","docs/api.md","lib/composer.js","lib/context.js","lib/memory-session.js","lib/router.js","lib/telegraf.js","lib/telegram/client.js","lib/telegram/error.js","lib/telegram/extra.js","lib/telegram/multipart-stream.js","lib/telegram/platform.js","lib/telegram/reply-markup.js"],"_shasum":"195e1d247b6d876939f9f4df7b31a325f0de676b","engines":{"node":">=6.2.0"},"gitHead":"4a32893e9addbbcfcfe9d3624dd2498e7982081b","scripts":{"test":"eslint . && ava test"},"_npmUser":{"name":"dotcypress","email":"dotcypress@gmail.com"},"repository":{"url":"git+ssh://git@github.com/telegraf/telegraf.git","type":"git"},"_npmVersion":"3.8.9","description":"📢 Telegram bot framework","directories":{},"_nodeVersion":"6.2.0","dependencies":{"debug":"^2.2.0","node-fetch":"^1.5.1","sandwich-stream":"^1.0.0"},"devDependencies":{"ava":"^0.16.0","eslint":"^3.1.1","should":"^11.1.0","eslint-plugin-ava":"^3.0.0","eslint-plugin-mocha":"^4.0.0","eslint-plugin-promise":"^2.0.0","eslint-config-standard":"^6.0.0","eslint-plugin-standard":"^2.0.0"},"_npmOperationalInternal":{"tmp":"tmp/telegraf-2.7.3.tgz_1472173058031_0.8945401450619102","host":"packages-12-west.internal.npmjs.com"}},"2.8.0":{"name":"telegraf","version":"2.8.0","keywords":["telegram","telegraf","bot","bot framework","telegram bot","telegram bot api","botapi"],"author":{"name":"Vitaly Domnikov","email":"dotcypress@gmail.com"},"license":"MIT","_id":"telegraf@2.8.0","maintainers":[{"name":"dotcypress","email":"dotcypress@gmail.com"}],"homepage":"https://github.com/telegraf/telegraf#readme","bugs":{"url":"https://github.com/telegraf/telegraf/issues"},"dist":{"shasum":"01654d56c9252e41c221f6672c4831e76156477d","tarball":"https://registry.npmjs.org/telegraf/-/telegraf-2.8.0.tgz","integrity":"sha512-QKerqHnLJMwTT4RQFWUIFeKBmF8SjaL8MN/nfuiDYvrHrbpAMtcrCrawyL7V95nnAtZsicjkdt1G4l6W2V0HVA==","signatures":[{"sig":"MEUCIGKD4aAxRh7r5XTJac53loR5X7f8xdPl5Mo8b7btaQxWAiEAiwFt39Ci0ayFnTH0/Qy18CrQHy4syFjjJu8JS2CiVeQ=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}]},"main":"index.js","_from":".","files":["index.js","docs/api.md","lib/composer.js","lib/context.js","lib/memory-session.js","lib/router.js","lib/telegraf.js","lib/telegram/client.js","lib/telegram/error.js","lib/telegram/extra.js","lib/telegram/multipart-stream.js","lib/telegram/platform.js","lib/telegram/reply-markup.js"],"_shasum":"01654d56c9252e41c221f6672c4831e76156477d","engines":{"node":">=6.2.0"},"gitHead":"dc31e412f37f1d84d8ed17bad6ce04fb74e2fc1c","scripts":{"test":"eslint . && ava test --timeout=1s"},"_npmUser":{"name":"dotcypress","email":"dotcypress@gmail.com"},"repository":{"url":"git+ssh://git@github.com/telegraf/telegraf.git","type":"git"},"_npmVersion":"3.8.9","description":"📢 Telegram bot framework","directories":{},"_nodeVersion":"6.2.0","dependencies":{"debug":"^2.2.0","node-fetch":"^1.5.1","sandwich-stream":"^1.0.0"},"devDependencies":{"ava":"^0.16.0","eslint":"^3.4.0","should":"^11.1.0","eslint-plugin-ava":"^3.0.0","eslint-plugin-mocha":"^4.0.0","eslint-plugin-promise":"^2.0.0","eslint-config-standard":"^6.0.0","eslint-plugin-standard":"^2.0.0"},"_npmOperationalInternal":{"tmp":"tmp/telegraf-2.8.0.tgz_1472326238539_0.8452384672127664","host":"packages-16-east.internal.npmjs.com"}},"2.8.1":{"name":"telegraf","version":"2.8.1","keywords":["telegram","telegraf","bot","bot framework","telegram bot","telegram bot api","botapi"],"author":{"name":"Vitaly Domnikov","email":"dotcypress@gmail.com"},"license":"MIT","_id":"telegraf@2.8.1","maintainers":[{"name":"dotcypress","email":"dotcypress@gmail.com"}],"homepage":"https://github.com/telegraf/telegraf#readme","bugs":{"url":"https://github.com/telegraf/telegraf/issues"},"dist":{"shasum":"977559220a91a3bbce35e3e779b90ca13a1aa3ac","tarball":"https://registry.npmjs.org/telegraf/-/telegraf-2.8.1.tgz","integrity":"sha512-U7PpDoKN3NrMzNtVWrCWMSHZk1k1DZtRGMNhEkRCmT3tzZDnT72eqkpTDApXAE6BnQ0S6lhQZ0eaJS/0xpgIRw==","signatures":[{"sig":"MEQCIAwv9wGMB93sMz4mNodRFyYfhEy/IjQZFyT4DG1qB2jmAiALfxPY6gEOYRmOJ9L0BKYYpqBGkVJj+wkoUbV1JyJqRg==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}]},"main":"index.js","_from":".","files":["index.js","docs/introduction.md","docs/extra.md","docs/context.md","docs/advanced.md","docs/telegraf.md","docs/telegram.md","lib/composer.js","lib/context.js","lib/memory-session.js","lib/router.js","lib/telegraf.js","lib/telegram/client.js","lib/telegram/error.js","lib/telegram/extra.js","lib/telegram/multipart-stream.js","lib/telegram/platform.js","lib/telegram/reply-markup.js"],"_shasum":"977559220a91a3bbce35e3e779b90ca13a1aa3ac","engines":{"node":">=6.2.0"},"gitHead":"6226c8e01e68ab4a7e368e5a3010a3cc9af253cf","scripts":{"test":"eslint . && ava test --timeout=5s","docs:build":"docpress b","docs:serve":"docpress s"},"_npmUser":{"name":"dotcypress","email":"dotcypress@gmail.com"},"docpress":{"css":"docs/style.css","github":"telegraf/telegraf","markdown":{"plugins":{"decorate":{}}}},"repository":{"url":"git+ssh://git@github.com/telegraf/telegraf.git","type":"git"},"_npmVersion":"3.10.7","description":"📣 Modern Telegram bot framework","directories":{},"_nodeVersion":"6.4.0","dependencies":{"debug":"^2.2.0","node-fetch":"^1.5.1","sandwich-stream":"^1.0.0"},"devDependencies":{"ava":"^0.16.0","eslint":"^3.4.0","should":"^11.1.0","docpress":"0.6.13","eslint-plugin-ava":"^3.0.0","eslint-plugin-promise":"^2.0.0","eslint-config-standard":"^6.0.0","eslint-plugin-standard":"^2.0.0"},"_npmOperationalInternal":{"tmp":"tmp/telegraf-2.8.1.tgz_1473723380571_0.7260846742428839","host":"packages-12-west.internal.npmjs.com"}},"2.9.0":{"name":"telegraf","version":"2.9.0","keywords":["telegram","telegraf","bot","bot framework","telegram bot","telegram bot api","botapi"],"author":{"name":"Vitaly Domnikov","email":"dotcypress@gmail.com"},"license":"MIT","_id":"telegraf@2.9.0","maintainers":[{"name":"dotcypress","email":"dotcypress@gmail.com"}],"homepage":"https://github.com/telegraf/telegraf#readme","bugs":{"url":"https://github.com/telegraf/telegraf/issues"},"dist":{"shasum":"b1bcc10be7ea7a3dd659120906ed3c36ef2d32a3","tarball":"https://registry.npmjs.org/telegraf/-/telegraf-2.9.0.tgz","integrity":"sha512-COChUeD0gANhUtSdepFg7QUGfW1fhXe7tpo+6s/OyJdEJos+yOBb148caJzdh5Ajyg014H0WQ3bxpeF6TtAvrQ==","signatures":[{"sig":"MEUCIDfMkixTPZFrdTo5qqGkoV/z+OAphQvrWwFxhYCgRm8jAiEAuk4lvBrRG0VzgjsSZmxPjjmb52YFOnf1APdyySDm+pg=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}]},"main":"index.js","_from":".","files":["index.js","docs/introduction.md","docs/extra.md","docs/context.md","docs/advanced.md","docs/telegraf.md","docs/telegram.md","lib/composer.js","lib/context.js","lib/memory-session.js","lib/router.js","lib/telegraf.js","lib/telegram/client.js","lib/telegram/error.js","lib/telegram/extra.js","lib/telegram/multipart-stream.js","lib/telegram/platform.js","lib/telegram/reply-markup.js"],"_shasum":"b1bcc10be7ea7a3dd659120906ed3c36ef2d32a3","engines":{"node":">=6.2.0"},"gitHead":"0c46e4a6becf8e7b74e7e7ad5d08ff6d47f8283b","scripts":{"test":"eslint . && ava test --timeout=5s","benchmark":"matcha benchmark.js","docs:build":"docpress b","docs:serve":"docpress s"},"_npmUser":{"name":"dotcypress","email":"dotcypress@gmail.com"},"docpress":{"css":"docs/style.css","github":"telegraf/telegraf","markdown":{"plugins":{"decorate":{}}}},"repository":{"url":"git+ssh://git@github.com/telegraf/telegraf.git","type":"git"},"_npmVersion":"3.10.3","description":"📣 Modern Telegram bot framework","directories":{},"_nodeVersion":"6.6.0","dependencies":{"debug":"^2.2.0","node-fetch":"^1.5.1","sandwich-stream":"^1.0.0"},"devDependencies":{"ava":"^0.16.0","eslint":"^3.4.0","matcha":"^0.7.0","should":"^11.1.0","docpress":"0.6.13","eslint-plugin-ava":"^3.0.0","eslint-plugin-promise":"^2.0.0","eslint-config-standard":"^6.0.0","eslint-plugin-standard":"^2.0.0"},"_npmOperationalInternal":{"tmp":"tmp/telegraf-2.9.0.tgz_1474078926046_0.6317077393177897","host":"packages-16-east.internal.npmjs.com"}},"2.9.1":{"name":"telegraf","version":"2.9.1","keywords":["telegram","telegraf","bot","bot framework","telegram bot","telegram bot api","botapi"],"author":{"name":"Vitaly Domnikov","email":"dotcypress@gmail.com"},"license":"MIT","_id":"telegraf@2.9.1","maintainers":[{"name":"dotcypress","email":"dotcypress@gmail.com"}],"homepage":"https://github.com/telegraf/telegraf#readme","bugs":{"url":"https://github.com/telegraf/telegraf/issues"},"dist":{"shasum":"b9d03e97775d93a17de2994d89848d7acc35a3bb","tarball":"https://registry.npmjs.org/telegraf/-/telegraf-2.9.1.tgz","integrity":"sha512-uIq+MXgVU/+pCGl3tWy0paPwQl9e/D/zUIGV0qII1gZSwPOomq+DG8l2aSjwWV3Alm7e27yp0VvusrftsZuciQ==","signatures":[{"sig":"MEUCIQCYIlwBFOjtAjahBJX9WpNcAwbo2coEocyxIpg1HgVtbwIgHaAkGjAXrRdO7HYWXOro8j8h5QAT+dgpDo/NMybpv5E=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}]},"main":"index.js","_from":".","files":["index.js","docs/introduction.md","docs/extra.md","docs/context.md","docs/advanced.md","docs/telegraf.md","docs/telegram.md","lib/composer.js","lib/context.js","lib/memory-session.js","lib/router.js","lib/telegraf.js","lib/telegram/client.js","lib/telegram/error.js","lib/telegram/extra.js","lib/telegram/multipart-stream.js","lib/telegram/platform.js","lib/telegram/reply-markup.js"],"_shasum":"b9d03e97775d93a17de2994d89848d7acc35a3bb","engines":{"node":">=6.2.0"},"gitHead":"84373e3d46f14dd19591779f9acc3fe5ca89b66e","scripts":{"test":"eslint . && ava test --timeout=5s","benchmark":"matcha benchmark.js","docs:build":"docpress b","docs:serve":"docpress s"},"_npmUser":{"name":"dotcypress","email":"dotcypress@gmail.com"},"docpress":{"css":"docs/style.css","github":"telegraf/telegraf","markdown":{"plugins":{"decorate":{}}}},"repository":{"url":"git+ssh://git@github.com/telegraf/telegraf.git","type":"git"},"_npmVersion":"3.10.3","description":"📣 Modern Telegram bot framework","directories":{},"_nodeVersion":"6.6.0","dependencies":{"debug":"^2.2.0","node-fetch":"^1.5.1","sandwich-stream":"^1.0.0"},"devDependencies":{"ava":"^0.16.0","eslint":"^3.4.0","matcha":"^0.7.0","should":"^11.1.0","bluebird":"^3.4.6","docpress":"0.6.13","eslint-plugin-ava":"^3.0.0","eslint-plugin-promise":"^2.0.0","eslint-config-standard":"^6.0.0","eslint-plugin-standard":"^2.0.0"},"_npmOperationalInternal":{"tmp":"tmp/telegraf-2.9.1.tgz_1474591253289_0.022277699084952474","host":"packages-16-east.internal.npmjs.com"}},"2.9.2":{"name":"telegraf","version":"2.9.2","keywords":["telegram","telegraf","bot","bot framework","telegram bot","telegram bot api","botapi"],"author":{"name":"Vitaly Domnikov","email":"dotcypress@gmail.com"},"license":"MIT","_id":"telegraf@2.9.2","maintainers":[{"name":"dotcypress","email":"dotcypress@gmail.com"}],"homepage":"https://github.com/telegraf/telegraf#readme","bugs":{"url":"https://github.com/telegraf/telegraf/issues"},"dist":{"shasum":"9ceb3716d07f21d1691410466bf561d640ee2d40","tarball":"https://registry.npmjs.org/telegraf/-/telegraf-2.9.2.tgz","integrity":"sha512-FGiqv+JLjdC56yrsVIKqsStydnmRXpebsaTawffwomUUUWc75LJ0K/nbbO9L3YyCs0p+1yPmZ7NG/4795k2OzA==","signatures":[{"sig":"MEUCIQD6wt7kNoz3wc0Q2gZlouxIAO6rlmUiaVt6aZQ5daA3IAIgSg6N3xaz1l2ZQDAvP8/u/9zcb6LsWs8cie5XIDsYnBA=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}]},"main":"index.js","_from":".","files":["index.js","docs/introduction.md","docs/extra.md","docs/context.md","docs/advanced.md","docs/telegraf.md","docs/telegram.md","lib/composer.js","lib/context.js","lib/memory-session.js","lib/router.js","lib/telegraf.js","lib/telegram/client.js","lib/telegram/error.js","lib/telegram/extra.js","lib/telegram/multipart-stream.js","lib/telegram/replicators.js","lib/telegram/reply-markup.js"],"_shasum":"9ceb3716d07f21d1691410466bf561d640ee2d40","engines":{"node":">=6.2.0"},"gitHead":"99579c4796efcf7af1f747923a4b7695b49b4748","scripts":{"test":"eslint . && ava test --timeout=5s","benchmark":"matcha benchmark.js","docs:build":"docpress b","docs:serve":"docpress s"},"_npmUser":{"name":"dotcypress","email":"dotcypress@gmail.com"},"docpress":{"css":"docs/style.css","github":"telegraf/telegraf","markdown":{"plugins":{"decorate":{}}}},"repository":{"url":"git+ssh://git@github.com/telegraf/telegraf.git","type":"git"},"_npmVersion":"3.10.3","description":"📣 Modern Telegram bot framework","directories":{},"_nodeVersion":"6.6.0","dependencies":{"debug":"^2.2.0","node-fetch":"^1.5.1","sandwich-stream":"^1.0.0"},"devDependencies":{"ava":"^0.16.0","eslint":"^3.4.0","matcha":"^0.7.0","should":"^11.1.0","bluebird":"^3.4.6","docpress":"0.6.13","eslint-plugin-ava":"^3.0.0","eslint-plugin-promise":"^2.0.0","eslint-config-standard":"^6.0.0","eslint-plugin-standard":"^2.0.0"},"_npmOperationalInternal":{"tmp":"tmp/telegraf-2.9.2.tgz_1474674495197_0.8931866378989071","host":"packages-16-east.internal.npmjs.com"}},"3.0.0":{"name":"telegraf","version":"3.0.0","keywords":["telegram","telegraf","bot","chatbot","bot framework","telegram bot","telegram bot api","botapi"],"author":{"name":"Vitaly Domnikov","email":"dotcypress@gmail.com"},"license":"MIT","_id":"telegraf@3.0.0","maintainers":[{"name":"dotcypress","email":"dotcypress@gmail.com"}],"homepage":"https://github.com/telegraf/telegraf#readme","bugs":{"url":"https://github.com/telegraf/telegraf/issues"},"dist":{"shasum":"ae24dde6f1bc6dcb6bcf6930f1fab46aba9d03d2","tarball":"https://registry.npmjs.org/telegraf/-/telegraf-3.0.0.tgz","integrity":"sha512-Xb9Kz30/83ls2kIcUp2TweY2TwHH5x4I4B0gtrRNhZuvXhw/rVFjToz/aScUA5LxczeNimBmKQbVeFMA4PpKVQ==","signatures":[{"sig":"MEUCIQDTEjYAgTSpG6rgNgC4KI3JykYOgSqNe13fwflJ21lbjwIgH5jd59Ta43ub+cPYs4UUMRdoN7BMMuoV85yfyzYZ2Fg=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}]},"main":"index.js","_from":".","files":["index.js","docs/introduction.md","docs/extra.md","docs/context.md","docs/advanced.md","docs/telegraf.md","docs/telegram.md","lib/composer.js","lib/context.js","lib/session.js","lib/router.js","lib/telegraf.js","lib/telegram/client.js","lib/telegram/constants.js","lib/telegram/error.js","lib/telegram/extra.js","lib/telegram/multipart-stream.js","lib/telegram/replicators.js","lib/telegram/telegram.js","lib/telegram/reply-markup.js"],"_shasum":"ae24dde6f1bc6dcb6bcf6930f1fab46aba9d03d2","engines":{"node":">=6.2.0"},"gitHead":"3e720ef0050bbb83bcc23e73694af3837d278477","scripts":{"test":"eslint . && ava test --timeout=5s"},"_npmUser":{"name":"dotcypress","email":"dotcypress@gmail.com"},"repository":{"url":"git+ssh://git@github.com/telegraf/telegraf.git","type":"git"},"_npmVersion":"3.10.3","description":"📣 Modern Telegram bot framework","directories":{},"_nodeVersion":"6.7.0","dependencies":{"debug":"^2.2.0","node-fetch":"^1.6.3","sandwich-stream":"^1.0.0"},"devDependencies":{"ava":"^0.16.0","eslint":"^3.7.0","should":"^11.1.0","eslint-plugin-ava":"^3.1.0","eslint-plugin-promise":"^2.0.0","eslint-config-standard":"^6.0.0","eslint-plugin-standard":"^2.0.1"},"_npmOperationalInternal":{"tmp":"tmp/telegraf-3.0.0.tgz_1475522959669_0.7070715732406825","host":"packages-16-east.internal.npmjs.com"}},"3.0.1":{"name":"telegraf","version":"3.0.1","keywords":["telegram","telegraf","bot","chatbot","bot framework","telegram bot","telegram bot api","botapi"],"author":{"name":"Vitaly Domnikov","email":"dotcypress@gmail.com"},"license":"MIT","_id":"telegraf@3.0.1","maintainers":[{"name":"dotcypress","email":"dotcypress@gmail.com"}],"homepage":"https://github.com/telegraf/telegraf#readme","bugs":{"url":"https://github.com/telegraf/telegraf/issues"},"dist":{"shasum":"510a607f606b5c675bb678387776b1b8780167cd","tarball":"https://registry.npmjs.org/telegraf/-/telegraf-3.0.1.tgz","integrity":"sha512-qdIkWXH/i9F55YHGdpeV28IB6CKScG28UL0qQGuWUFg4b4o0R1RUqKbzoH+t52nTYQLvuyTLEOP0Q5Ac4GYqfA==","signatures":[{"sig":"MEYCIQDDtbswmdOeK+xrYopTOKYcGUe4wc2rhTH/MUw5rNTOsgIhALY7MUy5vGc/ZbV/Lq5d1fwWeTE7XqNIVZchYURB7emK","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}]},"main":"index.js","_from":".","files":["index.js","docs/introduction.md","docs/extra.md","docs/context.md","docs/advanced.md","docs/telegraf.md","docs/telegram.md","lib/composer.js","lib/context.js","lib/session.js","lib/router.js","lib/telegraf.js","lib/telegram/client.js","lib/telegram/constants.js","lib/telegram/error.js","lib/telegram/extra.js","lib/telegram/multipart-stream.js","lib/telegram/replicators.js","lib/telegram/telegram.js","lib/telegram/reply-markup.js"],"_shasum":"510a607f606b5c675bb678387776b1b8780167cd","engines":{"node":">=6.2.0"},"gitHead":"b2c38e29c39b55e283a0f6860142bb22859b0259","scripts":{"test":"eslint . && ava test --timeout=5s"},"_npmUser":{"name":"dotcypress","email":"dotcypress@gmail.com"},"repository":{"url":"git+ssh://git@github.com/telegraf/telegraf.git","type":"git"},"_npmVersion":"3.10.3","description":"📣 Modern Telegram bot framework","directories":{},"_nodeVersion":"6.7.0","dependencies":{"debug":"^2.2.0","node-fetch":"^1.6.3","sandwich-stream":"^1.0.0"},"devDependencies":{"ava":"^0.16.0","eslint":"^3.7.0","should":"^11.1.0","eslint-plugin-ava":"^3.1.0","eslint-plugin-promise":"^2.0.0","eslint-config-standard":"^6.0.0","eslint-plugin-standard":"^2.0.1"},"_npmOperationalInternal":{"tmp":"tmp/telegraf-3.0.1.tgz_1475704951444_0.9705473855137825","host":"packages-16-east.internal.npmjs.com"}},"3.0.2":{"name":"telegraf","version":"3.0.2","keywords":["telegram","telegraf","bot","chatbot","bot framework","telegram bot","telegram bot api","botapi"],"author":{"name":"Vitaly Domnikov","email":"dotcypress@gmail.com"},"license":"MIT","_id":"telegraf@3.0.2","maintainers":[{"name":"dotcypress","email":"dotcypress@gmail.com"}],"homepage":"https://github.com/telegraf/telegraf#readme","bugs":{"url":"https://github.com/telegraf/telegraf/issues"},"dist":{"shasum":"31a8a475b87956b64fcdd97766493eee25a894e1","tarball":"https://registry.npmjs.org/telegraf/-/telegraf-3.0.2.tgz","integrity":"sha512-AcJna8gVBgjS37cGB+1rtgqyEzoGnuUCF0yoywQFiv46VR9WvdigH+tPgBDwKWfwswiDyee8nik4+NFVhR8WdA==","signatures":[{"sig":"MEUCIFzJGHx0WFekHY9NhtXfZfCZhnY2xPy/tQ1rs+rg6GI6AiEArZtiRBepRCo9Jyyz4uBglgeFjcDMEF5ul+OQoO+Tllc=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}]},"main":"index.js","_from":".","files":["index.js","docs","lib"],"_shasum":"31a8a475b87956b64fcdd97766493eee25a894e1","engines":{"node":">=6.2.0"},"gitHead":"9ff15b199d1ed297d67ec1c8badeb2f4ca2a3d4e","scripts":{"test":"eslint . && ava test --timeout=5s"},"_npmUser":{"name":"dotcypress","email":"dotcypress@gmail.com"},"repository":{"url":"git+ssh://git@github.com/telegraf/telegraf.git","type":"git"},"_npmVersion":"3.10.3","description":"📣 Modern Telegram bot framework","directories":{},"_nodeVersion":"6.7.0","dependencies":{"debug":"^2.2.0","node-fetch":"^1.6.3","sandwich-stream":"^1.0.0"},"devDependencies":{"ava":"^0.16.0","eslint":"^3.7.0","should":"^11.1.0","eslint-plugin-ava":"^3.1.0","eslint-plugin-promise":"^2.0.0","eslint-config-standard":"^6.0.0","eslint-plugin-standard":"^2.0.1"},"_npmOperationalInternal":{"tmp":"tmp/telegraf-3.0.2.tgz_1475888162818_0.19379295851103961","host":"packages-12-west.internal.npmjs.com"}},"3.1.0":{"name":"telegraf","version":"3.1.0","keywords":["telegraf","telegram","telegram bot","telegram bot api","botapi","bot framework"],"author":{"name":"Vitaly Domnikov","email":"dotcypress@gmail.com"},"license":"MIT","_id":"telegraf@3.1.0","maintainers":[{"name":"dotcypress","email":"dotcypress@gmail.com"}],"homepage":"https://github.com/telegraf/telegraf#readme","bugs":{"url":"https://github.com/telegraf/telegraf/issues"},"dist":{"shasum":"36a4a568aa28e12e92ffaeb251770f88a717cf11","tarball":"https://registry.npmjs.org/telegraf/-/telegraf-3.1.0.tgz","integrity":"sha512-UIcznVGmdgVVxOBep7rJVPioj7dJ9L2VfHmWgFTjpaazVVdfPZdJ17snK6RmeHGiQ8RB/73EbXgEcvWz5v0l0A==","signatures":[{"sig":"MEQCIF402qjqr2NRqr/Do0opl+dE7hkgosoMzD+Al6Xrh2UiAiBavI15KTwJCO6xEzkksh0758nLTIEy2IT6waQjdWnrsg==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}]},"main":"index.js","_from":".","files":["index.js","docs","lib"],"_shasum":"36a4a568aa28e12e92ffaeb251770f88a717cf11","engines":{"node":">=6.2.0"},"gitHead":"9ef2e13619430e7cf6834fe2d6e9a29ee7770595","scripts":{"test":"eslint . && ava test --timeout=5s"},"_npmUser":{"name":"dotcypress","email":"dotcypress@gmail.com"},"repository":{"url":"git+ssh://git@github.com/telegraf/telegraf.git","type":"git"},"_npmVersion":"3.10.3","description":"📣 Modern Telegram bot framework","directories":{},"_nodeVersion":"6.7.0","dependencies":{"debug":"^2.2.0","node-fetch":"^1.6.3","sandwich-stream":"^1.0.0"},"devDependencies":{"ava":"^0.16.0","eslint":"^3.7.0","should":"^11.1.0","eslint-plugin-ava":"^3.1.0","eslint-plugin-promise":"^3.0.0","eslint-config-standard":"^6.0.0","eslint-plugin-standard":"^2.0.1"},"_npmOperationalInternal":{"tmp":"tmp/telegraf-3.1.0.tgz_1475951014970_0.17402215558104217","host":"packages-16-east.internal.npmjs.com"}},"3.2.0":{"name":"telegraf","version":"3.2.0","keywords":["telegraf","telegram","telegram bot","telegram bot api","botapi","bot framework"],"author":{"name":"Vitaly Domnikov","email":"dotcypress@gmail.com"},"license":"MIT","_id":"telegraf@3.2.0","maintainers":[{"name":"dotcypress","email":"dotcypress@gmail.com"}],"homepage":"https://github.com/telegraf/telegraf#readme","bugs":{"url":"https://github.com/telegraf/telegraf/issues"},"dist":{"shasum":"60aa4bbe77c9330cd8e06e2798957b387242659f","tarball":"https://registry.npmjs.org/telegraf/-/telegraf-3.2.0.tgz","integrity":"sha512-7Bu9JeLvKLvvCJkyncyuwxQRTaHsNWO+PPBi7at7/zeBRukYSiqdD2p0ayIzLL+dB2/4BHZUW62wHu78TUMCSA==","signatures":[{"sig":"MEUCIQCFtQKEsPdFj4LVLs4uUscXfK8yxWV+5GhlIaPuyvwm8QIgW9NQfdFMDAsh2JWrIdCUYGKiKYC8evRzACjiJtsOdAk=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}]},"main":"index.js","_from":".","files":["index.js","docs","lib"],"_shasum":"60aa4bbe77c9330cd8e06e2798957b387242659f","engines":{"node":">=6.2.0"},"gitHead":"acd1d37690f0296de997aa097a091b8c19fe216e","scripts":{"test":"eslint . && ava test --timeout=5s"},"_npmUser":{"name":"dotcypress","email":"dotcypress@gmail.com"},"repository":{"url":"git+ssh://git@github.com/telegraf/telegraf.git","type":"git"},"_npmVersion":"3.10.3","description":"📣 Modern Telegram bot framework","directories":{},"_nodeVersion":"6.7.0","dependencies":{"debug":"^2.2.0","node-fetch":"^1.6.3","sandwich-stream":"^1.0.0"},"devDependencies":{"ava":"^0.16.0","eslint":"^3.7.0","should":"^11.1.0","eslint-plugin-ava":"^3.1.0","eslint-plugin-promise":"^3.0.0","eslint-config-standard":"^6.0.0","eslint-plugin-standard":"^2.0.1"},"_npmOperationalInternal":{"tmp":"tmp/telegraf-3.2.0.tgz_1476213475640_0.6735462120268494","host":"packages-16-east.internal.npmjs.com"}},"3.2.1":{"name":"telegraf","version":"3.2.1","keywords":["telegraf","telegram","telegram bot","telegram bot api","botapi","bot framework"],"author":{"name":"Vitaly Domnikov","email":"dotcypress@gmail.com"},"license":"MIT","_id":"telegraf@3.2.1","maintainers":[{"name":"dotcypress","email":"dotcypress@gmail.com"}],"homepage":"https://github.com/telegraf/telegraf#readme","bugs":{"url":"https://github.com/telegraf/telegraf/issues"},"dist":{"shasum":"d7c22dfa888d5084558fc6883c3a105f986ec3b0","tarball":"https://registry.npmjs.org/telegraf/-/telegraf-3.2.1.tgz","integrity":"sha512-bXs65pHe2wMjOVYuZjsZZGhm+h16jZUhaOKZSsVU9z/BfjVljz3S91TZw0o7ISa3N7oWSrC98wnGTA4jG0M5PA==","signatures":[{"sig":"MEQCIAaXyUDTBUGpVFUeISYQpqg0bbdalTRYMdkeGPGGqspjAiAqbb6bofd58tJOCwd26G6/mhp74uI80/ip6OiDEjOsrA==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}]},"main":"index.js","_from":".","files":["index.js","docs","lib"],"_shasum":"d7c22dfa888d5084558fc6883c3a105f986ec3b0","engines":{"node":">=6.2.0"},"gitHead":"3f78f8029e07b3f8ad755a6ccb4e81b53b2ae338","scripts":{"test":"eslint . && ava test --timeout=5s"},"_npmUser":{"name":"dotcypress","email":"dotcypress@gmail.com"},"repository":{"url":"git+ssh://git@github.com/telegraf/telegraf.git","type":"git"},"_npmVersion":"3.10.3","description":"📣 Modern Telegram bot framework","directories":{},"_nodeVersion":"6.7.0","dependencies":{"debug":"^2.2.0","node-fetch":"^1.6.3","sandwich-stream":"^1.0.0"},"devDependencies":{"ava":"^0.16.0","eslint":"^3.7.0","should":"^11.1.0","eslint-plugin-ava":"^3.1.0","eslint-plugin-promise":"^3.0.0","eslint-config-standard":"^6.0.0","eslint-plugin-standard":"^2.0.1"},"_npmOperationalInternal":{"tmp":"tmp/telegraf-3.2.1.tgz_1476329463886_0.7381869405508041","host":"packages-12-west.internal.npmjs.com"}},"3.2.2":{"name":"telegraf","version":"3.2.2","keywords":["telegraf","telegram","telegram bot","telegram bot api","botapi","bot framework"],"author":{"name":"Vitaly Domnikov","email":"dotcypress@gmail.com"},"license":"MIT","_id":"telegraf@3.2.2","maintainers":[{"name":"dotcypress","email":"dotcypress@gmail.com"}],"homepage":"https://github.com/telegraf/telegraf#readme","bugs":{"url":"https://github.com/telegraf/telegraf/issues"},"dist":{"shasum":"cfe3493c326e11a63bfd4ac594f282f3c76ce119","tarball":"https://registry.npmjs.org/telegraf/-/telegraf-3.2.2.tgz","integrity":"sha512-MOJPpMOmCZVUvFAEzoUhmPZrJV3riHs3YE/vZl407m1d5BP9pKlLKzFWsQxziaa4sUdMkDvwvwf4odtR/+vWIQ==","signatures":[{"sig":"MEYCIQD+J37X542EBO1hUvQrhEIhioImTM4CROFwKrq4WBBLqAIhAI48G9xRxEKK7vs1+in0acsFcc/VYHqZmc68X/k2Ctei","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}]},"main":"index.js","_from":".","files":["index.js","docs","lib"],"_shasum":"cfe3493c326e11a63bfd4ac594f282f3c76ce119","engines":{"node":">=6.2.0"},"gitHead":"7c4ddbea7c31c4f45b209b10f0fe2b60137a84b9","scripts":{"test":"eslint . && ava test --timeout=5s"},"_npmUser":{"name":"dotcypress","email":"dotcypress@gmail.com"},"repository":{"url":"git+ssh://git@github.com/telegraf/telegraf.git","type":"git"},"_npmVersion":"3.10.3","description":"📣 Modern Telegram bot framework","directories":{},"_nodeVersion":"6.7.0","dependencies":{"debug":"^2.2.0","node-fetch":"^1.6.3","sandwich-stream":"^1.0.0"},"devDependencies":{"ava":"^0.16.0","eslint":"^3.7.0","should":"^11.1.0","eslint-plugin-ava":"^3.1.0","eslint-plugin-promise":"^3.0.0","eslint-config-standard":"^6.0.0","eslint-plugin-standard":"^2.0.1"},"_npmOperationalInternal":{"tmp":"tmp/telegraf-3.2.2.tgz_1476413776498_0.7127835717983544","host":"packages-16-east.internal.npmjs.com"}},"3.2.3":{"name":"telegraf","version":"3.2.3","keywords":["telegraf","telegram","telegram bot","telegram bot api","botapi","bot framework"],"author":{"name":"Vitaly Domnikov","email":"dotcypress@gmail.com"},"license":"MIT","_id":"telegraf@3.2.3","maintainers":[{"name":"dotcypress","email":"dotcypress@gmail.com"}],"homepage":"https://github.com/telegraf/telegraf#readme","bugs":{"url":"https://github.com/telegraf/telegraf/issues"},"dist":{"shasum":"e5968ad6bd3c73913d9669e589b247e9d6954f60","tarball":"https://registry.npmjs.org/telegraf/-/telegraf-3.2.3.tgz","integrity":"sha512-HTvqhoSucc8Yk2buUkMIC+oQ8l4rKuNQamk4F2eE2tzCceh1+Lq6cLW41KEliwgIVtqtgZV8edr4+B8Wlvs2Dg==","signatures":[{"sig":"MEUCIGIe/hTyCR7q6tWmxvrSUoAofJeENNuV+tiqh8KHPLpdAiEAtXajk6CvQjskDC+JUcOLgVZozudR6ehBp28efsNTikA=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}]},"main":"index.js","_from":".","files":["index.js","docs","lib"],"_shasum":"e5968ad6bd3c73913d9669e589b247e9d6954f60","engines":{"node":">=6.2.0"},"gitHead":"ba63e402754720116536ad424a1c21b89c395b59","scripts":{"test":"eslint . && ava test --timeout=5s"},"_npmUser":{"name":"dotcypress","email":"dotcypress@gmail.com"},"repository":{"url":"git+ssh://git@github.com/telegraf/telegraf.git","type":"git"},"_npmVersion":"3.10.8","description":"📣 Modern Telegram bot framework","directories":{},"_nodeVersion":"6.8.1","dependencies":{"debug":"^2.2.0","node-fetch":"^1.6.3","sandwich-stream":"^1.0.0"},"devDependencies":{"ava":"^0.16.0","eslint":"^3.7.0","should":"^11.1.0","eslint-plugin-ava":"^3.1.0","eslint-plugin-promise":"^3.0.0","eslint-config-standard":"^6.0.0","eslint-plugin-standard":"^2.0.1"},"_npmOperationalInternal":{"tmp":"tmp/telegraf-3.2.3.tgz_1477000873005_0.22738737845793366","host":"packages-18-east.internal.npmjs.com"}},"3.3.0":{"name":"telegraf","version":"3.3.0","keywords":["telegraf","telegram","telegram bot","telegram bot api","botapi","bot framework"],"author":{"name":"Vitaly Domnikov","email":"dotcypress@gmail.com"},"license":"MIT","_id":"telegraf@3.3.0","maintainers":[{"name":"dotcypress","email":"dotcypress@gmail.com"}],"homepage":"https://github.com/telegraf/telegraf#readme","bugs":{"url":"https://github.com/telegraf/telegraf/issues"},"dist":{"shasum":"0782611e6a5bac8b8ef04d9160ad6833b15e23c7","tarball":"https://registry.npmjs.org/telegraf/-/telegraf-3.3.0.tgz","integrity":"sha512-HSzk+jb/9DdOCaaUKu/E/yWqlGXcY2sgmuXLeHOIWWGiwkvy2W5g0M8buBYhBENyqs5m4vkxHiUKi1YkPFQJVA==","signatures":[{"sig":"MEYCIQC+HDySlm8gEmNSv/UMNnFYyDJEqatEWGwWaTap8eHsHwIhAMFXYMhG0EJ4V0z5hGjUkhzMW/W1ky0OIj2DcHtEhoMo","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}]},"main":"index.js","_from":".","files":["index.js","docs","lib"],"_shasum":"0782611e6a5bac8b8ef04d9160ad6833b15e23c7","engines":{"node":">=6.2.0"},"gitHead":"ac552cc0cc0f0466a778e5a6316d36f369399a2c","scripts":{"test":"eslint . && ava test --timeout=5s"},"_npmUser":{"name":"dotcypress","email":"dotcypress@gmail.com"},"repository":{"url":"git+ssh://git@github.com/telegraf/telegraf.git","type":"git"},"_npmVersion":"3.10.9","description":"📣 Modern Telegram bot framework","directories":{},"_nodeVersion":"6.9.1","dependencies":{"debug":"^2.2.0","node-fetch":"^1.6.3","sandwich-stream":"^1.0.0"},"devDependencies":{"ava":"^0.16.0","eslint":"^3.7.0","should":"^11.1.0","eslint-plugin-ava":"^3.1.0","eslint-plugin-promise":"^3.0.0","eslint-config-standard":"^6.0.0","eslint-plugin-standard":"^2.0.1"},"_npmOperationalInternal":{"tmp":"tmp/telegraf-3.3.0.tgz_1477329298793_0.8050437299534678","host":"packages-12-west.internal.npmjs.com"}},"3.3.1":{"name":"telegraf","version":"3.3.1","keywords":["telegraf","telegram","telegram bot","telegram bot api","botapi","bot framework"],"author":{"name":"Vitaly Domnikov","email":"dotcypress@gmail.com"},"license":"MIT","_id":"telegraf@3.3.1","maintainers":[{"name":"dotcypress","email":"dotcypress@gmail.com"}],"homepage":"https://github.com/telegraf/telegraf#readme","bugs":{"url":"https://github.com/telegraf/telegraf/issues"},"dist":{"shasum":"32487ef72422b2d66e2167045848ec8d346c8282","tarball":"https://registry.npmjs.org/telegraf/-/telegraf-3.3.1.tgz","integrity":"sha512-QdZPzsxNyoHCTQBXVOvSxEcE0Omp4J55nvlEtMR46ML3rK7vu63k6vqU3uzziJvWkTTYc2O/GO/x3Uuw96d+CQ==","signatures":[{"sig":"MEUCIQChq1r4ztLstJ62xsjpo4qbQG6fSF91/xvpTfX/yo2DqwIgPu+AhnwcDMDUrPCcsTYIK4+/Iol0eB8OfHYgz9pJdEA=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}]},"main":"index.js","_from":".","files":["index.js","docs","lib"],"_shasum":"32487ef72422b2d66e2167045848ec8d346c8282","engines":{"node":">=6.2.0"},"gitHead":"9676a680d36b0c6d2aee2e06cb9d5f2bc9cadb33","scripts":{"test":"eslint . && ava test --timeout=5s"},"_npmUser":{"name":"dotcypress","email":"dotcypress@gmail.com"},"repository":{"url":"git+ssh://git@github.com/telegraf/telegraf.git","type":"git"},"_npmVersion":"3.8.9","description":"📡 Modern Telegram bot framework","directories":{},"_nodeVersion":"6.2.0","dependencies":{"debug":"^2.2.0","node-fetch":"^1.6.3","sandwich-stream":"^1.0.0"},"devDependencies":{"ava":"^0.16.0","eslint":"^3.7.0","should":"^11.1.0","eslint-plugin-ava":"^4.0.0","eslint-plugin-promise":"^3.0.0","eslint-config-standard":"^6.0.0","eslint-plugin-standard":"^2.0.1"},"_npmOperationalInternal":{"tmp":"tmp/telegraf-3.3.1.tgz_1478580898738_0.3179777085315436","host":"packages-18-east.internal.npmjs.com"}},"3.4.0":{"name":"telegraf","version":"3.4.0","keywords":["telegraf","telegram","telegram bot","telegram bot api","botapi","bot framework"],"author":{"name":"Vitaly Domnikov","email":"dotcypress@gmail.com"},"license":"MIT","_id":"telegraf@3.4.0","maintainers":[{"name":"dotcypress","email":"dotcypress@gmail.com"}],"homepage":"https://github.com/telegraf/telegraf#readme","bugs":{"url":"https://github.com/telegraf/telegraf/issues"},"dist":{"shasum":"99fc01f21abbe116bae54a914b6b01b15b464c0b","tarball":"https://registry.npmjs.org/telegraf/-/telegraf-3.4.0.tgz","integrity":"sha512-BDG8jh3bxsOCIjrvKYq5a31fQ2W/2tV/tRNlv7dWW6HQ108g6WcNHHBvO2Y/Sh6SYxgC3ijgcp7oA4+CMaiB8Q==","signatures":[{"sig":"MEQCIGxAwHXwRTktBpaDTj84d4NfCcOCn/AJq2WcG6XhJIChAiBNjSA6aLsHcg2bsC0EKzrjgLPaoQ98Lyr5OMI61n4OMg==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}]},"main":"index.js","_from":".","files":["index.js","docs","lib"],"_shasum":"99fc01f21abbe116bae54a914b6b01b15b464c0b","engines":{"node":">=6.2.0"},"gitHead":"85aff40d7b98bb090871763a7d53acf037414f8a","scripts":{"test":"eslint . && ava test --timeout=5s"},"_npmUser":{"name":"dotcypress","email":"dotcypress@gmail.com"},"repository":{"url":"git+ssh://git@github.com/telegraf/telegraf.git","type":"git"},"_npmVersion":"3.10.8","description":"📡 Modern Telegram bot framework","directories":{},"_nodeVersion":"6.9.1","dependencies":{"debug":"^2.2.0","node-fetch":"^1.6.3","sandwich-stream":"^1.0.0"},"devDependencies":{"ava":"^0.16.0","eslint":"^3.9.1","should":"^11.1.0","eslint-plugin-ava":"^4.0.0","eslint-plugin-promise":"^3.3.1","eslint-config-standard":"^6.0.0","eslint-plugin-standard":"^2.0.1"},"_npmOperationalInternal":{"tmp":"tmp/telegraf-3.4.0.tgz_1479326137442_0.6487961863167584","host":"packages-12-west.internal.npmjs.com"}},"3.5.0":{"name":"telegraf","version":"3.5.0","keywords":["telegraf","telegram","telegram bot api","bot","botapi","bot framework"],"author":{"name":"Vitaly Domnikov","email":"dotcypress@gmail.com"},"license":"MIT","_id":"telegraf@3.5.0","maintainers":[{"name":"dotcypress","email":"dotcypress@gmail.com"}],"homepage":"https://github.com/telegraf/telegraf#readme","bugs":{"url":"https://github.com/telegraf/telegraf/issues"},"dist":{"shasum":"d67863aa850ae86537df36e3bd2a6491b4fd4be2","tarball":"https://registry.npmjs.org/telegraf/-/telegraf-3.5.0.tgz","integrity":"sha512-CwQMGX119MJixhXcvzZCAO83INIaBfvcv2kz95RBP7lsnZYZwyjzdkrHfhGHkLDg2H8CEtvhu+nRCj5KmhBfJQ==","signatures":[{"sig":"MEUCIGIigI3sXliwnp5K3Xm8X15ll9wUU+nd/JQZ6ov6a3L+AiEA44hRMxqfB58ehi0SuTJW/6NKOO/W5qOxNyDvEiUL2Iw=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}]},"main":"lib/index.js","_from":".","files":["docs","lib"],"_shasum":"d67863aa850ae86537df36e3bd2a6491b4fd4be2","engines":{"node":">=6.2.0"},"gitHead":"b5b13c13bf024bfba1aa3be0e83e07878ea10d04","scripts":{"test":"eslint . && ava test --timeout=5s"},"_npmUser":{"name":"dotcypress","email":"dotcypress@gmail.com"},"repository":{"url":"git+ssh://git@github.com/telegraf/telegraf.git","type":"git"},"_npmVersion":"3.10.8","description":"📡 Modern Telegram bot framework","directories":{},"_nodeVersion":"6.9.1","dependencies":{"debug":"^2.2.0","node-fetch":"^1.6.3","sandwich-stream":"^1.0.0"},"devDependencies":{"ava":"^0.17.0","eslint":"^3.9.1","should":"^11.1.0","eslint-plugin-ava":"^4.0.0","eslint-plugin-promise":"^3.3.1","eslint-config-standard":"^6.0.0","eslint-plugin-standard":"^2.0.1"},"_npmOperationalInternal":{"tmp":"tmp/telegraf-3.5.0.tgz_1479725165020_0.6696028432343155","host":"packages-18-east.internal.npmjs.com"}},"3.5.1":{"name":"telegraf","version":"3.5.1","keywords":["telegraf","telegram","telegram bot api","bot","botapi","bot framework"],"author":{"name":"Vitaly Domnikov","email":"dotcypress@gmail.com"},"license":"MIT","_id":"telegraf@3.5.1","maintainers":[{"name":"dotcypress","email":"dotcypress@gmail.com"}],"homepage":"https://github.com/telegraf/telegraf#readme","bugs":{"url":"https://github.com/telegraf/telegraf/issues"},"dist":{"shasum":"b3ad46acbc0cf70dc5e981cb4d08949e1a743ade","tarball":"https://registry.npmjs.org/telegraf/-/telegraf-3.5.1.tgz","integrity":"sha512-sqaMogRyPUgOwLvhr4LAvw3KTN1Krs640/+uXNkCOZ8VLr6txwOo1Fv69NW0Kuf1N8NKhXeJrm/VqHleGkouKQ==","signatures":[{"sig":"MEQCIDI1JCrGkVPGTE6u9tt04e4ClqHAVZgnGRTr3g2BklKMAiAf1NyPTjqJ5JyvTjJjGpXq5Aq7YQ8qoMB3/T0WvHafvw==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}]},"main":"lib/index.js","_from":".","files":["docs","lib"],"_shasum":"b3ad46acbc0cf70dc5e981cb4d08949e1a743ade","engines":{"node":">=6.2.0"},"gitHead":"dfe9aef7028206a5fb60f04d4aac8dd280493bb2","scripts":{"test":"eslint . && ava test --timeout=5s"},"_npmUser":{"name":"dotcypress","email":"dotcypress@gmail.com"},"repository":{"url":"git+ssh://git@github.com/telegraf/telegraf.git","type":"git"},"_npmVersion":"3.10.8","description":"📡 Modern Telegram bot framework","directories":{},"_nodeVersion":"7.0.0","dependencies":{"debug":"^2.2.0","node-fetch":"^1.6.3","sandwich-stream":"^1.0.0"},"devDependencies":{"ava":"^0.17.0","eslint":"^3.9.1","should":"^11.1.0","eslint-plugin-ava":"^4.0.0","eslint-plugin-promise":"^3.3.1","eslint-config-standard":"^6.0.0","eslint-plugin-standard":"^2.0.1"},"_npmOperationalInternal":{"tmp":"tmp/telegraf-3.5.1.tgz_1479807184215_0.5791299156844616","host":"packages-18-east.internal.npmjs.com"}},"3.5.2":{"name":"telegraf","version":"3.5.2","keywords":["telegraf","telegram","telegram bot api","bot","botapi","bot framework"],"author":{"name":"Vitaly Domnikov","email":"dotcypress@gmail.com"},"license":"MIT","_id":"telegraf@3.5.2","maintainers":[{"name":"dotcypress","email":"dotcypress@gmail.com"}],"homepage":"https://github.com/telegraf/telegraf#readme","bugs":{"url":"https://github.com/telegraf/telegraf/issues"},"dist":{"shasum":"ff8c5e24059ad9468eefa7611ed8b710827d3e72","tarball":"https://registry.npmjs.org/telegraf/-/telegraf-3.5.2.tgz","integrity":"sha512-ntsN25ELoo/aDh0FJD1N5Fjo3Ntlp8nioZJtnp9mu6q7QebHEokX54lZdCSJqGMLSuhVGpZd8moiaI5DC3WmCQ==","signatures":[{"sig":"MEYCIQCG0B1C7JZWEEIBYNKyn8wf4ODSnBrfxt2XE0V0xVTrmQIhAKgKVXB9vXiakBH9wGZWpWflLV75fR0r7/FiyaG5fbbd","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}]},"main":"lib/index.js","_from":".","files":["docs","lib"],"_shasum":"ff8c5e24059ad9468eefa7611ed8b710827d3e72","engines":{"node":">=6.2.0"},"gitHead":"c30e90aa0889a6826af6b76e9b702bb9da543694","scripts":{"test":"eslint . && ava test --timeout=5s"},"_npmUser":{"name":"dotcypress","email":"dotcypress@gmail.com"},"repository":{"url":"git+ssh://git@github.com/telegraf/telegraf.git","type":"git"},"_npmVersion":"3.10.8","description":"📡 Modern Telegram bot framework","directories":{},"_nodeVersion":"6.9.1","dependencies":{"debug":"^2.2.0","node-fetch":"^1.6.3","sandwich-stream":"^1.0.0"},"devDependencies":{"ava":"^0.17.0","eslint":"^3.9.1","should":"^11.1.0","eslint-plugin-ava":"^4.0.0","eslint-plugin-promise":"^3.3.1","eslint-config-standard":"^6.0.0","eslint-plugin-standard":"^2.0.1"},"_npmOperationalInternal":{"tmp":"tmp/telegraf-3.5.2.tgz_1479925703242_0.7284404563251883","host":"packages-12-west.internal.npmjs.com"}},"3.6.0":{"name":"telegraf","version":"3.6.0","keywords":["telegraf","telegram","telegram bot api","bot","botapi","bot framework"],"author":{"name":"Vitaly Domnikov","email":"dotcypress@gmail.com"},"license":"MIT","_id":"telegraf@3.6.0","maintainers":[{"name":"dotcypress","email":"dotcypress@gmail.com"}],"homepage":"https://github.com/telegraf/telegraf#readme","bugs":{"url":"https://github.com/telegraf/telegraf/issues"},"dist":{"shasum":"aec2672a2ae5bbbaca931ea5139221cd9668ebfa","tarball":"https://registry.npmjs.org/telegraf/-/telegraf-3.6.0.tgz","integrity":"sha512-AXufV1ZN55car0Dnmw1WRrbaXlNOnavHv8aSeF4bObeqO+mIYiH1XMfYrAXH0zSsltOlMXMmtUixXyUbmNSyEA==","signatures":[{"sig":"MEUCIQDzTTVVwyDBaKze7ikt4aUmDkicZYq9y1shK8/VLh5k0wIgBt5kMgJX5usJ5eES56YQDbMRX9g6GOgxVqPsqwuD4F0=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}]},"main":"lib/index.js","_from":".","files":["docs","lib"],"_shasum":"aec2672a2ae5bbbaca931ea5139221cd9668ebfa","engines":{"node":">=6.2.0"},"gitHead":"b0d1fe82190f5e1e7cc864c5939527e93263d203","scripts":{"test":"eslint . && ava test --timeout=5s"},"_npmUser":{"name":"dotcypress","email":"dotcypress@gmail.com"},"repository":{"url":"git+ssh://git@github.com/telegraf/telegraf.git","type":"git"},"_npmVersion":"3.10.8","description":"📡 Modern Telegram bot framework","directories":{},"_nodeVersion":"6.9.1","dependencies":{"debug":"^2.2.0","node-fetch":"^1.6.3","sandwich-stream":"^1.0.0"},"devDependencies":{"ava":"^0.17.0","eslint":"^3.9.1","should":"^11.1.0","eslint-plugin-ava":"^4.0.0","eslint-plugin-promise":"^3.3.1","eslint-config-standard":"^6.0.0","eslint-plugin-standard":"^2.0.1"},"_npmOperationalInternal":{"tmp":"tmp/telegraf-3.6.0.tgz_1480818186769_0.5057120642159134","host":"packages-12-west.internal.npmjs.com"}},"3.6.1":{"name":"telegraf","version":"3.6.1","keywords":["telegraf","telegram","telegram bot api","bot","botapi","bot framework"],"author":{"name":"Vitaly Domnikov","email":"dotcypress@gmail.com"},"license":"MIT","_id":"telegraf@3.6.1","maintainers":[{"name":"dotcypress","email":"dotcypress@gmail.com"}],"homepage":"https://github.com/telegraf/telegraf#readme","bugs":{"url":"https://github.com/telegraf/telegraf/issues"},"dist":{"shasum":"1834b261c248ac30d4843237194bae85e7277c0d","tarball":"https://registry.npmjs.org/telegraf/-/telegraf-3.6.1.tgz","integrity":"sha512-RHp6zVDKhnza0dppXCagDk+p2dCPXwmwxJvEb8LoD54cUzKBt34DTux0LhfKt2+Ps/iB3BjPUvtU5DBGBUK+Vw==","signatures":[{"sig":"MEUCIHkqV34m9KGD52uQdxn7n4MwG84K0FboVQRqJyk+LdbtAiEAgJul642W1wfjLE7OlnmybdJlq/HTen9B17rdNR+mx+c=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}]},"main":"lib/index.js","_from":".","files":["docs","lib"],"_shasum":"1834b261c248ac30d4843237194bae85e7277c0d","engines":{"node":">=6.2.0"},"gitHead":"4b9149888b92719f76ef85330cec2273d9de733a","scripts":{"test":"eslint . && ava test --timeout=5s"},"_npmUser":{"name":"dotcypress","email":"dotcypress@gmail.com"},"repository":{"url":"git+ssh://git@github.com/telegraf/telegraf.git","type":"git"},"_npmVersion":"3.10.8","description":"📡 Modern Telegram bot framework","directories":{},"_nodeVersion":"6.9.1","dependencies":{"debug":"^2.2.0","node-fetch":"^1.6.3","sandwich-stream":"^1.0.0"},"devDependencies":{"ava":"^0.17.0","eslint":"^3.9.1","should":"^11.1.0","eslint-plugin-ava":"^4.0.0","eslint-plugin-promise":"^3.3.1","eslint-config-standard":"^6.0.0","eslint-plugin-standard":"^2.0.1"},"_npmOperationalInternal":{"tmp":"tmp/telegraf-3.6.1.tgz_1480873388855_0.10034078801982105","host":"packages-18-east.internal.npmjs.com"}},"3.6.2":{"name":"telegraf","version":"3.6.2","keywords":["telegraf","telegram","telegram bot api","bot","botapi","bot framework"],"author":{"name":"Vitaly Domnikov","email":"dotcypress@gmail.com"},"license":"MIT","_id":"telegraf@3.6.2","maintainers":[{"name":"dotcypress","email":"dotcypress@gmail.com"}],"homepage":"https://github.com/telegraf/telegraf#readme","bugs":{"url":"https://github.com/telegraf/telegraf/issues"},"dist":{"shasum":"2e7ef950616bde78bb361111ce1d6c147dcedc72","tarball":"https://registry.npmjs.org/telegraf/-/telegraf-3.6.2.tgz","integrity":"sha512-v4D+iYQu6wAnazqV+aUZVVw3UjE+1FxiuCJJ/7ngGZwQ46QDvvJhofdNDxDkXD01PPRolwa+AhcptLHRap/wkQ==","signatures":[{"sig":"MEUCIFkkq7zUf5dqSSlLbrX2ZXc/2YYVkqtgOp9sIcjJzq69AiEA1PwZGW/sgx8Zzp3jjOy2i56hBqzMSFMxU0Edvymbhmo=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}]},"main":"lib/index.js","_from":".","files":["docs","lib"],"_shasum":"2e7ef950616bde78bb361111ce1d6c147dcedc72","engines":{"node":">=6.2.0"},"gitHead":"6aa3153286cf2bcf77aacff4383622f0f8370291","scripts":{"test":"eslint . && ava test --timeout=5s"},"_npmUser":{"name":"dotcypress","email":"dotcypress@gmail.com"},"repository":{"url":"git+ssh://git@github.com/telegraf/telegraf.git","type":"git"},"_npmVersion":"3.10.8","description":"📡 Modern Telegram bot framework","directories":{},"_nodeVersion":"6.9.1","dependencies":{"debug":"^2.2.0","node-fetch":"^1.6.3","sandwich-stream":"^1.0.0"},"devDependencies":{"ava":"^0.17.0","eslint":"^3.9.1","should":"^11.1.0","eslint-plugin-ava":"^4.0.0","eslint-plugin-promise":"^3.3.1","eslint-config-standard":"^6.0.0","eslint-plugin-standard":"^2.0.1"},"_npmOperationalInternal":{"tmp":"tmp/telegraf-3.6.2.tgz_1482128666543_0.09051183145493269","host":"packages-18-east.internal.npmjs.com"}},"3.6.3":{"name":"telegraf","version":"3.6.3","keywords":["telegraf","telegram","telegram bot api","bot","botapi","bot framework"],"author":{"name":"Vitaly Domnikov","email":"dotcypress@gmail.com"},"license":"MIT","_id":"telegraf@3.6.3","maintainers":[{"name":"dotcypress","email":"dotcypress@gmail.com"}],"homepage":"https://github.com/telegraf/telegraf#readme","bugs":{"url":"https://github.com/telegraf/telegraf/issues"},"dist":{"shasum":"f1a6a70002538857fff4672246a664556aa9719d","tarball":"https://registry.npmjs.org/telegraf/-/telegraf-3.6.3.tgz","integrity":"sha512-fvXMyDWFce0pDkXlZiYADulw+EF8SVIbvFMwRQc+PM9h8iUUiKp0xRjKk7g33Hm0x2RGxftVljRYndyZxBNzbw==","signatures":[{"sig":"MEQCICiZIBBa8VNjmc4aBAhT+Pv1qXITCPw/IJPv6XYI1z/BAiBQ4rLBhS/VjO/XqRYeNhtg4JmCXW9hw+K75Fs3fWjJSg==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}]},"main":"lib/index.js","_from":".","files":["docs","lib"],"_shasum":"f1a6a70002538857fff4672246a664556aa9719d","engines":{"node":">=6.2.0"},"gitHead":"2189935be11e62af252ee7a0a2b5c84c9ffb38e8","scripts":{"test":"eslint . && ava test --timeout=5s"},"_npmUser":{"name":"dotcypress","email":"dotcypress@gmail.com"},"repository":{"url":"git+ssh://git@github.com/telegraf/telegraf.git","type":"git"},"_npmVersion":"3.10.8","description":"📡 Modern Telegram bot framework","directories":{},"_nodeVersion":"7.0.0","dependencies":{"debug":"^2.2.0","node-fetch":"^1.6.3","sandwich-stream":"^1.0.0"},"devDependencies":{"ava":"^0.17.0","eslint":"^3.9.1","should":"^11.1.0","eslint-plugin-ava":"^4.0.0","eslint-plugin-promise":"^3.3.1","eslint-config-standard":"^6.0.0","eslint-plugin-standard":"^2.0.1"},"_npmOperationalInternal":{"tmp":"tmp/telegraf-3.6.3.tgz_1482368232018_0.12468850053846836","host":"packages-18-east.internal.npmjs.com"}},"3.6.4":{"name":"telegraf","version":"3.6.4","keywords":["telegraf","telegram","telegram bot api","bot","botapi","bot framework"],"author":{"name":"Vitaly Domnikov","email":"dotcypress@gmail.com"},"license":"MIT","_id":"telegraf@3.6.4","maintainers":[{"name":"dotcypress","email":"dotcypress@gmail.com"}],"homepage":"https://github.com/telegraf/telegraf#readme","bugs":{"url":"https://github.com/telegraf/telegraf/issues"},"dist":{"shasum":"281eb1b9c11f98ae9d4299adce50a377adeccab2","tarball":"https://registry.npmjs.org/telegraf/-/telegraf-3.6.4.tgz","integrity":"sha512-WqzREcICeWqj1bvnrn7udHS01tjrd+NN72791vrD7KcRT89+5dDQUDMRkmo/IJc1PLzLdbuyINCzf9dlfeRleg==","signatures":[{"sig":"MEQCIGpCLhClJf3NQzSC3z8/hkVUZQCtCfrzxmpu8u++qAELAiAZry98XQYhCppu3iaIi+utNYuzyEdx3GZpKZp6UsuzUg==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}]},"main":"lib/index.js","_from":".","files":["docs","lib"],"_shasum":"281eb1b9c11f98ae9d4299adce50a377adeccab2","engines":{"node":">=6.2.0"},"gitHead":"0d9d874b8c79a807f8e25180798e60330f73f280","scripts":{"test":"eslint . && ava test --timeout=5s"},"_npmUser":{"name":"dotcypress","email":"dotcypress@gmail.com"},"repository":{"url":"git+ssh://git@github.com/telegraf/telegraf.git","type":"git"},"_npmVersion":"3.10.8","description":"📡 Modern Telegram bot framework","directories":{},"_nodeVersion":"6.8.1","dependencies":{"debug":"^2.2.0","node-fetch":"^1.6.3","sandwich-stream":"^1.0.0"},"devDependencies":{"ava":"^0.17.0","eslint":"^3.9.1","should":"^11.1.0","eslint-plugin-ava":"^4.0.0","eslint-plugin-promise":"^3.3.1","eslint-config-standard":"^6.0.0","eslint-plugin-standard":"^2.0.1"},"_npmOperationalInternal":{"tmp":"tmp/telegraf-3.6.4.tgz_1482959757319_0.8379384442232549","host":"packages-12-west.internal.npmjs.com"}},"3.6.5":{"name":"telegraf","version":"3.6.5","keywords":["telegraf","telegram","telegram bot api","bot","botapi","bot framework"],"author":{"name":"Vitaly Domnikov","email":"dotcypress@gmail.com"},"license":"MIT","_id":"telegraf@3.6.5","maintainers":[{"name":"dotcypress","email":"dotcypress@gmail.com"}],"homepage":"https://github.com/telegraf/telegraf#readme","bugs":{"url":"https://github.com/telegraf/telegraf/issues"},"dist":{"shasum":"80123a7000aa8601bdd66b2a0ef9442e42f72dc5","tarball":"https://registry.npmjs.org/telegraf/-/telegraf-3.6.5.tgz","integrity":"sha512-PzU2H8IMljSy+nP3+z7/LWRiFbct+/ejoYGjkm0HgBqyW0Q1Qwp9LpcfCbll/d8dI4s6NAUoYWR9dUz8yLqiXQ==","signatures":[{"sig":"MEUCIECnWM38etVneo8kX1Pl/TsgfXcBWSZPcxZwcoGJqmdhAiEA5/MqRhhUupG/yeP7R12r+dkXEYYuEGNtojMYjapnEzo=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}]},"main":"lib/index.js","_from":".","files":["docs","lib"],"_shasum":"80123a7000aa8601bdd66b2a0ef9442e42f72dc5","engines":{"node":">=6.2.0"},"gitHead":"134ff513839d1148769ba2fb861a9251d6ba9b0f","scripts":{"test":"eslint . && ava test --timeout=5s","prepush":"npm test"},"_npmUser":{"name":"dotcypress","email":"dotcypress@gmail.com"},"docpress":{"css":"docs/docs.css","github":"telegraf/telegraf"},"repository":{"url":"git+ssh://git@github.com/telegraf/telegraf.git","type":"git"},"_npmVersion":"4.1.1","description":"📡 Modern Telegram bot framework","directories":{},"_nodeVersion":"6.8.1","dependencies":{"debug":"^2.6.0","node-fetch":"^1.6.3","sandwich-stream":"^1.0.0"},"devDependencies":{"ava":"^0.17.0","husky":"^0.13.1","eslint":"^3.9.1","should":"^11.1.0","eslint-plugin-ava":"^4.0.0","eslint-plugin-promise":"^3.3.1","eslint-config-standard":"^6.0.0","eslint-plugin-standard":"^2.0.1"},"_npmOperationalInternal":{"tmp":"tmp/telegraf-3.6.5.tgz_1485537409418_0.00544497394002974","host":"packages-18-east.internal.npmjs.com"}},"3.6.6":{"name":"telegraf","version":"3.6.6","keywords":["telegraf","telegram","telegram bot api","bot","botapi","bot framework"],"author":{"name":"Vitaly Domnikov","email":"dotcypress@gmail.com"},"license":"MIT","_id":"telegraf@3.6.6","maintainers":[{"name":"dotcypress","email":"dotcypress@gmail.com"}],"homepage":"https://github.com/telegraf/telegraf#readme","bugs":{"url":"https://github.com/telegraf/telegraf/issues"},"dist":{"shasum":"9798e97ee2381851f1e8b472094371f1b417d92b","tarball":"https://registry.npmjs.org/telegraf/-/telegraf-3.6.6.tgz","integrity":"sha512-8zdFhOi4iaJLuRy4qIyqoh5zrVEQf2p1nAUcss2+sKnJzluK1Bof5d1S9e0n3EwA/r1DyqlpVZL1Zem3AIVhaw==","signatures":[{"sig":"MEQCIG8AqbmNWvxhqVQWOjnvjUya5ayJ+S3Q2TG1bhqeRVXPAiBeUNzT91RImva0MNSb5FEF8tRk4lOQdZ4sAx6K/CJklQ==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}]},"main":"lib/index.js","_from":".","files":["docs","lib"],"_shasum":"9798e97ee2381851f1e8b472094371f1b417d92b","engines":{"node":">=6.2.0"},"gitHead":"6d109976a3de57452e59c75e6822725b58d6c921","scripts":{"test":"eslint . && ava test --timeout=5s","prepush":"npm test"},"_npmUser":{"name":"dotcypress","email":"dotcypress@gmail.com"},"docpress":{"css":"docs/docs.css","github":"telegraf/telegraf"},"repository":{"url":"git+ssh://git@github.com/telegraf/telegraf.git","type":"git"},"_npmVersion":"4.1.1","description":"📡 Modern Telegram bot framework","directories":{},"_nodeVersion":"6.8.1","dependencies":{"debug":"^2.6.0","node-fetch":"^1.6.3","sandwich-stream":"^1.0.0"},"devDependencies":{"ava":"^0.18.1","husky":"^0.13.1","eslint":"^3.9.1","should":"^11.1.0","eslint-plugin-ava":"^4.0.0","eslint-plugin-promise":"^3.3.1","eslint-config-standard":"^6.0.0","eslint-plugin-standard":"^2.0.1"},"_npmOperationalInternal":{"tmp":"tmp/telegraf-3.6.6.tgz_1486773588452_0.872737264027819","host":"packages-18-east.internal.npmjs.com"}},"3.6.7":{"name":"telegraf","version":"3.6.7","keywords":["telegraf","telegram","telegram bot api","bot","botapi","bot framework"],"author":{"name":"Vitaly Domnikov","email":"dotcypress@gmail.com"},"license":"MIT","_id":"telegraf@3.6.7","maintainers":[{"name":"dotcypress","email":"dotcypress@gmail.com"}],"homepage":"https://github.com/telegraf/telegraf#readme","bugs":{"url":"https://github.com/telegraf/telegraf/issues"},"dist":{"shasum":"4bc1430639f5f897c9306932480f441b17eb91fc","tarball":"https://registry.npmjs.org/telegraf/-/telegraf-3.6.7.tgz","integrity":"sha512-+UgHkZAe5lwXOQmUt5kd8UkILPzacTn02s/PjjloFJ42MkE2pGQFYKoWwjtGGe8Dox7PLCvLFRq/6GPMsyfbIA==","signatures":[{"sig":"MEUCIQCByh7Rd3fy6TM9Ht6xC59gwjn4l6eRQ2x9zbZmXfO8JgIgW9iFAUmlgLkyAaowxq0t5GGxLPdSYe2OLYRUreuTvnk=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}]},"main":"lib/index.js","_from":".","files":["docs","lib"],"_shasum":"4bc1430639f5f897c9306932480f441b17eb91fc","engines":{"node":">=6.2.0"},"gitHead":"5f235234cb5c75da7b1eaeb80a63b0991f5c2940","scripts":{"test":"eslint . && ava test --timeout=5s","prepush":"npm test"},"_npmUser":{"name":"dotcypress","email":"dotcypress@gmail.com"},"docpress":{"css":"docs/docs.css","github":"telegraf/telegraf"},"repository":{"url":"git+ssh://git@github.com/telegraf/telegraf.git","type":"git"},"_npmVersion":"4.1.2","description":"📡 Modern Telegram bot framework","directories":{},"_nodeVersion":"7.6.0","dependencies":{"debug":"^2.6.0","node-fetch":"^1.6.3","sandwich-stream":"^1.0.0"},"devDependencies":{"ava":"^0.18.1","husky":"^0.13.1","eslint":"^3.9.1","should":"^11.1.0","eslint-plugin-ava":"^4.0.0","eslint-plugin-promise":"^3.3.1","eslint-config-standard":"^7.0.0","eslint-plugin-standard":"^2.0.1"},"_npmOperationalInternal":{"tmp":"tmp/telegraf-3.6.7.tgz_1488475590743_0.2658678574953228","host":"packages-18-east.internal.npmjs.com"}},"3.6.8":{"name":"telegraf","version":"3.6.8","keywords":["telegraf","telegram","telegram bot api","bot","botapi","bot framework"],"author":{"name":"Vitaly Domnikov","email":"dotcypress@gmail.com"},"license":"MIT","_id":"telegraf@3.6.8","maintainers":[{"name":"dotcypress","email":"dotcypress@gmail.com"}],"homepage":"https://github.com/telegraf/telegraf#readme","bugs":{"url":"https://github.com/telegraf/telegraf/issues"},"dist":{"shasum":"4a284ee14a37db3aa78865e40e2907a0eebee312","tarball":"https://registry.npmjs.org/telegraf/-/telegraf-3.6.8.tgz","integrity":"sha512-35FU4BKsSjBstybeN+nBkl+9UGOe32dL+//TI5eIJfQyHwuEGv3BJ7LNruf6+Uw4CGgGprq8295QNYgbwydDPA==","signatures":[{"sig":"MEUCIQDunOh3TMajIMC6unlhEt+IPC30BRzj7xe18YEczmHLywIgSyJ09DYJnSKMvEY/7NBuYzv5rfjnZykNMdmya9lpvnw=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}]},"main":"lib/index.js","_from":".","files":["docs","lib"],"_shasum":"4a284ee14a37db3aa78865e40e2907a0eebee312","engines":{"node":">=6.2.0"},"gitHead":"8031f37dd3f4028ad0d6aa876a10282d49fc2c26","scripts":{"lint":"eslint .","test":"ava test","precommit":"npm run lint && npm test"},"_npmUser":{"name":"dotcypress","email":"dotcypress@gmail.com"},"docpress":{"css":"docs/docs.css","github":"telegraf/telegraf"},"repository":{"url":"git+ssh://git@github.com/telegraf/telegraf.git","type":"git"},"_npmVersion":"4.2.0","description":"📡 Modern Telegram bot framework","directories":{},"_nodeVersion":"7.9.0","dependencies":{"debug":"^2.6.0","node-fetch":"^1.6.3","sandwich-stream":"^1.0.0"},"devDependencies":{"ava":"^0.19.0","husky":"^0.13.1","eslint":"^3.19.0","eslint-plugin-ava":"^4.0.0","eslint-plugin-node":"^4.2.2","eslint-plugin-import":"^2.2.0","eslint-plugin-promise":"^3.5.0","eslint-config-standard":"^10.2.0","eslint-plugin-standard":"^3.0.1"},"_npmOperationalInternal":{"tmp":"tmp/telegraf-3.6.8.tgz_1493776305739_0.2953089033253491","host":"packages-18-east.internal.npmjs.com"}},"3.6.9":{"name":"telegraf","version":"3.6.9","keywords":["telegraf","telegram","telegram bot api","bot","botapi","bot framework"],"author":{"name":"Vitaly Domnikov","email":"dotcypress@gmail.com"},"license":"MIT","_id":"telegraf@3.6.9","maintainers":[{"name":"dotcypress","email":"dotcypress@gmail.com"}],"homepage":"https://github.com/telegraf/telegraf#readme","bugs":{"url":"https://github.com/telegraf/telegraf/issues"},"dist":{"shasum":"8faacd16ac041f7a1bb14156b83fc7a2b752cdc1","tarball":"https://registry.npmjs.org/telegraf/-/telegraf-3.6.9.tgz","integrity":"sha512-p6v4Cjua8l/Gy0ohkGrslV88b5Olnvgp1rNg6I1y8id/zLcSAT9r8fWFwxAv3wqBEDMHpg68z4svzzv88KX1lg==","signatures":[{"sig":"MEQCIDEMcL9sJTKkSMqcOQkhUah8r0jOC/iqxcmEQWFj0O+4AiBskSA/gjgzDpt3PBz3YOnjM7xu7trseWohbDh8JbskWQ==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}]},"main":"lib/index.js","_from":".","files":["docs","lib"],"_shasum":"8faacd16ac041f7a1bb14156b83fc7a2b752cdc1","engines":{"node":">=6.2.0"},"gitHead":"4882ab8d2c7ad632cdf9b5abebdce1335d432688","scripts":{"lint":"eslint .","test":"ava test","precommit":"npm run lint && npm test"},"_npmUser":{"name":"dotcypress","email":"dotcypress@gmail.com"},"docpress":{"css":"docs/docs.css","github":"telegraf/telegraf"},"repository":{"url":"git+ssh://git@github.com/telegraf/telegraf.git","type":"git"},"_npmVersion":"4.2.0","description":"📡 Modern Telegram bot framework","directories":{},"_nodeVersion":"7.9.0","dependencies":{"debug":"^2.6.0","node-fetch":"^1.6.3","sandwich-stream":"^1.0.0"},"devDependencies":{"ava":"^0.19.0","husky":"^0.13.1","eslint":"^3.19.0","eslint-plugin-ava":"^4.0.0","eslint-plugin-node":"^4.2.2","eslint-plugin-import":"^2.2.0","eslint-plugin-promise":"^3.5.0","eslint-config-standard":"^10.2.0","eslint-plugin-standard":"^3.0.1"},"_npmOperationalInternal":{"tmp":"tmp/telegraf-3.6.9.tgz_1493889094031_0.16059985174797475","host":"packages-18-east.internal.npmjs.com"}},"3.6.10":{"name":"telegraf","version":"3.6.10","keywords":["telegraf","telegram","telegram bot api","bot","botapi","bot framework"],"author":{"name":"Vitaly Domnikov","email":"dotcypress@gmail.com"},"license":"MIT","_id":"telegraf@3.6.10","maintainers":[{"name":"dotcypress","email":"dotcypress@gmail.com"}],"homepage":"https://github.com/telegraf/telegraf#readme","bugs":{"url":"https://github.com/telegraf/telegraf/issues"},"dist":{"shasum":"806c12f750001b61c22060fe8e7c8ec3ec8afd05","tarball":"https://registry.npmjs.org/telegraf/-/telegraf-3.6.10.tgz","integrity":"sha512-pngMJerARvxLcl+7mEqwvC1MmKiBhSj+q7QYpF2uO8VA10evSFCz6HJPMT7zJCW9RMK3o1lY21IIfjaH9vhmfg==","signatures":[{"sig":"MEUCIQDw1i0z3QVNCMY3YRWUysaqCMAG2ePhHFwf60pVfQ3H2QIgHLqiaeBteoX78+9gBTzOGzsvjG2T8zA2aFvA7wFH2Aw=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}]},"main":"lib/index.js","_from":".","files":["docs","lib"],"_shasum":"806c12f750001b61c22060fe8e7c8ec3ec8afd05","engines":{"node":">=6.2.0"},"gitHead":"2b0a778b7db813dfc815f5c07225cd02b6b20578","scripts":{"lint":"eslint .","test":"ava test","precommit":"npm run lint && npm test"},"_npmUser":{"name":"dotcypress","email":"dotcypress@gmail.com"},"docpress":{"css":"docs/docs.css","github":"telegraf/telegraf"},"repository":{"url":"git+ssh://git@github.com/telegraf/telegraf.git","type":"git"},"_npmVersion":"4.2.0","description":"📡 Modern Telegram bot framework","directories":{},"_nodeVersion":"7.9.0","dependencies":{"debug":"^2.6.0","node-fetch":"^1.6.3","sandwich-stream":"^1.0.0"},"devDependencies":{"ava":"^0.19.0","husky":"^0.13.1","eslint":"^3.19.0","eslint-plugin-ava":"^4.0.0","eslint-plugin-node":"^4.2.2","eslint-plugin-import":"^2.2.0","eslint-plugin-promise":"^3.5.0","eslint-config-standard":"^10.2.0","eslint-plugin-standard":"^3.0.1"},"_npmOperationalInternal":{"tmp":"tmp/telegraf-3.6.10.tgz_1494002175518_0.6044576487038285","host":"packages-18-east.internal.npmjs.com"}},"3.7.0":{"name":"telegraf","version":"3.7.0","keywords":["telegraf","telegram","telegram bot api","bot","botapi","bot framework"],"author":{"name":"Vitaly Domnikov","email":"dotcypress@gmail.com"},"license":"MIT","_id":"telegraf@3.7.0","maintainers":[{"name":"dotcypress","email":"dotcypress@gmail.com"}],"homepage":"https://github.com/telegraf/telegraf#readme","bugs":{"url":"https://github.com/telegraf/telegraf/issues"},"dist":{"shasum":"65c24bdd577775507841924be44c2b26591e8100","tarball":"https://registry.npmjs.org/telegraf/-/telegraf-3.7.0.tgz","integrity":"sha512-3nWAFUL9BNKgz9uKBEHPZSJl29v9kxnQx7Ks7E63Gzy5HrkSqOkkFcJoftHOk1vUe6ysaW0BDIgJpwzKkQaUAQ==","signatures":[{"sig":"MEQCIC9HInzsSsiMIyAc7lVnYHJvBl6o/W25HlctAF5qown0AiBzS0Ua6m1E/60QUAmcyUjGDZq75AH7b946YOBAJujFJA==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}]},"main":"lib/index.js","_from":".","files":["docs","lib"],"_shasum":"65c24bdd577775507841924be44c2b26591e8100","engines":{"node":">=6.2.0"},"gitHead":"d7c11f5b8fd319d14f58b879c0d8ac690c49967a","scripts":{"lint":"eslint .","test":"ava test","precommit":"npm run lint && npm test"},"_npmUser":{"name":"dotcypress","email":"dotcypress@gmail.com"},"docpress":{"css":"docs/docs.css","github":"telegraf/telegraf"},"repository":{"url":"git+ssh://git@github.com/telegraf/telegraf.git","type":"git"},"_npmVersion":"4.2.0","description":"📡 Modern Telegram bot framework","directories":{},"_nodeVersion":"7.9.0","dependencies":{"debug":"^2.6.0","auto-bind":"^1.1.0","node-fetch":"^1.6.3","sandwich-stream":"^1.0.0"},"devDependencies":{"ava":"^0.19.0","husky":"^0.13.1","eslint":"^3.19.0","eslint-plugin-ava":"^4.0.0","eslint-plugin-node":"^4.2.2","eslint-plugin-import":"^2.2.0","eslint-plugin-promise":"^3.5.0","eslint-config-standard":"^10.2.0","eslint-plugin-standard":"^3.0.1"},"_npmOperationalInternal":{"tmp":"tmp/telegraf-3.7.0.tgz_1495141761363_0.10430650343187153","host":"packages-12-west.internal.npmjs.com"}},"3.7.1":{"name":"telegraf","version":"3.7.1","keywords":["telegraf","telegram","telegram bot api","bot","botapi","bot framework"],"author":{"name":"Vitaly Domnikov","email":"dotcypress@gmail.com"},"license":"MIT","_id":"telegraf@3.7.1","maintainers":[{"name":"dotcypress","email":"dotcypress@gmail.com"}],"homepage":"https://github.com/telegraf/telegraf#readme","bugs":{"url":"https://github.com/telegraf/telegraf/issues"},"dist":{"shasum":"8a95fef334b2053f76716fe61cabd279c2e1735b","tarball":"https://registry.npmjs.org/telegraf/-/telegraf-3.7.1.tgz","integrity":"sha512-S6D/7jCnsmb9wcVTyB9uijcQaaeP9bsMEbnjiU2u9327bAW8KVUS/7AKaJQaNcBn6SVXdbb8FihNOoKa/JELRA==","signatures":[{"sig":"MEQCIFGPZrNVSi/W4L9m+mHuvpHjdFzO05vDXVf5iy0Hv3EoAiBZoUL0hH41lCKuFGZD7wlfNjxsFKJ6fjTdvEkc4X8uEQ==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}]},"main":"lib/index.js","_from":".","files":["docs","lib"],"_shasum":"8a95fef334b2053f76716fe61cabd279c2e1735b","engines":{"node":">=6.2.0"},"gitHead":"64c2afa961a958bb05597cbbc17500225d97adb1","scripts":{"lint":"eslint .","test":"ava test","precommit":"npm run lint && npm test"},"_npmUser":{"name":"dotcypress","email":"dotcypress@gmail.com"},"docpress":{"css":"docs/docs.css","github":"telegraf/telegraf"},"repository":{"url":"git+ssh://git@github.com/telegraf/telegraf.git","type":"git"},"_npmVersion":"4.2.0","description":"📡 Modern Telegram bot framework","directories":{},"_nodeVersion":"7.9.0","dependencies":{"debug":"^2.6.0","auto-bind":"^1.1.0","node-fetch":"^1.6.3","sandwich-stream":"^1.0.0"},"devDependencies":{"ava":"^0.19.0","husky":"^0.13.1","eslint":"^3.19.0","eslint-plugin-ava":"^4.0.0","eslint-plugin-node":"^4.2.2","eslint-plugin-import":"^2.2.0","eslint-plugin-promise":"^3.5.0","eslint-config-standard":"^10.2.0","eslint-plugin-standard":"^3.0.1"},"_npmOperationalInternal":{"tmp":"tmp/telegraf-3.7.1.tgz_1495176769194_0.9911422536242753","host":"packages-18-east.internal.npmjs.com"}},"3.7.2":{"name":"telegraf","version":"3.7.2","keywords":["telegraf","telegram","telegram bot api","bot","botapi","bot framework"],"author":{"name":"Vitaly Domnikov","email":"dotcypress@gmail.com"},"license":"MIT","_id":"telegraf@3.7.2","maintainers":[{"name":"dotcypress","email":"dotcypress@gmail.com"}],"homepage":"https://github.com/telegraf/telegraf#readme","bugs":{"url":"https://github.com/telegraf/telegraf/issues"},"dist":{"shasum":"3d43bf4ed70b242167d7132cbf9deb3b2ccc16e1","tarball":"https://registry.npmjs.org/telegraf/-/telegraf-3.7.2.tgz","integrity":"sha512-ZwVwaK8Npw2OWIucR7QH2IvIgGjECqprFqoTiTf13iEhX5nNjTpdLEOVEjJxMvmR5G/CoSfIBJUrBeiZOL3URw==","signatures":[{"sig":"MEUCIQCqyI5l//ALL087c7gV77i05AFia//bIb3zNXbqL4hycAIgXqmD9P/2QYC0yOArlh1J0yiXfFMoMRgpfHxYaIbhDAQ=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}]},"main":"lib/index.js","_from":".","files":["docs","lib"],"_shasum":"3d43bf4ed70b242167d7132cbf9deb3b2ccc16e1","engines":{"node":">=6.2.0"},"gitHead":"9000183bb75e5b86b5184011e3d389f345bd0932","scripts":{"lint":"eslint .","test":"ava test","precommit":"npm run lint && npm test"},"_npmUser":{"name":"dotcypress","email":"dotcypress@gmail.com"},"docpress":{"css":"docs/docs.css","github":"telegraf/telegraf"},"repository":{"url":"git+ssh://git@github.com/telegraf/telegraf.git","type":"git"},"_npmVersion":"4.2.0","description":"📡 Modern Telegram bot framework","directories":{},"_nodeVersion":"7.9.0","dependencies":{"debug":"^2.6.0","auto-bind":"^1.1.0","node-fetch":"^1.6.3","sandwich-stream":"^1.0.0"},"devDependencies":{"ava":"^0.19.0","husky":"^0.13.1","eslint":"^3.19.0","eslint-plugin-ava":"^4.0.0","eslint-plugin-node":"^4.2.2","eslint-plugin-import":"^2.2.0","eslint-plugin-promise":"^3.5.0","eslint-config-standard":"^10.2.0","eslint-plugin-standard":"^3.0.1"},"_npmOperationalInternal":{"tmp":"tmp/telegraf-3.7.2.tgz_1496213018478_0.2676094158086926","host":"s3://npm-registry-packages"}},"3.7.3":{"name":"telegraf","version":"3.7.3","keywords":["telegraf","telegram","telegram bot api","bot","botapi","bot framework"],"author":{"name":"Vitaly Domnikov","email":"dotcypress@gmail.com"},"license":"MIT","_id":"telegraf@3.7.3","maintainers":[{"name":"dotcypress","email":"dotcypress@gmail.com"}],"homepage":"https://github.com/telegraf/telegraf#readme","bugs":{"url":"https://github.com/telegraf/telegraf/issues"},"dist":{"shasum":"d409e73de9cc18fa5a472c2e806a1c8b651073ee","tarball":"https://registry.npmjs.org/telegraf/-/telegraf-3.7.3.tgz","integrity":"sha512-RjTnT7gz2dBdHpSM9Hn3EzslrKsGGzb2gJKXIyHRl7Wqje4Dn8eQ0yXGyrnpYprwW4Nq9h2WwdEmTJdr7gHT1g==","signatures":[{"sig":"MEYCIQCE3LMyJfVjcaZNH6UIsm/uJhqlUvj9YCOKT/ZK0xErNgIhAIQsCi+RxjOFIc/6FbuvxibaIU38VuJ7wzhPhdHhD0g1","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}]},"main":"lib/index.js","_from":".","files":["docs","lib"],"_shasum":"d409e73de9cc18fa5a472c2e806a1c8b651073ee","engines":{"node":">=6.2.0"},"gitHead":"d0e4e168d281511c8caf9f55f5df79a6ae341b66","scripts":{"lint":"eslint .","test":"ava test","precommit":"npm run lint && npm test"},"_npmUser":{"name":"dotcypress","email":"dotcypress@gmail.com"},"docpress":{"css":"docs/docs.css","github":"telegraf/telegraf"},"repository":{"url":"git+ssh://git@github.com/telegraf/telegraf.git","type":"git"},"_npmVersion":"4.2.0","description":"📡 Modern Telegram bot framework","directories":{},"_nodeVersion":"7.9.0","dependencies":{"debug":"^2.6.0","auto-bind":"^1.1.0","node-fetch":"^1.6.3","sandwich-stream":"^1.0.0"},"devDependencies":{"ava":"^0.19.0","husky":"^0.13.1","eslint":"^3.19.0","eslint-plugin-ava":"^4.0.0","eslint-plugin-node":"^4.2.2","eslint-plugin-import":"^2.2.0","eslint-plugin-promise":"^3.5.0","eslint-config-standard":"^10.2.0","eslint-plugin-standard":"^3.0.1"},"_npmOperationalInternal":{"tmp":"tmp/telegraf-3.7.3.tgz_1496371138206_0.9901248132809997","host":"s3://npm-registry-packages"}},"3.7.4":{"name":"telegraf","version":"3.7.4","keywords":["telegraf","telegram","telegram bot api","bot","botapi","bot framework"],"author":{"name":"Vitaly Domnikov","email":"dotcypress@gmail.com"},"license":"MIT","_id":"telegraf@3.7.4","maintainers":[{"name":"dotcypress","email":"dotcypress@gmail.com"}],"homepage":"https://github.com/telegraf/telegraf#readme","bugs":{"url":"https://github.com/telegraf/telegraf/issues"},"dist":{"shasum":"ce561dc6191baf9a97bf28dc8724624eca03d90e","tarball":"https://registry.npmjs.org/telegraf/-/telegraf-3.7.4.tgz","integrity":"sha512-uGvAbQazVfyEOHQy9NqqrGZJ+4+zcwPIECudUIyssscoPjjKXzPA46UKx+3YrZRfmWMRe79rPLMdzrIjfGc8vA==","signatures":[{"sig":"MEYCIQCV2hOKzpC2KGbWDp3y5NA866Qr+A+I8jj0DYs/xr/mnQIhANmw2s53g8YauRsPUwtFp2CSIEUKfwVHSEql0El3wMPe","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}]},"main":"lib/index.js","_from":".","files":["docs","lib"],"_shasum":"ce561dc6191baf9a97bf28dc8724624eca03d90e","engines":{"node":">=6.2.0"},"gitHead":"5120522ba41a8c925a6325e7f0147e7936a4296d","scripts":{"lint":"eslint .","test":"ava test","precommit":"npm run lint && npm test"},"_npmUser":{"name":"dotcypress","email":"dotcypress@gmail.com"},"docpress":{"css":"docs/docs.css","github":"telegraf/telegraf"},"repository":{"url":"git+ssh://git@github.com/telegraf/telegraf.git","type":"git"},"_npmVersion":"4.2.0","description":"📡 Modern Telegram bot framework","directories":{},"_nodeVersion":"7.9.0","dependencies":{"debug":"^2.6.0","auto-bind":"^1.1.0","node-fetch":"^1.6.3","sandwich-stream":"^1.0.0"},"devDependencies":{"ava":"^0.19.0","husky":"^0.13.1","eslint":"^3.19.0","eslint-plugin-ava":"^4.0.0","eslint-plugin-node":"^4.2.2","eslint-plugin-import":"^2.2.0","eslint-plugin-promise":"^3.5.0","eslint-config-standard":"^10.2.0","eslint-plugin-standard":"^3.0.1"},"_npmOperationalInternal":{"tmp":"tmp/telegraf-3.7.4.tgz_1497811036536_0.6517152832821012","host":"s3://npm-registry-packages"}},"3.8.0":{"name":"telegraf","version":"3.8.0","keywords":["telegraf","telegram","telegram bot api","bot","botapi","bot framework"],"author":{"name":"Vitaly Domnikov","email":"dotcypress@gmail.com"},"license":"MIT","_id":"telegraf@3.8.0","maintainers":[{"name":"dotcypress","email":"dotcypress@gmail.com"}],"homepage":"https://github.com/telegraf/telegraf#readme","bugs":{"url":"https://github.com/telegraf/telegraf/issues"},"dist":{"shasum":"40fabfdeefc8caab5adb5a3c81a9940c9a4ee138","tarball":"https://registry.npmjs.org/telegraf/-/telegraf-3.8.0.tgz","integrity":"sha512-FYtnlJttTN9hPnHsHKDqjrnA3nGdJJOlr8pGU7patX4lkvvauTTXQxhITBHXGdbsBnLurc9EhOXmG4ukXjsgVw==","signatures":[{"sig":"MEUCICVo4/FZLfa8R3gml2GzTXVpAxqn6WlQP2j0wplhtQT2AiEA/d2oPiSa5or0FZbyXZcmZ599MN9rHHZjbrSGz01m4QY=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}]},"main":"lib/index.js","_from":".","files":["docs","lib"],"_shasum":"40fabfdeefc8caab5adb5a3c81a9940c9a4ee138","engines":{"node":">=6.2.0"},"gitHead":"08e977df291ba0926e73601df31bfeaac1334b94","scripts":{"lint":"eslint .","test":"ava test","precommit":"npm run lint && npm test"},"_npmUser":{"name":"dotcypress","email":"dotcypress@gmail.com"},"docpress":{"css":"docs/docs.css","github":"telegraf/telegraf"},"repository":{"url":"git+ssh://git@github.com/telegraf/telegraf.git","type":"git"},"_npmVersion":"4.2.0","description":"📡 Modern Telegram bot framework","directories":{},"_nodeVersion":"7.9.0","dependencies":{"debug":"^2.6.0","auto-bind":"^1.1.0","node-fetch":"^1.6.3","sandwich-stream":"^1.0.0"},"devDependencies":{"ava":"^0.20.0","husky":"^0.14.1","eslint":"^4.1.1","eslint-plugin-ava":"^4.0.0","eslint-plugin-node":"^5.1.0","eslint-plugin-import":"^2.2.0","eslint-plugin-promise":"^3.5.0","eslint-config-standard":"^10.2.0","eslint-plugin-standard":"^3.0.1"},"_npmOperationalInternal":{"tmp":"tmp/telegraf-3.8.0.tgz_1498846310379_0.8988210090901703","host":"s3://npm-registry-packages"}},"3.8.1":{"name":"telegraf","version":"3.8.1","keywords":["telegraf","telegram","telegram bot api","bot","botapi","bot framework"],"author":{"name":"Vitaly Domnikov","email":"dotcypress@gmail.com"},"license":"MIT","_id":"telegraf@3.8.1","maintainers":[{"name":"dotcypress","email":"dotcypress@gmail.com"}],"homepage":"https://github.com/telegraf/telegraf#readme","bugs":{"url":"https://github.com/telegraf/telegraf/issues"},"dist":{"shasum":"630b771a1b9a57dcee7a36c4f60a2a87f5386625","tarball":"https://registry.npmjs.org/telegraf/-/telegraf-3.8.1.tgz","integrity":"sha512-2iqR62+lPrL9wfa2glSxQouuSnG45ataxUZq5jFQ1asaWzCIZ8Nj22XuJg+A2PO8ldaPCl734husTfyaRwSmwg==","signatures":[{"sig":"MEYCIQDXIq1+kdm05sEx4tUu1D0QE4Q/7PqeLnL/k4uDnXUj7gIhAOhBgP7AFtG8Bst+sxBY3KW/IH7stBFta1RcblkQsOWE","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}]},"main":"lib/index.js","_from":".","files":["docs","lib"],"_shasum":"630b771a1b9a57dcee7a36c4f60a2a87f5386625","engines":{"node":">=6.2.0"},"gitHead":"be70d55988fabc6979aef4ed6cef0cb5b4cbe819","scripts":{"lint":"eslint .","test":"ava test","precommit":"npm run lint && npm test"},"_npmUser":{"name":"dotcypress","email":"dotcypress@gmail.com"},"docpress":{"css":"docs/docs.css","github":"telegraf/telegraf"},"repository":{"url":"git+ssh://git@github.com/telegraf/telegraf.git","type":"git"},"_npmVersion":"3.10.3","description":"📡 Modern Telegram bot framework","directories":{},"_nodeVersion":"6.6.0","dependencies":{"debug":"^2.6.0","auto-bind":"^1.1.0","node-fetch":"^1.6.3","sandwich-stream":"^1.0.0"},"devDependencies":{"ava":"^0.20.0","husky":"^0.14.1","eslint":"^4.1.1","eslint-plugin-ava":"^4.0.0","eslint-plugin-node":"^5.1.0","eslint-plugin-import":"^2.2.0","eslint-plugin-promise":"^3.5.0","eslint-config-standard":"^10.2.0","eslint-plugin-standard":"^3.0.1"},"_npmOperationalInternal":{"tmp":"tmp/telegraf-3.8.1.tgz_1500236191762_0.6993781651835889","host":"s3://npm-registry-packages"}},"3.8.2":{"name":"telegraf","version":"3.8.2","keywords":["telegraf","telegram","telegram bot api","bot","botapi","bot framework"],"author":{"name":"Vitaly Domnikov","email":"dotcypress@gmail.com"},"license":"MIT","_id":"telegraf@3.8.2","maintainers":[{"name":"dotcypress","email":"dotcypress@gmail.com"}],"homepage":"https://github.com/telegraf/telegraf#readme","bugs":{"url":"https://github.com/telegraf/telegraf/issues"},"dist":{"shasum":"4a2cef2ca5fb8ee716dc7c7edb8b813fe685f9c2","tarball":"https://registry.npmjs.org/telegraf/-/telegraf-3.8.2.tgz","integrity":"sha512-zGN5YO5/CyWYqUcuXhrHUgGUstMiBXbhLVI83dPk7Snv8IVj5GdRYlFvQB8AoMHStCxMG/BX9RX3P9iVUw9nPw==","signatures":[{"sig":"MEQCIBlaJvfeOK9eJypBaz81tjlc8RJgNZ0zuXoJpcLwPcZxAiBtS202iUhGMNFHioxEaenBQCteemqkEmbgyaDTpjz8Hw==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}]},"main":"lib/index.js","_from":".","files":["docs","lib"],"_shasum":"4a2cef2ca5fb8ee716dc7c7edb8b813fe685f9c2","engines":{"node":">=6.2.0"},"gitHead":"46bba17a020cbf88429c8155578c7baad2e97015","scripts":{"lint":"eslint .","test":"ava test","precommit":"npm run lint && npm test"},"_npmUser":{"name":"dotcypress","email":"dotcypress@gmail.com"},"docpress":{"css":"docs/docs.css","github":"telegraf/telegraf"},"repository":{"url":"git+ssh://git@github.com/telegraf/telegraf.git","type":"git"},"_npmVersion":"3.10.3","description":"📡 Modern Telegram bot framework","directories":{},"_nodeVersion":"6.6.0","dependencies":{"debug":"^2.6.0","auto-bind":"^1.1.0","node-fetch":"^1.6.3","sandwich-stream":"^1.0.0"},"devDependencies":{"ava":"^0.20.0","husky":"^0.14.1","eslint":"^4.1.1","eslint-plugin-ava":"^4.0.0","eslint-plugin-node":"^5.1.0","eslint-plugin-import":"^2.2.0","eslint-plugin-promise":"^3.5.0","eslint-config-standard":"^10.2.0","eslint-plugin-standard":"^3.0.1"},"_npmOperationalInternal":{"tmp":"tmp/telegraf-3.8.2.tgz_1500316872974_0.23228679946623743","host":"s3://npm-registry-packages"}},"3.9.0":{"name":"telegraf","version":"3.9.0","keywords":["telegraf","telegram","telegram bot api","bot","botapi","bot framework"],"author":{"name":"Vitaly Domnikov","email":"dotcypress@gmail.com"},"license":"MIT","_id":"telegraf@3.9.0","maintainers":[{"name":"dotcypress","email":"dotcypress@gmail.com"}],"homepage":"https://github.com/telegraf/telegraf#readme","bugs":{"url":"https://github.com/telegraf/telegraf/issues"},"dist":{"shasum":"f8e375d603a6a987f93963448e399fa2128a40b7","tarball":"https://registry.npmjs.org/telegraf/-/telegraf-3.9.0.tgz","integrity":"sha512-o+4dfk6hR6uGMsroch7ShxoZ8Vrp4JcdF4+AWZy03gJPVwkqSX9WIm+8ChlM04DDVLbfQTitnUdkPiDJvfMTmQ==","signatures":[{"sig":"MEYCIQDnIEmVwF/Ns6BMX/csVli6VqKFY3fcn+TdK4oML0k/IQIhANH86k8/rmNspTKotUsWdUcuVWlvua8iSfoqPBCP4bX9","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}]},"main":"lib/index.js","_from":".","files":["docs","lib"],"_shasum":"f8e375d603a6a987f93963448e399fa2128a40b7","engines":{"node":">=6.2.0"},"gitHead":"9a79eb9fdd1eeeddd56e62dfd43c8bc29336a956","scripts":{"lint":"eslint .","test":"ava test","precommit":"npm run lint && npm test"},"_npmUser":{"name":"dotcypress","email":"dotcypress@gmail.com"},"docpress":{"css":"docs/docs.css","github":"telegraf/telegraf"},"repository":{"url":"git+ssh://git@github.com/telegraf/telegraf.git","type":"git"},"_npmVersion":"3.10.3","description":"📡 Modern Telegram bot framework","directories":{},"_nodeVersion":"6.6.0","dependencies":{"debug":"^2.6.0","auto-bind":"^1.1.0","node-fetch":"^1.6.3","sandwich-stream":"^1.0.0"},"devDependencies":{"ava":"^0.20.0","husky":"^0.14.1","eslint":"^4.1.1","eslint-plugin-ava":"^4.0.0","eslint-plugin-node":"^5.1.0","eslint-plugin-import":"^2.2.0","eslint-plugin-promise":"^3.5.0","eslint-config-standard":"^10.2.0","eslint-plugin-standard":"^3.0.1"},"_npmOperationalInternal":{"tmp":"tmp/telegraf-3.9.0.tgz_1500659787527_0.791619097115472","host":"s3://npm-registry-packages"}},"3.10.0":{"name":"telegraf","version":"3.10.0","keywords":["telegraf","telegram","telegram bot api","bot","botapi","bot framework"],"author":{"name":"Vitaly Domnikov","email":"dotcypress@gmail.com"},"license":"MIT","_id":"telegraf@3.10.0","maintainers":[{"name":"dotcypress","email":"dotcypress@gmail.com"}],"homepage":"https://github.com/telegraf/telegraf#readme","bugs":{"url":"https://github.com/telegraf/telegraf/issues"},"dist":{"shasum":"13a08f1b8461c2029076177328c4df84aaba0398","tarball":"https://registry.npmjs.org/telegraf/-/telegraf-3.10.0.tgz","integrity":"sha512-6q2sj4rXiAmvRuyn+pO7Qr4oFKHGj3+Cyi7cDEOIAd8ijMnZlGqp2EhBQTU+9vYIwCiyU2WXK8Pdyp9SQlUWxQ==","signatures":[{"sig":"MEYCIQC/aUX1TJSCtLyDmpXKhNnvLwV3ZlCybY/c20oIpkhM6QIhALQEQwSps3AoVd6/O/cXh+w/GQ3fMWXhQ+lBguZm5W9/","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}]},"main":"lib/index.js","files":["docs","lib"],"engines":{"node":">=6.2.0"},"gitHead":"d4517e641e66d53ea60ce74a5fc4e692a57c3d33","scripts":{"lint":"eslint .","test":"ava test","precommit":"npm run lint && npm test"},"_npmUser":{"name":"dotcypress","email":"dotcypress@gmail.com"},"docpress":{"css":"docs/docs.css","github":"telegraf/telegraf"},"repository":{"url":"git+ssh://git@github.com/telegraf/telegraf.git","type":"git"},"_npmVersion":"5.3.0","description":"📡 Modern Telegram bot framework","directories":{},"_nodeVersion":"8.3.0","dependencies":{"debug":"^3.0.0","node-fetch":"^1.6.3","sandwich-stream":"^1.0.0"},"devDependencies":{"ava":"^0.22.0","husky":"^0.14.1","eslint":"^4.1.1","eslint-plugin-ava":"^4.0.0","eslint-plugin-node":"^5.1.0","eslint-plugin-import":"^2.2.0","eslint-plugin-promise":"^3.5.0","eslint-config-standard":"^10.2.0","eslint-plugin-standard":"^3.0.1"},"_npmOperationalInternal":{"tmp":"tmp/telegraf-3.10.0.tgz_1503012911134_0.9435415924526751","host":"s3://npm-registry-packages"}},"3.10.1":{"name":"telegraf","version":"3.10.1","keywords":["telegraf","telegram","telegram bot api","bot","botapi","bot framework"],"author":{"name":"Vitaly Domnikov","email":"dotcypress@gmail.com"},"license":"MIT","_id":"telegraf@3.10.1","maintainers":[{"name":"dotcypress","email":"dotcypress@gmail.com"}],"homepage":"https://github.com/telegraf/telegraf#readme","bugs":{"url":"https://github.com/telegraf/telegraf/issues"},"dist":{"shasum":"58ba2e70beaf1ccb98cab75fcbab53591e9b2b86","tarball":"https://registry.npmjs.org/telegraf/-/telegraf-3.10.1.tgz","integrity":"sha512-OeICFPosEI0oZLVCIOPF90oGuix4Gq1R8gRxqaHHp8kyVX4CuLAGMUnM/lYTFqmxlGeLhsb/GxEF0AQv3spI2w==","signatures":[{"sig":"MEUCIQCrqLuIkaoxrqjGj/aWABGSyEHh5Cat9WI39+3MGu5n+wIgDQANeHlPH6BfsBnOy516ayEpFH9yX2PXXkDUchAvgu8=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}]},"main":"lib/index.js","files":["docs","lib"],"engines":{"node":">=6.2.0"},"gitHead":"f15857c01b7eb859767ef72e53c39411569352c5","scripts":{"lint":"eslint .","test":"ava test","precommit":"npm run lint && npm test"},"_npmUser":{"name":"dotcypress","email":"dotcypress@gmail.com"},"docpress":{"css":"docs/docs.css","github":"telegraf/telegraf"},"repository":{"url":"git+ssh://git@github.com/telegraf/telegraf.git","type":"git"},"_npmVersion":"5.3.0","description":"📡 Modern Telegram bot framework","directories":{},"_nodeVersion":"8.3.0","dependencies":{"debug":"^3.0.0","node-fetch":"^1.6.3","sandwich-stream":"^1.0.0"},"devDependencies":{"ava":"^0.22.0","husky":"^0.14.1","eslint":"^4.1.1","eslint-plugin-ava":"^4.0.0","eslint-plugin-node":"^5.1.0","eslint-plugin-import":"^2.2.0","eslint-plugin-promise":"^3.5.0","eslint-config-standard":"^10.2.0","eslint-plugin-standard":"^3.0.1"},"_npmOperationalInternal":{"tmp":"tmp/telegraf-3.10.1.tgz_1503506223167_0.7816548754926771","host":"s3://npm-registry-packages"}},"3.11.1":{"name":"telegraf","version":"3.11.1","keywords":["telegraf","telegram","telegram bot api","bot","botapi","bot framework"],"author":{"name":"Vitaly Domnikov","email":"dotcypress@gmail.com"},"license":"MIT","_id":"telegraf@3.11.1","maintainers":[{"name":"dotcypress","email":"dotcypress@gmail.com"}],"homepage":"https://github.com/telegraf/telegraf#readme","bugs":{"url":"https://github.com/telegraf/telegraf/issues"},"dist":{"shasum":"664c9b8e4f5792304503a42dd0a3d85e404b3945","tarball":"https://registry.npmjs.org/telegraf/-/telegraf-3.11.1.tgz","integrity":"sha512-c+TxG8cz4SpAsPFcmtAJmbqiJAK+S/p+S+QEi85z5H9vEMpfmgwFr0qdkRPYWBUaE9EifStbZ/12O+4KykVmIg==","signatures":[{"sig":"MEQCIDnOLSWORLDeuq9Qgtc+oze+DSXEqgxKboe1enZ1X9YhAiAHu/ku3mccFzIR+hYKIMxDRDutnYbvuBqX3QldyXgXQw==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}]},"main":"lib/index.js","files":["docs","lib"],"engines":{"node":">=6.2.0"},"gitHead":"c406134dcd26bd3ea5befff49fb8c5598879728b","scripts":{"lint":"eslint .","test":"ava test","precommit":"npm run lint && npm test"},"_npmUser":{"name":"dotcypress","email":"dotcypress@gmail.com"},"docpress":{"css":"docs/docs.css","github":"telegraf/telegraf"},"repository":{"url":"git+ssh://git@github.com/telegraf/telegraf.git","type":"git"},"_npmVersion":"5.3.0","description":"📡 Modern Telegram bot framework","directories":{},"_nodeVersion":"8.5.0","dependencies":{"debug":"^3.0.0","node-fetch":"^1.6.3","sandwich-stream":"^1.0.0"},"devDependencies":{"ava":"^0.22.0","husky":"^0.14.1","eslint":"^4.1.1","eslint-plugin-ava":"^4.0.0","eslint-plugin-node":"^5.1.0","eslint-plugin-import":"^2.2.0","eslint-plugin-promise":"^3.5.0","eslint-config-standard":"^10.2.0","eslint-plugin-standard":"^3.0.1"},"_npmOperationalInternal":{"tmp":"tmp/telegraf-3.11.1.tgz_1505789895301_0.7949237683787942","host":"s3://npm-registry-packages"}},"3.12.0":{"name":"telegraf","version":"3.12.0","keywords":["telegraf","telegram","telegram bot api","bot","botapi","bot framework"],"author":{"name":"Vitaly Domnikov","email":"dotcypress@gmail.com"},"license":"MIT","_id":"telegraf@3.12.0","maintainers":[{"name":"dotcypress","email":"dotcypress@gmail.com"}],"homepage":"https://github.com/telegraf/telegraf#readme","bugs":{"url":"https://github.com/telegraf/telegraf/issues"},"dist":{"shasum":"85f57e58556c6558085285382e934bbd88c79259","tarball":"https://registry.npmjs.org/telegraf/-/telegraf-3.12.0.tgz","integrity":"sha512-nRyMpAHSdbXWJkuoglFLZor6KRoLotmVXltGpzZnFAeTyjc2mewwGcFaa3jwfZLpw+o2RyoMzJQdDQ6FaLYNMA==","signatures":[{"sig":"MEYCIQD5wRYH+x837WaF794CilKeunsw6xOH9WQGbZ6Vhj/nlAIhAMLhtTP8Lur8k8hCNNtrbt9jWdSd8erOdGpxX2p3+uj4","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}]},"main":"lib/index.js","files":["docs","lib"],"engines":{"node":">=6.2.0"},"gitHead":"d3985c7582dafa569a1f8a5ae31623c569ed4fc8","scripts":{"lint":"eslint .","test":"ava test","precommit":"npm run lint && npm test"},"_npmUser":{"name":"dotcypress","email":"dotcypress@gmail.com"},"docpress":{"css":"docs/docs.css","github":"telegraf/telegraf"},"repository":{"url":"git+ssh://git@github.com/telegraf/telegraf.git","type":"git"},"_npmVersion":"5.3.0","description":"📡 Modern Telegram bot framework","directories":{},"_nodeVersion":"8.5.0","dependencies":{"debug":"^3.0.0","node-fetch":"^1.6.3","sandwich-stream":"^1.0.0"},"devDependencies":{"ava":"^0.22.0","husky":"^0.14.1","eslint":"^4.1.1","eslint-plugin-ava":"^4.0.0","eslint-plugin-node":"^5.1.0","eslint-plugin-import":"^2.2.0","eslint-plugin-promise":"^3.5.0","eslint-config-standard":"^10.2.0","eslint-plugin-standard":"^3.0.1"},"_npmOperationalInternal":{"tmp":"tmp/telegraf-3.12.0.tgz_1506615021809_0.7068638219498098","host":"s3://npm-registry-packages"}},"3.12.1":{"name":"telegraf","version":"3.12.1","keywords":["telegraf","telegram","telegram bot api","bot","botapi","bot framework"],"author":{"name":"Vitaly Domnikov","email":"dotcypress@gmail.com"},"license":"MIT","_id":"telegraf@3.12.1","maintainers":[{"name":"dotcypress","email":"dotcypress@gmail.com"}],"homepage":"https://github.com/telegraf/telegraf#readme","bugs":{"url":"https://github.com/telegraf/telegraf/issues"},"dist":{"shasum":"5af42d4476ca0e0fa3cd07a1f07ffa358ec9605f","tarball":"https://registry.npmjs.org/telegraf/-/telegraf-3.12.1.tgz","integrity":"sha512-fI8cRohic5ZI165nn++kf2CGVjXUUymoKKhEBmkuVpt3WBH4qLYYcigcnDQ7mdsGBYtMvpAdPi45D7lLTSjbXQ==","signatures":[{"sig":"MEQCIAzHnjHQEaV565qkX6ci3px+95lBt6a/qbJ5hHHgTFj9AiAXmu4EwYaP/MOmOLGGi7jP2qa1rLUPHB9oAErfvPOkrw==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}]},"main":"lib/index.js","files":["docs","lib"],"engines":{"node":">=6.2.0"},"gitHead":"c4daee3fb19f3bafe50938b24e1abf8ba8625e44","scripts":{"lint":"eslint .","test":"ava test","precommit":"npm run lint && npm test"},"_npmUser":{"name":"dotcypress","email":"dotcypress@gmail.com"},"docpress":{"css":"docs/docs.css","github":"telegraf/telegraf"},"repository":{"url":"git+ssh://git@github.com/telegraf/telegraf.git","type":"git"},"_npmVersion":"5.3.0","description":"📡 Modern Telegram bot framework","directories":{},"_nodeVersion":"8.5.0","dependencies":{"debug":"^3.0.0","node-fetch":"^1.6.3","sandwich-stream":"^1.0.0"},"devDependencies":{"ava":"^0.22.0","husky":"^0.14.1","eslint":"^4.1.1","eslint-plugin-ava":"^4.0.0","eslint-plugin-node":"^5.1.0","eslint-plugin-import":"^2.2.0","eslint-plugin-promise":"^3.5.0","eslint-config-standard":"^10.2.0","eslint-plugin-standard":"^3.0.1"},"_npmOperationalInternal":{"tmp":"tmp/telegraf-3.12.1.tgz_1506790314258_0.5878598855342716","host":"s3://npm-registry-packages"}},"3.13.0":{"name":"telegraf","version":"3.13.0","keywords":["telegraf","telegram","telegram bot api","bot","botapi","bot framework"],"author":{"name":"Vitaly Domnikov","email":"dotcypress@gmail.com"},"license":"MIT","_id":"telegraf@3.13.0","maintainers":[{"name":"dotcypress","email":"dotcypress@gmail.com"}],"homepage":"https://github.com/telegraf/telegraf#readme","bugs":{"url":"https://github.com/telegraf/telegraf/issues"},"dist":{"shasum":"bbe5d6c857a505ff55dcfa99c6a32984c5f17b4c","tarball":"https://registry.npmjs.org/telegraf/-/telegraf-3.13.0.tgz","integrity":"sha512-ptoA7OY9ZHEhc+pBhNFP3G8uZNL/FTCds9kfs/j3NQCeJkqaRNECXX3cUyTeo6wQhvxp9+IHDLATxnuoVEW4Eg==","signatures":[{"sig":"MEUCIQDtZtTVZpj4fDOxxuqCfZwQiZteTX2y4q6JEO5+J50GxgIgebubiE+bqXX/FKtprkD3zWaAX02p1Px6xC9kGFOgmmQ=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}]},"main":"lib/index.js","files":["docs","lib"],"engines":{"node":">=6.2.0"},"gitHead":"a4fd3c1f17ad41da027fa1d6ad027976c4f37f9f","scripts":{"lint":"eslint .","test":"ava test","precommit":"npm run lint && npm test"},"_npmUser":{"name":"dotcypress","email":"dotcypress@gmail.com"},"docpress":{"css":"docs/docs.css","github":"telegraf/telegraf"},"repository":{"url":"git+ssh://git@github.com/telegraf/telegraf.git","type":"git"},"_npmVersion":"5.4.2","description":"📡 Modern Telegram bot framework","directories":{},"_nodeVersion":"8.6.0","dependencies":{"debug":"^3.0.0","node-fetch":"^1.6.3","sandwich-stream":"^1.0.0"},"devDependencies":{"ava":"^0.22.0","husky":"^0.14.1","eslint":"^4.1.1","eslint-plugin-ava":"^4.0.0","eslint-plugin-node":"^5.1.0","eslint-plugin-import":"^2.2.0","eslint-plugin-promise":"^3.5.0","eslint-config-standard":"^10.2.0","eslint-plugin-standard":"^3.0.1"},"_npmOperationalInternal":{"tmp":"tmp/telegraf-3.13.0.tgz_1507746551556_0.8733917742501944","host":"s3://npm-registry-packages"}},"3.14.0":{"name":"telegraf","version":"3.14.0","keywords":["telegraf","telegram","telegram bot api","bot","botapi","bot framework"],"author":{"name":"Vitaly Domnikov","email":"dotcypress@gmail.com"},"license":"MIT","_id":"telegraf@3.14.0","maintainers":[{"name":"dotcypress","email":"dotcypress@gmail.com"}],"homepage":"https://github.com/telegraf/telegraf#readme","bugs":{"url":"https://github.com/telegraf/telegraf/issues"},"dist":{"shasum":"97d0dcea9052c1f59c1596210687e862a75012bd","tarball":"https://registry.npmjs.org/telegraf/-/telegraf-3.14.0.tgz","integrity":"sha512-hm6Sxh9Vr9oTI6dslKeX/jCdyEFf61T7SS4RiMczmm0zrcqa8triNCGBLzJO45znNfnaL94oyxCq3vmrsHLgQw==","signatures":[{"sig":"MEUCIQDQX8+ODk4+SZ65SOGMWfXeNC7ayPneLnOVTDM0fBHU5AIgT+GPJHqFFS5pXqUbqxekK3C9n9JlLsDTIIyt93eSkDY=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}]},"main":"lib/index.js","files":["docs","lib"],"engines":{"node":">=6.2.0"},"gitHead":"cb10aa8239afa5ffaf97249122fd2bbab4a549c4","scripts":{"lint":"eslint .","test":"ava test","precommit":"npm run lint && npm test"},"_npmUser":{"name":"dotcypress","email":"dotcypress@gmail.com"},"docpress":{"css":"docs/docs.css","github":"telegraf/telegraf"},"repository":{"url":"git+ssh://git@github.com/telegraf/telegraf.git","type":"git"},"_npmVersion":"5.4.2","description":"📡 Modern Telegram bot framework","directories":{},"_nodeVersion":"8.6.0","dependencies":{"debug":"^3.0.0","node-fetch":"^1.6.3","sandwich-stream":"^1.0.0"},"devDependencies":{"ava":"^0.22.0","husky":"^0.14.1","eslint":"^4.1.1","eslint-plugin-ava":"^4.0.0","eslint-plugin-node":"^5.1.0","eslint-plugin-import":"^2.2.0","eslint-plugin-promise":"^3.5.0","eslint-config-standard":"^10.2.0","eslint-plugin-standard":"^3.0.1"},"_npmOperationalInternal":{"tmp":"tmp/telegraf-3.14.0.tgz_1507943101393_0.03710785927250981","host":"s3://npm-registry-packages"}},"3.14.1":{"name":"telegraf","version":"3.14.1","keywords":["telegraf","telegram","telegram bot api","bot","botapi","bot framework"],"author":{"name":"Vitaly Domnikov","email":"dotcypress@gmail.com"},"license":"MIT","_id":"telegraf@3.14.1","maintainers":[{"name":"dotcypress","email":"dotcypress@gmail.com"}],"homepage":"https://github.com/telegraf/telegraf#readme","bugs":{"url":"https://github.com/telegraf/telegraf/issues"},"dist":{"shasum":"d57aa0dc5562bb52c4759250f789c0ac73de91f4","tarball":"https://registry.npmjs.org/telegraf/-/telegraf-3.14.1.tgz","integrity":"sha512-sjH/Gj6geRSvrriRZHk4O3K30cJugBjLa0dVBTnfE9BjfU1D0mTC1KAiHjQ8V8Z7JvwT9AWbjKjsbxylvy2liQ==","signatures":[{"sig":"MEYCIQC7y1yQoQ+IWGPEOAkX9h5MKqcu4eR093rW+iyrbJW/2AIhANIuT0kx9bnx59kiE2zPixWKHQ31f9jTwqZCz6u0pj8Z","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}]},"main":"lib/index.js","files":["docs","lib"],"engines":{"node":">=6.2.0"},"gitHead":"8975f6613ea16d61a15eb3d24bc81152b3428517","scripts":{"lint":"eslint .","test":"ava test","precommit":"npm run lint && npm test"},"_npmUser":{"name":"dotcypress","email":"dotcypress@gmail.com"},"docpress":{"css":"docs/docs.css","github":"telegraf/telegraf"},"repository":{"url":"git+ssh://git@github.com/telegraf/telegraf.git","type":"git"},"_npmVersion":"5.5.1","description":"📡 Modern Telegram bot framework","directories":{},"_nodeVersion":"8.5.0","dependencies":{"debug":"^3.0.0","node-fetch":"^1.6.3","sandwich-stream":"^1.0.0"},"devDependencies":{"ava":"^0.23.0","husky":"^0.14.1","eslint":"^4.1.1","eslint-plugin-ava":"^4.0.0","eslint-plugin-node":"^5.1.0","eslint-plugin-import":"^2.2.0","eslint-plugin-promise":"^3.5.0","eslint-config-standard":"^10.2.0","eslint-plugin-standard":"^3.0.1"},"_npmOperationalInternal":{"tmp":"tmp/telegraf-3.14.1.tgz_1509488679708_0.35800260002724826","host":"s3://npm-registry-packages"}},"3.14.3":{"name":"telegraf","version":"3.14.3","keywords":["telegraf","telegram","telegram bot api","bot","botapi","bot framework"],"author":{"name":"Vitaly Domnikov","email":"dotcypress@gmail.com"},"license":"MIT","_id":"telegraf@3.14.3","maintainers":[{"name":"dotcypress","email":"dotcypress@gmail.com"}],"homepage":"https://github.com/telegraf/telegraf#readme","bugs":{"url":"https://github.com/telegraf/telegraf/issues"},"dist":{"shasum":"f625434ef595cdceeb2476b08badf2359d433747","tarball":"https://registry.npmjs.org/telegraf/-/telegraf-3.14.3.tgz","integrity":"sha512-Zjq8Gzp/cQUaYRlZBOIPaNL9zJG8Eyl2iTyNtfmBZlVQOliwOjrDsvh92d9bM7hlKPVmBqBLglbwa7J0ZZpLwA==","signatures":[{"sig":"MEUCIQCAbUixF/bbD6JgGDXkWP/GYfnXSMVMLqvuiHQI2NByEgIgEggh9gmABvtNbNQfrvy5C0uIw6P5ZVF3zIwi3mu5ebI=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}]},"main":"lib/index.js","files":["docs","lib"],"engines":{"node":">=6.2.0"},"gitHead":"8f63b6ddfbed1cdc78f28873e3a1bf47a35308d1","scripts":{"lint":"eslint .","test":"ava test","precommit":"npm run lint && npm test"},"_npmUser":{"name":"dotcypress","email":"dotcypress@gmail.com"},"docpress":{"css":"docs/docs.css","github":"telegraf/telegraf"},"repository":{"url":"git+ssh://git@github.com/telegraf/telegraf.git","type":"git"},"_npmVersion":"5.5.1","description":"📡 Modern Telegram bot framework","directories":{},"_nodeVersion":"8.5.0","dependencies":{"debug":"^3.0.0","node-fetch":"^1.6.3","sandwich-stream":"^1.0.0"},"devDependencies":{"ava":"^0.23.0","husky":"^0.14.1","eslint":"^4.1.1","eslint-plugin-ava":"^4.0.0","eslint-plugin-node":"^5.1.0","eslint-plugin-import":"^2.2.0","eslint-plugin-promise":"^3.5.0","eslint-config-standard":"^10.2.0","eslint-plugin-standard":"^3.0.1"},"_npmOperationalInternal":{"tmp":"tmp/telegraf-3.14.3.tgz_1509740357694_0.9797684666700661","host":"s3://npm-registry-packages"}},"3.15.0":{"name":"telegraf","version":"3.15.0","keywords":["telegraf","telegram","telegram bot api","bot","botapi","bot framework"],"author":{"name":"Vitaly Domnikov","email":"dotcypress@gmail.com"},"license":"MIT","_id":"telegraf@3.15.0","maintainers":[{"name":"dotcypress","email":"dotcypress@gmail.com"}],"homepage":"https://github.com/telegraf/telegraf#readme","bugs":{"url":"https://github.com/telegraf/telegraf/issues"},"dist":{"shasum":"e9812d1c2a6c53363409ca3c90cb80553c713fbf","tarball":"https://registry.npmjs.org/telegraf/-/telegraf-3.15.0.tgz","integrity":"sha512-1TplEKF+3NUA4rtT4JKG7WO+gsfVlrUJCCSasMY95rolnm1DmdhXud0LjRv+YxlOoVQV7S3OZONAJt06B93YAQ==","signatures":[{"sig":"MEYCIQDysg5SNs3viDOJcI0gjHdtRocKI/JGDIsy/+eqD6yiFgIhAN1m3AMDLhD4xBjQgbPa6Gozb4yx6HHMs1t46B9Exr03","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}]},"main":"telegraf.js","engines":{"node":">=6.2.0"},"gitHead":"a65a42c783bf10b333f6ac2266a9399c306577f7","scripts":{"lint":"eslint .","test":"ava test","precommit":"npm run lint && npm test"},"_npmUser":{"name":"dotcypress","email":"dotcypress@gmail.com"},"repository":{"url":"git+ssh://git@github.com/telegraf/telegraf.git","type":"git"},"_npmVersion":"5.5.1","description":"📡 Modern Telegram bot framework","directories":{},"_nodeVersion":"8.5.0","dependencies":{"debug":"^3.0.0","node-fetch":"^1.6.3","sandwich-stream":"^1.0.0"},"devDependencies":{"ava":"^0.23.0","husky":"^0.14.1","eslint":"^4.1.1","eslint-plugin-ava":"^4.0.0","eslint-plugin-node":"^5.1.0","eslint-plugin-import":"^2.2.0","eslint-plugin-promise":"^3.5.0","eslint-config-standard":"^10.2.0","eslint-plugin-standard":"^3.0.1"},"_npmOperationalInternal":{"tmp":"tmp/telegraf-3.15.0.tgz_1509779312488_0.9504576143808663","host":"s3://npm-registry-packages"}},"3.15.1":{"name":"telegraf","version":"3.15.1","keywords":["telegraf","telegram","telegram bot api","bot","botapi","bot framework"],"author":{"name":"Vitaly Domnikov","email":"dotcypress@gmail.com"},"license":"MIT","_id":"telegraf@3.15.1","maintainers":[{"name":"dotcypress","email":"dotcypress@gmail.com"}],"homepage":"https://github.com/telegraf/telegraf#readme","bugs":{"url":"https://github.com/telegraf/telegraf/issues"},"dist":{"shasum":"8ecac88727740f815743f6b177bf5873782addff","tarball":"https://registry.npmjs.org/telegraf/-/telegraf-3.15.1.tgz","integrity":"sha512-gh7ri70dyjPe4mV/llkeS8Ak+dz+AC3P08ZVI71rorISW4nt0Zm/rNE1itW+dhprO8scSJzRKvVvNiyq0pH1sg==","signatures":[{"sig":"MEQCIErZGEuFGRQ0CtdqP9Kta7ZWJN/cPybv2mgFKVPVJqGjAiBaQQr7NsPkijkZeHoBxYx/evgYzHK0V3ZwzxYpc4cg1A==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}]},"main":"telegraf.js","engines":{"node":">=6.2.0"},"gitHead":"8fcd9cb9fd5f1a1046db8c45305b713c42d3cc1d","scripts":{"lint":"eslint .","test":"ava test","precommit":"npm run lint && npm test"},"_npmUser":{"name":"dotcypress","email":"dotcypress@gmail.com"},"repository":{"url":"git+ssh://git@github.com/telegraf/telegraf.git","type":"git"},"_npmVersion":"5.5.1","description":"📡 Modern Telegram bot framework","directories":{},"_nodeVersion":"8.5.0","dependencies":{"debug":"^3.0.0","node-fetch":"^1.6.3","sandwich-stream":"^1.0.0"},"devDependencies":{"ava":"^0.23.0","husky":"^0.14.1","eslint":"^4.1.1","eslint-plugin-ava":"^4.0.0","eslint-plugin-node":"^5.1.0","eslint-plugin-import":"^2.2.0","eslint-plugin-promise":"^3.5.0","eslint-config-standard":"^10.2.0","eslint-plugin-standard":"^3.0.1"},"_npmOperationalInternal":{"tmp":"tmp/telegraf-3.15.1.tgz_1509779791030_0.7479828651994467","host":"s3://npm-registry-packages"}},"3.15.2":{"name":"telegraf","version":"3.15.2","keywords":["telegraf","telegram","telegram bot api","bot","botapi","bot framework"],"author":{"name":"Vitaly Domnikov","email":"dotcypress@gmail.com"},"license":"MIT","_id":"telegraf@3.15.2","maintainers":[{"name":"dotcypress","email":"dotcypress@gmail.com"}],"homepage":"https://github.com/telegraf/telegraf#readme","bugs":{"url":"https://github.com/telegraf/telegraf/issues"},"dist":{"shasum":"fe9b4639fd391682252215aa5f0c27c74aee2564","tarball":"https://registry.npmjs.org/telegraf/-/telegraf-3.15.2.tgz","integrity":"sha512-axrGOTjmb80AnrTGbCzQaSJoRabkEfunh5Tlk5m+MnfGwWhhHC8X3FHcNrmx1XTPM8VvemQfgcCQ2kazSQu+1A==","signatures":[{"sig":"MEUCICWWUFsas/BrCxnCTHMcuprkHXNipR2qTEEsURE9yRbXAiEA/jQELBH+QQphamgfsY3cYetC9xLZFAbNpvbl3yxP/rk=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}]},"main":"telegraf.js","engines":{"node":">=6.2.0"},"gitHead":"1930ee23c17f9abdd80c1c5d9e56791352a2405c","scripts":{"lint":"eslint .","test":"ava test","precommit":"npm run lint && npm test"},"_npmUser":{"name":"dotcypress","email":"dotcypress@gmail.com"},"repository":{"url":"git+ssh://git@github.com/telegraf/telegraf.git","type":"git"},"_npmVersion":"5.5.1","description":"📡 Modern Telegram bot framework","directories":{},"_nodeVersion":"8.5.0","dependencies":{"debug":"^3.0.0","node-fetch":"^1.6.3","sandwich-stream":"^1.0.0"},"devDependencies":{"ava":"^0.23.0","husky":"^0.14.1","eslint":"^4.1.1","eslint-plugin-ava":"^4.0.0","eslint-plugin-node":"^5.1.0","eslint-plugin-import":"^2.2.0","eslint-plugin-promise":"^3.5.0","eslint-config-standard":"^10.2.0","eslint-plugin-standard":"^3.0.1"},"_npmOperationalInternal":{"tmp":"tmp/telegraf-3.15.2.tgz_1509782789919_0.7877476166468114","host":"s3://npm-registry-packages"}},"3.15.3":{"name":"telegraf","version":"3.15.3","keywords":["telegraf","telegram","telegram bot api","bot","botapi","bot framework"],"author":{"name":"Vitaly Domnikov","email":"dotcypress@gmail.com"},"license":"MIT","_id":"telegraf@3.15.3","maintainers":[{"name":"dotcypress","email":"dotcypress@gmail.com"}],"homepage":"https://github.com/telegraf/telegraf#readme","bugs":{"url":"https://github.com/telegraf/telegraf/issues"},"dist":{"shasum":"3cd283d7da861800a845da727fe903a1ba28f3d2","tarball":"https://registry.npmjs.org/telegraf/-/telegraf-3.15.3.tgz","integrity":"sha512-fmPMM9KtbURcwdHB1RTwtxUCYQqRHUxYwFL7n2lBai1+bGWBZMtwiMudq9OdZr6ERHF06oMUjTOChKH9sdHfHg==","signatures":[{"sig":"MEYCIQDFygTveAdQHPRNWf1G7wV5yF9yem93gi+dNgFKasRZygIhALlfBJlL6/sKTEFGult/pizkuKXm4o4vgBZNaCg+1BZe","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}]},"main":"telegraf.js","engines":{"node":">=6.2.0"},"gitHead":"6950398412d0957d6481f9f5b7493a512e8e9dd4","scripts":{"lint":"eslint .","test":"ava test","precommit":"npm run lint && npm test"},"_npmUser":{"name":"dotcypress","email":"dotcypress@gmail.com"},"repository":{"url":"git+ssh://git@github.com/telegraf/telegraf.git","type":"git"},"_npmVersion":"5.5.1","description":"📡 Modern Telegram bot framework","directories":{},"_nodeVersion":"8.5.0","dependencies":{"debug":"^3.0.0","node-fetch":"^1.6.3","sandwich-stream":"^1.0.0"},"devDependencies":{"ava":"^0.23.0","husky":"^0.14.1","eslint":"^4.1.1","eslint-plugin-ava":"^4.0.0","eslint-plugin-node":"^5.1.0","eslint-plugin-import":"^2.2.0","eslint-plugin-promise":"^3.5.0","eslint-config-standard":"^10.2.0","eslint-plugin-standard":"^3.0.1"},"_npmOperationalInternal":{"tmp":"tmp/telegraf-3.15.3.tgz_1509786404900_0.6657109938096255","host":"s3://npm-registry-packages"}},"3.16.3":{"name":"telegraf","version":"3.16.3","keywords":["telegraf","telegram","telegram bot api","bot","botapi","bot framework"],"author":{"name":"Vitaly Domnikov","email":"dotcypress@gmail.com"},"license":"MIT","_id":"telegraf@3.16.3","maintainers":[{"name":"dotcypress","email":"dotcypress@gmail.com"}],"homepage":"https://github.com/telegraf/telegraf#readme","bugs":{"url":"https://github.com/telegraf/telegraf/issues"},"dist":{"shasum":"cc615a043276d7050ba2082a05940f71b9228f20","tarball":"https://registry.npmjs.org/telegraf/-/telegraf-3.16.3.tgz","integrity":"sha512-OKfho3yhD2djyJ0m3uTbpaK2pN9gakitLvq/NJ6drwGy4d0o6NUawIQkY3DNkDLntcVJWTvWXd5aGkjdUYAVzw==","signatures":[{"sig":"MEQCIC0wulzrHjWWlXUN1FRCrB6ynYqhhVI+KhmKbBF4gOVFAiACx1UaU1rGy6FZ1d5s4oAquNxIVSgDDOkyYhTeZv+s7Q==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}]},"main":"telegraf.js","_from":".","_shasum":"cc615a043276d7050ba2082a05940f71b9228f20","engines":{"node":">=6.2.0"},"gitHead":"0e14c8c23ac0f6b6f2638ce241cbb5a5ede883d3","scripts":{"lint":"eslint .","test":"ava test","precommit":"npm run lint && npm test"},"_npmUser":{"name":"dotcypress","email":"dotcypress@gmail.com"},"repository":{"url":"git+ssh://git@github.com/telegraf/telegraf.git","type":"git"},"_npmVersion":"4.2.0","description":"📡 Modern Telegram bot framework","directories":{},"_nodeVersion":"7.9.0","dependencies":{"debug":"^3.0.0","node-fetch":"^1.6.3","sandwich-stream":"^1.0.0"},"devDependencies":{"ava":"^0.23.0","husky":"^0.14.1","eslint":"^4.1.1","eslint-plugin-ava":"^4.0.0","eslint-plugin-node":"^5.1.0","eslint-plugin-import":"^2.2.0","eslint-plugin-promise":"^3.5.0","eslint-config-standard":"^10.2.0","eslint-plugin-standard":"^3.0.1"},"_npmOperationalInternal":{"tmp":"tmp/telegraf-3.16.3.tgz_1511214361236_0.41851700260303915","host":"s3://npm-registry-packages"}},"3.16.0":{"name":"telegraf","version":"3.16.0","keywords":["telegraf","telegram","telegram bot api","bot","botapi","bot framework"],"author":{"name":"Vitaly Domnikov","email":"dotcypress@gmail.com"},"license":"MIT","_id":"telegraf@3.16.0","maintainers":[{"name":"dotcypress","email":"dotcypress@gmail.com"}],"homepage":"https://github.com/telegraf/telegraf#readme","bugs":{"url":"https://github.com/telegraf/telegraf/issues"},"dist":{"shasum":"d0db3e92e82e9d5e728792133c6144ffe564df09","tarball":"https://registry.npmjs.org/telegraf/-/telegraf-3.16.0.tgz","integrity":"sha512-PysmVziwTz/e76eQWrurSgDTpZtGdSEvBVRBvpcyM4iH3tCcOT8Qoj6ye5GzAbryCLHksj3ueccut1MZs4zgpg==","signatures":[{"sig":"MEYCIQDWqt+4bcM7fhIapx7L5rByTA/MSg71QkiYSPxrxmAX5gIhAJkIn0H+3NlwbEWk7nlllAUN4AhpxRuDvvkVaz35D+0q","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}]},"main":"telegraf.js","_from":".","_shasum":"d0db3e92e82e9d5e728792133c6144ffe564df09","engines":{"node":">=6.2.0"},"gitHead":"0e14c8c23ac0f6b6f2638ce241cbb5a5ede883d3","scripts":{"lint":"eslint .","test":"ava test","precommit":"npm run lint && npm test"},"_npmUser":{"name":"dotcypress","email":"dotcypress@gmail.com"},"repository":{"url":"git+ssh://git@github.com/telegraf/telegraf.git","type":"git"},"_npmVersion":"4.2.0","description":"📡 Modern Telegram bot framework","directories":{},"_nodeVersion":"7.9.0","dependencies":{"debug":"^3.0.0","node-fetch":"^1.6.3","sandwich-stream":"^1.0.0"},"devDependencies":{"ava":"^0.23.0","husky":"^0.14.1","eslint":"^4.1.1","eslint-plugin-ava":"^4.0.0","eslint-plugin-node":"^5.1.0","eslint-plugin-import":"^2.2.0","eslint-plugin-promise":"^3.5.0","eslint-config-standard":"^10.2.0","eslint-plugin-standard":"^3.0.1"},"_npmOperationalInternal":{"tmp":"tmp/telegraf-3.16.0.tgz_1511214903070_0.9349438925273716","host":"s3://npm-registry-packages"}},"3.16.4":{"name":"telegraf","version":"3.16.4","keywords":["telegraf","telegram","telegram bot api","bot","botapi","bot framework"],"author":{"name":"Vitaly Domnikov","email":"dotcypress@gmail.com"},"license":"MIT","_id":"telegraf@3.16.4","maintainers":[{"name":"dotcypress","email":"dotcypress@gmail.com"}],"homepage":"https://github.com/telegraf/telegraf#readme","bugs":{"url":"https://github.com/telegraf/telegraf/issues"},"dist":{"shasum":"095cc21d99cb2d4222dbdedd9618e32ba10f0933","tarball":"https://registry.npmjs.org/telegraf/-/telegraf-3.16.4.tgz","integrity":"sha512-N6CR8ooHpmoHQx0t9LpT/e4S2aqbDisUEuW547kWN3helI9+FA8fSIEY4PxzAj+e8EtYncjLT8lCsBTkDpGgpw==","signatures":[{"sig":"MEUCIBn3DYaJcb0V12nQdXw9BIDK6PipXHwo6kIEJCiwPCHWAiEA/vFcBwaFZUK0xmlPWHhJXKOXCqHrusfKVleZ8FBrarA=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}]},"main":"telegraf.js","engines":{"node":">=6.2.0"},"gitHead":"875bfd85f0f288a8be0953d2e7dbbd58679240c2","scripts":{"lint":"eslint .","test":"ava test","precommit":"npm run lint && npm test"},"_npmUser":{"name":"dotcypress","email":"dotcypress@gmail.com"},"repository":{"url":"git+ssh://git@github.com/telegraf/telegraf.git","type":"git"},"_npmVersion":"5.3.0","description":"📡 Modern Telegram bot framework","directories":{},"_nodeVersion":"8.6.0","dependencies":{"debug":"^3.0.0","node-fetch":"^1.6.3","sandwich-stream":"^1.0.0"},"devDependencies":{"ava":"^0.23.0","husky":"^0.14.1","eslint":"^4.1.1","eslint-plugin-ava":"^4.0.0","eslint-plugin-node":"^5.1.0","eslint-plugin-import":"^2.2.0","eslint-plugin-promise":"^3.5.0","eslint-config-standard":"^10.2.0","eslint-plugin-standard":"^3.0.1"},"_npmOperationalInternal":{"tmp":"tmp/telegraf-3.16.4.tgz_1511578495713_0.08938839589245617","host":"s3://npm-registry-packages"}},"3.17.0":{"name":"telegraf","version":"3.17.0","keywords":["telegraf","telegram","telegram bot api","bot","botapi","bot framework"],"author":{"name":"Vitaly Domnikov","email":"dotcypress@gmail.com"},"license":"MIT","_id":"telegraf@3.17.0","maintainers":[{"name":"dotcypress","email":"dotcypress@gmail.com"}],"homepage":"https://github.com/telegraf/telegraf#readme","bugs":{"url":"https://github.com/telegraf/telegraf/issues"},"dist":{"shasum":"6d04e28cafde141f78937016407111ffdafb0582","tarball":"https://registry.npmjs.org/telegraf/-/telegraf-3.17.0.tgz","integrity":"sha512-jn66DLzcA1i/SEthcY09fu4zOeoeSQ/B3fwdXVKdkdzGZfiylFHI0TaukMCe80m7KdvWqEHDAUtrMgJPwpHNOw==","signatures":[{"sig":"MEYCIQCMDU8b1YRCWz9huTe/eZR6SQIhRgUv8I0Q3v8uhMZuIgIhAM8yFqWch6eequRgogF0xI670Yk6HsUiJHl0h5SkKepg","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}]},"main":"telegraf.js","engines":{"node":">=6.2.0"},"gitHead":"f8f668a9509aebda51b16184f9a2524502cf392b","scripts":{"lint":"eslint .","test":"ava test","precommit":"npm run lint && npm test"},"_npmUser":{"name":"dotcypress","email":"dotcypress@gmail.com"},"repository":{"url":"git+ssh://git@github.com/telegraf/telegraf.git","type":"git"},"_npmVersion":"5.5.1","description":"📡 Modern Telegram bot framework","directories":{},"_nodeVersion":"8.6.0","dependencies":{"debug":"^3.0.0","node-fetch":"^1.6.3","sandwich-stream":"^1.0.0"},"devDependencies":{"ava":"^0.24.0","husky":"^0.14.1","eslint":"^4.1.1","eslint-plugin-ava":"^4.0.0","eslint-plugin-node":"^5.1.0","eslint-plugin-import":"^2.2.0","eslint-plugin-promise":"^3.5.0","eslint-config-standard":"^10.2.0","eslint-plugin-standard":"^3.0.1"},"_npmOperationalInternal":{"tmp":"tmp/telegraf-3.17.0.tgz_1512180563510_0.46295059844851494","host":"s3://npm-registry-packages"}},"3.17.1":{"name":"telegraf","version":"3.17.1","keywords":["telegraf","telegram","telegram bot api","bot","botapi","bot framework"],"author":{"name":"Vitaly Domnikov","email":"dotcypress@gmail.com"},"license":"MIT","_id":"telegraf@3.17.1","maintainers":[{"name":"dotcypress","email":"dotcypress@gmail.com"}],"homepage":"https://github.com/telegraf/telegraf#readme","bugs":{"url":"https://github.com/telegraf/telegraf/issues"},"dist":{"shasum":"6b40d4d28f3313f61093be005c9bcc7fc935175a","tarball":"https://registry.npmjs.org/telegraf/-/telegraf-3.17.1.tgz","integrity":"sha512-t7AaiHc8xtueh0hxzgKKZkJ4uUMTMyOIeRKE7jIMgSm5vhW5gop58GetPrdZpZisqvrWpUNpIuBz+/vg+3eXYg==","signatures":[{"sig":"MEYCIQC4Ip8/zHL5Nw5MFSHiqVsZ3mHjWk8FXZR2G6cvJlb4kQIhAN7f3i8XUw8ospDNzsew+pa/wfPT8oc4OEX32slfsfPl","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}]},"main":"telegraf.js","engines":{"node":">=6.2.0"},"gitHead":"ced7ac6dc6a08e24192198d82cd498fca874e90e","scripts":{"lint":"eslint .","test":"ava test","precommit":"npm run lint && npm test"},"_npmUser":{"name":"dotcypress","email":"dotcypress@gmail.com"},"repository":{"url":"git+ssh://git@github.com/telegraf/telegraf.git","type":"git"},"_npmVersion":"5.5.1","description":"📡 Modern Telegram bot framework","directories":{},"_nodeVersion":"9.2.0","dependencies":{"debug":"^3.0.0","node-fetch":"^1.6.3","sandwich-stream":"^1.0.0"},"devDependencies":{"ava":"^0.24.0","husky":"^0.14.1","eslint":"^4.1.1","eslint-plugin-ava":"^4.0.0","eslint-plugin-node":"^5.1.0","eslint-plugin-import":"^2.2.0","eslint-plugin-promise":"^3.5.0","eslint-config-standard":"^10.2.0","eslint-plugin-standard":"^3.0.1"},"_npmOperationalInternal":{"tmp":"tmp/telegraf-3.17.1.tgz_1512581922177_0.22718958975747228","host":"s3://npm-registry-packages"}},"3.17.2":{"name":"telegraf","version":"3.17.2","keywords":["telegraf","telegram","telegram bot api","bot","botapi","bot framework"],"author":{"name":"Vitaly Domnikov","email":"dotcypress@gmail.com"},"license":"MIT","_id":"telegraf@3.17.2","maintainers":[{"name":"dotcypress","email":"dotcypress@gmail.com"}],"homepage":"https://github.com/telegraf/telegraf#readme","bugs":{"url":"https://github.com/telegraf/telegraf/issues"},"dist":{"shasum":"380f2ebcd11202d68a6b7675f491df30162af614","tarball":"https://registry.npmjs.org/telegraf/-/telegraf-3.17.2.tgz","integrity":"sha512-Xzf4+omTnZZ6BcPaVuWCIivjVpDhDfQPi38UDMCh1yNo3LslY/DnmUh9F/i7rSD9xlTCRqEy1U6HGUkG33sI6A==","signatures":[{"sig":"MEYCIQCg7w8OHw9C4dVADF+8VGA8MZ+QptSBtjMnmsy3wrA3swIhAOOH/HHw3SkYUcBmm6yL6hNC+v6/leh/yPiUzYvGhxLn","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}]},"main":"telegraf.js","engines":{"node":">=6.2.0"},"gitHead":"1e89d00ab8f7990419afb0de41e9ccf3455a1e1b","scripts":{"lint":"eslint .","test":"ava test","precommit":"npm run lint && npm test"},"_npmUser":{"name":"dotcypress","email":"dotcypress@gmail.com"},"repository":{"url":"git+ssh://git@github.com/telegraf/telegraf.git","type":"git"},"_npmVersion":"5.5.1","description":"📡 Modern Telegram bot framework","directories":{},"_nodeVersion":"9.2.0","dependencies":{"debug":"^3.0.0","node-fetch":"^1.6.3","sandwich-stream":"^1.0.0"},"devDependencies":{"ava":"^0.24.0","husky":"^0.14.1","eslint":"^4.1.1","eslint-plugin-ava":"^4.0.0","eslint-plugin-node":"^5.1.0","eslint-plugin-import":"^2.2.0","eslint-plugin-promise":"^3.5.0","eslint-config-standard":"^10.2.0","eslint-plugin-standard":"^3.0.1"},"_npmOperationalInternal":{"tmp":"tmp/telegraf-3.17.2.tgz_1512932192719_0.3272915312554687","host":"s3://npm-registry-packages"}},"3.17.3":{"name":"telegraf","version":"3.17.3","keywords":["telegraf","telegram","telegram bot api","bot","botapi","bot framework"],"author":{"name":"Vitaly Domnikov","email":"dotcypress@gmail.com"},"license":"MIT","_id":"telegraf@3.17.3","maintainers":[{"name":"dotcypress","email":"dotcypress@gmail.com"}],"homepage":"https://github.com/telegraf/telegraf#readme","bugs":{"url":"https://github.com/telegraf/telegraf/issues"},"dist":{"shasum":"249ba22d77bde81107f4fed5bd9f33f861b3fcb0","tarball":"https://registry.npmjs.org/telegraf/-/telegraf-3.17.3.tgz","integrity":"sha512-uCwtyoPR5eqYuf9bhHqW3PXDrdFpIx+rfng5jE48UIK1Vb5yG9nRKVzqW2dUC0aaNNS3oGTZdJNW+Rf/bIZ2BA==","signatures":[{"sig":"MEUCIQCH8JUNRlNpoVp802a7lfop0Tta8Vnyw0BH4tw/s/bAKwIgWNCRlLGKacyxcWsIVYaty5I0rLVr+bWWtY4ju3K2Otc=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}]},"main":"telegraf.js","engines":{"node":">=6.2.0"},"gitHead":"711443847790b5727858c78a512807125f7f7c99","scripts":{"lint":"eslint .","test":"ava test","precommit":"npm run lint && npm test"},"_npmUser":{"name":"dotcypress","email":"dotcypress@gmail.com"},"repository":{"url":"git+ssh://git@github.com/telegraf/telegraf.git","type":"git"},"_npmVersion":"5.5.1","description":"📡 Modern Telegram bot framework","directories":{},"_nodeVersion":"9.3.0","dependencies":{"debug":"^3.0.0","node-fetch":"^1.6.3","sandwich-stream":"^1.0.0"},"devDependencies":{"ava":"^0.24.0","husky":"^0.14.1","eslint":"^4.1.1","eslint-plugin-ava":"^4.0.0","eslint-plugin-node":"^5.1.0","eslint-plugin-import":"^2.2.0","eslint-plugin-promise":"^3.5.0","eslint-config-standard":"^10.2.0","eslint-plugin-standard":"^3.0.1"},"_npmOperationalInternal":{"tmp":"tmp/telegraf-3.17.3.tgz_1515113995949_0.8658802541904151","host":"s3://npm-registry-packages"}},"3.17.4":{"name":"telegraf","version":"3.17.4","keywords":["telegraf","telegram","telegram bot api","bot","botapi","bot framework"],"author":{"name":"Vitaly Domnikov","email":"dotcypress@gmail.com"},"license":"MIT","_id":"telegraf@3.17.4","maintainers":[{"name":"dotcypress","email":"dotcypress@gmail.com"}],"homepage":"https://github.com/telegraf/telegraf#readme","bugs":{"url":"https://github.com/telegraf/telegraf/issues"},"dist":{"shasum":"ff13ee8414fa0663381c5a528fcc666c85106f76","tarball":"https://registry.npmjs.org/telegraf/-/telegraf-3.17.4.tgz","integrity":"sha512-FaPMpZMIBX/TJ0J5X2nljrUOLJvZSdSDWvqSCgqivjGdAlomo3uY03A1wI693tKNCnNtRWKwFp+sx4IHY3ADvQ==","signatures":[{"sig":"MEUCIBfUotOdpANS5nSnrQ666nfAbKQ0gd/rv63MPnRJNIaWAiEAjJAlGDO3xxhcdNdlBENXXV35OYULXZaT+4BogXJ7p2g=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}]},"main":"telegraf.js","engines":{"node":">=6.2.0"},"gitHead":"8db10e311350067fa924e890dca11bd4551d2339","scripts":{"lint":"eslint .","test":"ava test","precommit":"npm run lint && npm test"},"_npmUser":{"name":"dotcypress","email":"dotcypress@gmail.com"},"repository":{"url":"git+ssh://git@github.com/telegraf/telegraf.git","type":"git"},"_npmVersion":"5.6.0","description":"📡 Modern Telegram bot framework","directories":{},"_nodeVersion":"9.4.0","dependencies":{"debug":"^3.0.0","node-fetch":"^1.6.3","sandwich-stream":"^1.0.0"},"devDependencies":{"ava":"^0.24.0","husky":"^0.14.1","eslint":"^4.1.1","eslint-plugin-ava":"^4.0.0","eslint-plugin-node":"^5.1.0","eslint-plugin-import":"^2.2.0","eslint-plugin-promise":"^3.5.0","eslint-config-standard":"^10.2.0","eslint-plugin-standard":"^3.0.1"},"_npmOperationalInternal":{"tmp":"tmp/telegraf-3.17.4.tgz_1516263947628_0.6034256455022842","host":"s3://npm-registry-packages"}},"3.17.5":{"name":"telegraf","version":"3.17.5","keywords":["telegraf","telegram","telegram bot api","bot","botapi","bot framework"],"author":{"name":"Vitaly Domnikov","email":"dotcypress@gmail.com"},"license":"MIT","_id":"telegraf@3.17.5","maintainers":[{"name":"dotcypress","email":"dotcypress@gmail.com"}],"homepage":"https://github.com/telegraf/telegraf#readme","bugs":{"url":"https://github.com/telegraf/telegraf/issues"},"dist":{"shasum":"80c887847ce853385be217c43f9bc7dde170ddcd","tarball":"https://registry.npmjs.org/telegraf/-/telegraf-3.17.5.tgz","integrity":"sha512-Aq+RRtRyED/2x8kA8/wUknDeCwd1WoHmXDEikY8Wahs82l3mYChrYuRwotskaemrLPFmcu832n6NCtJ7NKXQag==","signatures":[{"sig":"MEYCIQDc92M4BUYn6xVyJKLr0cT+JEEQpeEH6NZeWEJnd3JmbAIhAL+FkvZddMuD6xWHH3T+G9Ckhco0eGCYM0slbjGNn6HH","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}]},"main":"telegraf.js","engines":{"node":">=6.2.0"},"gitHead":"8e0e9bffba55d13da0ff81cd048a8fc14aa0d9d7","scripts":{"lint":"eslint .","test":"ava test","precommit":"npm run lint && npm test"},"_npmUser":{"name":"dotcypress","email":"dotcypress@gmail.com"},"repository":{"url":"git+ssh://git@github.com/telegraf/telegraf.git","type":"git"},"_npmVersion":"5.6.0","description":"📡 Modern Telegram bot framework","directories":{},"_nodeVersion":"9.4.0","dependencies":{"debug":"^3.0.0","node-fetch":"^1.6.3","sandwich-stream":"^1.0.0"},"devDependencies":{"ava":"^0.24.0","husky":"^0.14.1","eslint":"^4.1.1","eslint-plugin-ava":"^4.0.0","eslint-plugin-node":"^5.1.0","eslint-plugin-import":"^2.2.0","eslint-plugin-promise":"^3.5.0","eslint-config-standard":"^10.2.0","eslint-plugin-standard":"^3.0.1"},"_npmOperationalInternal":{"tmp":"tmp/telegraf-3.17.5.tgz_1516289891462_0.45410782867111266","host":"s3://npm-registry-packages"}},"3.17.6":{"name":"telegraf","version":"3.17.6","keywords":["telegraf","telegram","telegram bot api","bot","botapi","bot framework"],"author":{"name":"Vitaly Domnikov","email":"dotcypress@gmail.com"},"license":"MIT","_id":"telegraf@3.17.6","maintainers":[{"name":"dotcypress","email":"dotcypress@gmail.com"}],"homepage":"https://github.com/telegraf/telegraf#readme","bugs":{"url":"https://github.com/telegraf/telegraf/issues"},"dist":{"shasum":"3a7ba9ca69631a49e7d1407f35e90faf9e63cd4c","tarball":"https://registry.npmjs.org/telegraf/-/telegraf-3.17.6.tgz","integrity":"sha512-X9swkazKUFb9T7Ko5IuCxtkb/xH4nJIA/03IQqC3nM9EUO+OBPyWc7zPlpiuj4vg907u7f0KHxzI9kCw47WTFQ==","signatures":[{"sig":"MEYCIQCVahsWDyx+1UtbtM+lbCbp6/xMIObKZf67Oos6JB7B9wIhALK7G/Hu1LzlRN1Df55fhzSKK1MsZ6YA4na5MHvWkLlw","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}]},"main":"telegraf.js","engines":{"node":">=6.2.0"},"gitHead":"3bcac20da8d44a88e5ce5fad917356036f146277","scripts":{"lint":"eslint .","test":"ava test","precommit":"npm run lint && npm test"},"_npmUser":{"name":"dotcypress","email":"dotcypress@gmail.com"},"repository":{"url":"git+ssh://git@github.com/telegraf/telegraf.git","type":"git"},"_npmVersion":"5.6.0","description":"📡 Modern Telegram bot framework","directories":{},"_nodeVersion":"8.9.4","dependencies":{"debug":"^3.0.0","node-fetch":"^1.6.3","sandwich-stream":"^1.0.0"},"devDependencies":{"ava":"^0.25.0","husky":"^0.14.1","eslint":"^4.1.1","eslint-plugin-ava":"^4.0.0","eslint-plugin-node":"^5.1.0","eslint-plugin-import":"^2.2.0","eslint-plugin-promise":"^3.5.0","eslint-config-standard":"^10.2.0","eslint-plugin-standard":"^3.0.1"},"_npmOperationalInternal":{"tmp":"tmp/telegraf-3.17.6.tgz_1517609925433_0.339179098373279","host":"s3://npm-registry-packages"}},"3.17.7":{"name":"telegraf","version":"3.17.7","keywords":["telegraf","telegram","telegram bot api","bot","botapi","bot framework"],"author":{"name":"Vitaly Domnikov","email":"dotcypress@gmail.com"},"license":"MIT","_id":"telegraf@3.17.7","maintainers":[{"name":"dotcypress","email":"dotcypress@gmail.com"}],"homepage":"https://github.com/telegraf/telegraf#readme","bugs":{"url":"https://github.com/telegraf/telegraf/issues"},"dist":{"shasum":"04dd5ea097c1479abc91625c848f2f0ed2dccaf1","tarball":"https://registry.npmjs.org/telegraf/-/telegraf-3.17.7.tgz","integrity":"sha512-Kk+Fm89RMHZeJImb+ubBWAJawUgT+LVh5yLlq6tPUZlTZi+tPR6YKxNfm0S5BYGYY+PwUteCnSxlNQgvIg1GrQ==","signatures":[{"sig":"MEUCIQCE8tlQL9CPD6BHPPxKhap8xBzosmNyFA42daeWaDMNJAIgYBTbIKTp68rAtxG9yZg3Vk0fTrlkTeTszuMiIJP0KfE=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}]},"main":"telegraf.js","engines":{"node":">=6.2.0"},"gitHead":"42caa79e400b0ac9e318c54bceab1f11c2b5767e","scripts":{"lint":"eslint .","test":"ava test","precommit":"npm run lint && npm test"},"_npmUser":{"name":"dotcypress","email":"dotcypress@gmail.com"},"repository":{"url":"git+ssh://git@github.com/telegraf/telegraf.git","type":"git"},"_npmVersion":"5.6.0","description":"📡 Modern Telegram bot framework","directories":{},"_nodeVersion":"8.9.4","dependencies":{"debug":"^3.0.0","node-fetch":"^1.6.3","sandwich-stream":"^1.0.0"},"devDependencies":{"ava":"^0.25.0","husky":"^0.14.1","eslint":"^4.1.1","eslint-plugin-ava":"^4.0.0","eslint-plugin-node":"^5.1.0","eslint-plugin-import":"^2.2.0","eslint-plugin-promise":"^3.5.0","eslint-config-standard":"^10.2.0","eslint-plugin-standard":"^3.0.1"},"_npmOperationalInternal":{"tmp":"tmp/telegraf-3.17.7.tgz_1517697894285_0.20022290176711977","host":"s3://npm-registry-packages"}},"3.17.8":{"name":"telegraf","version":"3.17.8","keywords":["telegraf","telegram","telegram bot api","bot","botapi","bot framework"],"author":{"name":"Vitaly Domnikov","email":"dotcypress@gmail.com"},"license":"MIT","_id":"telegraf@3.17.8","maintainers":[{"name":"dotcypress","email":"dotcypress@gmail.com"}],"homepage":"https://github.com/telegraf/telegraf#readme","bugs":{"url":"https://github.com/telegraf/telegraf/issues"},"dist":{"shasum":"ae5ece6d7dde2a102c315760dfd5a5719023e36e","tarball":"https://registry.npmjs.org/telegraf/-/telegraf-3.17.8.tgz","fileCount":51,"integrity":"sha512-aKtL6sSsgZOE/NYUoBuvTVZAFcnUzYu//QoX1d6Nc4D7Q23AolJNFg2hs0BR+3WhvP+F1/dsp6YL1udvV9Ijnw==","signatures":[{"sig":"MEQCIGUJBcXxCI4SQcQrxcNYVKDCHkrxbxCgPKy7O+KdlzE4AiBi/0eV6us5/6oYrFExo71jDTV44VMKH3VzgdN8uLjbog==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":239520},"main":"telegraf.js","engines":{"node":">=6.2.0"},"gitHead":"fbcdd53d406eaffa776ab8c3dcee7d2fe0c6a647","scripts":{"lint":"eslint .","test":"ava test","precommit":"npm run lint && npm test"},"_npmUser":{"name":"dotcypress","email":"dotcypress@gmail.com"},"repository":{"url":"git+ssh://git@github.com/telegraf/telegraf.git","type":"git"},"_npmVersion":"5.6.0","description":"📡 Modern Telegram bot framework","directories":{},"_nodeVersion":"8.9.4","dependencies":{"debug":"^3.0.0","node-fetch":"^1.6.3","sandwich-stream":"^1.0.0"},"_hasShrinkwrap":false,"devDependencies":{"ava":"^0.25.0","husky":"^0.14.1","eslint":"^4.1.1","eslint-plugin-ava":"^4.0.0","eslint-plugin-node":"^5.1.0","eslint-plugin-import":"^2.2.0","eslint-plugin-promise":"^3.5.0","eslint-config-standard":"^10.2.0","eslint-plugin-standard":"^3.0.1"},"_npmOperationalInternal":{"tmp":"tmp/telegraf_3.17.8_1518289894951_0.617367838069423","host":"s3://npm-registry-packages"}},"3.18.0":{"name":"telegraf","version":"3.18.0","keywords":["telegraf","telegram","telegram bot api","bot","botapi","bot framework"],"author":{"name":"Vitaly Domnikov","email":"dotcypress@gmail.com"},"license":"MIT","_id":"telegraf@3.18.0","maintainers":[{"name":"dotcypress","email":"dotcypress@gmail.com"}],"homepage":"https://github.com/telegraf/telegraf#readme","bugs":{"url":"https://github.com/telegraf/telegraf/issues"},"dist":{"shasum":"b11ecbabd638783d786b8b0a5be12b49464ef69d","tarball":"https://registry.npmjs.org/telegraf/-/telegraf-3.18.0.tgz","fileCount":51,"integrity":"sha512-0no7Unl3LPLIsgaS67xk7wF5yeUM3FJMVfXtGIsZuTrlodgT2m07MnseFC8nIkop5vQxItqjTvKjBsbDA7gDCQ==","signatures":[{"sig":"MEQCIBdKE/Bzm2A87UmEay1jaE4qKVgLvxvCe920bM5raUeMAiA1bD5Qi7Ad64Rz2UAcboengahnoPE5i4MGJmpD1SVsFw==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":240086},"main":"telegraf.js","engines":{"node":">=6.2.0"},"gitHead":"d787d99fd5ba6958d2c50ee5193ff394ffa6e833","scripts":{"lint":"eslint .","test":"ava test","precommit":"npm run lint && npm test"},"_npmUser":{"name":"dotcypress","email":"dotcypress@gmail.com"},"repository":{"url":"git+ssh://git@github.com/telegraf/telegraf.git","type":"git"},"_npmVersion":"5.6.0","description":"📡 Modern Telegram bot framework","directories":{},"_nodeVersion":"8.9.4","dependencies":{"debug":"^3.0.0","node-fetch":"^2.0.0","sandwich-stream":"^1.0.0"},"_hasShrinkwrap":false,"devDependencies":{"ava":"^0.25.0","husky":"^0.14.1","eslint":"^4.1.1","eslint-plugin-ava":"^4.0.0","eslint-plugin-node":"^6.0.0","eslint-plugin-import":"^2.2.0","eslint-plugin-promise":"^3.5.0","eslint-config-standard":"^10.2.0","eslint-plugin-standard":"^3.0.1"},"_npmOperationalInternal":{"tmp":"tmp/telegraf_3.18.0_1518631526270_0.2840319599639387","host":"s3://npm-registry-packages"}},"3.19.0":{"name":"telegraf","version":"3.19.0","keywords":["telegraf","telegram","telegram bot api","bot","botapi","bot framework"],"author":{"name":"Vitaly Domnikov","email":"dotcypress@gmail.com"},"license":"MIT","_id":"telegraf@3.19.0","maintainers":[{"name":"dotcypress","email":"dotcypress@gmail.com"}],"homepage":"https://github.com/telegraf/telegraf#readme","bugs":{"url":"https://github.com/telegraf/telegraf/issues"},"dist":{"shasum":"10b2f382d781bee0f9697c01b14be41dd2b56784","tarball":"https://registry.npmjs.org/telegraf/-/telegraf-3.19.0.tgz","fileCount":51,"integrity":"sha512-aUt8mf+lr4R6u5bifH1BmN8jnNydZ6U6L0ixtw7r9xbsJVPC3O3546M+VCjhDTvyOTHK6wgJjBlzdPx7sERLww==","signatures":[{"sig":"MEQCIFhW+w0SScv6MqgAM9nsVOdzLfHywlzSiqjdLw12Ki+2AiBP2iBBi7+oQ9la7fvVO+au/mfv6Xb2UQnSXJJ6pi9oEg==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":242152},"main":"telegraf.js","engines":{"node":">=6.2.0"},"gitHead":"3d648a4335abc7646adedbf583d14ecfdeab03f7","scripts":{"lint":"eslint .","test":"ava test","precommit":"npm run lint && npm test"},"_npmUser":{"name":"dotcypress","email":"dotcypress@gmail.com"},"repository":{"url":"git+ssh://git@github.com/telegraf/telegraf.git","type":"git"},"_npmVersion":"5.6.0","description":"📡 Modern Telegram bot framework","directories":{},"_nodeVersion":"8.9.4","dependencies":{"debug":"^3.0.0","node-fetch":"^2.0.0","sandwich-stream":"^1.0.0"},"_hasShrinkwrap":false,"devDependencies":{"ava":"^0.25.0","husky":"^0.14.1","eslint":"^4.1.1","eslint-plugin-ava":"^4.0.0","eslint-plugin-node":"^6.0.0","eslint-plugin-import":"^2.2.0","eslint-plugin-promise":"^3.5.0","eslint-config-standard":"^11.0.0","eslint-plugin-standard":"^3.0.1"},"_npmOperationalInternal":{"tmp":"tmp/telegraf_3.19.0_1519845032925_0.5736842711717234","host":"s3://npm-registry-packages"}},"3.20.0":{"name":"telegraf","version":"3.20.0","keywords":["telegraf","telegram","telegram bot api","bot","botapi","bot framework"],"author":{"name":"Vitaly Domnikov","email":"dotcypress@gmail.com"},"license":"MIT","_id":"telegraf@3.20.0","maintainers":[{"name":"dotcypress","email":"dotcypress@gmail.com"}],"homepage":"https://github.com/telegraf/telegraf#readme","bugs":{"url":"https://github.com/telegraf/telegraf/issues"},"dist":{"shasum":"b45f35209e505e6dd1cbeff94c5d85f02db52f5d","tarball":"https://registry.npmjs.org/telegraf/-/telegraf-3.20.0.tgz","fileCount":52,"integrity":"sha512-2IZcBTQZvM7A6eJMtRYvTIZQCO0vI0iK6FQzh5vJCoCy/tbc8GTA3lj2GdOcMULGHfNTiYDCJ54+pKyyF9t1DA==","signatures":[{"sig":"MEQCIGd3N1xUxgr2PfNm3spwv4tID0PdJjki31OSvBNyraj7AiACfFXxisk+4UFFNCMqiHIkcI6uoIaWM/QMgC5zKtK7yA==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":244854},"main":"telegraf.js","engines":{"node":">=6.2.0"},"gitHead":"637723654f02f35434f28ff08789c8e853441cd5","scripts":{"lint":"eslint .","test":"ava test","precommit":"npm run lint && npm test"},"_npmUser":{"name":"dotcypress","email":"dotcypress@gmail.com"},"repository":{"url":"git+ssh://git@github.com/telegraf/telegraf.git","type":"git"},"_npmVersion":"5.6.0","description":"📡 Modern Telegram bot framework","directories":{},"_nodeVersion":"8.9.4","dependencies":{"debug":"^3.0.0","node-fetch":"^2.0.0","sandwich-stream":"^1.0.0"},"_hasShrinkwrap":false,"devDependencies":{"ava":"^0.25.0","husky":"^0.14.1","eslint":"^4.1.1","eslint-plugin-ava":"^4.0.0","eslint-plugin-node":"^6.0.0","eslint-plugin-import":"^2.2.0","eslint-plugin-promise":"^3.5.0","eslint-config-standard":"^11.0.0","eslint-plugin-standard":"^3.0.1"},"_npmOperationalInternal":{"tmp":"tmp/telegraf_3.20.0_1521781141385_0.8452286047369091","host":"s3://npm-registry-packages"}},"3.21.0":{"name":"telegraf","version":"3.21.0","keywords":["telegraf","telegram","telegram bot api","bot","botapi","bot framework"],"author":{"name":"Vitaly Domnikov","email":"dotcypress@gmail.com"},"license":"MIT","_id":"telegraf@3.21.0","maintainers":[{"name":"dotcypress","email":"dotcypress@gmail.com"}],"homepage":"https://github.com/telegraf/telegraf#readme","bugs":{"url":"https://github.com/telegraf/telegraf/issues"},"dist":{"shasum":"9d38fe49d966d421e3efefe66ea65871db150e0f","tarball":"https://registry.npmjs.org/telegraf/-/telegraf-3.21.0.tgz","fileCount":55,"integrity":"sha512-y49If1/sAcNqREB9dgxu4J7Ijkx/ILgE+sq3Qm3zuU7IudeJywsQTdT2bQ93p2OioFiyHzQiC6rfvKraCQyk+g==","signatures":[{"sig":"MEYCIQDW7bhktBZf4E9vw7hIWDCXMRMI8IcZxHO1eYH3nnXklwIhAKI8ijhOuAdcSRbLusZ0J5xF+vrsmIgUQnDmImuTMUeY","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":297112,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJa7NpCCRA9TVsSAnZWagAAnvkQAIZMrTaP9gQRxmKEbX59\nJ30bvVcdGnxehP5UT7DfhD3EKL0dynJXR+A2BTS/k3beT5hpY/sq/GfNfe2I\nx+PJ5yMT+7qfCVbbhKLbxtmsNpf3EibM5HNfm96qSVHr9lt8pA27g6df4KVn\nZcvGmGQ1tA1c494642lDceJb6cXzW9ozXos2Tu9oNiZ36uzno7hHRc6h56Zn\nPLR+M+CaHu7B5kgEAS6CZ2fnd+JhCiCtXjLPCqPUwY+A99FrumAgrYK7lURv\nzB6nLzPdf0sNgzUlCU3hcQMg7Zsknf/5xxA+FA+L18DX1JYhlvPEaL3oD2SV\nWg+QTa3c+ouco2aDFfYc3xnVxa+tbe8RnD2vbzlI4kEzgblnOIq2q4XYR9+z\nKtj8NM8KuYnBsZkCxPcDCC9tnRoLCgwF9/TfNAf3xQe4LPWOzKqir40/Xeq5\nrM2eJbV5P/l/goLa/zug4HrB87JUz1bxeUb3WFBy183OfsydMrEWzulPiPH/\nRcHG+GcTlODAmSUtOLIwqHYdGXCmKwGg1sb91+auc2R+WySXRvwhv17xhuVT\niVQ7xP0qXS8l5LPU0dr5BBwOF7aWpH/zSHs3Q3mtlXw3sw2wOYmGN6ndlDZb\n3ZMECZi9qDxTfUU2DZnEipnLKS6rEVIfIpGknPtefiDF9WIhs+XWJxbVROv0\n3Az+\r\n=U9zr\r\n-----END PGP SIGNATURE-----\r\n"},"main":"telegraf.js","types":"./typings/index.d.ts","engines":{"node":">=6.2.0"},"gitHead":"6aa88984c21bfde6d6bd2313e68e1e0520d7aec9","scripts":{"lint":"eslint .","test":"ava test","precommit":"npm run lint && npm test"},"_npmUser":{"name":"dotcypress","email":"dotcypress@gmail.com"},"repository":{"url":"git+ssh://git@github.com/telegraf/telegraf.git","type":"git"},"_npmVersion":"5.6.0","description":"📡 Modern Telegram bot framework","directories":{},"_nodeVersion":"8.9.4","dependencies":{"debug":"^3.0.0","node-fetch":"^2.0.0","@types/node":"^9.6.6","sandwich-stream":"^1.0.0","telegram-typings":"^3.6.0"},"_hasShrinkwrap":false,"devDependencies":{"ava":"^0.25.0","husky":"^0.14.1","eslint":"^4.1.1","eslint-plugin-ava":"^4.0.0","eslint-plugin-node":"^6.0.0","eslint-plugin-import":"^2.2.0","eslint-plugin-promise":"^3.5.0","eslint-config-standard":"^11.0.0","eslint-plugin-standard":"^3.0.1"},"_npmOperationalInternal":{"tmp":"tmp/telegraf_3.21.0_1525471808836_0.9404669559202066","host":"s3://npm-registry-packages"}},"3.21.1":{"name":"telegraf","version":"3.21.1","keywords":["telegraf","telegram","telegram bot api","bot","botapi","bot framework"],"author":{"name":"Vitaly Domnikov","email":"dotcypress@gmail.com"},"license":"MIT","_id":"telegraf@3.21.1","maintainers":[{"name":"dotcypress","email":"dotcypress@gmail.com"}],"homepage":"https://github.com/telegraf/telegraf#readme","bugs":{"url":"https://github.com/telegraf/telegraf/issues"},"dist":{"shasum":"d8cea81f0016a472a9d62708f3a1904be7958547","tarball":"https://registry.npmjs.org/telegraf/-/telegraf-3.21.1.tgz","fileCount":59,"integrity":"sha512-4NgICjuf+eVSNNcXf4nUzRasjK8wLwwDpN4AEpwsNy794drbAjH6NLoCVKaxyu+Z51hGlwK1UghMI+mA26ggJA==","signatures":[{"sig":"MEYCIQCXrxOjlXoELkMLvjyZ5XSHsU31l+XkM9jjPDthwdmJOwIhAIJaoGIpGwJhpD7+CZ7f2B1JgdZxU6zt3eXjjeAgLskf","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":301273,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJa+GY8CRA9TVsSAnZWagAAlYYQAJ4iXrlXmurL6fasZOzV\ntC/2NsrHzfLpzFOdO55S5YPMmYPVAcLEH0FUPhOy4oMDGggmXA7myFW1VvHG\nHPQdogXBJ1Nru9mhc6T3GKoLGSo0ApaIbal80avpNL7aDn1itnnnQEMfGdQh\nGEGFppn9MCD6oGOM/o/sUrR0R/3R4WxDKXjaOSz3yY08FAasfhA2RxBgvSal\nknLk17g517q+KLuwqlVPXyEotFdW+/LC2ZAfUOEed9niLjZpL3tmzRiquTRP\n9LmnAlU4UGgGbfVkkxXKLYYJONAYAYnyDxiNGOAOqkLWAX01ox1FXXL5i0e5\nsotVWyn5AQrbdFio32RgAGTpa9E5bNO2aKUct+sMOQrUK3o92SCe5B2T+Z5G\nV7db/GiJFeXnISxCEWmbCWgAivMR1UZqYuF7bdt821EUrgXOGB8r3cAyd2VT\nW+KCZUfIErFnhNRty8XRvFc8DUV3rGVT8g2b+CTfIhFCfNrAl1GS6TR0VKtA\nCcqdnjfCzSBUyFv31G7r48UZ/nbr1s/JcKjaiSOvOs6fyxI8mCpe51fzQG7k\nzy73zaRmOwfRmi6wSYl7E1QA/6anmbH+UtNXM3M8AYbJiQ3CVJItrXK3vOQc\nJqrUWGRnubRSrxZ7n8J3XUqU7KBswWwesCaCOQk1XE9WPkfKesO/PAZyMHqc\n6Xlf\r\n=zYlr\r\n-----END PGP SIGNATURE-----\r\n"},"main":"telegraf.js","types":"./typings/index.d.ts","engines":{"node":">=6.2.0"},"gitHead":"0004eeb82fb25210e2d94ed851c5172f9187e9fe","scripts":{"lint":"eslint .","test":"ava test","precommit":"npm run lint && npm run typecheck && npm test","typecheck":"tsc"},"_npmUser":{"name":"dotcypress","email":"dotcypress@gmail.com"},"repository":{"url":"git+ssh://git@github.com/telegraf/telegraf.git","type":"git"},"_npmVersion":"5.6.0","description":"📡 Modern Telegram bot framework","directories":{},"_nodeVersion":"10.1.0","dependencies":{"debug":"^3.0.0","node-fetch":"^2.0.0","typescript":"^2.8.3","@types/node":"^9.6.6","sandwich-stream":"^1.0.0","telegram-typings":"^3.6.0"},"_hasShrinkwrap":false,"devDependencies":{"ava":"^0.25.0","husky":"^0.14.1","eslint":"^4.1.1","eslint-plugin-ava":"^4.0.0","eslint-plugin-node":"^6.0.0","eslint-plugin-import":"^2.2.0","eslint-plugin-promise":"^3.5.0","eslint-config-standard":"^11.0.0","eslint-plugin-standard":"^3.0.1"},"_npmOperationalInternal":{"tmp":"tmp/telegraf_3.21.1_1526228538744_0.7003756163221406","host":"s3://npm-registry-packages"}},"3.21.2":{"name":"telegraf","version":"3.21.2","keywords":["telegraf","telegram","telegram bot api","bot","botapi","bot framework"],"author":{"name":"Vitaly Domnikov","email":"dotcypress@gmail.com"},"license":"MIT","_id":"telegraf@3.21.2","maintainers":[{"name":"dotcypress","email":"dotcypress@gmail.com"}],"homepage":"https://github.com/telegraf/telegraf#readme","bugs":{"url":"https://github.com/telegraf/telegraf/issues"},"dist":{"shasum":"192a79e8990297377bf2bf03085cb4d00a20d9a8","tarball":"https://registry.npmjs.org/telegraf/-/telegraf-3.21.2.tgz","fileCount":59,"integrity":"sha512-hstPgYodQZuPN3yEZp1FRfeawz7yxrLx0C7KYYz4v4BPF53PnWYTpbwl4bg+VCRf0B/YIN1dYo/wZVQIxTWArw==","signatures":[{"sig":"MEYCIQCicNxGLPR9HbXTg6Zkk1zHGdeDSiLudj5dhYdADHkfwAIhAPc6Cjyj/ZWD9xUUKzrDjSCDEtVoRu8HRwyE9cYR/gBi","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":301428,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbCJxUCRA9TVsSAnZWagAAOj0P/joRyVg6noMgI0XE/hOF\noovpFmm+8ne1BoJ7zvg0rkEcV+g9OsuO/xBozh6kuM4Fv7cXu9l5SbqGvZ28\nB5c2QtSQJAHZ9ItMAtlosF2gBYmA9XN9u7QYeh93LzWTYEHWcZzDsmoqdp8/\nbMx87Jxy/6yeHsD597UKR3mQiB3gG7J6ojHGh04aZXzeBqpagFsYpxsTsN6V\nfkE9j5us/HjdpaXBCPU93wPK2ZAeX1RZYPDqSaL9sqAwAK0qp7UfmfeGfRGw\nisRq4qvwYnTmIBxj5EcH/mR7ITzEYiXui9GXk2jYQUoW1lsIWa/rvuu0byup\nNX0LW0HB6QjEwEfyu9PckIf7RVzRCYD6yuZ1IsMfhQONnMZ1T+9NNjYkwPkQ\n1/zkepkIevyJ2y7VZnfPi8u7SvuSXMafs1TxxJL2rC+kXzXrShRK/Gk3nv8Y\nVs5OCb/Ge9bMs6lT8UnLeDUUYK4+4AP2yIuHthb4lW8jBFAyMyXQtWqI6g7E\nYC27xZ/sr9O9H+Dn46mVnShm9cL3rVTNJOJoIbitewD0euy2n88lNlSEJlHR\nnDZvexodvhQJWJOiVLR5ndFFH95ranuGMtke6PXY3expYEtojyrPP931FA/R\nm9EMmTh+X1TN0xcro71/jNjIEUXJxMGEy9LA37OIaBr3erY8nPkg8RnJvHa8\nskic\r\n=b875\r\n-----END PGP SIGNATURE-----\r\n"},"main":"telegraf.js","types":"./typings/index.d.ts","engines":{"node":">=6.2.0"},"gitHead":"b84b36f3c508ca392b1b181a6952f48e72b89914","scripts":{"lint":"eslint .","test":"ava test","precommit":"npm run lint && npm run typecheck && npm test","typecheck":"tsc"},"_npmUser":{"name":"dotcypress","email":"dotcypress@gmail.com"},"repository":{"url":"git+ssh://git@github.com/telegraf/telegraf.git","type":"git"},"_npmVersion":"5.6.0","description":"📡 Modern Telegram bot framework","directories":{},"_nodeVersion":"8.11.2","dependencies":{"debug":"^3.0.0","node-fetch":"^2.0.0","typescript":"^2.8.3","@types/node":"^10.1.2","sandwich-stream":"^1.0.0","telegram-typings":"^3.6.0"},"_hasShrinkwrap":false,"devDependencies":{"ava":"^0.25.0","husky":"^0.14.1","eslint":"^4.1.1","eslint-plugin-ava":"^4.0.0","eslint-plugin-node":"^6.0.0","eslint-plugin-import":"^2.2.0","eslint-plugin-promise":"^3.5.0","eslint-config-standard":"^11.0.0","eslint-plugin-standard":"^3.0.1"},"_npmOperationalInternal":{"tmp":"tmp/telegraf_3.21.2_1527290962958_0.5674978352280917","host":"s3://npm-registry-packages"}},"3.22.0":{"name":"telegraf","version":"3.22.0","keywords":["telegraf","telegram","telegram bot api","bot","botapi","bot framework"],"author":{"name":"Vitaly Domnikov","email":"dotcypress@gmail.com"},"license":"MIT","_id":"telegraf@3.22.0","maintainers":[{"name":"dotcypress","email":"dotcypress@gmail.com"}],"homepage":"https://github.com/telegraf/telegraf#readme","bugs":{"url":"https://github.com/telegraf/telegraf/issues"},"dist":{"shasum":"e9a8bb08527a57d166d887ba0f6e406f2453cd20","tarball":"https://registry.npmjs.org/telegraf/-/telegraf-3.22.0.tgz","fileCount":59,"integrity":"sha512-Fs6zmwmoyNKqi+82dlD0GhXcZ1rCyEyrbb0k6jwZsfNiWonDmarjcZcAUxua9MviVz4W55A90k5uJqe4ggYtKQ==","signatures":[{"sig":"MEYCIQDbteZzA5BD9LFTjrD46HaN8X7CrdxUFbEPonercsXsqwIhAJJCEpnocPz9A5GsmGYVBAce+N1YAhi8xKK1LSw5CwM+","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":307433,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbWhUECRA9TVsSAnZWagAADbMP/1yXiCezj10oO0+1puzO\ny1aePHmR9Oo69YjTIRaOrykq6ciOIJdWQo7df+WD9x2RXV9WnCN/GrqA7arP\nj1sJmeX45jRNeAGKMtSoJYdpaKoeVM/4ZByXNn1itnOHWRtglhtgo3+0vN5X\n3XTKQPTileWnYRek5hIj4Z2fg6v0+1h+7mgxRU3PW4drux9559y3eZ5Ah84l\nGtylx/S8xckTgZnq94XYJPlfI5p/vivPGa51MXVFI6qLO3XkTE2KbCuTVZOx\nMbAqw5TFdgoaLWpUfC+m2kcjYlj7cHyHU03kzmzBpwCKb+rfYDhElADvtBEu\nHOYu1nLjcVwaKR5HJOWRWvKfYSl3qJbljiBhobcN6w8GVIY72fk8po98jy1u\nmFiP+yOqGALp1vEzS/QaNAT5MHevqS1vPvm+o/ytE4uY6IdF+h/mTxxn8p6f\npzL5gLj0V5NpFl+8MMVJvSaL4ERuG3yEY6zoptxjMjL976NSG2ECPgPdIaPA\nby7XJ1oQEdh2WfDWRKcnReXUinLGxYRh0PvoxDBmwiBjZDHwI2F1sdFTGRMA\nwdy9ZOxqgQg6vTHHScKZL3EfEdJEit/illPTMfFcwIpIlIwm9cpDBhVSo0U3\nfBpaZ9BFcvoEO1oRwGX79y1ii7BYNl5j0Yk58fqBXJQMpFaFi88aucgpalSU\ncWMD\r\n=PlVl\r\n-----END PGP SIGNATURE-----\r\n"},"main":"telegraf.js","types":"./typings/index.d.ts","engines":{"node":">=6.2.0"},"gitHead":"57bc773206b16a41b49a4de0ed99813427080bb1","scripts":{"lint":"eslint .","test":"ava test","precommit":"npm run lint && npm run typecheck && npm test","typecheck":"tsc"},"_npmUser":{"name":"dotcypress","email":"dotcypress@gmail.com"},"repository":{"url":"git+ssh://git@github.com/telegraf/telegraf.git","type":"git"},"_npmVersion":"6.1.0","description":"📡 Modern Telegram bot framework","directories":{},"_nodeVersion":"8.11.2","dependencies":{"debug":"^3.0.0","node-fetch":"^2.0.0","typescript":"^2.8.3","@types/node":"^10.1.2","sandwich-stream":"^1.0.0","telegram-typings":"^3.6.0"},"_hasShrinkwrap":false,"devDependencies":{"ava":"^0.25.0","husky":"^0.14.1","eslint":"^5.2.0","eslint-plugin-ava":"^5.0.0","eslint-plugin-node":"^7.0.1","eslint-plugin-import":"^2.2.0","eslint-plugin-promise":"^3.5.0","eslint-config-standard":"^11.0.0","eslint-plugin-standard":"^3.0.1"},"_npmOperationalInternal":{"tmp":"tmp/telegraf_3.22.0_1532630276722_0.35586850339036324","host":"s3://npm-registry-packages"}},"3.22.1":{"name":"telegraf","version":"3.22.1","keywords":["telegraf","telegram","telegram bot api","bot","botapi","bot framework"],"author":{"name":"Vitaly Domnikov","email":"dotcypress@gmail.com"},"license":"MIT","_id":"telegraf@3.22.1","maintainers":[{"name":"dotcypress","email":"dotcypress@gmail.com"}],"homepage":"https://github.com/telegraf/telegraf#readme","bugs":{"url":"https://github.com/telegraf/telegraf/issues"},"dist":{"shasum":"2337a9c00359c0de749821d56944e2a5d9fcd2ee","tarball":"https://registry.npmjs.org/telegraf/-/telegraf-3.22.1.tgz","fileCount":59,"integrity":"sha512-jZGgv+kG70WA4n7jPRgcYOD874vG6lQi8yBb5GMG+WyDoDSWDxvCrx13bp8tDQTeqrCjVdIXfFl159JubBUpWA==","signatures":[{"sig":"MEYCIQCi+uJ+VlAH4IcqPugTni5nzKogM8Nb99a+NilYAmfb8wIhAN9X6HPTAUttCWykZPYiuWkRwLsYWz5+jb2M8HIarDv/","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":307425,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbWhk8CRA9TVsSAnZWagAAFBMP/ivQqXI5DsISTGBet6LP\nr4WZPaBF0FRYxhV/lRF/CiBaAgpxiCYy0v+GtOcBQrLDoiE25bDr3O66HJyv\nP4My9S0bFrd2neAvbgbcrap+N9b8Sqsa2cBrW2NCuj+cwaiRmQCSGlHRIOiY\no6mlFa7DiWbsxGtXencoL6tW0aZb/RMRfsayHNhL7U1E302uKhWRzlDeJ3EP\n/tYJEJsmsJyjGqWamPv5Ca8OSwchJ6V6cHhZG7YIafk/+6R0Sr+Qbs6O13rE\ngvaxIp+hJ9OgsaZJ/1nRUtkDom3cZ/Hpbe80JJXP+yRv5B+ZOOuYEM+4U86Q\n3zaZkjmXZFkRsZaS+nd5sP7gSgerBbOMnpr3x3YqIVxirHUsFQutnox8l5tu\nufpMXsipQoeJi2tsRaIAKXHn6XfTzt28scq75s5Y8+RKJZ5UaVpfzsuN/uG6\n+GEek2FiX6yGjCvlbsweMIU/OzAYQyHwAGQzOx87BMsBJfMRNZmweTLP43FL\nW81wVMBoszHlZtQFesRozwDoepqI+nhq2IA8zHgKX7A3sk0NTVxIqws7u2jN\nln/ZwWI1uRzg4+PMrBiDgeZIImLd8yFFRCqn2CMrCHNyHY92TB9dnD+pjpSL\nmhSILBhev4JHYJuPqZe63H0h6DFkl6Sbh69pEtHIn7ti9cLPSfC1cY3FgN26\nYCPa\r\n=qpT/\r\n-----END PGP SIGNATURE-----\r\n"},"main":"telegraf.js","types":"./typings/index.d.ts","engines":{"node":">=6.2.0"},"gitHead":"27d5df73af8c79c1391f029222fb45f800760888","scripts":{"lint":"eslint .","test":"ava test","precommit":"npm run lint && npm run typecheck && npm test","typecheck":"tsc"},"_npmUser":{"name":"dotcypress","email":"dotcypress@gmail.com"},"repository":{"url":"git+ssh://git@github.com/telegraf/telegraf.git","type":"git"},"_npmVersion":"6.1.0","description":"📡 Modern Telegram bot framework","directories":{},"_nodeVersion":"10.7.0","dependencies":{"debug":"^3.0.0","node-fetch":"^2.0.0","typescript":"^2.8.3","@types/node":"^10.1.2","sandwich-stream":"^1.0.0","telegram-typings":"^3.6.0"},"_hasShrinkwrap":false,"devDependencies":{"ava":"^0.25.0","husky":"^0.14.1","eslint":"^5.2.0","eslint-plugin-ava":"^5.0.0","eslint-plugin-node":"^7.0.1","eslint-plugin-import":"^2.2.0","eslint-plugin-promise":"^3.5.0","eslint-config-standard":"^11.0.0","eslint-plugin-standard":"^3.0.1"},"_npmOperationalInternal":{"tmp":"tmp/telegraf_3.22.1_1532631355938_0.6702329836926866","host":"s3://npm-registry-packages"}},"3.22.2":{"name":"telegraf","version":"3.22.2","keywords":["telegraf","telegram","telegram bot api","bot","botapi","bot framework"],"author":{"name":"Vitaly Domnikov","email":"dotcypress@gmail.com"},"license":"MIT","_id":"telegraf@3.22.2","maintainers":[{"name":"dotcypress","email":"dotcypress@gmail.com"}],"homepage":"https://github.com/telegraf/telegraf#readme","bugs":{"url":"https://github.com/telegraf/telegraf/issues"},"dist":{"shasum":"ae8304a853565377867461d001b21619b0190abb","tarball":"https://registry.npmjs.org/telegraf/-/telegraf-3.22.2.tgz","fileCount":59,"integrity":"sha512-ZAj55rDX8mobqD3mLzGW3h6qxZxEsdbqatJLj+R6lkU0de+O2pYMnBxPl+62erYl6WIbcrufU4vSV2p64lqv3A==","signatures":[{"sig":"MEUCIQCw1cGjFrKVtoS1DpxmRDb7y18Pmj+Sjx8JEgN40u26UwIgdXw2wxkWnedndz8og21LjFaz2geDLzEoYmYQtVGV1XY=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":308370,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbaezICRA9TVsSAnZWagAA3zgP/04VI/yqhCpAWrzF9iR7\nAy2WjyFAmgCdAbLTZWeuD1KO8/lP5G1nZdQGS3/7n1FTGGoCq1O/JPh/WGPP\nGKo3BM0A4lnayRmrlEsXYZygh96/manmKCUtYctFF9/z3gEIYOWWaPB+6a1s\nZSyjapBfxeWKgLc0HaNXS2mhzUiysqN5TaMyIeBLUH2aoTfXszg8jmhE0qbC\naFrNF2aTQ9tkJdGuiT5lc5bxpA4be/U3tPsd64ihGHMvqzc2/Y5uOOX7DyAZ\noo0bFjTO6LMjySTT0MvSr2Pd5p/hRrQUfQO128zpYUpqzJU113pM9sqhYYZf\n6RRuK5Mi2hZnCwtLUtKfBJN22uZ1Vb0SkwJav8cBo1RZqBJsL0sfH8paX/4A\nVH22UrWNcoUiYLEnpTqCfAR+RRZZ6JThgSyKRajEC/9xMchHe0vWEiBDAU8F\n9OVU4Cack12SFK270KfU7lF6bhUAEggnL+tJkyqxu3qI82lK/WVqXj+4UDm3\nSv5b6Qm4ga3u8bDZzyJ7/AeV2nEzBEPnEOAceScvywoZel5TeDBQ7TtSq5e4\n20BrcXGsafh35O1KPtwG5svdUl+aEhfSItP8BqhHYuQbm+0fhFD8iv/X0rb+\nuH5rE72raXy10EbViMNZxyxVKh5KfLW6sULKgS4aUzpOaKyOyXteoIAcF3pq\n1hm2\r\n=RCjg\r\n-----END PGP SIGNATURE-----\r\n"},"main":"telegraf.js","types":"./typings/index.d.ts","engines":{"node":">=6.2.0"},"gitHead":"529d53bd248bafb3f8645922d0792c5badacb223","scripts":{"lint":"eslint .","test":"ava test","precommit":"npm run lint && npm run typecheck && npm test","typecheck":"tsc"},"_npmUser":{"name":"dotcypress","email":"dotcypress@gmail.com"},"repository":{"url":"git+ssh://git@github.com/telegraf/telegraf.git","type":"git"},"_npmVersion":"5.6.0","description":"📡 Modern Telegram bot framework","directories":{},"_nodeVersion":"9.4.0","dependencies":{"debug":"^3.0.0","node-fetch":"^2.2.0","typescript":"^3.0.1","@types/node":"^10.1.2","sandwich-stream":"^1.0.0","telegram-typings":"^3.6.0"},"_hasShrinkwrap":false,"devDependencies":{"ava":"^0.25.0","husky":"^0.14.1","eslint":"^5.2.0","eslint-plugin-ava":"^5.0.0","eslint-plugin-node":"^7.0.1","eslint-plugin-import":"^2.2.0","eslint-plugin-promise":"^3.5.0","eslint-config-standard":"^11.0.0","eslint-plugin-standard":"^3.0.1"},"_npmOperationalInternal":{"tmp":"tmp/telegraf_3.22.2_1533668542338_0.23495963489985794","host":"s3://npm-registry-packages"}},"3.23.0":{"name":"telegraf","version":"3.23.0","keywords":["telegraf","telegram","telegram bot api","bot","botapi","bot framework"],"author":{"name":"Vitaly Domnikov","email":"dotcypress@gmail.com"},"license":"MIT","_id":"telegraf@3.23.0","maintainers":[{"name":"dotcypress","email":"dotcypress@gmail.com"}],"homepage":"https://github.com/telegraf/telegraf#readme","bugs":{"url":"https://github.com/telegraf/telegraf/issues"},"dist":{"shasum":"16da5fee4830540c6432c62b79ea1395025f3436","tarball":"https://registry.npmjs.org/telegraf/-/telegraf-3.23.0.tgz","fileCount":59,"integrity":"sha512-6cFtd+QCUiT7lbxXQ1mH4gEL6ooC6qs/JEHCUT/xXvdipamY72IX4XEuZyDexMiLR1mWWHmtAK6DmUCbK3PM0w==","signatures":[{"sig":"MEUCICI7C5OQ443bdPYdlLKSyywkz6WF3CPgrslEJTe7Ghp9AiEAgM1eQeM41ur9po7rhzxmidFEcF9rhR0R/0VxDKPE8UQ=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":308935,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbiLnJCRA9TVsSAnZWagAAp00QAKBe4TOhtGPUVnJ4Sdb/\njgNwM7NDw35D9urR24nqfK+k/3PHrOhJtE2SHoTFhV59oxPGLCFcoG69WvME\nc1Zoi7VzEtbcr+fzHGUss4M1DFqRecAmWJ9BwGAPr7wWrLBHGlcoPS7FPvsy\nZAHUbnTx6hD4bpzNQJTfWrQle+S1nc4LliClUXZDvU6MS/hITA9q6pTU96MD\nNV2GtP+MHAHwcGIct3DwYpQhtomdOLbKRaajlk1CXBA5ko5LiwZjn+peSLvC\nbvrXigM8feR2QQEc9/GpBCXQzAIrKHDlWq+2TZZq1u3neSE29rJHByrRA7wX\nGMSE2373GLnXQosfUW/fA5d4AjWobANQYIaYYyz+iCU923kw7wAf47t+5dJQ\ntm+qk+yu6aB0UkECrpFJsz6hRHiY0i20ZZTXNkFQoUQt+3QRN4xMp/MLAoTz\n3gvaxKppYnx+ke6BSUfEsR+xUk1C8TjROtAVGTSupVBh1yShGXuFyVyp7yZD\nh/w0svZBcrsyzdGVjacJg0sR1NhZ4QTMUclDncGjV8fm0nDIrq8syWyw6Cnp\nv0XPxEgOqC9/KAUA9TsLyAPpSPOMr3NH7kKMsbVTPa//vQnMvl9zbGLH2Lk1\nq+5B+xntcQ9aPvFwmHr2tWugfjrTnkQ3NRMmvI1TtHut6f9pTEER+PhFFflG\nadn/\r\n=Pvm1\r\n-----END PGP SIGNATURE-----\r\n"},"main":"telegraf.js","types":"./typings/index.d.ts","engines":{"node":">=6.2.0"},"gitHead":"83a7d34ee367e05c645613f953e697041d760bbb","scripts":{"lint":"eslint .","test":"ava test","precommit":"npm run lint && npm run typecheck && npm test","typecheck":"tsc"},"_npmUser":{"name":"dotcypress","email":"dotcypress@gmail.com"},"repository":{"url":"git+ssh://git@github.com/telegraf/telegraf.git","type":"git"},"_npmVersion":"5.6.0","description":"📡 Modern Telegram bot framework","directories":{},"_nodeVersion":"9.4.0","dependencies":{"debug":"^3.0.0","node-fetch":"^2.2.0","typescript":"^3.0.1","@types/node":"^10.1.2","sandwich-stream":"^1.0.0","telegram-typings":"^3.6.0"},"_hasShrinkwrap":false,"devDependencies":{"ava":"^0.25.0","husky":"^0.14.1","eslint":"^5.2.0","eslint-plugin-ava":"^5.0.0","eslint-plugin-node":"^7.0.1","eslint-plugin-import":"^2.2.0","eslint-plugin-promise":"^4.0.0","eslint-config-standard":"^12.0.0","eslint-plugin-standard":"^4.0.0"},"_npmOperationalInternal":{"tmp":"tmp/telegraf_3.23.0_1535687112419_0.9327628332982718","host":"s3://npm-registry-packages"}},"3.23.1":{"name":"telegraf","version":"3.23.1","keywords":["telegraf","telegram","telegram bot api","bot","botapi","bot framework"],"author":{"name":"Vitaly Domnikov","email":"dotcypress@gmail.com"},"license":"MIT","_id":"telegraf@3.23.1","maintainers":[{"name":"dotcypress","email":"dotcypress@gmail.com"}],"homepage":"https://github.com/telegraf/telegraf#readme","bugs":{"url":"https://github.com/telegraf/telegraf/issues"},"dist":{"shasum":"d5d38658bc5c6c20aed1366311bcd43e58616579","tarball":"https://registry.npmjs.org/telegraf/-/telegraf-3.23.1.tgz","fileCount":59,"integrity":"sha512-rVSaw2PMZsVrec3/2/cGOOumLIPPO6/nW7UC9qYL0H9ypcEVPiQMh8AxTfVosiDlEzK+162ZZzytf0dA9KxLrw==","signatures":[{"sig":"MEUCIF7fzzeigr/Lt5WJrovSi9T1N9HjbX4VUfIRDv7IegTSAiEAlIbdIN67HcBszwSzEfd8E6jmEEWU4wpmBq76cHubp08=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":309536,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbmAYcCRA9TVsSAnZWagAAbcwP+wYd4evFzuGlZd+zOfXn\nbVWyLnMdmGhNwKyu8RfbF+n5stvUTcnt67qs29Uy83IaHVNzS/E8GYl+0+dn\nkd+y8yLPxhyG3O5eiHi3lp2AKhEZPAbYDNTISVL0P49mXX48PK3CCXQnJ/7f\nOdXt9yTr91hDULwNIYjfGnA78d47qwZ1qV/zCsPHiloOXTJSMpigRC6SYdIA\n6xP9S5ChBXMhtgZt0KvLBSani2Ri82mnxQ1rIymnq1z90NrW7x/lmy7Zm+iq\n12Thqms5uPlKHc8vJHbkUiPoV0MAn1ch48q+ZbIhcensacTI4Ps2MQSo4BBM\nLAPRpk0MIgMczNijVH+cVVFzyIMEK90jMUjzHSJKQKzD7Pc+AJWkynwNQ+kT\nmIYiNoCFBO5XhwWRuKhHnezsywO9sQgRxrfs/W2BcdIzGODvbsLAM9zi3dBu\ndXOHmda+V8jv3x4ykCATTRDElcGIXxCOrhaVflatJR0uqHKzea1T4G6E4AZV\n2jFZQoP8zxl2zLrgYIz1jEXaLGiLhaahC2atQWZNIctHr2mMu+EBtSuTz4Zb\n+AunuvKJZmK2Y7j9/jkarGt7yqqI+l6skybcOpKYSzB9OM8Z7MzVCuacV0I1\nkhqUchpf6wa4JtGM9O3UOXRS3XH7EY+K1ovcw1/Q+Vy9IyK+GXK4X+IJ+j6H\ncoR/\r\n=RgeL\r\n-----END PGP SIGNATURE-----\r\n"},"main":"telegraf.js","types":"./typings/index.d.ts","engines":{"node":">=6.2.0"},"gitHead":"eac222b8f7891e9ef4fa5d84419a1791d6363a60","scripts":{"lint":"eslint .","test":"ava test","precommit":"npm run lint && npm run typecheck && npm test","typecheck":"tsc"},"_npmUser":{"name":"dotcypress","email":"dotcypress@gmail.com"},"repository":{"url":"git+ssh://git@github.com/telegraf/telegraf.git","type":"git"},"_npmVersion":"5.6.0","description":"📡 Modern Telegram bot framework","directories":{},"_nodeVersion":"9.4.0","dependencies":{"debug":"^3.0.0","node-fetch":"^2.2.0","typescript":"^3.0.1","@types/node":"^10.1.2","sandwich-stream":"^1.0.0","telegram-typings":"^3.6.0"},"_hasShrinkwrap":false,"devDependencies":{"ava":"^0.25.0","husky":"^0.14.1","eslint":"^5.2.0","eslint-plugin-ava":"^5.0.0","eslint-plugin-node":"^7.0.1","eslint-plugin-import":"^2.2.0","eslint-plugin-promise":"^4.0.0","eslint-config-standard":"^12.0.0","eslint-plugin-standard":"^4.0.0"},"_npmOperationalInternal":{"tmp":"tmp/telegraf_3.23.1_1536689692047_0.8112255377210322","host":"s3://npm-registry-packages"}},"3.24.0":{"name":"telegraf","version":"3.24.0","keywords":["telegraf","telegram","telegram bot api","bot","botapi","bot framework"],"author":{"name":"Vitaly Domnikov","email":"dotcypress@gmail.com"},"license":"MIT","_id":"telegraf@3.24.0","maintainers":[{"name":"dotcypress","email":"dotcypress@gmail.com"}],"homepage":"https://github.com/telegraf/telegraf#readme","bugs":{"url":"https://github.com/telegraf/telegraf/issues"},"dist":{"shasum":"10bd3ef6771401dfbe93fba9c24b3cc75fdefe7b","tarball":"https://registry.npmjs.org/telegraf/-/telegraf-3.24.0.tgz","fileCount":59,"integrity":"sha512-BLbIidffj6Ot1Ti1J+qB81oa/rtIBLiNC8tfjFXj778BHpCMIS0rU+A3ynguHwCBwSW6E6nLCiCj6P9CEEdyhg==","signatures":[{"sig":"MEUCIDS7FA8swUoC6hissACI9s/vrbJ9g9N3HlofRw5VtnYqAiEAhC5IgEUJm2vY6Wpn9mpxZhtiQTK3MzB+dTLSRlQSiGs=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":312330,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbpSAVCRA9TVsSAnZWagAA1bsP/iZfXbJK7Y1MJavTHIOA\nYU9e3kwyf3r4wBn6eZvkgWW8Y2aDouvxwz7hBdQxFvYDAv1p8w8aY9Rgru61\necooXc/vEiBYjOvL9rxQQYKCmvEzxEuSV2jpmT/1q3srNFMwmDsuKr5AFDWs\nZUjpFRYPOCTJutPLhAGL1FogkPEKpbEQ2Zkcaj35PSzmaI4s5Rd34MdtKr+f\np8r7RIUxkVaneZdebz23eWaMCC/uaaPfHDWtbuQqNiItfSMErB5NFpLo9qLF\nSpj0mUZ5Q+QoIbZWXffFVvqiyF/4HM/5deELR8wLWTQkJ8VZOThTJhhFkRwt\n2oUMs+gW+dK10kY5z5D3wlcxF1X7ME5S2TKKFL+EjeCGcmxu61mArb56lMmf\nZ9MkIX/eh8f7t2AHD7HjCsuFUx2xn2pmqS38lf+st9CBsYi3ZUdCoWepNeEp\n79BvY2VAl5BV5qkgWM74gVeVVrQIBYcybJJjyAMdZzxRhDaobn+pUgmJAvgq\ne46xQt+SLwSeUYkRGVwK4iDcTYLlPkJp6kKCo+Rxmq1TpqCHpF8mJycD1XsH\nGOAyD6DuxX2HVwqKbQl/y9qZTAzUVvdd21s1a/cNKIBXUyBHBFY7Unjlki8b\n/JLxSPRUcyBunbPOh/9mjp7lDqEPKsGTEmuihfFeW8tayUVWvv6cTJWE5YiL\nS0gR\r\n=29Mk\r\n-----END PGP SIGNATURE-----\r\n"},"main":"telegraf.js","types":"./typings/index.d.ts","engines":{"node":">=6.2.0"},"gitHead":"a19a44252fb83ad151181729ddbd6a2cc1b1578f","scripts":{"lint":"eslint .","test":"ava test","precommit":"npm run lint && npm run typecheck && npm test","typecheck":"tsc"},"_npmUser":{"name":"dotcypress","email":"dotcypress@gmail.com"},"repository":{"url":"git+ssh://git@github.com/telegraf/telegraf.git","type":"git"},"_npmVersion":"6.4.1","description":"📡 Modern Telegram bot framework","directories":{},"_nodeVersion":"9.4.0","dependencies":{"debug":"^4.0.1","node-fetch":"^2.2.0","typescript":"^3.0.1","@types/node":"^10.1.2","sandwich-stream":"^1.0.0","telegram-typings":"^3.6.0"},"_hasShrinkwrap":false,"devDependencies":{"ava":"^0.25.0","husky":"^0.14.1","eslint":"^5.2.0","eslint-plugin-ava":"^5.0.0","eslint-plugin-node":"^7.0.1","eslint-plugin-import":"^2.2.0","eslint-plugin-promise":"^4.0.0","eslint-config-standard":"^12.0.0","eslint-plugin-standard":"^4.0.0"},"_npmOperationalInternal":{"tmp":"tmp/telegraf_3.24.0_1537548308610_0.830722468227999","host":"s3://npm-registry-packages"}},"3.24.1":{"name":"telegraf","version":"3.24.1","keywords":["telegraf","telegram","telegram bot api","bot","botapi","bot framework"],"author":{"name":"Vitaly Domnikov","email":"dotcypress@gmail.com"},"license":"MIT","_id":"telegraf@3.24.1","maintainers":[{"name":"dotcypress","email":"dotcypress@gmail.com"}],"homepage":"https://github.com/telegraf/telegraf#readme","bugs":{"url":"https://github.com/telegraf/telegraf/issues"},"dist":{"shasum":"bfcfe326210ea9d341032a6e6910e36f4c25440c","tarball":"https://registry.npmjs.org/telegraf/-/telegraf-3.24.1.tgz","fileCount":59,"integrity":"sha512-+beVzq+fZ+kDpIWKM+MzxqIfHDYqYvklmDYrO2Kz7JsZaMsBcRAP9rvbyu9hpgwqDLaa4jrrGRVScaWTOiraNg==","signatures":[{"sig":"MEYCIQCnm48Zhh6/Pu4D7ptHy92ZnjKau3+tl2GTSXsdPpHzQAIhAI8GCnr+LdWkegpQ8N63DQGZi4WnxyUniLqX+blOkXxa","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":313023,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbujTkCRA9TVsSAnZWagAA6HMP/0f2dqnYbXeLNBLTvieT\nPGFyVVGA7/qDNF+0tFiOL7iqZEvCdmBZXspfRqBeOEmDbW8/EtSDBE7lDKmT\nD54wJwb3QTnLfIpLxjWJYCRUf9HArd0/sG/Zc1Tcf4/toCwAJkjqEWq/2pDu\nWrOxtRoLa06U2Rx5v4lQDx9CzsmaPP58DUAzRvp/nEqNOj4a/pNk1A7MHn+1\nlKxomtORiCpR3IM5NqZY+pKfe8mIn5e4OcoHNBBINVEHPPxORs2/jMQ4uG9E\nffp0Py+zJ5Xz8ezYyhPVQBOyKcUrEsjWZghWk9M4yLpyylNgcrJvLtSu6cDI\nvdTQhxpLXkKyenw+iUMiNhtIHpjg45oxBtpjecZt6bJ/6z39iG9dWCMdhwv/\nrGZvI3UZqzMIx/bsk4I7tctdiVd5XAg4Twh5DCjn/z98eDsjAzVMRBkBmedz\n//a0z9axPtExUH5cvIkXjdOjtPt1EqwftrKZ1AGpiTLiSIQC9tVju2jzoQdX\nu1dqHwXo1MtnqhlZNKzO+Mu3aXm155qhjbyRm3J1L9elZsfyOZLwYteezRZv\nQ4kKq3tQORhvCIAl5Ayh3foKYKIehzhWbA7/i5drzLteUqkmPQw26Vj4oNgB\nLXVre9JtZj+0YeBxvOyS/QhFvlONW6dWrJEnDvQZqTVXcQvhbUR9QRfvOHWx\ntTOV\r\n=3yZG\r\n-----END PGP SIGNATURE-----\r\n"},"main":"telegraf.js","types":"./typings/index.d.ts","engines":{"node":">=6.2.0"},"gitHead":"7a668b33a34808424b57a22963ba4f5db53506cd","scripts":{"lint":"eslint .","test":"ava test","precommit":"npm run lint && npm run typecheck && npm test","typecheck":"tsc"},"_npmUser":{"name":"dotcypress","email":"dotcypress@gmail.com"},"repository":{"url":"git+ssh://git@github.com/telegraf/telegraf.git","type":"git"},"_npmVersion":"6.4.1","description":"📡 Modern Telegram bot framework","directories":{},"_nodeVersion":"9.4.0","dependencies":{"debug":"^4.0.1","node-fetch":"^2.2.0","@types/node":"^10.1.2","sandwich-stream":"^1.0.0","telegram-typings":"^3.6.0"},"_hasShrinkwrap":false,"devDependencies":{"ava":"^0.25.0","husky":"^1.1.1","eslint":"^5.2.0","typescript":"^3.0.1","eslint-plugin-ava":"^5.0.0","eslint-plugin-node":"^7.0.1","eslint-plugin-import":"^2.2.0","eslint-plugin-promise":"^4.0.0","eslint-config-standard":"^12.0.0","eslint-plugin-standard":"^4.0.0"},"_npmOperationalInternal":{"tmp":"tmp/telegraf_3.24.1_1538929891912_0.3632566891983475","host":"s3://npm-registry-packages"}},"3.25.0":{"name":"telegraf","version":"3.25.0","keywords":["telegraf","telegram","telegram bot api","bot","botapi","bot framework"],"author":{"name":"Vitaly Domnikov","email":"dotcypress@gmail.com"},"license":"MIT","_id":"telegraf@3.25.0","maintainers":[{"name":"dotcypress","email":"dotcypress@gmail.com"}],"homepage":"https://github.com/telegraf/telegraf#readme","bugs":{"url":"https://github.com/telegraf/telegraf/issues"},"dist":{"shasum":"f08e463584803c36462e22668ad1e1f362f1f253","tarball":"https://registry.npmjs.org/telegraf/-/telegraf-3.25.0.tgz","fileCount":59,"integrity":"sha512-W2L/9LIOndtzqgEnJPlDJS8Q/gwoRS/a7FvoV9kPhKwRWtJtiP8xhkr66GMbOhnB0RgSK6GMrgeZtXNzLn/bQg==","signatures":[{"sig":"MEUCIDmwQ9sc5kk+ilDAu0gAobcmRlIUF4Otbr0/d9Q2WewyAiEA77wTGdUfcozS09TahknMS8rz8jDQ2L3XgiKW9DlpK10=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":318267,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJb19GRCRA9TVsSAnZWagAAdMsQAKKFVMSIa09Fz//hadem\nF05DE4oBZgsIRMmoTSoUh0i13EJy/NA1TFxHA00UuRmTF41umuytPEZdRzAv\nP+bkgaSYGoHf20116vPk1yWcyoMZgGXnd5eqUYA5FlUi2LXOOa3EGdcz7ft2\nrOTWVaTGm+Ww5ZSB6z4qQb49os80WsrFFx8uUs/RpafigMQiwKb3uTgGO/Az\nrsHbyFcTll5wYD9Podq1tVCVXUZtpA+AmuwmoDBpGhGpuc/6MKIhN4vMsTaw\nLzA65ywwps3SqcWvRaACOPmELxDFLESu510C1A4Pc/SzqFzX50d9m3+9ebel\nDOqbUkaWpHLW1ms5YP27zglZoSCsrYoGr+5+Wqct9C6VYR+HK/gmagCtSX1c\nu20KH3qXd/9ZPpNqQjhAn4nXT1o3vJfbCGI81RBJW9dmP44TZB0GwDQiFlS4\ns6UTP1S0i71lap3BpB+TfJW3cFG3KVCr14rpuHgDAtX76GEL/mYdbE7SCRBt\n2TmrwCn5FlgHmcgP71jFHhm+gk3T1xN2RbvQIjcxBpYLglYCyynQuPe152T6\n2pirSPsImGxKsHIYPfZs+ev4NS95jQmXpdQDSEAmpV1oyNpTMsKsg4KpeADy\n8SrbNkid9Qa2jC7vNJyh3pmndmd7u4uiS781MtFK4JiC+i22fyunuJXfxiRD\nrZzy\r\n=QFtZ\r\n-----END PGP SIGNATURE-----\r\n"},"main":"telegraf.js","types":"./typings/index.d.ts","engines":{"node":">=6.2.0"},"gitHead":"0aef72ccbd4458ac98b8c2299b44c9af82e26278","scripts":{"lint":"eslint .","test":"ava test","precommit":"npm run lint && npm run typecheck && npm test","typecheck":"tsc"},"_npmUser":{"name":"dotcypress","email":"dotcypress@gmail.com"},"repository":{"url":"git+ssh://git@github.com/telegraf/telegraf.git","type":"git"},"_npmVersion":"5.6.0","description":"📡 Modern Telegram bot framework","directories":{},"_nodeVersion":"8.11.2","dependencies":{"debug":"^4.0.1","node-fetch":"^2.2.0","@types/node":"^10.1.2","sandwich-stream":"^2.0.1","telegram-typings":"^3.6.0"},"_hasShrinkwrap":false,"devDependencies":{"ava":"^0.25.0","husky":"^1.1.1","eslint":"^5.2.0","typescript":"^3.0.1","eslint-plugin-ava":"^5.0.0","eslint-plugin-node":"^8.0.0","eslint-plugin-import":"^2.2.0","eslint-plugin-promise":"^4.0.0","eslint-config-standard":"^12.0.0","eslint-plugin-standard":"^4.0.0"},"_npmOperationalInternal":{"tmp":"tmp/telegraf_3.25.0_1540870544744_0.058821604092756274","host":"s3://npm-registry-packages"}},"3.25.1":{"name":"telegraf","version":"3.25.1","keywords":["telegraf","telegram","telegram bot api","bot","botapi","bot framework"],"author":{"name":"Vitaly Domnikov","email":"dotcypress@gmail.com"},"license":"MIT","_id":"telegraf@3.25.1","maintainers":[{"name":"dotcypress","email":"dotcypress@gmail.com"}],"homepage":"https://github.com/telegraf/telegraf#readme","bugs":{"url":"https://github.com/telegraf/telegraf/issues"},"dist":{"shasum":"6b91b1b50651f88ca05008e6a019541f50dd9fb5","tarball":"https://registry.npmjs.org/telegraf/-/telegraf-3.25.1.tgz","fileCount":59,"integrity":"sha512-+GqgQ2B3gNQy/Ra5TMp6dpeLjEaBSXFiMQxgbKvMSJFRhIJv1j3ekl02Sf9Ojmnx67G/JtubShfpYqZnHhD5pQ==","signatures":[{"sig":"MEYCIQCyF4SK/Fz6R2yD+j4rXtcGSBL2QAkWVbBkVi26zi5ggwIhAODA67KVOhEzpGVZplx4g0KZhgAQtRzAk1eE+qWeQIhV","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":320434,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcB2jmCRA9TVsSAnZWagAAzksP+wcQU8s8kRKPz9dG+93C\nTeQ+QgKJ3/M8YQi2LnF2y20fZJ8Ca+QBwyghxyq7cDkgWLEraT7XRaeaefnI\nvcfX/Z0OH9n3Cy8iudji2f9xKKyEt/pVO9/DgYLuZCRcGGChabfkzJRD+kLf\ndB0r4Go7w2wlWQS8oyb6fQTpfTkIENCtwem+0K0mglgwkNkCtivIGbCy/sIL\nTjXYhutGNG/JnBoQpzO73KwlaebiZAZbHbEPvB+6tfvzpeMPuhJL7zCAws8+\nweRqBZ/r4K4ua1v25rNqsFgNZ0HraIgW35IF6XzYPkJtF9gJGz7LVUMsMZv4\ndyK4S4Bi/0MXbYa4G4wEWyJbOhMnMFUPdwb0uvud74fP1aJgsqCOmKEgtBzU\nNc7c3940Lz/uF/wyRuEYCo6jOACqJXuVXHR7z2X//y0d/VJKeO+PpizV3x1+\nxYfHz0iJIVgu3x0995myig19jYdDNV6bqkadXh4tm9SUcaC8zRHAERRTtsJH\nZJoHM9CRxy0R2VwpAHaw4J+re4pUiUvVAwL0V9g/5QtHsV6x1Gp8/NXdu58r\nbWX4JXNRVKrijbJasV5906AKe2DYOs0l6nz5XWga+d7/1u2XClKYV2Pb/nBG\nweaCpzs+qhLjgwu2eQJr5cT9qM/jwhu88PlxP5P+8pRRBio8D/z9VGdNdnaE\nel/d\r\n=TEu8\r\n-----END PGP SIGNATURE-----\r\n"},"main":"telegraf.js","types":"./typings/index.d.ts","engines":{"node":">=6.2.0"},"gitHead":"5f5da198e66caa24a89fa99773c46bd395c70124","scripts":{"lint":"eslint .","test":"ava test","precommit":"npm run lint && npm run typecheck && npm test","typecheck":"tsc"},"_npmUser":{"name":"dotcypress","email":"dotcypress@gmail.com"},"repository":{"url":"git+ssh://git@github.com/telegraf/telegraf.git","type":"git"},"_npmVersion":"6.4.1","description":"📡 Modern Telegram bot framework","directories":{},"_nodeVersion":"8.11.2","dependencies":{"debug":"^4.0.1","node-fetch":"^2.2.0","@types/node":"^10.1.2","sandwich-stream":"^2.0.1","telegram-typings":"^3.6.0"},"_hasShrinkwrap":false,"devDependencies":{"ava":"^0.25.0","husky":"^1.1.1","eslint":"^5.2.0","typescript":"^3.0.1","eslint-plugin-ava":"^5.0.0","eslint-plugin-node":"^8.0.0","eslint-plugin-import":"^2.2.0","eslint-plugin-promise":"^4.0.0","eslint-config-standard":"^12.0.0","eslint-plugin-standard":"^4.0.0"},"_npmOperationalInternal":{"tmp":"tmp/telegraf_3.25.1_1543989478133_0.7894628645261026","host":"s3://npm-registry-packages"}},"3.25.2":{"name":"telegraf","version":"3.25.2","keywords":["telegraf","telegram","telegram bot api","bot","botapi","bot framework"],"author":{"name":"Vitaly Domnikov","email":"dotcypress@gmail.com"},"license":"MIT","_id":"telegraf@3.25.2","maintainers":[{"name":"dotcypress","email":"dotcypress@gmail.com"}],"homepage":"https://github.com/telegraf/telegraf#readme","bugs":{"url":"https://github.com/telegraf/telegraf/issues"},"dist":{"shasum":"eafd916f4e3c46db8f61f383b64bb2ddcfa1cf1d","tarball":"https://registry.npmjs.org/telegraf/-/telegraf-3.25.2.tgz","fileCount":59,"integrity":"sha512-tirc/uNig3BlmEhKM2Ot50veSSuoSErfGnrKCQ3UCzg/8CUnep4Hu+CQhNjCIlJoKqH8cozB8g9JwqLrMcXsuw==","signatures":[{"sig":"MEUCIQCktYG/m2mMQ6vWN4Z9tNWd+l4CHWDD4Iikp90ExiWiAQIgDLBCJpQxWgVqoOnZNyk9HMKxnDWmqwxRdA9DaNnYEIA=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":320647,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcCBgHCRA9TVsSAnZWagAAD2AP+wWO3lsNRPAzQjpoibt+\nK5r7Nf149Kkclh8LRnMCKqsczLRwBeZjzvduNbheIbJBDtY+RQU2X+4dtPM5\nfkkticimZF7/q4nYzD/IR8b/p1PXMIFDvb5C/X7AbLB4QDuK9q15GKyZi5Lv\n+4KeEllmFySSvnUlwgI21bA+X2OYLQkPQB5UuxlDVkqUFVaNTA+14YSDkv/2\n1o/gkYax7S6MwHoajxJSAPO914uR1Qump43kNpUvRece3h/e3ELsd3e3rDqX\nq5wfNwMFb+1Y/m6b8cx3xs3VaGDjmrc4z8VShvysXLTzznEKEMMpFAn4FTsc\noZZFbYhNicQCay6KxzO4S6gbKMAoAa9A8VH0OdjPPMOG/FgPTSDOLxL1ZJNb\nKMFeiRwgJK7ey00g5/c75BEkiGzd59SrYMj+mOJSNTXAsXbu5PkvJFH6TtQk\ndf5T9ZvgHixkCdEHgxy7/GhPdcn49+oQ8TxMHvn2GFdswgORxxgKytqmQHVh\nJQgmpDR9t7a/nXfVx6ojPndGY+Goit1S13LxgfQzcNZrkt665q8rPOxlwG8p\nm2NwGKfdZON8aGEcvkVfa5wXS3yMGO4BCs2FBSUS2L2mSpICUNDdbV0oIwwA\nhJYWzPyYHMct2yYQnAa12pf4ZAA7q/YOBuNgTDKOofQxRfPyeOOnxxHYg2Dd\nQePm\r\n=+EXy\r\n-----END PGP SIGNATURE-----\r\n"},"main":"telegraf.js","types":"./typings/index.d.ts","engines":{"node":">=6.2.0"},"gitHead":"7ef76ae051c30de4e835c63d3010eef3e5058753","scripts":{"lint":"eslint .","test":"ava test","precommit":"npm run lint && npm run typecheck && npm test","typecheck":"tsc"},"_npmUser":{"name":"dotcypress","email":"dotcypress@gmail.com"},"repository":{"url":"git+ssh://git@github.com/telegraf/telegraf.git","type":"git"},"_npmVersion":"6.4.1","description":"📡 Modern Telegram bot framework","directories":{},"_nodeVersion":"8.11.2","dependencies":{"debug":"^4.0.1","node-fetch":"^2.2.0","@types/node":"^10.1.2","sandwich-stream":"^2.0.1","telegram-typings":"^3.6.0"},"_hasShrinkwrap":false,"devDependencies":{"ava":"^0.25.0","husky":"^1.1.1","eslint":"^5.2.0","typescript":"^3.0.1","eslint-plugin-ava":"^5.0.0","eslint-plugin-node":"^8.0.0","eslint-plugin-import":"^2.2.0","eslint-plugin-promise":"^4.0.0","eslint-config-standard":"^12.0.0","eslint-plugin-standard":"^4.0.0"},"_npmOperationalInternal":{"tmp":"tmp/telegraf_3.25.2_1544034310471_0.03167944394963462","host":"s3://npm-registry-packages"}},"3.25.3":{"name":"telegraf","version":"3.25.3","keywords":["telegraf","telegram","telegram bot api","bot","botapi","bot framework"],"author":{"name":"Vitaly Domnikov","email":"dotcypress@gmail.com"},"license":"MIT","_id":"telegraf@3.25.3","maintainers":[{"name":"dotcypress","email":"dotcypress@gmail.com"}],"homepage":"https://github.com/telegraf/telegraf#readme","bugs":{"url":"https://github.com/telegraf/telegraf/issues"},"dist":{"shasum":"cdb6ad0c65e6395b991f3822a5b12c5e18fb99b4","tarball":"https://registry.npmjs.org/telegraf/-/telegraf-3.25.3.tgz","fileCount":59,"integrity":"sha512-K4sNH0BD2+9R689G92Iw+KTPPh9mvjAEIe4zhL0Zky15mqVJrq64meqgqc1ecywtzNi3vp9VK5hVpQfH1r6xNQ==","signatures":[{"sig":"MEUCIQCdUQKbdA5UEVym58ZlKgfWHPD7kJiAFSS3zLsrwhp1rQIgDcEEroVc+ivQw2GXg6xjBSKq65vVRAzBwvK9QQwCTag=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":320646,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcCBl/CRA9TVsSAnZWagAA03sQAIhUjWGLdYbRXv10ik1v\nLxe6fY/7yJ7xd+GZ071RsZcjBAdkvlYWSJo1fXzvOwGeHno2U8kI9bqdLqyR\n/xx7x1DyUqRjY1ObTn5twDsxTMrvlfM4KsBglY02bgLw9IIvrf6lSYwx9F9x\nVXtbXiKEkqcLPHsrP+4s7sdl2zkxDtSgAXstKjtYyhuV/imTL8k6UxSZApH6\nBtNpyvTs6UuGKrM1k5uJqfYAwA0J7gWKXwrc8E3astWOPdCfbo2pate7Q9Xj\nbng7y43pGjw4Hr6W//VfN5Pg1x19kBdb02/6YB+zOc/pV/VX4a0IxKGBQNu+\nypT/wtlRSlpWDkOu05FFBV+sn5pcYbfJadb1eNcg/TJb+/VRcm0qr33bRPUV\nwpnXuRRbUD8AlyZlxy/F293U4XZRknx8Lm0AZ/38UfL79vDnJvFgbzbggdoT\nL/SE9MVQlLMvo6Z5tnuwjJoKtSqK8iiu2XdMkC5SKW15t+zTwzQBponzWLsv\nVM1MPKaqU/aShmCI2jm5P3uPeCXY9xOZQkE0CTVtxKZVQYz8MWCR5XTEEA66\nR7NrTZ0hwA04p7TDrQjEC2RFE+KDg60VhSmemzEpPuGoN1eyAzwFOQvxQV7A\nbVEbl/OD8ibMUgLTrDIpHkXFtMxJD6ST7LFtojManVpNZqK7jfnUbcvukWbP\nUWsO\r\n=cosS\r\n-----END PGP SIGNATURE-----\r\n"},"main":"telegraf.js","types":"./typings/index.d.ts","engines":{"node":">=6.2.0"},"gitHead":"c937bea85667fd05f04241ba7e43940ed7c4cdf5","scripts":{"lint":"eslint .","test":"ava test","precommit":"npm run lint && npm run typecheck && npm test","typecheck":"tsc"},"_npmUser":{"name":"dotcypress","email":"dotcypress@gmail.com"},"repository":{"url":"git+ssh://git@github.com/telegraf/telegraf.git","type":"git"},"_npmVersion":"6.4.1","description":"📡 Modern Telegram bot framework","directories":{},"_nodeVersion":"8.11.2","dependencies":{"debug":"^4.0.1","node-fetch":"^2.2.0","@types/node":"^10.1.2","sandwich-stream":"^2.0.1","telegram-typings":"^3.6.0"},"_hasShrinkwrap":false,"devDependencies":{"ava":"^0.25.0","husky":"^1.1.1","eslint":"^5.2.0","typescript":"^3.0.1","eslint-plugin-ava":"^5.0.0","eslint-plugin-node":"^8.0.0","eslint-plugin-import":"^2.2.0","eslint-plugin-promise":"^4.0.0","eslint-config-standard":"^12.0.0","eslint-plugin-standard":"^4.0.0"},"_npmOperationalInternal":{"tmp":"tmp/telegraf_3.25.3_1544034686121_0.6731999664730937","host":"s3://npm-registry-packages"}},"3.25.4":{"name":"telegraf","version":"3.25.4","keywords":["telegraf","telegram","telegram bot api","bot","botapi","bot framework"],"author":{"name":"Vitaly Domnikov","email":"dotcypress@gmail.com"},"license":"MIT","_id":"telegraf@3.25.4","maintainers":[{"name":"dotcypress","email":"dotcypress@gmail.com"}],"homepage":"https://github.com/telegraf/telegraf#readme","bugs":{"url":"https://github.com/telegraf/telegraf/issues"},"dist":{"shasum":"610e1f4b5d3bfae7e17c319af8ca3515d7c72e25","tarball":"https://registry.npmjs.org/telegraf/-/telegraf-3.25.4.tgz","fileCount":59,"integrity":"sha512-9GO4+fBl19aH8TgRXMQ0gZWkxV3OQEBuNdhlACNfqkfprMrUP3qGgrcoWuCYlGNcIg3bAaplIO8l7tr11c0C6w==","signatures":[{"sig":"MEQCICRv+z3SfKU2EDaSp681xANEpkOgKyNDoOgtGJaqhkCIAiAf9cNflnQ74ZTg5FriGbhUcIHeamnDSh8kfVXADW5L4g==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":320646,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcCByhCRA9TVsSAnZWagAABMIP+wcjfvz/WL2l2786P0RC\ng1rorYBcHvpCpM6Py9P/wq8SJVlt/zeygKGIORDxA5NpKLsjdp37VvF97QMC\nkRrFYZktfhBVzY6+tWJpFUfS0tv2XNxppwM6+bGpyOqYdys9YkFYi553I3S4\nrhhv4R9iH2KnmRIu9zFkgk2DdwfoIwNch7wpRrVMV/qpcpEdbm0is02nJ0UM\n9vi2eldWitj3jh7QCIeVse1wtUj+Jmiq0JupMlqzI7eXbHv+pMn5J5I2suzg\nqOhSWUDdxuXZE5JOfVrg4zl0UOCOkzUuZPqBl4E2HVdpRhNTS5Qv/ZE5pJ8z\n1FiLxm9GveXcGOsa6AOdOH9C4pu6rcwYLkVQbwxyf8QtucxDt1WC77OiaUCw\nOsRuC6Bml5dhB8BRl81KHIkw5CESOzjdy6S/8+Jeypq1jnF1rbKr38CRnpOy\n9tIo1S/LXtkDtKpJA+isRnqdCotapeypBQWzMPRsVXIG8dr/hEWYPx44Ujav\nWLlZqsR56Js7BjFXIQEby41IXyT0OOO7MSjM+J+F1+f76huSAONLMWvDLg4p\nATdJWBoJtluuaKy7YY1x5TXxdr/tvbFaD6FjHKHp0oYw9VNqfsHmbmL/DQ44\nIKV4HwSvku7Q1v6OdI8YXUZhjktGhNwFe415jfNwxsJHcYjcyiql6bIfp1/E\nETRd\r\n=JjSc\r\n-----END PGP SIGNATURE-----\r\n"},"main":"telegraf.js","types":"./typings/index.d.ts","engines":{"node":">=6.2.0"},"gitHead":"3991b71e4a05383a91cb586436a0e62a3f77e776","scripts":{"lint":"eslint .","test":"ava test","precommit":"npm run lint && npm run typecheck && npm test","typecheck":"tsc"},"_npmUser":{"name":"dotcypress","email":"dotcypress@gmail.com"},"repository":{"url":"git+ssh://git@github.com/telegraf/telegraf.git","type":"git"},"_npmVersion":"6.4.1","description":"📡 Modern Telegram bot framework","directories":{},"_nodeVersion":"8.11.2","dependencies":{"debug":"^4.0.1","node-fetch":"^2.2.0","@types/node":"^10.1.2","sandwich-stream":"^2.0.1","telegram-typings":"^3.6.0"},"_hasShrinkwrap":false,"devDependencies":{"ava":"^0.25.0","husky":"^1.1.1","eslint":"^5.2.0","typescript":"^3.0.1","eslint-plugin-ava":"^5.0.0","eslint-plugin-node":"^8.0.0","eslint-plugin-import":"^2.2.0","eslint-plugin-promise":"^4.0.0","eslint-config-standard":"^12.0.0","eslint-plugin-standard":"^4.0.0"},"_npmOperationalInternal":{"tmp":"tmp/telegraf_3.25.4_1544035488696_0.39036093581871434","host":"s3://npm-registry-packages"}},"3.25.5":{"name":"telegraf","version":"3.25.5","keywords":["telegraf","telegram","telegram bot api","bot","botapi","bot framework"],"author":{"name":"Vitaly Domnikov","email":"dotcypress@gmail.com"},"license":"MIT","_id":"telegraf@3.25.5","maintainers":[{"name":"dotcypress","email":"dotcypress@gmail.com"}],"homepage":"https://github.com/telegraf/telegraf#readme","bugs":{"url":"https://github.com/telegraf/telegraf/issues"},"dist":{"shasum":"d10c57e98085136866614e40c583aa4e607e1d85","tarball":"https://registry.npmjs.org/telegraf/-/telegraf-3.25.5.tgz","fileCount":59,"integrity":"sha512-gGyyAl5b+jVwR8L2YXxUYCgDqF3LUlXIlt2+sWozdKiVuWliPgATmdk/dp9I0Rw+fIePJVX/lQfgd8MfuSSwRA==","signatures":[{"sig":"MEQCIBraFG9KNqp4fPgnCUmM39jOA4MpgJMvaRZlLW5rQbnCAiAOlOv1iy05vV1JQFEgT9n34hzszu1MjUZ+8UAWvPA3pw==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":320646,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcCCNeCRA9TVsSAnZWagAAHegP/0+JMz6Ae3+AoqJBfJak\ngxHvS92au8hWy+9Q5UVFhtpgVapFpZ0HQontzTRK9a1tkFaImaA6jK0AyJQR\n/ENnVIcqzEPYBLlgQ5AqQ3SP50VrpXJzvOqralsh2jns25MYXfNIO1vz6Jgb\nJRxUhaOtgltGV/jZRPtpiPx45wPpOIbgG6M6kMX527XLmS1Ffe0PfyWF2rYw\n4+sut/6mWnaZd4htgX/RJKs9WeI5bGM80tJoptL6bgTQmQDlfdFmv0BDKqSQ\nkFd/H+/e9ZyGxHpEhfzlIVivZPW9HtsqDcJShiuHHGH6mS1wxQwjn+2VdBvv\nvynAb1+8EZrg5KXQ0ALh8bG3KSM5V1+zhpe0INwUx7p5MoKYAFCh+psgqrvO\nyG6LUaPSpeVr3AAF190Y4rshCHCYa4UObk/fSiSG+WQBTiQq71iHjWWUtYGA\n4YBFK/utpWGKVJVo3QJnmMoTCxGPCnYVp9EebRvZM0ZexIGIDhqt0tkrc/A3\nmmYS2EmFdWR/YxcH455sM1ZvD044TyAX78xTN4nCglQJnkPz3sW0L+vZoKlM\nkIGU4qcuITh+s7/bbUY5hKTkQ5LJ+iOopLHGpPOUb/DwHUjtxvDQ7cqAtUa/\nL3p5h6vjOK5E7CAwDk0CudclrOxkrU9Ou0mIVWfab7WOF/GjMLmO4hv6Yz25\nwhW9\r\n=pNqx\r\n-----END PGP SIGNATURE-----\r\n"},"main":"telegraf.js","types":"./typings/index.d.ts","engines":{"node":">=6.2.0"},"gitHead":"974eb5aeafb2359912674b38208c881728ee652b","scripts":{"lint":"eslint .","test":"ava test","precommit":"npm run lint && npm run typecheck && npm test","typecheck":"tsc"},"_npmUser":{"name":"dotcypress","email":"dotcypress@gmail.com"},"repository":{"url":"git+ssh://git@github.com/telegraf/telegraf.git","type":"git"},"_npmVersion":"6.4.1","description":"📡 Modern Telegram bot framework","directories":{},"_nodeVersion":"8.11.2","dependencies":{"debug":"^4.0.1","node-fetch":"^2.2.0","@types/node":"^10.1.2","sandwich-stream":"^2.0.1","telegram-typings":"^3.6.0"},"_hasShrinkwrap":false,"devDependencies":{"ava":"^0.25.0","husky":"^1.1.1","eslint":"^5.2.0","typescript":"^3.0.1","eslint-plugin-ava":"^5.0.0","eslint-plugin-node":"^8.0.0","eslint-plugin-import":"^2.2.0","eslint-plugin-promise":"^4.0.0","eslint-config-standard":"^12.0.0","eslint-plugin-standard":"^4.0.0"},"_npmOperationalInternal":{"tmp":"tmp/telegraf_3.25.5_1544037213482_0.6895836521352898","host":"s3://npm-registry-packages"}},"3.26.0":{"name":"telegraf","version":"3.26.0","keywords":["telegraf","telegram","telegram bot api","bot","botapi","bot framework"],"author":{"name":"Vitaly Domnikov","email":"oss@vitaly.codes"},"license":"MIT","_id":"telegraf@3.26.0","maintainers":[{"name":"dotcypress","email":"dotcypress@gmail.com"}],"homepage":"https://github.com/telegraf/telegraf#readme","bugs":{"url":"https://github.com/telegraf/telegraf/issues"},"dist":{"shasum":"6102280c7971431a8a8a96fe0502285cc1a223c9","tarball":"https://registry.npmjs.org/telegraf/-/telegraf-3.26.0.tgz","fileCount":60,"integrity":"sha512-mADDeKoSBbfcOntV0/78vyNNO59/eNQiY8V3xUfrxCOwZsDxtV0dkU53Zu7k7xPPddViLUzl3EENil97CDgbpw==","signatures":[{"sig":"MEUCIQDAkKtgYHzuhHOg9d5eYPIcKCmxB7C9XVpvvaVkVirpGgIgJ3yYO6itJNh7y9LE06R3Oxcmh62gtg/QuMPVD1+UlB8=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":322102,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcOAUzCRA9TVsSAnZWagAAV4wP/1XLdEAZrkRkOrLyvfyt\nSEf7hw/qS7qN8W/YdsNbD66FHxJu3HAbBgRshr8ERH8sKGU2xyubpmnQOzm9\nOHmQXETGWIrlekSkFMIR5a/+48c7WcUk5ZnW1htLwHmm4It8o/Ay3UHXMop5\nf5KEr7Zu1vni/FsVIKjePSvGrP7tpIODlNV7GWcrU5RmYIkAbO3EH6mclzig\nzmr/W/eBIIBnIftWZPJFpBTH3tNwOe1UriGu2avPIRaHHjzfrdMuVh/i1qid\nJq+5A9X72AUaUpB9vT3Wp2UpHDuDyjJmYAw1aCa521b6oGAGtmNGVyJbumip\ncSQiIYZLjrkM9xQtqU8Lk+GwagcS5kdf7COYdBRe9Z8a6a8VzoRQXly1iIyR\nBVjbadddzxmLfeSb+PR9zLvaWsdF3MRkRvWSmcb04rdo8Id0JxtPI9SL3nFR\nfxrZFJwf7RUl2v/sYxyKik7fGQ3ODEUv0Mj4FqJlCDz30GBr1V5IJZBa3f63\nKJRg7ca7OArPXeUehfSIZQJuuTtKjksSqMTbh5mEViD+7cQ3DLA3ghUKGE80\nA1O/2jldAVcYq1pA3PGTEIkWfhtAUO9mvH3FflrIhe4IXK69dSNIC96XSXRg\nEw9dndZAkQVO0bQKkkb9LdKx4PQ+VwN8j1N6IFT8fz0jpkX2qxTkGJReG0Ki\neaT6\r\n=YBvv\r\n-----END PGP SIGNATURE-----\r\n"},"main":"telegraf.js","types":"./typings/index.d.ts","engines":{"node":">=6.2.0"},"gitHead":"cf4e302297ad38d81f53dd9fde4d1781ae01fce6","scripts":{"lint":"eslint .","test":"ava test","precommit":"npm run lint && npm run typecheck && npm test","typecheck":"tsc"},"_npmUser":{"name":"dotcypress","email":"dotcypress@gmail.com"},"repository":{"url":"git+ssh://git@github.com/telegraf/telegraf.git","type":"git"},"_npmVersion":"6.4.1","description":"📡 Modern Telegram Bot Framework","directories":{},"_nodeVersion":"8.11.2","dependencies":{"debug":"^4.0.1","node-fetch":"^2.2.0","@types/node":"^10.1.2","sandwich-stream":"^2.0.1","telegram-typings":"^3.6.0"},"_hasShrinkwrap":false,"devDependencies":{"ava":"^1.0.1","husky":"^1.1.1","eslint":"^5.2.0","typescript":"^3.0.1","eslint-plugin-ava":"^5.0.0","eslint-plugin-node":"^8.0.0","eslint-plugin-import":"^2.2.0","eslint-plugin-promise":"^4.0.0","eslint-config-standard":"^12.0.0","eslint-plugin-standard":"^4.0.0"},"_npmOperationalInternal":{"tmp":"tmp/telegraf_3.26.0_1547175218913_0.6723578104685355","host":"s3://npm-registry-packages"}},"3.27.0":{"name":"telegraf","version":"3.27.0","keywords":["telegraf","telegram","telegram bot api","bot","botapi","bot framework"],"author":{"name":"Vitaly Domnikov","email":"oss@vitaly.codes"},"license":"MIT","_id":"telegraf@3.27.0","maintainers":[{"name":"dotcypress","email":"dotcypress@gmail.com"}],"homepage":"https://github.com/telegraf/telegraf#readme","bugs":{"url":"https://github.com/telegraf/telegraf/issues"},"dist":{"shasum":"03d12bc60d2313f178d4a77cbb35b68872316bff","tarball":"https://registry.npmjs.org/telegraf/-/telegraf-3.27.0.tgz","fileCount":60,"integrity":"sha512-of0TBbIPqud8sQCl8sqi31eivJhQfaX3AVoFWurSgk9+BUTy99CoBdwCD8kqLHu7XYX40DQI6Q+FQVm6zCkKOg==","signatures":[{"sig":"MEUCIQD+9vSIYvFjSIKJIZmtwJLzMvW170d/eSSxVWSSIJc7RgIgQi981MU//4FNQNbFHnWMcJ2CYfCQEN8VcK4Opx4aQtM=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":323778,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcUgtXCRA9TVsSAnZWagAAUSQP/2pXmtV+P2jecyeFOTPO\nrElfNy6swj5Y3FV24DRWenmLUMnH/UKjMZMxap5odKtT33QY+IGd3YlTymBi\nRpZfszJy0EYDaBlgw6ySpjQZoMthMYq4YtiPJesXuKzg4zB9NLUvwK9eSN8I\nqwe0laW+dCh2tvtljY4BDI/27mDREtwVTa4xmi0sLmWx9rnXwgnv6Ch9jsgs\ne5/SOqANdNQ0EHtcoiRhWKxo8lkQgq8aLTqO7q4UHnxpB30p9+5OpwKXbg2m\nEMHMa6/J9u6I1rhcs4pa3tfo/MnVXA4hevYprCpwha+FgyRBiLEAFj28XlN6\n4+KI5L9+8ws0kVi873ETUjw5N3HWzaMvqjL0JEfXOnNKg3EWIGXcAQJUADIs\ntX9AAuGS3agZgdEK+fsUSy8Ft2N9ktbACKa17ArDHZsYgjwec9E8Dv9Zp60S\nOW18OJ9IwodSN0OgY0LsISIQwnDGI3523Lqcba50cnE0cRyI6dg1ER9GKxCS\nS5P7CozQ5UlGieUOFAQ+N1V9ExyPG233WFkezZwDCtvO6NEmmCZU9WVPwedp\nGncIMFUFXf3erLcU9or2hm1SBCOZ9Zdl8RZAmj4CfDu36Dy39ld0v0Uly9FP\nwXcd10DNo2qDA8MlxTNmTnjQmaK33yh46ZncI10vSsilG9F7nByS993HmunB\nLoxn\r\n=dHki\r\n-----END PGP SIGNATURE-----\r\n"},"main":"telegraf.js","types":"./typings/index.d.ts","engines":{"node":">=6.2.0"},"gitHead":"831547ec59ba758221339527d9514d80db7d0b5e","scripts":{"lint":"eslint .","test":"ava test","precommit":"npm run lint && npm run typecheck && npm test","typecheck":"tsc"},"_npmUser":{"name":"dotcypress","email":"dotcypress@gmail.com"},"repository":{"url":"git+ssh://git@github.com/telegraf/telegraf.git","type":"git"},"_npmVersion":"6.4.1","description":"📡 Modern Telegram Bot Framework","directories":{},"_nodeVersion":"8.11.2","dependencies":{"debug":"^4.0.1","node-fetch":"^2.2.0","@types/node":"^10.1.2","sandwich-stream":"^2.0.1","telegram-typings":"^3.6.0"},"_hasShrinkwrap":false,"devDependencies":{"ava":"^1.0.1","husky":"^1.1.1","eslint":"^5.2.0","typescript":"^3.0.1","eslint-plugin-ava":"^5.0.0","eslint-plugin-node":"^8.0.0","eslint-plugin-import":"^2.2.0","eslint-plugin-promise":"^4.0.0","eslint-config-standard":"^12.0.0","eslint-plugin-standard":"^4.0.0"},"_npmOperationalInternal":{"tmp":"tmp/telegraf_3.27.0_1548880726292_0.1261743939080584","host":"s3://npm-registry-packages"}},"3.27.1":{"name":"telegraf","version":"3.27.1","keywords":["telegraf","telegram","telegram bot api","bot","botapi","bot framework"],"author":{"name":"Vitaly Domnikov","email":"oss@vitaly.codes"},"license":"MIT","_id":"telegraf@3.27.1","maintainers":[{"name":"dotcypress","email":"dotcypress@gmail.com"}],"homepage":"https://github.com/telegraf/telegraf#readme","bugs":{"url":"https://github.com/telegraf/telegraf/issues"},"dist":{"shasum":"67fbd87a6b4f414a204820f8cb30160e2078b39c","tarball":"https://registry.npmjs.org/telegraf/-/telegraf-3.27.1.tgz","fileCount":23,"integrity":"sha512-RQUnuNAEEWcLhRap81qwGUUqAy1KcvqANnA0G3pzZqFkhMe6LrTk5lVi9tdOaF0Ud/yOx5fdx0rNPYfiB27Z+w==","signatures":[{"sig":"MEUCIC7zkqYdAv5L3d2xxQLsPTzlWVOuVWvQKpqVf/t1OUFRAiEA290LSLN0xGfY2lZX4K0g690+MQIh9BlivPMnfgiaAd8=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":136325,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcWl2WCRA9TVsSAnZWagAAqU0P/1X+VF160O3K25/hisRy\n/P6h//PtDca7VItztTb/amCEYbBqeNzUBezaP8VpJkOslKun1K8ZXTwLc9nA\n1So0lNaGvK/GPfZhIKbOC+vJLtrzCPTQIbR/yRhbZ4X6/vJI84Q8yXfsz1hC\nqqT4/25GQWOKCEmMBSzJ8Zq5fy803fyyURt0IDWEccSMMGQgEV4fhD1DkQTv\nOjswuaGOJBdHR472fTONFQmbsn7VXdZ5tVyVZLiyxL+cYyJK4vi0rlXsnn8y\nJx67rAWY+Eqr/nVMYvX/LBuv5alIkMFFaO5XBEWpGNXehoPVI+6lWDOZfdRk\ndk7psYF8hURSmhjzdhzSUHwF2hvwew3R7ZzdBbtfBH+/LPPXk9PdYNaz4JrJ\nqdLg/0+GqmWrr7GCPuUkNm55asOZSqe5KPIjQF4N/r07YvlJWh/d3XhPWUEW\nNXG2odOmNkl2k59fTjHFUU2CKbnJEuVymHt8uTRLP+RoVq3H/YZ2yuVwGMD8\n26G0o0ssWn+8J9NXN/pkf1tklsHSU7r9dxRWpIB8hvAAG64YenKepPFVXgFM\nhcPWuXPp3vtTshHajvYIKpVrNLzo6wTxc08wxt9ofeMl8tVJiHSp4WoNmicV\nNlpdPNfBMKPUlVt4y/xzA0CiRSDeqCD9jMBSJHxmz9j9yUMB+mDPGKigamZ3\nz9Lr\r\n=fuYU\r\n-----END PGP SIGNATURE-----\r\n"},"main":"telegraf.js","types":"./typings/index.d.ts","engines":{"node":">=6.2.0"},"gitHead":"3bc7e7c5b88d6fc61c3a21a52965f5982d952867","scripts":{"lint":"eslint .","test":"ava test","precommit":"npm run lint && npm run typecheck && npm test","typecheck":"tsc"},"_npmUser":{"name":"dotcypress","email":"dotcypress@gmail.com"},"repository":{"url":"git+ssh://git@github.com/telegraf/telegraf.git","type":"git"},"_npmVersion":"6.4.1","description":"📡 Modern Telegram Bot Framework","directories":{},"_nodeVersion":"8.11.2","dependencies":{"debug":"^4.0.1","node-fetch":"^2.2.0","@types/node":"^10.1.2","sandwich-stream":"^2.0.1","telegram-typings":"^3.6.0"},"_hasShrinkwrap":false,"devDependencies":{"ava":"^1.0.1","husky":"^1.1.1","eslint":"^5.2.0","typescript":"^3.0.1","eslint-plugin-ava":"^5.0.0","eslint-plugin-node":"^8.0.0","eslint-plugin-import":"^2.2.0","eslint-plugin-promise":"^4.0.0","eslint-config-standard":"^12.0.0","eslint-plugin-standard":"^4.0.0"},"_npmOperationalInternal":{"tmp":"tmp/telegraf_3.27.1_1549426069735_0.8567615241282396","host":"s3://npm-registry-packages"}},"3.28.0":{"name":"telegraf","version":"3.28.0","keywords":["telegraf","telegram","telegram bot api","bot","botapi","bot framework"],"author":{"name":"Vitaly Domnikov","email":"oss@vitaly.codes"},"license":"MIT","_id":"telegraf@3.28.0","maintainers":[{"name":"dotcypress","email":"dotcypress@gmail.com"}],"homepage":"https://github.com/telegraf/telegraf#readme","bugs":{"url":"https://github.com/telegraf/telegraf/issues"},"dist":{"shasum":"0cbc6042c4a2486ec4fac0095972484cead8917c","tarball":"https://registry.npmjs.org/telegraf/-/telegraf-3.28.0.tgz","fileCount":23,"integrity":"sha512-gIyP7ftpbzD8N26wlX305ojKBEIOI0DhJ7AJKnq0LKq6M4yc4kI8Avdd4o2Vzjo9LcCv5PiO6hcsTBdFRTPSvw==","signatures":[{"sig":"MEYCIQCNVHi8fO+jvJehCn6mg09c8xDfGj1mhP1t4VSlZvUVqQIhAKDyCG6XwbC1rdbLE9jLAhWm5U+mwwevlD0OJZJb4PU/","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":136514,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcnyYhCRA9TVsSAnZWagAAStIP/i2irH8kbKzoaN7iNQzz\neuzBFdJRq/ikSbxnORu6QcigdiVuAbREcsbPj/Bnbc5eMef95WgBzY+bhhS+\nLMAeFTPjN8L9vvD01P5D6nqbPKiZ2R/6jaOFn2rxm0WxiwJ9+OX/e/SD6y51\nOpDV/BWZPX0ilmHzpr8hP7dXpmo7ReGBE695xqMFXRanF0OnyZOPJn6L81uF\nZQV2ycHrin178p0PtBLU/3KfyHmjXGSmMJvJu3xZJZSBnXNGaAEs/2/vupzl\n8aOfsCWhEpp/fKmu84rfiRqDkhGXLU4PJvVXhugWMp2xoaqeFpQTzQnN9qn+\nxASuJRSZ3vbgqS1egpFtdOG/T+1WjiRU8gH+q7uczAfjpXsPJL6OvUZTVfhW\ntfv+/bHCaSqhvZWAUwUvJ705RWppEGNh7C7r0o712Kq+t0H1Q9T5jO7uuaPU\n9kSsO40DHGyKxBDVh2lBBkb949cmefViP+FYKIBw0w3zPMqpdClAx+MGS4LD\n3YGbuo2vScIk8s/XTCqT3vNo+mjrQlyFWGAHZ/9FEQf+yFvDZnQcosJz44nT\nVpwf5hCNhGiHGxk2JjZeKvBSZofPOtz4BQAPekuyFYxEDItm1EoZGW8Ru3fg\nPQHXfq8vRIRvQ32B3Qmed+RVf6ebJgQ3v+EDDffgHhrjXchW3VyGg/f7UVH8\nL8Bz\r\n=5tZM\r\n-----END PGP SIGNATURE-----\r\n"},"main":"telegraf.js","types":"./typings/index.d.ts","engines":{"node":">=6.2.0"},"gitHead":"fb95ae5a0144e23241ae3d5b02b38f684a9e4217","scripts":{"lint":"eslint .","test":"ava test","precommit":"npm run lint && npm run typecheck && npm test","typecheck":"tsc"},"_npmUser":{"name":"dotcypress","email":"dotcypress@gmail.com"},"repository":{"url":"git+ssh://git@github.com/telegraf/telegraf.git","type":"git"},"_npmVersion":"6.4.1","description":"📡 Modern Telegram Bot Framework","directories":{},"_nodeVersion":"8.11.2","dependencies":{"debug":"^4.0.1","node-fetch":"^2.2.0","@types/node":"^11.12.1","sandwich-stream":"^2.0.1","telegram-typings":"^3.6.0"},"_hasShrinkwrap":false,"devDependencies":{"ava":"^1.0.1","husky":"^1.1.1","eslint":"^5.2.0","typescript":"^3.0.1","eslint-plugin-ava":"^6.0.0","eslint-plugin-node":"^8.0.0","eslint-plugin-import":"^2.2.0","eslint-plugin-promise":"^4.0.0","eslint-config-standard":"^12.0.0","eslint-plugin-standard":"^4.0.0"},"_npmOperationalInternal":{"tmp":"tmp/telegraf_3.28.0_1553933857082_0.09372408107167751","host":"s3://npm-registry-packages"}},"3.29.0":{"name":"telegraf","version":"3.29.0","keywords":["telegraf","telegram","telegram bot api","bot","botapi","bot framework"],"author":{"name":"Vitaly Domnikov","email":"oss@vitaly.codes"},"license":"MIT","_id":"telegraf@3.29.0","maintainers":[{"name":"dotcypress","email":"dotcypress@gmail.com"}],"homepage":"https://github.com/telegraf/telegraf#readme","bugs":{"url":"https://github.com/telegraf/telegraf/issues"},"dist":{"shasum":"0655d02b9a2d72d53ff20787947aa10ad54a747c","tarball":"https://registry.npmjs.org/telegraf/-/telegraf-3.29.0.tgz","fileCount":23,"integrity":"sha512-zvlY2Wnls7D/sJDTD21tORR9S1Exe6NThUCvYhdhCoKx7+OOZlplSd4yhSZbRI4bViuFdyhxCE+IuWS/ZmAElg==","signatures":[{"sig":"MEQCIGNIajZdeHEGsL8FwJK+nii2t2ehRkitbQY6MezjHjfSAiB9ngRlr1OyENNKOjZXT+BXC5PLU2I0FVebmCi04vgsag==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":137335,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcs3EOCRA9TVsSAnZWagAAVwEP/3fvhYVEbYOWQGIa2vWC\nTuTd488jMi//mXFpMz2huTGVC1qWbKOTqGW8rDPO5GYofT194d1CQQQmIXc3\n0dmmjLSCusQCj7XgOR41r8HpbeNT1UgiTol31/1uHvWmBFeZG0oVi9NFxVfw\nOaXTCK5FtqoibXq0j9BRkp0VkIjTGlGxDWieckUDNxYr1TaowtlC9rnON6mi\nLOIB8buJ+EtNCGzFcigzEhVdj3edjLfdHezfM2u48F/EIMlLVSF+Ie1LKQqU\ngyjjEySE+75QlbOBcv9mi3WcwNNP3VAc2TLAThMeDdZm4QXgvEiS+ZK0jqhw\nXDfutHZlfO2xUVA2sML3z1U6rnToDccgoOGSRlBQpqWRpZ5yVb74E2oTYbUQ\nB+U5PZjVbITjd9vD281qtM6fExNkMK9N2w7VeH68UAndkQn83zI75PGT/jdu\nYUuwrwt+t84kYK0rFlMtVM0b4Oq0000gCC75HYlOB1qOOQ3/xNceKvxEilFw\njr/gWTv3ZMszKoEjVgmubjiT0CyxL7i2Px5JTmVoRgf3gNBWiqtnLS3Snlqa\nl1neU36FpEqUUhZLX7faTBCaw0qaX2Cdefe68gsHV1etkovstetiHeA37ZtT\nf24CvpwWsqUB4l85dpCqULCPdxLB3fOg/wT92gFcmIbTpIlX7LSUW6tWxUhq\nrY1o\r\n=QfW9\r\n-----END PGP SIGNATURE-----\r\n"},"main":"telegraf.js","types":"./typings/index.d.ts","engines":{"node":">=6.2.0"},"gitHead":"ed1ef1b80809ca8b3f69676ae92e01f02ff9f0fd","scripts":{"lint":"eslint .","test":"ava test","precommit":"npm run lint && npm run typecheck && npm test","typecheck":"tsc"},"_npmUser":{"name":"dotcypress","email":"dotcypress@gmail.com"},"repository":{"url":"git+ssh://git@github.com/telegraf/telegraf.git","type":"git"},"_npmVersion":"6.9.0","description":"📡 Modern Telegram Bot Framework","directories":{},"_nodeVersion":"11.12.0","dependencies":{"debug":"^4.0.1","node-fetch":"^2.2.0","@types/node":"^11.12.1","sandwich-stream":"^2.0.1","telegram-typings":"^3.6.0"},"_hasShrinkwrap":false,"devDependencies":{"ava":"^1.0.1","husky":"^1.1.1","eslint":"^5.2.0","typescript":"^3.0.1","eslint-plugin-ava":"^6.0.0","eslint-plugin-node":"^8.0.0","eslint-plugin-import":"^2.2.0","eslint-plugin-promise":"^4.0.0","eslint-config-standard":"^12.0.0","eslint-plugin-standard":"^4.0.0"},"_npmOperationalInternal":{"tmp":"tmp/telegraf_3.29.0_1555263757655_0.2514718612269564","host":"s3://npm-registry-packages"}},"3.30.0":{"name":"telegraf","version":"3.30.0","keywords":["telegraf","telegram","telegram bot api","bot","botapi","bot framework"],"author":{"name":"Vitaly Domnikov","email":"oss@vitaly.codes"},"license":"MIT","_id":"telegraf@3.30.0","maintainers":[{"name":"dotcypress","email":"dotcypress@gmail.com"}],"homepage":"https://github.com/telegraf/telegraf#readme","bugs":{"url":"https://github.com/telegraf/telegraf/issues"},"dist":{"shasum":"32d8d89c197a8689ca8035aa333741fecd3e3d67","tarball":"https://registry.npmjs.org/telegraf/-/telegraf-3.30.0.tgz","fileCount":23,"integrity":"sha512-3FGOVyfdgdXKIEDQwPg05UBCk0B6q7YabiXuUcEJIwCLPT+CwZKFYcE7OexE6qYQ5i4IARZ+hv/Uu3C8fgtohA==","signatures":[{"sig":"MEYCIQDCxRBgAY56OIJ5R6JDzk6q88ZAGBQPzC07969lzq2AKQIhAP1nkUpch122Tcn+FJrqWLvhgOJP237gr3ZFCNlm/czn","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":137958,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJc8bOYCRA9TVsSAnZWagAAN9sP/jiTqlpoG8DEJkMy1NvU\nFfnZ2viZ9y/rUYSgIDPvZ3ftLBighPw/X8U3iGEwMvG+RKR41WmP/Rb23cRQ\n0MjX5R06x1lqaZAYDUH8FXZQ40H+BZLF9mjByV3xM7+GEUcMsVD46Mm3fWWX\nJZ9BBUmJV710YfCumf4YND/Zf7PBhSKIZO3jtVLqlXtzkEByVKN+gkLbSp7b\nwrCBZwfniqfdBJN/Y4qSaU2/MmGNllE/NovlwUzDb5/M+UH9e58ZgTBpm+d9\nvrwa5tJCutdzP4Iwo6X7reMvn77AeTijub90Js4EihsADIHZkhqydBYrLYXs\nyOLyxMliAmoss7BLnKzFzyUB98oUmXV2hFqMD3PtRkOQR5dwucT5bUQr2z+i\nglq1ekk2jC6oZQcjtZFVvWwrQYt6o2nr9H/+MINTvgMfI6XmMMtcPIFhV5mF\n+eP6vr3vlR4DeUvoGkdhRf9FlAGzJWR8WrWJkgyXsvAFS43jx13ADVnJYudc\nkMu/opEnFlSW3gm+ymDMyvZPkYVip+snf+iQbLHblcMilWQP0mqUD9va08wn\niEhTfVOKd0sa8XdFNm7SSrPllzK3NF2v4uFNLUiKEAzMMrd9nuyde2kK0Flm\nc3hNH1YB9mcoHOg/ZdrVsFYuy67ukJAhdcB2VEZf51xiBHJJz0HK75erMTe6\nKl8f\r\n=YaCW\r\n-----END PGP SIGNATURE-----\r\n"},"main":"telegraf.js","types":"./typings/index.d.ts","engines":{"node":">=6.2.0"},"gitHead":"6a8e58a1e9de08bb557f0647df39e3032cda1b3f","scripts":{"lint":"eslint .","test":"ava test","precommit":"npm run lint && npm run typecheck && npm test","typecheck":"tsc"},"_npmUser":{"name":"dotcypress","email":"dotcypress@gmail.com"},"repository":{"url":"git+ssh://git@github.com/telegraf/telegraf.git","type":"git"},"_npmVersion":"6.9.0","description":"📡 Modern Telegram Bot Framework","directories":{},"_nodeVersion":"11.12.0","dependencies":{"debug":"^4.0.1","node-fetch":"^2.2.0","@types/node":"^12.0.4","sandwich-stream":"^2.0.1","telegram-typings":"^3.6.0"},"_hasShrinkwrap":false,"devDependencies":{"ava":"^1.0.1","husky":"^2.3.0","eslint":"^5.2.0","typescript":"^3.0.1","eslint-plugin-ava":"^6.0.0","eslint-plugin-node":"^9.1.0","eslint-plugin-import":"^2.2.0","eslint-plugin-promise":"^4.0.0","eslint-config-standard":"^12.0.0","eslint-plugin-standard":"^4.0.0"},"_npmOperationalInternal":{"tmp":"tmp/telegraf_3.30.0_1559344023228_0.4720836180161878","host":"s3://npm-registry-packages"}},"3.30.1":{"name":"telegraf","version":"3.30.1","keywords":["telegraf","telegram","telegram bot api","bot","botapi","bot framework"],"author":{"name":"Vitaly Domnikov","email":"oss@vitaly.codes"},"license":"MIT","_id":"telegraf@3.30.1","maintainers":[{"name":"dotcypress","email":"dotcypress@gmail.com"}],"homepage":"https://github.com/telegraf/telegraf#readme","bugs":{"url":"https://github.com/telegraf/telegraf/issues"},"dist":{"shasum":"981e5cfe0a8dba1e0bfd0fffeff97929f33cbe01","tarball":"https://registry.npmjs.org/telegraf/-/telegraf-3.30.1.tgz","fileCount":23,"integrity":"sha512-XN/3l6ebTvsL6jMzKqkP4Nq26qw76lEd3jlM8vL40yPoA4nlCAoweTVsislS9e0i7bcqTLgr8tj+3zX6vRZAZw==","signatures":[{"sig":"MEUCIQDIe5AG2dMrnK0YBaw+ZKt8xudOFrphzYK58mgisG24EgIgNOPD9RcwsV34ejnR6nYPKIKrQzGM8e8EMaPcQgKe1Ls=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":137952,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJc8bYYCRA9TVsSAnZWagAAULUP/19kIsTPeQ9hq6Ht74+J\n/tHoSYS2px+40UVjy9XX3Ur/Pe9sGhT9RmeGM6yNsGW0QxuLXRqlRfUdkJ6C\n8dYEmjafAIMzX09NJCI0uznQhYLXEH8IoZjY2WDBEV33RsKLKWL5sdsy11Ry\nvjdRicz227X0nBgp041xKNJz16b12Z9Fh1IaKLfQKEGfp6SsdfU/h04f/6lo\nB+dYTYbCqZbNcfVkrg35ByK4PyXKTi/I/WfN7O/NQo/+JxcIGOCbkVcmEZ5H\nzfyH+W/CUQame37cgYwCir+RsZoNtBzaJU4gcdb1AsQBu0tvMWNNGpRFEIia\nboc9C8WOl+H45AWwsHdGxOm452vtbkofm8Z7eDmAOrzg60BN8GbWgyO8zsOM\n9ZxqpqxqxCtr/9pUjk2Mz/0v3J52Wc5IoUSp0o8Ehr3660WorV5hfgxrLv4O\nOBkBMrI1tepj8VN7ZE8vasP+9pvmP3I9MiryzU9ftIWEQxNtBswU3iCWrzgO\ngur/UKQ1LMF+Tm3A4fG19ESw1bP0PtCJ78TlYRUBOiucTKJC1FQONU8UwS0o\nDw8wQXOkdlhT5UhpKFJMiUXzzBHUf7zfaTG/DKF3NrW9D6APTKFT1Q3mqS7G\nd8oBtbnTVvJCog3cs1R9/z4+B8G0XGIIKqkOz+Je3ixu+ta/yA1pfzUzSXbg\nMwuM\r\n=5CkR\r\n-----END PGP SIGNATURE-----\r\n"},"main":"telegraf.js","types":"./typings/index.d.ts","engines":{"node":">=6.2.0"},"gitHead":"c3c40912b57432a30a62d88f9b06f7d3a836e44c","scripts":{"lint":"eslint .","test":"ava test","precommit":"npm run lint && npm run typecheck && npm test","typecheck":"tsc"},"_npmUser":{"name":"dotcypress","email":"dotcypress@gmail.com"},"repository":{"url":"git+ssh://git@github.com/telegraf/telegraf.git","type":"git"},"_npmVersion":"6.9.0","description":"📡 Modern Telegram Bot Framework","directories":{},"_nodeVersion":"11.12.0","dependencies":{"debug":"^4.0.1","node-fetch":"^2.2.0","@types/node":"^12.0.4","sandwich-stream":"^2.0.1","telegram-typings":"^3.6.0"},"_hasShrinkwrap":false,"devDependencies":{"ava":"^1.0.1","husky":"^2.3.0","eslint":"^5.2.0","typescript":"^3.0.1","eslint-plugin-ava":"^6.0.0","eslint-plugin-node":"^9.1.0","eslint-plugin-import":"^2.2.0","eslint-plugin-promise":"^4.0.0","eslint-config-standard":"^12.0.0","eslint-plugin-standard":"^4.0.0"},"_npmOperationalInternal":{"tmp":"tmp/telegraf_3.30.1_1559344664103_0.4757146101804166","host":"s3://npm-registry-packages"}},"3.32.0":{"name":"telegraf","version":"3.32.0","keywords":["telegraf","telegram","telegram bot api","bot","botapi","bot framework"],"author":{"name":"Vitaly Domnikov","email":"oss@vitaly.codes"},"license":"MIT","_id":"telegraf@3.32.0","maintainers":[{"name":"dotcypress","email":"dotcypress@gmail.com"}],"homepage":"https://github.com/telegraf/telegraf#readme","bugs":{"url":"https://github.com/telegraf/telegraf/issues"},"dist":{"shasum":"70ec304b9c8645f8988924ebe90e5c00ee46ddbb","tarball":"https://registry.npmjs.org/telegraf/-/telegraf-3.32.0.tgz","fileCount":23,"integrity":"sha512-5ZHiovyuG1rVLygJjaqf57wDt8e1nijAinKXCxN1tyUZ4BcrkZW/z5rVTEXA+KegpFbWxKKv3KnJwUJrKDqD0Q==","signatures":[{"sig":"MEYCIQC+zpo8HU3fauZOJD7cWlva9chDh+Aq4oFzKvHxR8ANaQIhAOjqitP0yteiG5laSNoeQ4+hyuEZHp32TCtj8Ysw78qE","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":141828,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdP3hGCRA9TVsSAnZWagAAAgkP/0KcJ6yEs3EPdnOku6ZI\nxbAXzG58d/FpZtyoxru2rqCz3W/KxwTTc37DZVt3dbWOAdoTgJJWCdZzI8ep\n20Qm+dS5mtcXdQTT+jMn8Cc3eeANxg03xL1UCG5Btt7vrYccRSFVfG5BLdTQ\n0LXKIsaQfevMXvR+gjWoKlEsakMCUfChdo1I4zo+9Iz4qZB0qbeQmPNklRt1\neKhZO8K9U63JKswKwsJkmVe9H89ZR0wRuSm9DNJZpVbQvTXxjJPPxQap5kB/\npBHHRPC45nHjaXzqJeDDpNkb7cfkzvuqOD/gW5LsXjOpA22MTmjIczKB0Z7q\nuvE4h2oewiYdnnOZBZTYCnCslh0gYz8RDfXorWtWImZ3KFY3mb0Km9rSqvBS\n6+1IjdT6F1kp8zjL1n+OntWd/d4cHjjt0E5eEl7ab/e4sUUryDfI5eXC8doS\nx+2+Koaz8SH8pN7dSz4wLQ/Dp/0oxCjLBRG9xLsFwOmwuocrB020gWVbWHEa\nnf1GbFo1Pq+Cdrnspr26p3oaJWgK40nJQwws6eoCBuM4F0E66TL9Ivg54D3K\nh5vGb6rroKt7j/xwE01bPj1uKRU0q0MFBW6WvMMy+4b0Js6O2OJYn0ZLdPm0\nRPDAWrrdO25h0bpjtoORg+1hozerytvOW4U7hIhKg+Ktr2Ezdf87FmSZaPMf\nnvE3\r\n=KRqF\r\n-----END PGP SIGNATURE-----\r\n"},"main":"telegraf.js","types":"./typings/index.d.ts","engines":{"node":">=8"},"gitHead":"f199ab1c93008a86878c56cb837a78a1c980b57c","scripts":{"lint":"eslint .","test":"ava test/*","precommit":"npm run lint && npm run typecheck && npm test","typecheck":"tsc"},"_npmUser":{"name":"dotcypress","email":"dotcypress@gmail.com"},"repository":{"url":"git+ssh://git@github.com/telegraf/telegraf.git","type":"git"},"_npmVersion":"6.9.0","description":"📡 Modern Telegram Bot Framework","directories":{},"_nodeVersion":"12.6.0","dependencies":{"debug":"^4.0.1","node-fetch":"^2.2.0","@types/node":"^12.0.4","sandwich-stream":"^2.0.1","telegram-typings":"^3.6.0"},"_hasShrinkwrap":false,"devDependencies":{"ava":"^2.2.0","husky":"^3.0.2","eslint":"^6.1.0","typescript":"^3.0.1","eslint-plugin-ava":"^7.1.0","eslint-plugin-node":"^9.1.0","eslint-plugin-import":"^2.2.0","eslint-plugin-promise":"^4.0.0","eslint-config-standard":"^13.0.1","eslint-plugin-standard":"^4.0.0"},"_npmOperationalInternal":{"tmp":"tmp/telegraf_3.32.0_1564440646224_0.8642150482842195","host":"s3://npm-registry-packages"}},"3.33.0":{"name":"telegraf","version":"3.33.0","keywords":["telegraf","telegram","telegram bot api","bot","botapi","bot framework"],"author":{"name":"Vitaly Domnikov","email":"oss@vitaly.codes"},"license":"MIT","_id":"telegraf@3.33.0","maintainers":[{"name":"dotcypress","email":"dotcypress@gmail.com"}],"homepage":"https://github.com/telegraf/telegraf#readme","bugs":{"url":"https://github.com/telegraf/telegraf/issues"},"dist":{"shasum":"fe6efc4321e6af1452a50be3d653e4ae601bcdd7","tarball":"https://registry.npmjs.org/telegraf/-/telegraf-3.33.0.tgz","fileCount":23,"integrity":"sha512-5N47JPHVfypNW8U8xCE1hg59itFfohvRvMVceigYbj+A7pb9o9aZzjYA5MjNeTXuADubFVl/ZdWFMfNf/uN7TQ==","signatures":[{"sig":"MEUCICpcpmEJ5Mm3zONEGo884KyFQZY3ud1RygfFCJBWp07jAiEAk35+MLZSHaNJTMCApwuIUZo5uuGmB5wu1o6E36XrFSc=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":153061,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdp1TjCRA9TVsSAnZWagAA92AP/2ryva5zECq4lUK9zWlD\n0dRbdnLYrp+F6MOxnqshgrsYzo1gt/xVwIfa6nq1OD9zNrhax5VjxkRlyWBk\nuhokCM7vTLz+hsNSHR3wrUHwxOjkkvsfTeBqukLRXa6CDlj1nGpzYFIUYier\n7sTwHgw2ObpoKdm9jlMR5Vc1vMbcrPJhjFyti/UcAGm3N1ldxtMALNiWehY0\nPYKAtY3o5bRTcpfzk6H4nh8BEKyZEdGvA052NmHnrkeWTouh6kp/GGLyDSRN\nQaOkmnRkFPvFvA+p+JgvdRupwMB8S49uBPwd1EVVhliU+MIlW6gwy8YiGmUL\nONX6/e3Fb2jwLB4Ktxej8Bm40a7cReV+7dyW1WXub+JB2WJ2wcqyVQG9JJvW\n+WZlvrqq3smvB+4XlhLIx7p1UQBYTRvs1l0nNiVoJGBPS8aneVWehRbrTAW2\nvS+qUgg20ax8L9ZlhSOEDifok0rvAkp2ebIB1/P/peFYYOsI5wMtL8FYSI+T\ngmSvhduB1YjG+bDXsRcsYp2fNzbpDzqLDAXJAx/MBnOQ4WwZqOkNSoyFgU0C\nRHBttL/euRcwgElNRRbgaIQrUjsOcvkkIjR+Bn3mCQwRDe7t77X8LoPQQVVK\nrlYc3AEzP7jCPhitLhnHk93hKDRd1wkpXTNYclJiKGFsp095Ui2an1OjvZy7\nlmyV\r\n=I9t5\r\n-----END PGP SIGNATURE-----\r\n"},"main":"telegraf.js","types":"./typings/index.d.ts","engines":{"node":">=8"},"gitHead":"b563eb0e3a565af3da886d1d3d31d87f291dca87","scripts":{"lint":"eslint .","test":"ava test/*","precommit":"npm run lint && npm run typecheck && npm test","typecheck":"tsc"},"_npmUser":{"name":"dotcypress","email":"dotcypress@gmail.com"},"repository":{"url":"git+ssh://git@github.com/telegraf/telegraf.git","type":"git"},"_npmVersion":"6.10.2","description":"Modern Telegram Bot Framework","directories":{},"_nodeVersion":"12.9.1","dependencies":{"debug":"^4.0.1","node-fetch":"^2.2.0","@types/node":"^12.0.4","sandwich-stream":"^2.0.1","telegram-typings":"^3.6.0"},"_hasShrinkwrap":false,"devDependencies":{"ava":"^2.2.0","husky":"^3.0.2","eslint":"^6.2.2","typescript":"^3.0.1","eslint-plugin-ava":"^9.0.0","eslint-plugin-node":"^10.0.0","eslint-plugin-import":"^2.2.0","eslint-plugin-promise":"^4.0.0","eslint-config-standard":"^14.1.0","eslint-plugin-standard":"^4.0.0"},"_npmOperationalInternal":{"tmp":"tmp/telegraf_3.33.0_1571247330851_0.6077505844054361","host":"s3://npm-registry-packages"}},"3.33.1":{"name":"telegraf","version":"3.33.1","keywords":["telegraf","telegram","telegram bot api","bot","botapi","bot framework"],"author":{"name":"Vitaly Domnikov","email":"oss@vitaly.codes"},"license":"MIT","_id":"telegraf@3.33.1","maintainers":[{"name":"dotcypress","email":"dotcypress@gmail.com"}],"homepage":"https://github.com/telegraf/telegraf#readme","bugs":{"url":"https://github.com/telegraf/telegraf/issues"},"dist":{"shasum":"e94fca7278ba3821e7ff17e6c66a3a1b3bb0af27","tarball":"https://registry.npmjs.org/telegraf/-/telegraf-3.33.1.tgz","fileCount":23,"integrity":"sha512-lO/RruOP8c3iidYxVyengBp5MphwnFL+puZtDixThNI4rdAi4BBbido94HfMaWzP+fzP8hV8Qkz+Hd0QyMZgyg==","signatures":[{"sig":"MEUCIQCwBWIborGZJIflrEkrIw7M5/hTV0MFEJMB0/xaUa47igIgRbJGkNtBFm+qlC7vyFb4uh2ZHI3FhjkREtjKaxY0Zbg=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":153318,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJduNXsCRA9TVsSAnZWagAAoHkP/2lSuAqDYVHrZs6rhqfL\nZDCTycutnRuILDsbitnes5Oi3p3nIhyfxuKwaZVSm//s5NvYGb6ZTSdoKRxl\nM8EX5unfqN0v/kwNWl/LjrcCknWwvhWGmPScrYOcLLSsL++9YWXMwMy2snFY\nrTVEEH+0FVjtnTgwRPjZCAOihLBn9lR1x2+1z6/mHSYilCWCeD2q5oliWaEy\nptCRKYx8fa+LS1VFK0WOvPyPIPYy2DJY21LfrGMZPf394HFeaY+hQkA4kphH\nOzHQkPt8RIOmZUKC2OcnbhpWqJmLs7zCSXqeT4iTWSjX1RxIMDQv2ylcuhkJ\n5Plp9+MLJq8Daochu/qWXSfecO+iE4E9bglsW5dHP5tLYdWchgX1Zfcn8/Yu\n5GI9ebzsvbymew7HC2atEHVeCb6RsnUzjFR5+Frky98O37ov/WAh3Q6P++tH\nKlpLygdeYOCXfyrntH+39+Ahankn8EkHuEvKUANfuwbBpiKHgMhWq0tW2tS9\ngOjRFSbv+epAqqyJQsf2Lqi0s6R58Rb7FtM6Or9cUrRuxSZ+XIsi7bxMCadC\n/kIs+ACkC3SoQ8ZB121A3A0WVYDKINSWQndbeB08k8IDgcD9CYExG02pgFvO\nK9ak2NdohzrdJLgXbga7eQxeq7ugMojG/1FYuxhhrwtoBp1A7BIOuRcyi7lQ\nTH1W\r\n=XA0f\r\n-----END PGP SIGNATURE-----\r\n"},"main":"telegraf.js","types":"./typings/index.d.ts","engines":{"node":">=8"},"gitHead":"ad61cc59c9df1aa661493814340f06fdb2321627","scripts":{"lint":"eslint .","test":"ava test/*","precommit":"npm run lint && npm run typecheck && npm test","typecheck":"tsc"},"_npmUser":{"name":"dotcypress","email":"dotcypress@gmail.com"},"repository":{"url":"git+ssh://git@github.com/telegraf/telegraf.git","type":"git"},"_npmVersion":"6.10.2","description":"Modern Telegram Bot Framework","directories":{},"_nodeVersion":"12.9.1","dependencies":{"debug":"^4.0.1","node-fetch":"^2.2.0","@types/node":"^12.0.4","sandwich-stream":"^2.0.1","telegram-typings":"^3.6.0"},"_hasShrinkwrap":false,"devDependencies":{"ava":"^2.2.0","husky":"^3.0.2","eslint":"^6.2.2","typescript":"^3.0.1","eslint-plugin-ava":"^9.0.0","eslint-plugin-node":"^10.0.0","eslint-plugin-import":"^2.2.0","eslint-plugin-promise":"^4.0.0","eslint-config-standard":"^14.1.0","eslint-plugin-standard":"^4.0.0"},"_npmOperationalInternal":{"tmp":"tmp/telegraf_3.33.1_1572394476124_0.07478561900228242","host":"s3://npm-registry-packages"}},"3.33.2":{"name":"telegraf","version":"3.33.2","keywords":["telegraf","telegram","telegram bot api","bot","botapi","bot framework"],"author":{"name":"Vitaly Domnikov","email":"oss@vitaly.codes"},"license":"MIT","_id":"telegraf@3.33.2","maintainers":[{"name":"dotcypress","email":"dotcypress@gmail.com"}],"homepage":"https://github.com/telegraf/telegraf#readme","bugs":{"url":"https://github.com/telegraf/telegraf/issues"},"dist":{"shasum":"51f24ec2b669cfa2e5c41094122d3e80d0978695","tarball":"https://registry.npmjs.org/telegraf/-/telegraf-3.33.2.tgz","fileCount":23,"integrity":"sha512-kXUwn5LC0vYe6GoVWBbxSbtqFXblnroUMay7bwp0F2pK6LrqzGXDuogI9I51BlZzzwtB/RQyHA92KDHtzd5fvQ==","signatures":[{"sig":"MEUCIQDu/qYjBRRJ2xnRheV8+J4bNULo6CT20EO/Sr4vNHbfbQIgDuI/pWlKP6riSCVCWsIGn21cAuauMWkeqBxSroG1yt4=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":153865,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJduORjCRA9TVsSAnZWagAA5dQP/iy3pfITZOfQDDf0Kuss\nkyeJyyStD06p9USR7Zzmk8Qnsus9uRjnYbZpzvKXiovDQ626pipAwIg9ZQMz\nfhZWxYNCWYLPFzhKS48Q7emoJS7KIcHm0cr5kyG9aUnXytpZ9vbq7eJ2dRKe\nQGjc7Wu0qOisbSBxaRCyDvL+U3xyRJd0o4IQGDDSfHcewlgRLmhvDPJWWkjd\niVfUFs3K65W3FF8oFDDheGBnI41/AhvaHvsff+H79TKHa5ayHdI1DPJ2U8M3\nB4OwcaT52OAA8ZQ3JK99ADC8+k1y86iWKnbcfZ4+GP2vWS/UvmM1W6z42mCe\nl1TGNqMBEF05zgaoFPrXSEH6ZjfUG4nmXQb750wXUhv8ODfNrW6I18EBY+Lb\nT0ftPyOS9krTF2mBxJu0nisRobunvgtHDiKDkeFvuzVozotzH1bMlkpU4+rg\n92Z1XCOwRoa4iqX7SNpRvtnjFgPV2SZpIhd3AvzRHEVToJ9/Sv9XJZxV9WBm\nyeR72x904/QNGJxXQxWZXiJD4Wnv2EfotT+592MgFSAV8v92kYuTK9rDnugj\n7Z7FCkJlDbi2mMdeLOk43CXYddtLsukNTdVQFU5flNXD1Gniw7U0sniuLhyH\njowSB8iX/t7aWJJqc1nqyNXw8h0l7z4/6jCngrGipeoUE7qCzcMT+bgeWVvw\nBc3b\r\n=k+XT\r\n-----END PGP SIGNATURE-----\r\n"},"main":"telegraf.js","types":"./typings/index.d.ts","engines":{"node":">=8"},"gitHead":"37d0edcf7bed925665ccef5c329e4608842a5649","scripts":{"lint":"eslint .","test":"ava test/*","precommit":"npm run lint && npm run typecheck && npm test","typecheck":"tsc"},"_npmUser":{"name":"dotcypress","email":"dotcypress@gmail.com"},"repository":{"url":"git+ssh://git@github.com/telegraf/telegraf.git","type":"git"},"_npmVersion":"6.10.2","description":"Modern Telegram Bot Framework","directories":{},"_nodeVersion":"12.9.1","dependencies":{"debug":"^4.0.1","node-fetch":"^2.2.0","@types/node":"^12.0.4","sandwich-stream":"^2.0.1","telegram-typings":"^3.6.0"},"_hasShrinkwrap":false,"devDependencies":{"ava":"^2.2.0","husky":"^3.0.2","eslint":"^6.2.2","typescript":"^3.0.1","eslint-plugin-ava":"^9.0.0","eslint-plugin-node":"^10.0.0","eslint-plugin-import":"^2.2.0","eslint-plugin-promise":"^4.0.0","eslint-config-standard":"^14.1.0","eslint-plugin-standard":"^4.0.0"},"_npmOperationalInternal":{"tmp":"tmp/telegraf_3.33.2_1572398178993_0.396255634894499","host":"s3://npm-registry-packages"}},"3.33.3":{"name":"telegraf","version":"3.33.3","keywords":["telegraf","telegram","telegram bot api","bot","botapi","bot framework"],"author":{"name":"Vitaly Domnikov","email":"oss@vitaly.codes"},"license":"MIT","_id":"telegraf@3.33.3","maintainers":[{"name":"dotcypress","email":"dotcypress@gmail.com"}],"homepage":"https://github.com/telegraf/telegraf#readme","bugs":{"url":"https://github.com/telegraf/telegraf/issues"},"dist":{"shasum":"f7a573088f0cc9594e126b21efb0ec4a4c3499f4","tarball":"https://registry.npmjs.org/telegraf/-/telegraf-3.33.3.tgz","fileCount":23,"integrity":"sha512-ItSAeE9OjFH+X0rS8DeErccoUZRy2hBl+mDjFWDqyZWyRElxA5L178UpJV7tM6hCVN/leFY+9orfra2JtX4AyQ==","signatures":[{"sig":"MEUCIFPWYO85IlZoUqHal5SllAqOB/U8vKdvqQ0q00rAy5+LAiEAqgGT5Q6ThNPzsZtd1mMJHY6jWVRdVukEgy85DJ0WNzY=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":154002,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdueInCRA9TVsSAnZWagAAkxAP/2mCaCKVe9sdzaT1pTo0\nZ4CCUTMJ7t9w7g8HV+G/4q0PTQ6Pccgm/uJbAh4Bi9SIpJSjOPPHjrn/dehO\nKGILuXW4E0qhfB54+/jEvyz61qAo4RHKiAdz+G18H2wK4LSPMq9bmkeZ95gj\nCuhBaWkmn4n7YsqJ0ySXvBWcJp85VY61kn+Tm7maI9mTZZoYoyB8tysbQqa1\nAilT71f3TSnOr5GcCLMKPJqrz/9OUlfwwKG1mN4YrZRCCUtkGQKnI2ARe8Cj\nO+kX5dflICe6w0NwcxMX756EEnGebME7IcqjZ7Cvv/9x96q054sv0qFPfxdG\nlcTPzb34N59D75ptoSZW+9Q09WX8OasNNmJ5Tz18fQNHKFHCG20l4Sz9tWM4\n458y02iP3rYQ8hQ85ywhoj362T4E7jqtsBUQ02ftvSc6tQ9lfH2Bc2clmE88\n31gzoOspjoXDApQPkjhEaSVYIFgepsrKHgnmql/BqqYXgfaanCeL+wMH7Hc2\nXs8l5XULkollM5zwXIo3+hF93OrEXZJYAlLq7ZEigZdMGqgjENMqiGM+KZC8\nAooTNCh4BrSs5Su/d2Q7ADfr+saq3+V65xW8MTs05Fl9EktZGr1HjoaNript\nzyn/cMbiIBMiEDt3gvwTJHv4XfRjtE69rnqskabMSDo3zzM6FjGOZ1hbV6jE\nZkHV\r\n=JKWT\r\n-----END PGP SIGNATURE-----\r\n"},"main":"telegraf.js","types":"./typings/index.d.ts","engines":{"node":">=8"},"gitHead":"4df2539c13bc48c1c031375536b33e245cb79dcd","scripts":{"lint":"eslint .","test":"ava test/*","precommit":"npm run lint && npm run typecheck && npm test","typecheck":"tsc"},"_npmUser":{"name":"dotcypress","email":"dotcypress@gmail.com"},"repository":{"url":"git+ssh://git@github.com/telegraf/telegraf.git","type":"git"},"_npmVersion":"6.10.2","description":"Modern Telegram Bot Framework","directories":{},"_nodeVersion":"12.9.1","dependencies":{"debug":"^4.0.1","node-fetch":"^2.2.0","@types/node":"^12.0.4","sandwich-stream":"^2.0.1","telegram-typings":"^3.6.0"},"_hasShrinkwrap":false,"devDependencies":{"ava":"^2.2.0","husky":"^3.0.2","eslint":"^6.2.2","typescript":"^3.0.1","eslint-plugin-ava":"^9.0.0","eslint-plugin-node":"^10.0.0","eslint-plugin-import":"^2.2.0","eslint-plugin-promise":"^4.0.0","eslint-config-standard":"^14.1.0","eslint-plugin-standard":"^4.0.0"},"_npmOperationalInternal":{"tmp":"tmp/telegraf_3.33.3_1572463142923_0.4390401825724566","host":"s3://npm-registry-packages"}},"3.34.0-beta.0":{"name":"telegraf","version":"3.34.0-beta.0","keywords":["telegraf","telegram","telegram bot api","bot","botapi","bot framework"],"author":{"name":"Vitaly Domnikov","email":"oss@vitaly.codes"},"license":"MIT","_id":"telegraf@3.34.0-beta.0","maintainers":[{"name":"dotcypress","email":"dotcypress@gmail.com"}],"homepage":"https://github.com/telegraf/telegraf#readme","bugs":{"url":"https://github.com/telegraf/telegraf/issues"},"bin":{"telegraf":"./bin/telegraf"},"dist":{"shasum":"1954fc4c51ee19af2d8c494dbd00faf0d46aa421","tarball":"https://registry.npmjs.org/telegraf/-/telegraf-3.34.0-beta.0.tgz","fileCount":23,"integrity":"sha512-3VtxN6eL8l9o4xI3uwyFoGtEngZoBgqNfuG3L1MJWNpiD3y2tV06S8A9N3/Y83ca3ObtiIRyexuSU2rDxUpqfw==","signatures":[{"sig":"MEUCIASzAv1hssrRfYOA0zpFW+pSmtdl1IXbslsZpxe10y26AiEAqTHVLDlBs6xQmLU17r8bOQ6ETBsumKQBIDOwTxZNlak=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":154562,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJd4DQcCRA9TVsSAnZWagAAybAQAJ0v5nitoOpz5P/k9c+k\nxyvRRgRTtNNQ0TMLgFUh0TPWsSIfxl8JKdITX0JJ90jDS5VirsCuJHlVCzjz\nQIG2NWc19mv2qNCUkLxGwIWFJeNe7u9dwHL/swQJ3VDE5EFclDa23mOYXqF3\neupPwjGOuKmW0DatMwyg4xWy8n2Ur0ZhBPaShCz5VfzFyvXRolrPYJdgZEE5\n/f1REZnOrsKEPD86PVXVNvTwWtt2txqhk2lNJQMCUbz/ZBZ2GXgcDarqh8qT\nXE7K+HOjGgfLpcwUpRNpcWGtNPF8Xt8R07C0hIVTMW/RkfvBEIfiWW3IOpAY\nDBjkPpz7ADBWEAncSE90nKJjVIV3a7tnHE9Xf8B9HXkeFYDLAf8M+ctVdv6D\nPCQXLBD+rWwntOSADVvq+vejO8wCZsC8Ee/E4PPxwG2yLeVi1ta7CAkIux5F\nsYtoQAtrjQ+PSwuoJILrDak9Vf8c0khNyFRwij1vN5k5E00i4ptkDRhP+B2K\nYc6oDkA2czKdXbQaOBnAVZPMNMCGXnrmmKlnLlh+EnRPbOaIe45QFGHMNEXL\nbawTevWb1w/dPTAmlXql5qSzjQB2WbBMTa27TM/mMJUXMjspbPcpriVXNus0\nQHXaNRO2vixDR3Be/M71nsLSbIO4ZwsTk44oo/3nGUGiIjABYIMHVEBpx9Tm\niBxe\r\n=taoL\r\n-----END PGP SIGNATURE-----\r\n"},"main":"telegraf.js","types":"./typings/index.d.ts","engines":{"node":">=8"},"gitHead":"d8db13168f1596ddfe716389684c64fbb6dce113","scripts":{"lint":"eslint .","test":"ava test/*","precommit":"npm run lint && npm run typecheck && npm test","typecheck":"tsc"},"_npmUser":{"name":"dotcypress","email":"dotcypress@gmail.com"},"repository":{"url":"git+ssh://git@github.com/telegraf/telegraf.git","type":"git"},"_npmVersion":"6.7.0","description":"Modern Telegram Bot Framework","directories":{},"_nodeVersion":"11.12.0","dependencies":{"debug":"^4.0.1","minimist":"^1.2.0","node-fetch":"^2.2.0","@types/node":"^12.0.4","sandwich-stream":"^2.0.1","telegram-typings":"^3.6.0"},"_hasShrinkwrap":false,"devDependencies":{"ava":"^2.2.0","husky":"^3.0.2","eslint":"^6.2.2","typescript":"^3.0.1","eslint-plugin-ava":"^9.0.0","eslint-plugin-node":"^10.0.0","eslint-plugin-import":"^2.2.0","eslint-plugin-promise":"^4.0.0","eslint-config-standard":"^14.1.0","eslint-plugin-standard":"^4.0.0"},"_npmOperationalInternal":{"tmp":"tmp/telegraf_3.34.0-beta.0_1574974492402_0.28679230409527934","host":"s3://npm-registry-packages"}},"3.34.0-beta.1":{"name":"telegraf","version":"3.34.0-beta.1","keywords":["telegraf","telegram","telegram bot api","bot","botapi","bot framework"],"author":{"name":"Vitaly Domnikov","email":"oss@vitaly.codes"},"license":"MIT","_id":"telegraf@3.34.0-beta.1","maintainers":[{"name":"dotcypress","email":"dotcypress@gmail.com"}],"homepage":"https://github.com/telegraf/telegraf#readme","bugs":{"url":"https://github.com/telegraf/telegraf/issues"},"bin":{"telegraf":"./bin/telegraf"},"dist":{"shasum":"c33b0b7a35ad1bd21ecd03a03210dbe01194887d","tarball":"https://registry.npmjs.org/telegraf/-/telegraf-3.34.0-beta.1.tgz","fileCount":23,"integrity":"sha512-CptFRwfLpnQ2RbbLsygg8U5xAK19a5rR18rMez/mOvsP36nUPHRyS+2OBVLiT8AX1wT5SkmzoIka2MktC/fnZw==","signatures":[{"sig":"MEQCIGaNtceJVdMMTJqLAWOvSh+4WTIl/ByfIWBh/6PK8MbyAiAMNEyuyboD8JQe5YfKIdaU+X2GmigJDoZcLKBanb70wA==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":154562,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJd4DTPCRA9TVsSAnZWagAA7CwP/jBwHLzH/M25m3TkXbE3\nfqBso754ik7LXAvNnRnXnMgYNlr9VXguZ/muL1ecKUTgU+uerspsrZeGXwmo\njf2n3u23xYnk3oUvNU+kBUboYbHnFhiy04II3f9bPtSL+a+Y5f+EjlyY55uZ\nBxvU8JsrYrj9E5mat0hCq3StPGRAbo56EuhcfPQoUpqjnzpNifuTuQkWe1nT\nP8/OW6GmSM7d230eOKwYOtLUrNaHPBy7AW681pnN6Gd4/nx4+Z73JTJ8psr/\nRMVe/bpqpLCwAWxUeWgQjaTfEIvIYMiUuyMMCASE6Y5J/BUa0k8lm5Flc/6H\nUt3kry6FSfEms9Yyy3exuNBOYQwzdJszRPWcrRRpfrbRtPo2ChUZybDU+rw9\nW5hVauBdtvCjAkJ+CjEbKk+gMU4lrOk73ZoEAMjr6l4nkYI/8Z/5OAeuvGRQ\nEf4Ba6b1GyurhGIlIXjoNJzLaWWCYIeLvdUTfmZi000P2Ao+EhTUWsCjrxtl\nKp4+osWfndBV7F5Ekbh4HjFaZwP/KFOpnJ9dHXRvcwH8w48Fncpb6Se/NB17\ny4YjoGgWpXl29OEYKqNljuCveU5+b56pPClV3aWSJps1BQXApB4MIxjO7kcu\njGebsAtZOkeo+XLhPK+pDDC9ChjIFrJZI6qRM6uspmNUZnuD+DpWfCNi8ZWN\nPDp3\r\n=ZzUT\r\n-----END PGP SIGNATURE-----\r\n"},"main":"telegraf.js","types":"./typings/index.d.ts","readme":"![Telegraf](docs/header.png)\n[![Bot API Version](https://img.shields.io/badge/Bot%20API-v4.4-f36caf.svg?style=flat-square)](https://core.telegram.org/bots/api)\n[![NPM Version](https://img.shields.io/npm/v/telegraf.svg?style=flat-square)](https://www.npmjs.com/package/telegraf)\n[![node](https://img.shields.io/node/v/telegraf.svg?style=flat-square)](https://www.npmjs.com/package/telegraf)\n[![Build Status](https://img.shields.io/travis/telegraf/telegraf.svg?branch=master&style=flat-square)](https://travis-ci.org/telegraf/telegraf)\n[![js-standard-style](https://img.shields.io/badge/code%20style-standard-brightgreen.svg?style=flat-square)](http://standardjs.com/)\n\n## Introduction\n\nBots are special [Telegram](https://telegram.org) accounts designed to handle messages automatically. \nUsers can interact with bots by sending them command messages in private or group chats. \nThese accounts serve as an interface for code running somewhere on your server.\n\n### Features\n\n- Full [Telegram Bot API 4.4](https://core.telegram.org/bots/api) support\n- [Telegram Payment Platform](https://telegram.org/blog/payments)\n- [HTML5 Games](https://core.telegram.org/bots/api#games)\n- [Inline mode](https://core.telegram.org/bots/api#inline-mode)\n- Incredibly fast\n- [now](https://now.sh)/[Firebase](https://firebase.google.com/products/functions/)/[Glitch](https://dashing-light.glitch.me)/[Heroku](https://devcenter.heroku.com/articles/getting-started-with-nodejs#introduction)/[AWS **λ**](https://docs.aws.amazon.com/lambda/latest/dg/nodejs-prog-model-handler.html)/Whatever ready\n- `http/https/fastify/Connect.js/express.js` compatible webhooks\n- Easy to extend\n- `TypeScript` typings\n\n### Installation\n\n```\n$ npm install telegraf\n```\nor using `yarn`:\n```\n$ yarn add telegraf\n```\n\n### Documentation\n\n[Telegraf developer docs](http://telegraf.js.org)\n\n### Examples\n \n```js\nconst Telegraf = require('telegraf')\n\nconst bot = new Telegraf(process.env.BOT_TOKEN)\nbot.start((ctx) => ctx.reply('Welcome!'))\nbot.help((ctx) => ctx.reply('Send me a sticker'))\nbot.on('sticker', (ctx) => ctx.reply('👍'))\nbot.hears('hi', (ctx) => ctx.reply('Hey there'))\nbot.launch()\n```\n\n```js\nconst Telegraf = require('telegraf')\n\nconst bot = new Telegraf(process.env.BOT_TOKEN)\nbot.command('oldschool', (ctx) => ctx.reply('Hello'))\nbot.command('modern', ({ reply }) => reply('Yo'))\nbot.command('hipster', Telegraf.reply('λ'))\nbot.launch()\n```\n\nThere's some cool [examples too](docs/examples/).\n","engines":{"node":">=8"},"gitHead":"d8db13168f1596ddfe716389684c64fbb6dce113","scripts":{"lint":"eslint .","test":"ava test/*","precommit":"npm run lint && npm run typecheck && npm test","typecheck":"tsc"},"_npmUser":{"name":"dotcypress","email":"dotcypress@gmail.com"},"repository":{"url":"git+ssh://git@github.com/telegraf/telegraf.git","type":"git"},"_npmVersion":"6.7.0","description":"Modern Telegram Bot Framework","directories":{},"_nodeVersion":"11.12.0","dependencies":{"debug":"^4.0.1","minimist":"^1.2.0","node-fetch":"^2.2.0","@types/node":"^12.0.4","sandwich-stream":"^2.0.1","telegram-typings":"^3.6.0"},"_hasShrinkwrap":false,"readmeFilename":"readme.md","devDependencies":{"ava":"^2.2.0","husky":"^3.0.2","eslint":"^6.2.2","typescript":"^3.0.1","eslint-plugin-ava":"^9.0.0","eslint-plugin-node":"^10.0.0","eslint-plugin-import":"^2.2.0","eslint-plugin-promise":"^4.0.0","eslint-config-standard":"^14.1.0","eslint-plugin-standard":"^4.0.0"},"_npmOperationalInternal":{"tmp":"tmp/telegraf_3.34.0-beta.1_1574974670656_0.48377763372108396","host":"s3://npm-registry-packages"}},"3.34.0-beta.2":{"name":"telegraf","version":"3.34.0-beta.2","keywords":["telegraf","telegram","telegram bot api","bot","botapi","bot framework"],"author":{"name":"Vitaly Domnikov","email":"oss@vitaly.codes"},"license":"MIT","_id":"telegraf@3.34.0-beta.2","maintainers":[{"name":"dotcypress","email":"dotcypress@gmail.com"}],"homepage":"https://github.com/telegraf/telegraf#readme","bugs":{"url":"https://github.com/telegraf/telegraf/issues"},"bin":{"telegraf":"./bin/telegraf"},"dist":{"shasum":"0c9efdda47953ed6761b7fbb355277d21e9ce5c8","tarball":"https://registry.npmjs.org/telegraf/-/telegraf-3.34.0-beta.2.tgz","fileCount":23,"integrity":"sha512-FDO6ylah+3S2Gltn3icwg6qA2NH7e373oyuUIA5iBs0rXiTF6Ze9QvfA4seVOEn+pEQB3bWZI5CiCtLT5M1i5Q==","signatures":[{"sig":"MEYCIQD0mAgo0R5SjXeewqBv1PwBa9246SsY8QLXmopemY3knAIhALdJ9Xf1cWYTPWSLrUp6mgay5vgOMDqSDsBbgH3R9gXg","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":154592,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJd4DvrCRA9TVsSAnZWagAARmYP/RcEgpeMjDDn1aLIT8s8\nzSOGQyY7wL58a8eOOYdelTjOYXGQnOXJsdHV7uVVgdZEJuXTZpNFAJL0IPL8\neCVcoQ19i9uxmZlXUREjfeBqgcsiIssvpeYsQq6AmI1Bk2hDgAC3gMT4T420\nw4vTXcz1sEMRDRdJRpqKNZyXYFEZzsY/IcttYWIaIWqyH2FNyoJaFu34DHF2\nY+VtIDoBWbTj8pJeNUL4n602g5gdLeG8jRYSd5TWpgkr6yA6OrSJDW0bbnch\nBQ2GRPE67IAevwaKYf6HcDe31R3Oc2x04qSRo0Uqe59Lujhq8WVJ97RfEFu/\nohGonzFTv2H5518AI5U0UR69JFaZZRCVVmZrEd6g0XyNnrLTCCSoj6Chm92T\nsLv6aiV4vP8hWtvlET+MuS0vVjvx0ecp1bBS67LtP8ePxDzrRlhKWGHAr6ZN\n5aX3AQH+YLBrEVZux9bYUDlOnQYI623xEMAFOQVk3CFBRMkxUMpdoOMNmTdz\n0gisR+OjUZfYal9zfTCWaGZeQiGVVAugry8dd8t81lgVZWnr1qRcVWcKlX9C\nTA/T6baBf8/Nbh2adchoj791vU2rDCMAA14HPW82qpX1CBxgXHi0WqjgJJwu\nOij6DTLLxcWmKTLQO34Dc4xoHoCNX9OHyGZXQwSzUK1sf3eJ0/gtX+IaqUuZ\nopnT\r\n=g5/t\r\n-----END PGP SIGNATURE-----\r\n"},"main":"telegraf.js","types":"./typings/index.d.ts","readme":"![Telegraf](docs/header.png)\n[![Bot API Version](https://img.shields.io/badge/Bot%20API-v4.4-f36caf.svg?style=flat-square)](https://core.telegram.org/bots/api)\n[![NPM Version](https://img.shields.io/npm/v/telegraf.svg?style=flat-square)](https://www.npmjs.com/package/telegraf)\n[![node](https://img.shields.io/node/v/telegraf.svg?style=flat-square)](https://www.npmjs.com/package/telegraf)\n[![Build Status](https://img.shields.io/travis/telegraf/telegraf.svg?branch=master&style=flat-square)](https://travis-ci.org/telegraf/telegraf)\n[![js-standard-style](https://img.shields.io/badge/code%20style-standard-brightgreen.svg?style=flat-square)](http://standardjs.com/)\n\n## Introduction\n\nBots are special [Telegram](https://telegram.org) accounts designed to handle messages automatically. \nUsers can interact with bots by sending them command messages in private or group chats. \nThese accounts serve as an interface for code running somewhere on your server.\n\n### Features\n\n- Full [Telegram Bot API 4.4](https://core.telegram.org/bots/api) support\n- [Telegram Payment Platform](https://telegram.org/blog/payments)\n- [HTML5 Games](https://core.telegram.org/bots/api#games)\n- [Inline mode](https://core.telegram.org/bots/api#inline-mode)\n- Incredibly fast\n- [now](https://now.sh)/[Firebase](https://firebase.google.com/products/functions/)/[Glitch](https://dashing-light.glitch.me)/[Heroku](https://devcenter.heroku.com/articles/getting-started-with-nodejs#introduction)/[AWS **λ**](https://docs.aws.amazon.com/lambda/latest/dg/nodejs-prog-model-handler.html)/Whatever ready\n- `http/https/fastify/Connect.js/express.js` compatible webhooks\n- Easy to extend\n- `TypeScript` typings\n\n### Installation\n\n```\n$ npm install telegraf\n```\nor using `yarn`:\n```\n$ yarn add telegraf\n```\n\n### Documentation\n\n[Telegraf developer docs](http://telegraf.js.org)\n\n### Examples\n \n```js\nconst Telegraf = require('telegraf')\n\nconst bot = new Telegraf(process.env.BOT_TOKEN)\nbot.start((ctx) => ctx.reply('Welcome!'))\nbot.help((ctx) => ctx.reply('Send me a sticker'))\nbot.on('sticker', (ctx) => ctx.reply('👍'))\nbot.hears('hi', (ctx) => ctx.reply('Hey there'))\nbot.launch()\n```\n\n```js\nconst Telegraf = require('telegraf')\n\nconst bot = new Telegraf(process.env.BOT_TOKEN)\nbot.command('oldschool', (ctx) => ctx.reply('Hello'))\nbot.command('modern', ({ reply }) => reply('Yo'))\nbot.command('hipster', Telegraf.reply('λ'))\nbot.launch()\n```\n\nThere's some cool [examples too](docs/examples/).\n","engines":{"node":">=8"},"gitHead":"d8db13168f1596ddfe716389684c64fbb6dce113","scripts":{"lint":"eslint .","test":"ava test/*","precommit":"npm run lint && npm run typecheck && npm test","typecheck":"tsc"},"_npmUser":{"name":"dotcypress","email":"dotcypress@gmail.com"},"repository":{"url":"git+ssh://git@github.com/telegraf/telegraf.git","type":"git"},"_npmVersion":"6.7.0","description":"Modern Telegram Bot Framework","directories":{},"_nodeVersion":"11.12.0","dependencies":{"debug":"^4.0.1","minimist":"^1.2.0","node-fetch":"^2.2.0","@types/node":"^12.0.4","module-alias":"^2.2.2","sandwich-stream":"^2.0.1","telegram-typings":"^3.6.0"},"_hasShrinkwrap":false,"readmeFilename":"readme.md","devDependencies":{"ava":"^2.2.0","husky":"^3.0.2","eslint":"^6.2.2","typescript":"^3.0.1","eslint-plugin-ava":"^9.0.0","eslint-plugin-node":"^10.0.0","eslint-plugin-import":"^2.2.0","eslint-plugin-promise":"^4.0.0","eslint-config-standard":"^14.1.0","eslint-plugin-standard":"^4.0.0"},"_npmOperationalInternal":{"tmp":"tmp/telegraf_3.34.0-beta.2_1574976491169_0.201614015408917","host":"s3://npm-registry-packages"}},"3.34.0":{"name":"telegraf","version":"3.34.0","keywords":["telegraf","telegram","telegram bot api","bot","botapi","bot framework"],"author":{"name":"Vitaly Domnikov","email":"oss@vitaly.codes"},"license":"MIT","_id":"telegraf@3.34.0","maintainers":[{"name":"dotcypress","email":"dotcypress@gmail.com"}],"homepage":"https://github.com/telegraf/telegraf#readme","bugs":{"url":"https://github.com/telegraf/telegraf/issues"},"bin":{"telegraf":"./bin/telegraf"},"dist":{"shasum":"69ecea4f65d289fb472cbb94cbd0d3b97b8055a2","tarball":"https://registry.npmjs.org/telegraf/-/telegraf-3.34.0.tgz","fileCount":23,"integrity":"sha512-9/FcWw1sDEygXdtJf6pV95rIAzr13JOCHrlEY6315oMXitgYQ/c0uUN1UdD8Kc4UcBhufAtN33/lEuJG96Ql9w==","signatures":[{"sig":"MEUCIQD/ZvylbxlnmQAncKc3VDc6D1m/V03PBCkP3lmAI7hPzQIgUlD9SkVOFyjO5jr7CZQM7l9Rc9qvHANTl/vl75Egv68=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":154585,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJd4D0eCRA9TVsSAnZWagAA8vwP/0/qKf7wbahMWDMIW5hL\nMHRenT4zfwKAQZPMQqZ2tHvfuGgoFg2PNWDkzCnvxZa6WAFueKknLvcRMrxY\nzdSICGPYIBQ4elts7q8NijkhQ/cGQl0U+qDETm2Px7uCXkurLZrlUQlrFleD\nmFvsiJKXI/JDxvwrriL1t1l+Nescgx7C6t+hUvM4IGFG78XDD7aftzkZpHBV\nWVdeSFiP6ZpP1pLC051+8ABTVJaPfoKudyTNLzm7MGi+Y0XXJTM/YXO/XEZh\n0yziy0ifcZsPwoiKW+XDtkI3Mc1jGjblOU9lGECyJGLHIBLD6hFUv63DM9Rh\n4KaWLHHx3aIWAygYOKjrDvRXChPBdJAZBGTLKWtrTLjwlocItXxO8yL3lmsg\n+hka9MtyfrZaasqbCN+qZCB1BVGJRYvKDCn/JvkG72G3jtGzlvOAqM8xkfg3\n4Ng6tVP21GbJNrUX4kw69zvyp/cJJQlWKPyxhcWBl/yT9OacSh84WXhQN2d6\nnIvgCC1Fa/8Zd4ZZpCpR7jPmP69b/ax/vee8jCoVk4QSZ21ZDMHrpiPSlDma\n1iDCACA2eu/msoOzebWFxlGRTvUf1qz3kfD4C2rwbnURaFe/yV4NK5Ufndt5\nu3jiPrFXDovyIw4xgCKzQ5j7E/mK1pqserOub7cTagN//s8GJcyiw8VaxN4x\nUPZD\r\n=dkTe\r\n-----END PGP SIGNATURE-----\r\n"},"main":"telegraf.js","types":"./typings/index.d.ts","engines":{"node":">=8"},"gitHead":"a5e49d932936de761b02a56ff5bf3ec58de3e2b5","scripts":{"lint":"eslint .","test":"ava test/*","precommit":"npm run lint && npm run typecheck && npm test","typecheck":"tsc"},"_npmUser":{"name":"dotcypress","email":"dotcypress@gmail.com"},"repository":{"url":"git+ssh://git@github.com/telegraf/telegraf.git","type":"git"},"_npmVersion":"6.7.0","description":"Modern Telegram Bot Framework","directories":{},"_nodeVersion":"11.12.0","dependencies":{"debug":"^4.0.1","minimist":"^1.2.0","node-fetch":"^2.2.0","@types/node":"^12.0.4","module-alias":"^2.2.2","sandwich-stream":"^2.0.1","telegram-typings":"^3.6.0"},"_hasShrinkwrap":false,"devDependencies":{"ava":"^2.2.0","husky":"^3.0.2","eslint":"^6.2.2","typescript":"^3.0.1","eslint-plugin-ava":"^9.0.0","eslint-plugin-node":"^10.0.0","eslint-plugin-import":"^2.2.0","eslint-plugin-promise":"^4.0.0","eslint-config-standard":"^14.1.0","eslint-plugin-standard":"^4.0.0"},"_npmOperationalInternal":{"tmp":"tmp/telegraf_3.34.0_1574976797824_0.1287307001743625","host":"s3://npm-registry-packages"}},"3.34.1":{"name":"telegraf","version":"3.34.1","keywords":["telegraf","telegram","telegram bot api","bot","botapi","bot framework"],"author":{"name":"Vitaly Domnikov","email":"oss@vitaly.codes"},"license":"MIT","_id":"telegraf@3.34.1","maintainers":[{"name":"dotcypress","email":"dotcypress@gmail.com"}],"homepage":"https://github.com/telegraf/telegraf#readme","bugs":{"url":"https://github.com/telegraf/telegraf/issues"},"bin":{"telegraf":"./bin/telegraf"},"dist":{"shasum":"69006497f8ea4badd724164ae913cef643726719","tarball":"https://registry.npmjs.org/telegraf/-/telegraf-3.34.1.tgz","fileCount":24,"integrity":"sha512-XKempUafzdi3TrPIA/jo2e7sRoLjE7oexgYTzQ7BeWHPnEi+Wh5EvOroOElSD9V4SCt9bub3HM352VK7dJS8Zw==","signatures":[{"sig":"MEYCIQCOZtkL3F5NrAgC4F1xRGdGA2fAGAQuFJkVFaHjXahJZQIhAJldTRXNUOqrKdc2lmZjGTC1KD0YR0oHqnXu1skvUzi0","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":156556,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJd4IUZCRA9TVsSAnZWagAAs98P/03uVC2HHSxZhrdvwhbv\nV38dRTcUQKHJCfdb9Eo4e6jGuvA+eTZoJnub4hLUmJkn17UPAhuaShikf7SR\nvcf9VL4soFaqsrWTYtTnB8V39AH8TImzHNUU5A5ragy+58yGkGWBE+WtV3F1\n6z9+PgvgONg7/S2UbT95A7KJzVYUsDslN4Vx1CtTmIcp5c3JSRWr88x6XwTS\n0NS0a4mOt2reVNgF+0aZ7t+c6Bg6rrquWVWQ3a/TtKO5ISFEy8shzlU3ml0k\n6jpwNeKJsy16dFvPehaedAb9tc16Q09EQe6zVUzFzVYABSWdVT9EtyXn3y8t\nZqv8NUaK4/n678wWILIntEuRu+a84RtArc6L1DpZUNhMTMV8ezTa9NsUPDjP\n4ZRjdCByCEuvVGhpV5ZmAVyrZsp2/yo+lvy8XHslmtpaB67zFJeoey9Uw1Lk\n1CmJgUn00p310xH342TKeNm9yz1xds6ID/7/DmfIMvtCGkG6AS6QgBswWDJ5\nyx+fa9VTfTRkNXw00063h+fvphWnnKTAQc+CHv6hSc1U+8dfwUV9LaR9yD7f\nfOMnD/ljZ3k0z5ybFreD6FyfCour50ASERPdrJmL58rLuAGcKZk8DhPKIChN\nBqCxLLj3rgo13rAjvnQQMI3dzN+IR6z/MHqS4JgUs/zF9HNniJcUF9EYmw6e\nhWUP\r\n=MGeM\r\n-----END PGP SIGNATURE-----\r\n"},"main":"telegraf.js","types":"./typings/index.d.ts","engines":{"node":">=8"},"gitHead":"be4d9202d1b841d867f5be33d353400d41f1b458","scripts":{"lint":"eslint .","test":"ava test/*","precommit":"npm run lint && npm run typecheck && npm test","typecheck":"tsc"},"_npmUser":{"name":"dotcypress","email":"dotcypress@gmail.com"},"repository":{"url":"git+ssh://git@github.com/telegraf/telegraf.git","type":"git"},"_npmVersion":"6.7.0","description":"Modern Telegram Bot Framework","directories":{},"_nodeVersion":"11.12.0","dependencies":{"debug":"^4.0.1","minimist":"^1.2.0","node-fetch":"^2.2.0","@types/node":"^12.0.4","module-alias":"^2.2.2","sandwich-stream":"^2.0.1","telegram-typings":"^3.6.0"},"_hasShrinkwrap":false,"devDependencies":{"ava":"^2.2.0","husky":"^3.0.2","eslint":"^6.2.2","typescript":"^3.0.1","eslint-plugin-ava":"^9.0.0","eslint-plugin-node":"^10.0.0","eslint-plugin-import":"^2.2.0","eslint-plugin-promise":"^4.0.0","eslint-config-standard":"^14.1.0","eslint-plugin-standard":"^4.0.0"},"_npmOperationalInternal":{"tmp":"tmp/telegraf_3.34.1_1574995224774_0.5943470513124438","host":"s3://npm-registry-packages"}},"3.35.0":{"name":"telegraf","version":"3.35.0","keywords":["telegraf","telegram","telegram bot api","bot","botapi","bot framework"],"author":{"name":"Vitaly Domnikov","email":"oss@vitaly.codes"},"license":"MIT","_id":"telegraf@3.35.0","maintainers":[{"name":"dotcypress","email":"dotcypress@gmail.com"}],"homepage":"https://github.com/telegraf/telegraf#readme","bugs":{"url":"https://github.com/telegraf/telegraf/issues"},"bin":{"telegraf":"./bin/telegraf"},"dist":{"shasum":"edf454ef3239efa1b754c5cd24407d56863e586c","tarball":"https://registry.npmjs.org/telegraf/-/telegraf-3.35.0.tgz","fileCount":24,"integrity":"sha512-C60rps0vEnKcg8ZwS3czwFRVUsq10tn+babK+ujdQeflX267yqB8sw4vVV7c7qCApccqI7sbCrBOPRVb2+4MoQ==","signatures":[{"sig":"MEUCIQCFhcl37MBjimcmpEzIpwtzwYvp3XSCGmo4xVEY2LcE7AIgFpkhmLurbJYzX+aZOeJGA+yZrxIehGOg4Mi6jiE1sBs=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":159429,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJeC3BqCRA9TVsSAnZWagAAtswP/jLmYXCHKuEx8FHG2PA+\n5+d1YRoGXIxUUgs1lgiKLLL/5Y1i5tHJYzNK6WklHlHj02kBlWiXFt2igGRA\nG3wrMeCOvd0JAmkKj8yQe2uI2e//2FvZJDycmj/xWjWuJWygRzyCdtrgAJXn\nMONKcoYz8iCJPm+1u4IFsl4nApQ7ZJpjzD0GOQl3GmBUFmIwUS3b3wbhYciW\nxLgzIYGSl5sFxZvtfQuMLce4bupo7iADH3uGg4iCFTqJ4jLNstB6f8PYUPXQ\nkSVJN1J7xZ7LaJz3rdlzNgL/NLMhweMouGUQssxIxaBqOSzDJdoBEhxNpHYc\nRUgpyr9Eos5AzQgvFBsQnTZ1+Kz3ZIj0yZCsiHgNVXEH+1fp2broanurf9/u\nLHTbVP5unwP5171wMBBKDgtU3p7nnYiwgK8wnrVtSWIJQrxwgDqW5clNd1/J\n9RwtsCe+qMWbkL5d3Ata++UMDA6dbb95XJlWu4G06aC9ENxacXJQpkpWgB6Y\n/AwPTQ8d8fP9eyX5nA4Cg4lYIX/cfSYgYA8c3W6aj+1RC4ajxhyCTBpbwhaZ\niH1aIuC3DSc1yVHURAMM3U5rjMR5RBG3Vqj6qRCqaIfXHTOD+/0OIU+F6VkG\n7KCZ7Zz0+ws6Br3Ra2bnL+AKGq1r+gXFDO/xPUE/6UcJIQ8dFZD5L4szLHB/\nWzhp\r\n=YMMc\r\n-----END PGP SIGNATURE-----\r\n"},"main":"telegraf.js","types":"./typings/index.d.ts","engines":{"node":">=8"},"gitHead":"cb374ee5dc7140f3e2ce5a9bb6af1072f9524d41","scripts":{"lint":"eslint .","test":"ava test/*","precommit":"npm run lint && npm run typecheck && npm test","typecheck":"tsc"},"_npmUser":{"name":"dotcypress","email":"dotcypress@gmail.com"},"repository":{"url":"git+ssh://git@github.com/telegraf/telegraf.git","type":"git"},"_npmVersion":"6.7.0","description":"Modern Telegram Bot Framework","directories":{},"_nodeVersion":"11.12.0","dependencies":{"debug":"^4.0.1","minimist":"^1.2.0","node-fetch":"^2.2.0","@types/node":"^13.1.0","module-alias":"^2.2.2","sandwich-stream":"^2.0.1","telegram-typings":"^3.6.0"},"_hasShrinkwrap":false,"devDependencies":{"ava":"^2.2.0","husky":"^3.0.2","eslint":"^6.2.2","typescript":"^3.0.1","eslint-plugin-ava":"^9.0.0","eslint-plugin-node":"^11.0.0","eslint-plugin-import":"^2.2.0","eslint-plugin-promise":"^4.0.0","eslint-config-standard":"^14.1.0","eslint-plugin-standard":"^4.0.0"},"_npmOperationalInternal":{"tmp":"tmp/telegraf_3.35.0_1577807978454_0.2675457655444782","host":"s3://npm-registry-packages"}},"3.36.0":{"name":"telegraf","version":"3.36.0","keywords":["telegraf","telegram","telegram bot api","bot","botapi","bot framework"],"author":{"name":"Vitaly Domnikov","email":"oss@vitaly.codes"},"license":"MIT","_id":"telegraf@3.36.0","maintainers":[{"name":"dotcypress","email":"dotcypress@gmail.com"}],"homepage":"https://github.com/telegraf/telegraf#readme","bugs":{"url":"https://github.com/telegraf/telegraf/issues"},"bin":{"telegraf":"./bin/telegraf"},"dist":{"shasum":"eab1160159df6033d3cb92ac990902523277822a","tarball":"https://registry.npmjs.org/telegraf/-/telegraf-3.36.0.tgz","fileCount":24,"integrity":"sha512-9o6AJKRiTm5vMWYI6WpTfBHzu4FMpWBNKxvnMxRds/cbMY9RnsVVjdi8i4bFFlfd+xbi73EbrnI3dybayryICA==","signatures":[{"sig":"MEUCIQCH9UvIk0BeWhAiKfSfbhzTjlsyMPcuJfwga5PDd2al8QIgePWQTBtNvmdQ8tT7H8balfpF8vT8cuC4Q0ZyVQ3p6mE=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":160177,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJeKejSCRA9TVsSAnZWagAA2nsP/RGyk6Afzex7gsZb0UiM\nxmdDLVsjb+jaArXbqjX8z+lMXADBstQ03A0HM3GR3BUv+KUu+r9fxKD+OF9M\niuqHWqETWs+Gns3Y33ngRW2KtPyOhFRKU36QZtPPStqBqO6yYwgvElg5I9bF\n+SpqMdGCa8yB9OKH9kgR4Efyhs+yiA59HTLJRn1KaiXdcfVL+P6Cc66AAR1h\n+wjApHpMxaV1IeqK60OiGUzqBbOhPGPBxLkRIzKEntQ/LJ/jbgYF12Du/ITy\nPmKpnZcLJLwNCYfVIUzAC4lfeeY/Ra/NKW9kfLuFZzsJUjXjkuYVws/9qbBf\nXfUOOAZ+0YRfOf7/ksqJaczDTzTaxF6i9WArd6DPSLbS4+R1w6IyHBGqTLY4\nVcfU5vV0LGH249FJ4XlcclBzFxijGEt19g68tVfSmy8hnCqhpBYapsnRClcf\nKDyXJagDIS76YcntGBQoM/52uMirrgRDHzrmdGQ03w0SR8z05N15+/xfO2LP\nF8WIEeOsVx4CJyaaBM+cbaPWLbdwyJQcCmYkzLD4NwIlgUtEVLPezDju530D\n9xbF25qK7tu4wZzZAbVboZQXWLZTx+h9ZgyXIfiqxk/JspUMRzBlNYhLrifm\nCfoLyDnEkk8rSiwrFHV8KMwyRzp812iVZK6GJnYfkB3ouQJtaHPk7tu8Kp8f\nKo3F\r\n=h2rU\r\n-----END PGP SIGNATURE-----\r\n"},"main":"telegraf.js","type":"commonjs","types":"./typings/index.d.ts","engines":{"node":">=8"},"gitHead":"026d0543fbbefc8b68da6e42e6990a6d19d8a9c4","scripts":{"lint":"eslint .","test":"ava test/*","precommit":"npm run lint && npm run typecheck && npm test","typecheck":"tsc"},"_npmUser":{"name":"dotcypress","email":"dotcypress@gmail.com"},"repository":{"url":"git+ssh://git@github.com/telegraf/telegraf.git","type":"git"},"_npmVersion":"6.10.2","description":"Modern Telegram Bot Framework","directories":{},"_nodeVersion":"12.8.0","dependencies":{"debug":"^4.0.1","minimist":"^1.2.0","node-fetch":"^2.2.0","@types/node":"^13.1.0","module-alias":"^2.2.2","sandwich-stream":"^2.0.1","telegram-typings":"^3.6.0"},"_hasShrinkwrap":false,"devDependencies":{"ava":"^3.0.0","husky":"^4.2.0","eslint":"^6.2.2","typescript":"^3.0.1","eslint-plugin-ava":"^10.0.0","eslint-plugin-node":"^11.0.0","eslint-plugin-import":"^2.2.0","eslint-plugin-promise":"^4.0.0","eslint-config-standard":"^14.1.0","eslint-plugin-standard":"^4.0.0"},"_npmOperationalInternal":{"tmp":"tmp/telegraf_3.36.0_1579804881726_0.35490375658408846","host":"s3://npm-registry-packages"}},"3.37.0":{"name":"telegraf","version":"3.37.0","keywords":["telegraf","telegram","telegram bot api","bot","botapi","bot framework"],"author":{"name":"Vitaly Domnikov","email":"oss@vitaly.codes"},"license":"MIT","_id":"telegraf@3.37.0","maintainers":[{"name":"dotcypress","email":"dotcypress@gmail.com"}],"homepage":"https://github.com/telegraf/telegraf#readme","bugs":{"url":"https://github.com/telegraf/telegraf/issues"},"bin":{"telegraf":"bin/telegraf"},"dist":{"shasum":"f88ae3d4bddac6f479137d4c867489acf3f57b66","tarball":"https://registry.npmjs.org/telegraf/-/telegraf-3.37.0.tgz","fileCount":24,"integrity":"sha512-V3448qwfOolBqkIc87yxjW4zMvR2P6AIF24pPTlX9WhZPwA1TF/x3nQhnWPRLtGh2SJuvDcr83iTkXPXT7Opnw==","signatures":[{"sig":"MEUCIQCSRxFZH8vBW7v5Yuslm2hbSV/LYUu5J7y3COWPZM11IgIgJNFJXxHHKGqAmizZtWckI+9wMlEUXwtEV99qkW6EPsg=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":167168,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJegrsDCRA9TVsSAnZWagAA1roP/iwHnPrdf4c8kcRbeVjg\nt7tvoasxgbI7uHMKxyQ/u+DBOYtCLC6thQekf+t06QGgXT3Bd0ejRaN5ZAmm\nNyEoH+P+ukmtVKRdUCG64mQzuW27SlhyiviHRBGri2m+yrGM471mVHTP7UhA\nxtg8vfA0W1bO6o7G/A7RJjLhneD0X07uakovcghB5499qpexSmiP/S9HMoHn\nhDOb5Rb2YeQHelnB0WlcO5+zj5RjvX1SQzO1LwX9w+FeGo2b//YMVMpQF8w4\nuDWEaja1U1ga+2QrNXYWkSO1+UWK0tIM7EDn3HkUTX3ELSPLpRPzEcr9Etfh\n+HQHFiAKFR/2QSYviI9/3O7jyXAPDvQaem4KkinG3skA4wJZKf28W/PCDVJ5\nav1z3qcVAQUASaB40Mp8j/LqP0UKpxongZwJmp/kELy9msSCv5Y8xj6OR71c\n5FPD2Rt3/SDC58z0tluV41aEq/KGL5do44Fe5BQ39zWMCqkz1Y4P06qjmBeW\n5JMhr4N7MO8nY6oYmM6zYylvcuK87z3eNCXdjNnxLpVFLaqoDbzIG0OhxtLk\nPih0W6ayruivkJn1QTWKX/GH37YITYlkf+TqBf1tubdJmdsMhJkl4OAIXEuH\nozmtmrl/KNIE5XcWKQUROidIvldK/vufSlJMM5tS1WLnGc+65NzUhnI1jti1\n4zuX\r\n=oZBn\r\n-----END PGP SIGNATURE-----\r\n"},"main":"telegraf.js","type":"commonjs","types":"./typings/index.d.ts","engines":{"node":">=8"},"gitHead":"0cb042a1035a0175e35e60187af117c300fa0c2d","scripts":{"lint":"eslint .","test":"ava test/*","precommit":"npm run lint && npm run typecheck && npm test","typecheck":"tsc"},"_npmUser":{"name":"dotcypress","email":"dotcypress@gmail.com"},"repository":{"url":"git+ssh://git@github.com/telegraf/telegraf.git","type":"git"},"_npmVersion":"6.14.4","description":"Modern Telegram Bot Framework","directories":{},"_nodeVersion":"12.8.0","dependencies":{"debug":"^4.0.1","minimist":"^1.2.0","node-fetch":"^2.2.0","module-alias":"^2.2.2","sandwich-stream":"^2.0.1","telegram-typings":"^3.6.0"},"_hasShrinkwrap":false,"devDependencies":{"ava":"^3.0.0","husky":"^4.2.0","eslint":"^6.2.2","typescript":"^3.0.1","@types/node":"^13.1.0","eslint-plugin-ava":"^10.0.0","eslint-plugin-node":"^11.0.0","eslint-plugin-import":"^2.2.0","eslint-plugin-promise":"^4.0.0","eslint-config-standard":"^14.1.0","eslint-plugin-standard":"^4.0.0"},"_npmOperationalInternal":{"tmp":"tmp/telegraf_3.37.0_1585625858758_0.2789624286464749","host":"s3://npm-registry-packages"}},"3.38.0":{"name":"telegraf","version":"3.38.0","keywords":["telegraf","telegram","telegram bot api","bot","botapi","bot framework"],"author":{"name":"Vitaly Domnikov","email":"oss@vitaly.codes"},"license":"MIT","_id":"telegraf@3.38.0","maintainers":[{"name":"dotcypress","email":"dotcypress@gmail.com"}],"homepage":"https://github.com/telegraf/telegraf#readme","bugs":{"url":"https://github.com/telegraf/telegraf/issues"},"bin":{"telegraf":"./bin/telegraf"},"dist":{"shasum":"745b447547a8e6cdb626055e4d616058aaae0759","tarball":"https://registry.npmjs.org/telegraf/-/telegraf-3.38.0.tgz","fileCount":33,"integrity":"sha512-va4VlrKWp64JrowFoZX/NPzzA6q38kvaIukVXOWFO1V+jR1G8+hCfgJy4TX8Z3rwLJzwaBEet1QhikHDRZWl3A==","signatures":[{"sig":"MEUCIQDNlBqgLRTbmGVGghQqWi5vQ4y2FaG2+ROWygCkTIf7LwIgWsvu7dbejS9DRhkdzJFAK58EqCT7VOk+ZdklfIbaMR8=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":181141,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJeoxD/CRA9TVsSAnZWagAAB/MP+wbaB8waY3cyRFw739KE\nnA5KFTn10XCOLmAVIoLD+M1iUYgtdqKU6/yMYNZldmVmzmqI06Kbqz+N194k\ncTYLRqOzndkA49aBEZQdUVX9BNZahC2RPaVGu2k6e9AiyZyihHireQrpff6A\nZ6E3uTUBsxtNzeXIuFlDDGVIBmwlvVWER58APgUeL4EFigWzTZSDIl567J4w\nJwvfyYkgEn2Z0G/OzsiZ5jgjvM4C6tWWGh9Rg6Sc4PRcXUvi0Cele+BhLruk\nqgnO56gPmusfRkqTP+wAsagOYHoykVYjMRgDLcIEqfIxWvC3sFxs5nuxgirX\n10tDFmTWWpWLW4ZPNCFHLQa8+VDcXUk6Bymlq5mgT3HEc+HkfFusq2QBFviR\nhHWsVr1fdjA+8vt2GE7aMiqFltpXSzR1g/cyYcZSiFJCb3A+41lr2/SYiacH\nNYk+ICL4vWleNP4+hu/XbaP/5+LmIreynz8E/0vNdDY/21wktZuQxk3XRLF6\nl/esWPGgXbTwOK822W+gHJWxKpPBaIiO+fkfT/rnk0tHAAf7FyyS4DmPzUks\nKlOQ7Gwk6K6eAofeQHwpc1WpNcdRHTPK2KuDecroJAC4etRLoRlyg906l05o\nvccT9GGQw4BwpSAP9/CcqzN8A5bAorBzSIlikJ3j2ANdNuKvNaHNZGdp5iYO\nuFmi\r\n=ysAd\r\n-----END PGP SIGNATURE-----\r\n"},"main":"telegraf.js","type":"commonjs","types":"./typings/index.d.ts","engines":{"node":">=8"},"gitHead":"f1108c8ecb5049b65931b8e056dbce86555242b4","scripts":{"lint":"eslint .","test":"ava test/*","precommit":"npm run lint && npm run typecheck && npm test","typecheck":"tsc"},"_npmUser":{"name":"dotcypress","email":"dotcypress@gmail.com"},"repository":{"url":"git+ssh://git@github.com/telegraf/telegraf.git","type":"git"},"_npmVersion":"6.7.0","description":"Modern Telegram Bot Framework","directories":{},"_nodeVersion":"11.12.0","dependencies":{"debug":"^4.0.1","minimist":"^1.2.0","node-fetch":"^2.2.0","module-alias":"^2.2.2","sandwich-stream":"^2.0.1","telegram-typings":"^3.6.0"},"_hasShrinkwrap":false,"devDependencies":{"ava":"^3.0.0","husky":"^4.2.0","eslint":"^6.2.2","prettier":"^2.0.5","typescript":"^3.0.1","@types/node":"^13.1.0","eslint-plugin-ava":"^10.0.0","eslint-plugin-node":"^11.0.0","eslint-plugin-import":"^2.2.0","eslint-plugin-promise":"^4.0.0","eslint-config-standard":"^14.1.0","eslint-plugin-standard":"^4.0.0"},"_npmOperationalInternal":{"tmp":"tmp/telegraf_3.38.0_1587745022445_0.4005895325943132","host":"s3://npm-registry-packages"}},"4.0.0":{"name":"telegraf","version":"4.0.0","keywords":["telegraf","telegram","telegram bot api","bot","botapi","bot framework"],"author":{"name":"Vitaly Domnikov","email":"oss@vitaly.codes"},"license":"MIT","_id":"telegraf@4.0.0","maintainers":[{"name":"dotcypress","email":"dotcypress@gmail.com"}],"homepage":"https://telegraf.js.org","bugs":{"url":"https://github.com/telegraf/telegraf/issues"},"bin":{"telegraf":"bin/telegraf"},"dist":{"shasum":"c238feff20f6415183df08715bfd1d0c7a90e150","tarball":"https://registry.npmjs.org/telegraf/-/telegraf-4.0.0.tgz","fileCount":113,"integrity":"sha512-e4m9uJuAzzKe1gNUOn3z3NTLscfteV4GE4la5pfWFbm75OLWK3cp/qvz7Evy4oPpvc/bPlcDCyNgXnk4n2TBcw==","signatures":[{"sig":"MEUCIQCWq2ysxJuUcFDKuALcoCYeQHQFZHLTEeP2SigNo3u0WAIgbtOpPx5/QJWnjjVbNQ+Tm0ILTp/KkVUIr2FNqgNqt8Y=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":412680,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJf+3exCRA9TVsSAnZWagAA22wP/RgsnfPSPzh83cuVNjhs\nPsCryB8pQnGw9wMIMUfKZWorIolEyXq3xIyei98a0pZRCZT9vhyIuu5SUkMP\nAJCXbXXVBI82B+PdWnMp7ZG3Uhu0G3aKSLKb3A1gHToPxZBcXcYBV3vZlkP7\nxSljUIcOAXza6dIEtIt/oZTJxPrgKqlztyQStGL63ChweVnWwespj/w3u60u\nvkMObjyYLlNFOvKtLRFF9487l9cQ8qDyjTuzfmKyxEOSwghjMTY6RsYF/HVA\nKNoXW3c0wU5eh+mrRRaae0nAD99+13RHuj6Nh3YhKwiDoLL+K4wGGOeIhSsM\nBabru0ds3BsmS5Wa2kqWvzr7DVzSFrZXp5C2J+55+nWfJAka87H/h4sZTTyQ\n1/RsjcDmgahyqTTmjNm4Fk9/yNvWicThw3wLYqPiuackOAayw26519A/adhO\nGz248SuY0nxXBEDsX9jPtGanKKRviQlwAi6+qyjJGhOb++6+GBnenQ1MJghq\nyoZEeZFp87MBZ7eJ8ZcVPJh8rN16vp8TT3oa9lhrMmCIU8NRkOibEmY2JOpX\nZFtLKcQ73lCr4P6bos9tQvkH7N9tiGqAQ6O0Da5gWUWglJt+NUIBI0pfuDuP\nnpupuHibbay0UujtdgY92ngddUKkQkaxypb1YRm8miywl/IJcmSP2m4qx2yg\nipao\r\n=KLmJ\r\n-----END PGP SIGNATURE-----\r\n"},"main":"lib/index.js","type":"commonjs","husky":{"hooks":{"pre-commit":"tsc --build docs/examples","post-checkout":"npm run --silent clean"}},"types":"./typings/index.d.ts","engines":{"node":">=12"},"exports":{"import":"./lib/index.mjs","require":"./lib/index.js"},"gitHead":"33ce7fd626d55629576707fa4a322d12de0c149f","scripts":{"lint":"eslint --cache .","test":"ava test/*","build":"tsc --build docs/examples","clean":"git clean -fX .eslintcache docs/build/ lib/ typings/","checks":"npm test && npm run lint","prepare":"npm run build && mjs-entry src/index.ts > lib/index.mjs","pretest":"npm run build","refresh":"npm run clean && npm ci","build:docs":"typedoc src/index.ts"},"_npmUser":{"name":"dotcypress","email":"dotcypress@gmail.com"},"repository":{"url":"git+ssh://git@github.com/telegraf/telegraf.git","type":"git"},"_npmVersion":"6.14.7","description":"Modern Telegram Bot Framework","directories":{},"_nodeVersion":"14.8.0","dependencies":{"debug":"^4.3.1","minimist":"^1.2.5","typegram":"^3.1.4","p-timeout":"^4.1.0","node-fetch":"^2.6.1","module-alias":"^2.2.2","sandwich-stream":"^2.0.2","abort-controller":"^3.0.0"},"_hasShrinkwrap":false,"devDependencies":{"ava":"^3.15.0","husky":"^4.3.7","eslint":"^7.17.0","typedoc":"^0.20.13","prettier":"2.2.1","mjs-entry":"gist:de6257751f54b3c66319bae8d2a8aea0","typescript":"^4.1.3","@types/node":"^14.14.20","@types/debug":"^4.1.5","@types/node-fetch":"^2.5.7","eslint-plugin-ava":"^11.0.0","eslint-plugin-node":"^11.1.0","eslint-plugin-import":"^2.22.1","eslint-plugin-promise":"^4.2.1","eslint-config-prettier":"^7.1.0","eslint-config-standard":"^16.0.2","eslint-plugin-prettier":"^3.3.1","eslint-plugin-standard":"^4.1.0","@typescript-eslint/parser":"^4.12.0","@typescript-eslint/eslint-plugin":"^4.12.0","eslint-config-standard-with-typescript":"^19.0.1"},"_npmOperationalInternal":{"tmp":"tmp/telegraf_4.0.0_1610315697317_0.6080922050766562","host":"s3://npm-registry-packages"}},"4.0.1":{"name":"telegraf","version":"4.0.1","keywords":["telegraf","telegram","telegram bot api","bot","botapi","bot framework"],"author":{"name":"Vitaly Domnikov","email":"oss@vitaly.codes"},"license":"MIT","_id":"telegraf@4.0.1","maintainers":[{"name":"dotcypress","email":"dotcypress@gmail.com"}],"homepage":"https://telegraf.js.org","bugs":{"url":"https://github.com/telegraf/telegraf/issues"},"bin":{"telegraf":"bin/telegraf"},"dist":{"shasum":"58393c56ab29c19c7cdf2cce2bcdd39d24dd5974","tarball":"https://registry.npmjs.org/telegraf/-/telegraf-4.0.1.tgz","fileCount":113,"integrity":"sha512-kpl3vFDnIjlGxDuzNq3McUnJo9jGOlJEYtBeDPZc0Zvx878HFSO64uJeJ2HW6Tg3/76xh3dX77B7IdTGjuTOWA==","signatures":[{"sig":"MEQCIAw2wQEsGXEbAdV9fE9TmXJM2cIixpYHQHYk4nLSPVBQAiBv9kCxZUJ7Bf1GQtAiL6o4urNcVESDmtccBOWuGQWXhQ==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":412745,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJf/4CKCRA9TVsSAnZWagAABlAP/0xXXHtCDLf6r9YMBGch\nlcyWDnDYcqpST7/UZzmGa0fVlC83mV+81A4BErrt7nkcS52h1WgeORH5zOqJ\nosm9FrRhyg2PLMozpLugD9voLqT6QbM7I9EHmDMtMdgDE3R4lveNciRfmC3Y\nS+eyd4G/Jd3EziM1sB4VgYXCyRXYkMKOglyldXCzlimJDIUgYTsA73QaXkPt\nXo65YgQpZuAvhzFj5xim0ASWRcYMy7pZyFxgL/7b5DLZUnteO5S70BpcIUkc\n0JDhh5AiiMxrmBWVRLZHFtV0q+jJ9pyRS/TOlI0ZfzBsYMZIKB+tm+jA/CUq\n0PPJWNL6cHoJhnRsI3UairHe5Sajs2+Ay94ezV3L0U73LD6ffMgAt8qb+JjH\nbRzZl651aj6aavJEMol505HBKUuX88Ufdd7YmAx+x7GN+dEQarmFyn8tFUTt\nhFFejt6NvkCzwdycU0WaCAYJoZWRpCs25DDXQDgr0lObeFF0ikemj7xSTwkN\nulVx43FlcShS8twmp80PsRCzekaI/EW7UMKnuD8UIZR2xKdfPNFTXBLn3EIH\njFTnraqKggj4OGv0bX9YHMo1SpxTcQ8x3D/8pd0AKfplyeBcTxhSEvSwJ31x\ngAcmsTHTzwUoSiEULNb2byW6YPITRV7g82BJ9qpGsmKATd24xf3Gq5imEwNZ\n0SmM\r\n=6fgS\r\n-----END PGP SIGNATURE-----\r\n"},"main":"lib/index.js","type":"commonjs","husky":{"hooks":{"pre-commit":"tsc --build docs/examples","post-checkout":"npm run --silent clean"}},"types":"./typings/index.d.ts","engines":{"node":">=12"},"exports":{"import":"./lib/index.mjs","require":"./lib/index.js"},"gitHead":"a692dd6e75196ba1d65b8d32dbaa9567d1574d52","scripts":{"lint":"eslint --cache .","test":"ava test/*","build":"tsc --build docs/examples","clean":"git clean -fX .eslintcache docs/build/ lib/ typings/","checks":"npm test && npm run lint","prepare":"npm run build && mjs-entry src/index.ts > lib/index.mjs","pretest":"npm run build","refresh":"npm run clean && npm ci","build:docs":"typedoc src/index.ts"},"_npmUser":{"name":"dotcypress","email":"dotcypress@gmail.com"},"repository":{"url":"git+ssh://git@github.com/telegraf/telegraf.git","type":"git"},"_npmVersion":"6.14.7","description":"Modern Telegram Bot Framework","directories":{},"_nodeVersion":"14.8.0","dependencies":{"debug":"^4.3.1","minimist":"^1.2.5","typegram":"^3.1.4","p-timeout":"^4.1.0","node-fetch":"^2.6.1","module-alias":"^2.2.2","sandwich-stream":"^2.0.2","abort-controller":"^3.0.0"},"_hasShrinkwrap":false,"devDependencies":{"ava":"^3.15.0","husky":"^4.3.7","eslint":"^7.17.0","typedoc":"^0.20.13","prettier":"2.2.1","mjs-entry":"gist:de6257751f54b3c66319bae8d2a8aea0","typescript":"^4.1.3","@types/node":"^14.14.20","@types/debug":"^4.1.5","@types/node-fetch":"^2.5.7","eslint-plugin-ava":"^11.0.0","eslint-plugin-node":"^11.1.0","eslint-plugin-import":"^2.22.1","eslint-plugin-promise":"^4.2.1","eslint-config-prettier":"^7.1.0","eslint-config-standard":"^16.0.2","eslint-plugin-prettier":"^3.3.1","eslint-plugin-standard":"^4.1.0","@typescript-eslint/parser":"^4.12.0","@typescript-eslint/eslint-plugin":"^4.12.0","eslint-config-standard-with-typescript":"^19.0.1"},"_npmOperationalInternal":{"tmp":"tmp/telegraf_4.0.1_1610580105974_0.2947810468609233","host":"s3://npm-registry-packages"}},"4.0.2":{"name":"telegraf","version":"4.0.2","keywords":["telegraf","telegram","telegram bot api","bot","botapi","bot framework"],"author":{"name":"Vitaly Domnikov","email":"oss@vitaly.codes"},"license":"MIT","_id":"telegraf@4.0.2","maintainers":[{"name":"dotcypress","email":"dotcypress@gmail.com"}],"homepage":"https://telegraf.js.org","bugs":{"url":"https://github.com/telegraf/telegraf/issues"},"bin":{"telegraf":"bin/telegraf"},"dist":{"shasum":"b15fde5f1f22757e9a9d226af50df172f1af1c3d","tarball":"https://registry.npmjs.org/telegraf/-/telegraf-4.0.2.tgz","fileCount":105,"integrity":"sha512-MTo8b6P/MMb6RbqDGXNWpCXESTihxRpTThOIPAfVBJohYQtywYl/vldjqUCdIYdg+ge8Sn/gk+OXfqHg4LewnA==","signatures":[{"sig":"MEUCIGI0wBr/hheDCXThLWeEF9XLfFEpCyBCIVZw7cBcD/xYAiEAngjT+T9pLF/Kh9/gQDip4rOgha1NpPBSzZRFvcdQAX4=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":391989,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgEvCWCRA9TVsSAnZWagAAyqUQAJbxjz0MoNfJv3k3zchP\n6+1SB5vBPNzB9YBrrQtUO4nZE3L6dX6FmF/LP8+sOwk+XCSVR2Zoa1cyi7/Y\n8ltDvWFfKS1ECxPpPtJsdTQ/GXRDlIJC1llD4GoPkYbOtS9rmbpPaa1gR59i\nWYjktbY9gMF0jbgMftqpTajObU+ETWNl0BaYjYsXYJPXs+aEzhWUWrdVBdou\nPgIezR4ymbbrpoUOdTDxugKQWtm4WFPo00uyBRHEJXPQ3t+u0yWZ/D9d3QT8\nQcbuQiXqtZQmLOoFspZh4ctX2s9GanKEtl5mYSjx9wQqHkqZ9zEDXS0H0oaY\nmroEVnlEqul8MpApuYlXXf+/+EMEGuELcDHEDtxfDe6Oti8X0SUff2CCEIBu\n4sZ4ZdldkPz/J6gmMSs8NbHGN39TaWohMg1lPxO9jNxIHBX5cTuJWrkkLlYl\n4thPFI9y2tS3CQjpGfUlVyGi0L6GNejTlO0WCzPrWWeY21LPOAUtAKbePGFv\naXBgFZJJJU40ZaNyx+yTSzBFfhsCO0cV1Z9g6ybrhfUQj5FyHZ5YTepJsJrb\nIukDFF6Ci0Vsdq58hpt8sln7cStmzimWi6UuZxvjbBG1R46w/r+p9mgC4hUK\nboBZr0yzTKiSMKhuC1q+snEGzhV/sAaAQT+dcFGCUorwXHJE4oBu3d09Jz1i\nheer\r\n=KEv9\r\n-----END PGP SIGNATURE-----\r\n"},"main":"lib/index.js","type":"commonjs","types":"./typings/index.d.ts","engines":{"node":">=12"},"exports":{"import":"./lib/index.mjs","require":"./lib/index.js"},"gitHead":"f70c41c2e7e7a4cfd195a4f53617a56a82d31e5f","scripts":{"lint":"eslint .","test":"ava test/*","build":"tsc --build docs/examples","clean":"git clean -fX .eslintcache docs/build/ lib/ typings/","checks":"npm test && npm run lint","prepare":"npm run build && mjs-entry src/index.ts > lib/index.mjs","pretest":"npm run build","refresh":"npm run clean && npm ci","build:docs":"typedoc src/index.ts"},"_npmUser":{"name":"dotcypress","email":"dotcypress@gmail.com"},"repository":{"url":"git+ssh://git@github.com/telegraf/telegraf.git","type":"git"},"_npmVersion":"6.14.7","description":"Modern Telegram Bot Framework","directories":{},"_nodeVersion":"14.8.0","dependencies":{"debug":"^4.3.1","minimist":"^1.2.5","typegram":"^3.1.4","p-timeout":"^4.1.0","node-fetch":"^2.6.1","module-alias":"^2.2.2","sandwich-stream":"^2.0.2","abort-controller":"^3.0.0"},"_hasShrinkwrap":false,"devDependencies":{"ava":"^3.15.0","eslint":"^7.17.0","typedoc":"^0.20.13","prettier":"2.2.1","mjs-entry":"gist:de6257751f54b3c66319bae8d2a8aea0","typescript":"^4.1.3","@types/node":"^14.14.20","@types/debug":"^4.1.5","@types/node-fetch":"^2.5.7","eslint-plugin-ava":"^11.0.0","eslint-plugin-node":"^11.1.0","eslint-plugin-import":"^2.22.1","eslint-plugin-promise":"^4.2.1","eslint-config-prettier":"^7.1.0","eslint-config-standard":"^16.0.2","eslint-plugin-prettier":"^3.3.1","eslint-plugin-standard":"^4.1.0","@typescript-eslint/parser":"^4.12.0","@typescript-eslint/eslint-plugin":"^4.12.0","eslint-config-standard-with-typescript":"^19.0.1"},"_npmOperationalInternal":{"tmp":"tmp/telegraf_4.0.2_1611853973773_0.6455157212074758","host":"s3://npm-registry-packages"}},"4.0.3":{"name":"telegraf","version":"4.0.3","keywords":["telegraf","telegram","telegram bot api","bot","botapi","bot framework"],"author":{"name":"Vitaly Domnikov","email":"oss@vitaly.codes"},"license":"MIT","_id":"telegraf@4.0.3","maintainers":[{"name":"dotcypress","email":"dotcypress@gmail.com"},{"name":"wojpawlik","email":"woj.pawlik@gmail.com"}],"homepage":"https://telegraf.js.org","bugs":{"url":"https://github.com/telegraf/telegraf/issues"},"bin":{"telegraf":"bin/telegraf"},"dist":{"shasum":"309ec4cbc7b4ac0cc32d4f39ac1454103c60fc5a","tarball":"https://registry.npmjs.org/telegraf/-/telegraf-4.0.3.tgz","fileCount":105,"integrity":"sha512-QWn9r7IAX4C0kHiP2skieI4pry1SO3YGe2n34a3ymqENeu6bJposut6uR1zLNzOhSPvAxqdlO59bJWGXnADqHQ==","signatures":[{"sig":"MEUCIF59skeAnhEYPcfw3raNxdk83Iqt2gnU6gqF1wxZk0hzAiEAxaFc02HIA7x+1U4cn8V5F5/rYU+OEjtljjIyeNfVYOg=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":396080,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgIDqHCRA9TVsSAnZWagAArSkQAIHJ1sH7RnUijSQOwmOA\nh2n4inseNg+d3UMcsr18fAjoJAJ6UWywAZujjdC+T3YqS0rPuZzJsGZuAfta\n1ak+oWQFR9R83I/qfu0U1pbHVHdepfkcJSLJ7xzZF3E0fEOHMK+4CzqSJb9n\nDcSF4JNjQl9urp4YsBaz/3Rbw9dbOgXK5wVMFi9LrSYSRKKtilhYSARkW3UU\n0a1y3pDz27z/FQ1Hh2tf+A6gTI+97ZYx6hUkft/lgQtxOy7hTp7C5g2gR0Dk\nboce+Krt1UJvAZAGgoMZANX+D1NM54NiyNkTQ8Q3UmpzKGEifsezZ+3fEbuD\nunYXpTxoDkCWCvTNg+kgh2kArONb1NJEvn5ljHorZejtAQvp2KQbR+limCqZ\nbEeBewncnKK8TVNS1vDdsAaLQJJi2TRkaVvnEP3yChIHvPeaoSKa2T99BCvx\nsaUlygLB5xYgtLFxWf/ZL54IsZ3CaQGvc8CqhxhzB2ScZvzkPIGR4ZtSBRMA\n8aQ6aPnKnkqIWLWc22GPrXu6uLgKVlV0pPAZJ6tOa3b6Lxc8Ou8NgUQ0ZXVV\nM3MdRtRnbfodjjgxTc4eceqSIwb73mJqVpzuUGyd8vWTLVvDvnbv1YbI/K5u\nVHzqHx4uMdH+aLCB77n6P5ImyRgkKHdRpfyALjLmF9VqDFj8g6370D74Y1zj\nZIML\r\n=4xVV\r\n-----END PGP SIGNATURE-----\r\n"},"main":"lib/index.js","type":"commonjs","types":"./typings/index.d.ts","engines":{"node":">=12"},"exports":{"import":"./lib/index.mjs","require":"./lib/index.js"},"gitHead":"618535308b7e691ae356562497df2559fc6fec50","scripts":{"lint":"eslint .","test":"ava test/*","build":"tsc --build docs/examples","clean":"git clean -fX .eslintcache docs/build/ lib/ typings/","checks":"npm test && npm run lint","prepare":"npm run build && mjs-entry src/index.ts > lib/index.mjs","pretest":"npm run build","refresh":"npm run clean && npm ci","build:docs":"typedoc src/index.ts"},"_npmUser":{"name":"wojpawlik","email":"woj.pawlik@gmail.com"},"repository":{"url":"git+ssh://git@github.com/telegraf/telegraf.git","type":"git"},"_npmVersion":"6.14.4","description":"Modern Telegram Bot Framework","directories":{},"_nodeVersion":"14.0.0","dependencies":{"debug":"^4.3.1","minimist":"^1.2.5","typegram":"^3.1.4","p-timeout":"^4.1.0","node-fetch":"^2.6.1","module-alias":"^2.2.2","sandwich-stream":"^2.0.2","abort-controller":"^3.0.0"},"_hasShrinkwrap":false,"devDependencies":{"ava":"^3.15.0","eslint":"^7.17.0","typedoc":"^0.20.13","prettier":"2.2.1","mjs-entry":"gist:de6257751f54b3c66319bae8d2a8aea0","typescript":"^4.1.3","@types/node":"^14.14.20","@types/debug":"^4.1.5","@types/node-fetch":"^2.5.7","eslint-plugin-ava":"^11.0.0","eslint-plugin-node":"^11.1.0","eslint-plugin-import":"^2.22.1","eslint-plugin-promise":"^4.2.1","eslint-config-prettier":"^7.1.0","eslint-config-standard":"^16.0.2","eslint-plugin-markdown":"^1.0.2","eslint-plugin-prettier":"^3.3.1","eslint-plugin-standard":"^4.1.0","@typescript-eslint/parser":"^4.12.0","@typescript-eslint/eslint-plugin":"^4.12.0","eslint-config-standard-with-typescript":"^19.0.1"},"_npmOperationalInternal":{"tmp":"tmp/telegraf_4.0.3_1612724870885_0.6373256697547269","host":"s3://npm-registry-packages"}},"4.1.0":{"name":"telegraf","version":"4.1.0","keywords":["telegraf","telegram","telegram bot api","bot","botapi","bot framework"],"author":{"name":"Vitaly Domnikov","email":"oss@vitaly.codes"},"license":"MIT","_id":"telegraf@4.1.0","maintainers":[{"name":"dotcypress","email":"dotcypress@gmail.com"},{"name":"wojpawlik","email":"woj.pawlik@gmail.com"}],"homepage":"https://telegraf.js.org","bugs":{"url":"https://github.com/telegraf/telegraf/issues"},"bin":{"telegraf":"bin/telegraf"},"dist":{"shasum":"b20d4aa6acdf6aab3fc054805e87633573f95928","tarball":"https://registry.npmjs.org/telegraf/-/telegraf-4.1.0.tgz","fileCount":109,"integrity":"sha512-Kradl4x8QjIWXbpaJYcG2Ts+2HR/C6576iskjowuJK11kvjn+TUxiJg+csPE4qQkfTHFmuCoqBBRwo2SaQsVQg==","signatures":[{"sig":"MEYCIQCt2BV0Fo5JWoJ7A0gC1B/iakbJxhrLcHzYwqkkiGOxTgIhALiyM/DUj2q6uDl4YL5nU+hAs6mpWh9FA5Ptmw9UlI1R","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":402463,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgMYTvCRA9TVsSAnZWagAAlCIP/3tcR/dN0v2Y/clo2efa\naIxXmDSQ4oWgyjViJO8zPc/dZQ5KOekjKNMElsWUebSuhtquSsA1XOTji7Ba\neH9PcoyLWVTeXtbr6irFepSJ8sRlxBEwLd0msjtd7binzNaMm0rXHonCZdKg\naWIwajVlOTgA4/HYHtni7vauYL5JJBWrQLnQPStIxn0chaqSN48OWXqqWTmF\n62XMfpXHwnsx5m2n4gqZCdHDfwKox83lrHnZfH1sPwlM/Q5d819j69mBYs0h\nk48tYmk+m4Ov5ufRKOYFUpB/kqeTN1xtAvUOelQFTMDNVxoMn6VQjLVkDtc1\ncCbeHquWp7XerRHu/qfJgusgo9bo2kJuONZJ5pHAD0eCWVvSRZdrK9uWxmq/\nPGH2Y5gxa1Q0DLHj5kfsICndyJ8fUJQ4oylruFJsorIUVTztwNvE5jZ/1ASy\nD0OfXa/SBmPQDljas/XqVZsS4X51THM1Z4szCc+PSb2z3/LBwMtss07qL5/F\nX8D7k6hgAgbo2JBA1n1slebv38oDTaUAbe0N/edEoqukG80P2bB/PpTTc0X5\n56HO/bZzGlU/BCRuzMBHFQl9lyAbdi7rE2/mfvsH4Gow+Twa6psThu85J7il\n4tCKvQRiVMtApgdxx61JV/kvGAQT1RrGGUIGI7yVHsTRLNW3k5zqpWSiJHxK\nsKeD\r\n=ppXM\r\n-----END PGP SIGNATURE-----\r\n"},"main":"lib/index.js","type":"commonjs","types":"./typings/index.d.ts","engines":{"node":">=12"},"exports":{"import":"./lib/index.mjs","require":"./lib/index.js"},"gitHead":"a004af1b5ba4f24382d1db62f68218fc37c4ad24","scripts":{"lint":"eslint .","test":"ava test/*","build":"tsc --build docs/examples","clean":"git clean -fX .eslintcache docs/build/ lib/ typings/","checks":"npm test && npm run lint","prepare":"npm run build && mjs-entry src/index.ts > lib/index.mjs","pretest":"npm run build","refresh":"npm run clean && npm ci","build:docs":"typedoc src/index.ts"},"_npmUser":{"name":"wojpawlik","email":"woj.pawlik@gmail.com"},"deprecated":"https://github.com/telegraf/telegraf/pull/1378","repository":{"url":"git+ssh://git@github.com/telegraf/telegraf.git","type":"git"},"_npmVersion":"6.14.4","description":"Modern Telegram Bot Framework","directories":{},"_nodeVersion":"14.0.0","dependencies":{"debug":"^4.3.1","minimist":"^1.2.5","typegram":"^3.1.4","p-timeout":"^4.1.0","node-fetch":"^2.6.1","module-alias":"^2.2.2","sandwich-stream":"^2.0.2","abort-controller":"^3.0.0"},"_hasShrinkwrap":false,"devDependencies":{"ava":"^3.15.0","eslint":"^7.17.0","typedoc":"^0.20.13","prettier":"2.2.1","mjs-entry":"gist:de6257751f54b3c66319bae8d2a8aea0","typescript":"^4.1.3","@types/node":"^14.14.20","@types/debug":"^4.1.5","@types/node-fetch":"^2.5.7","eslint-plugin-ava":"^11.0.0","eslint-plugin-node":"^11.1.0","eslint-plugin-import":"^2.22.1","eslint-plugin-promise":"^4.2.1","eslint-config-prettier":"^7.1.0","eslint-config-standard":"^16.0.2","eslint-plugin-markdown":"^1.0.2","eslint-plugin-prettier":"^3.3.1","eslint-plugin-standard":"^4.1.0","@typescript-eslint/parser":"^4.12.0","@typescript-eslint/eslint-plugin":"^4.12.0","eslint-config-standard-with-typescript":"^19.0.1"},"_npmOperationalInternal":{"tmp":"tmp/telegraf_4.1.0_1613858030999_0.5701364728174396","host":"s3://npm-registry-packages"}},"4.1.1":{"name":"telegraf","version":"4.1.1","keywords":["telegraf","telegram","telegram bot api","bot","botapi","bot framework"],"author":{"name":"Vitaly Domnikov","email":"oss@vitaly.codes"},"license":"MIT","_id":"telegraf@4.1.1","maintainers":[{"name":"dotcypress","email":"dotcypress@gmail.com"},{"name":"wojpawlik","email":"woj.pawlik@gmail.com"}],"homepage":"https://telegraf.js.org","bugs":{"url":"https://github.com/telegraf/telegraf/issues"},"bin":{"telegraf":"bin/telegraf"},"dist":{"shasum":"26122477ff1c3e5b53a0d7ed8f73629392c88e03","tarball":"https://registry.npmjs.org/telegraf/-/telegraf-4.1.1.tgz","fileCount":109,"integrity":"sha512-VGcFfTZzjlZquBHX5VwIzhREnDHQSHV+PkirqGKXzLWun/c/qkzJKeAFc3qv5AGJBrdfNbVbHNtZT7mjpmMPtg==","signatures":[{"sig":"MEUCIQC0WMilMw7Nz7YRm4rA3emajSmkOrTjASgizwqdSG490AIgAPfSeH8U7tZs2td+KBn1+h/lv+0KVXR5wGcKV0YoyDo=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":401950,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgNrylCRA9TVsSAnZWagAAEPwP+gMMDgOSBxOED4hvxQS+\n4qzilbAiifOTmq5gWerIRgB+vbTqTEGGBCucByacqMokTkzGHjLPGiV/c6HG\njOOfM/j2bl0MfQcV3EjrmOClHEXGQEcUH9ZiBXTg1PMVWc2ZOQc5UwqWvs9R\n3+2xZ27wy4tW3e97yAvMrHG8JuikTH8f9zNqn5fw5T2hDaWXT/6Z1pkHLcbz\nNcUWEKaL6jbrsnP1tDNuPaP9ETkHEVcG7R65YUpEXFwvbJOGZ5vqf6MwnWmF\n7GI2BGob7ywZBBqgskaUmEfgjazTDPcX5zCRhSU6FQEyRBc0qnfW28OouDlN\nmUL2lPpSfhcFy45X+Z64aEwNG3rwCQ0SO7NafpcXonYyP3NQqvH69MD2oip4\nD1RqVjAg78OMtxMgur/tR1tsw2yfUqixkM9tuNSCClH1YGSxHqC8RaL7LsxD\nzc8zBt2pd7G+DhNC4jh3VC/sKskgS+NG/4Kvb9KA1OSBA7O18X6lZS6lXtMM\nKGOrTaCIvG3/JKq7Ow0lAA839c4JBAxM1ITw+JW7WNfJdq8pwd9g2Rl6Cp7V\nfAR+ZfmLPbGtHgXOKH7b7delej/LQaON+SZxpv3b1MwHG7AIhbI8fyds9XiX\nGczp6OIn5OJsJVKwQT/qQqXc/I3GTLBxpULUT9KcInUJNfVAT4aBmMmgVKmE\nmSfh\r\n=WhHZ\r\n-----END PGP SIGNATURE-----\r\n"},"main":"lib/index.js","type":"commonjs","types":"./typings/index.d.ts","engines":{"node":">=12"},"exports":{"import":"./lib/index.mjs","require":"./lib/index.js"},"gitHead":"aa44715bde28d8a5d98982a42f59bb948c0315c2","scripts":{"lint":"eslint .","test":"ava test/*","build":"tsc --build docs/examples","clean":"git clean -fX .eslintcache docs/build/ lib/ typings/","checks":"npm test && npm run lint","prepare":"npm run build && mjs-entry src/index.ts > lib/index.mjs","pretest":"npm run build","refresh":"npm run clean && npm ci","build:docs":"typedoc src/index.ts"},"_npmUser":{"name":"wojpawlik","email":"woj.pawlik@gmail.com"},"repository":{"url":"git+ssh://git@github.com/telegraf/telegraf.git","type":"git"},"_npmVersion":"6.14.4","description":"Modern Telegram Bot Framework","directories":{},"_nodeVersion":"14.0.0","dependencies":{"debug":"^4.3.1","minimist":"^1.2.5","typegram":"^3.1.10","p-timeout":"^4.1.0","node-fetch":"^2.6.1","module-alias":"^2.2.2","sandwich-stream":"^2.0.2","abort-controller":"^3.0.0"},"_hasShrinkwrap":false,"devDependencies":{"ava":"^3.15.0","eslint":"^7.17.0","typedoc":"^0.20.13","prettier":"2.2.1","mjs-entry":"gist:de6257751f54b3c66319bae8d2a8aea0","typescript":"^4.1.3","@types/node":"^14.14.20","@types/debug":"^4.1.5","@types/node-fetch":"^2.5.7","eslint-plugin-ava":"^11.0.0","eslint-plugin-node":"^11.1.0","eslint-plugin-import":"^2.22.1","eslint-plugin-promise":"^4.2.1","eslint-config-prettier":"^7.1.0","eslint-config-standard":"^16.0.2","eslint-plugin-markdown":"^1.0.2","eslint-plugin-prettier":"^3.3.1","eslint-plugin-standard":"^4.1.0","@typescript-eslint/parser":"^4.12.0","@typescript-eslint/eslint-plugin":"^4.12.0","eslint-config-standard-with-typescript":"^19.0.1"},"_npmOperationalInternal":{"tmp":"tmp/telegraf_4.1.1_1614199971551_0.7707253014846456","host":"s3://npm-registry-packages"}},"4.1.2":{"name":"telegraf","version":"4.1.2","keywords":["telegraf","telegram","telegram bot api","bot","botapi","bot framework"],"author":{"name":"Vitaly Domnikov","email":"oss@vitaly.codes"},"license":"MIT","_id":"telegraf@4.1.2","maintainers":[{"name":"dotcypress","email":"dotcypress@gmail.com"},{"name":"wojpawlik","email":"woj.pawlik@gmail.com"}],"homepage":"https://telegraf.js.org","bugs":{"url":"https://github.com/telegraf/telegraf/issues"},"bin":{"telegraf":"bin/telegraf"},"dist":{"shasum":"bfc1e798a2018cf7b6804ab07ee230161cee01b5","tarball":"https://registry.npmjs.org/telegraf/-/telegraf-4.1.2.tgz","fileCount":109,"integrity":"sha512-YZljmryOhcZgrRWU28AV7UhZ3y+jKRwPwB49PSDDmW7tKtQHrSLBkW0pCoLniDlQVz+ICBGCWXZlHfqDkQ2iNQ==","signatures":[{"sig":"MEUCIDxSVzqwl+c2K1/4fkLiN/14bzw6pqLT9O8uTdap1BSsAiEA1HFr7cVEbfMaUHauL6dworqZFRnmv0QFRbslOiF+a1w=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":402885,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgPm0oCRA9TVsSAnZWagAAR6kP/jTvJ3GlkNYmYbCYFCv1\n+L9XjWzet5+isGzT7aFmsqXswWaxx0I/hlh8lusLFvIskQbWdhPK4f9a6Nkn\natsTwJnDQN6/jRbMPHUQcy/oIzIqHNgCuhQQkY7wcJBYvcqHskwQry/+K7ze\nMc4TYma6BrWPseDX/SYFQJDvfcQkUet059yDvKiRzqehytXXCbcCtI9rcECu\nXk50Ws37VT/SgI9svECN+lrb35oddiMDcdVcVCJ2AzuWxJzs+/aufm090/0N\nAM4k/7bi+/ihekA+Hj05GyZCMnMrcauXO0QV3Q9RAyFz1Veci9E71cCYgi6J\nt9mpQQzUOEaOhRIZZQxZMsWPNUOppie89V3t+0qn/u8pbkr9hqJqrw7h4wj+\nfUl05oTHRiSL1kmovxa9ZrBKqi6bD0OQfduwMQiZiPtLqjB4Vkyhfsbja4+8\n44h17CmEgR4/LnK1/lYPgwQaGij2xvFKDsNcUKp6pRTUOTgkZYJF22/AvlMI\nyNe5PDgfoFRgRyjWDb95C4Ioq8Gy/jcBywlNDfSzMJzWbdxPjpjNO1nZtZPQ\nEG64psFXgy5PGA2SOrq246QTkowmXfGVkPqX3Gv45v7DHXDhxhOpmcM52zvC\nJNJSZ5T9Tp08JsluvM82/nHQJ1x/dosWoLNFCtQ5IdgwY6KSyZUo86hAC+Yw\n5FdY\r\n=ppJ3\r\n-----END PGP SIGNATURE-----\r\n"},"main":"lib/index.js","type":"commonjs","types":"./typings/index.d.ts","engines":{"node":">=12"},"exports":{"import":"./lib/index.mjs","require":"./lib/index.js"},"gitHead":"0894986e8f45d51a8e90c829be8a8184c29e6bf5","scripts":{"lint":"eslint .","test":"ava test/*","build":"tsc --build docs/examples","clean":"git clean -fX .eslintcache docs/build/ lib/ typings/","checks":"npm test && npm run lint","prepare":"npm run build && mjs-entry src/index.ts > lib/index.mjs","pretest":"npm run build","refresh":"npm run clean && npm ci","build:docs":"typedoc src/index.ts"},"_npmUser":{"name":"wojpawlik","email":"woj.pawlik@gmail.com"},"repository":{"url":"git+ssh://git@github.com/telegraf/telegraf.git","type":"git"},"_npmVersion":"6.14.4","description":"Modern Telegram Bot Framework","directories":{},"_nodeVersion":"14.0.0","dependencies":{"debug":"^4.3.1","minimist":"^1.2.5","typegram":"^3.1.10","p-timeout":"^4.1.0","node-fetch":"^2.6.1","module-alias":"^2.2.2","safe-compare":"^1.1.4","sandwich-stream":"^2.0.2","abort-controller":"^3.0.0"},"_hasShrinkwrap":false,"devDependencies":{"ava":"^3.15.0","eslint":"^7.17.0","typedoc":"^0.20.13","prettier":"2.2.1","mjs-entry":"gist:de6257751f54b3c66319bae8d2a8aea0","typescript":"^4.1.3","@types/node":"^14.14.20","@types/debug":"^4.1.5","@types/node-fetch":"^2.5.7","eslint-plugin-ava":"^11.0.0","eslint-plugin-node":"^11.1.0","@types/safe-compare":"^1.1.0","eslint-plugin-import":"^2.22.1","eslint-plugin-promise":"^4.2.1","eslint-config-prettier":"^7.1.0","eslint-config-standard":"^16.0.2","eslint-plugin-markdown":"^1.0.2","eslint-plugin-prettier":"^3.3.1","eslint-plugin-standard":"^4.1.0","@typescript-eslint/parser":"^4.12.0","@typescript-eslint/eslint-plugin":"^4.12.0","eslint-config-standard-with-typescript":"^19.0.1"},"_npmOperationalInternal":{"tmp":"tmp/telegraf_4.1.2_1614703911693_0.49213733733332754","host":"s3://npm-registry-packages"}},"4.2.0":{"name":"telegraf","version":"4.2.0","keywords":["telegraf","telegram","telegram bot api","bot","botapi","bot framework"],"author":{"name":"Vitaly Domnikov","email":"oss@vitaly.codes"},"license":"MIT","_id":"telegraf@4.2.0","maintainers":[{"name":"dotcypress","email":"dotcypress@gmail.com"},{"name":"wojpawlik","email":"woj.pawlik@gmail.com"}],"homepage":"https://telegraf.js.org","bugs":{"url":"https://github.com/telegraf/telegraf/issues"},"bin":{"telegraf":"bin/telegraf"},"dist":{"shasum":"1a9d8373eedf6550e9f9671789ddcb209c0c0d3c","tarball":"https://registry.npmjs.org/telegraf/-/telegraf-4.2.0.tgz","fileCount":109,"integrity":"sha512-OBZk4OEdo+w0Dr/OQoKoLkAtf4rcL/hBovO+bWILEJgOJlPnKdFjG0g7wmFk7RrVh75VNc7RSp9qgb9J3TMx9A==","signatures":[{"sig":"MEUCIQDMv+zMJF0uIIOINOmqS31f0Sk56YUAkUMOqs2JhpKY8QIgaMYGsOKTDLkclDHd/JxlTWZj1wi67CyH3BZI4FVvl0M=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":409831,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgR840CRA9TVsSAnZWagAAdU4P/A693tNWbShky4WneavS\nrHAnBiDh7ZtHaH5XqETe0/SWqGrcM3EYKCMIWClmj9wHxHah/6islj5cQsEs\nTtB/c1TxEanmViSnt95hjTrH0suX4AeENtmGjJSnMCISChAbYahpDPShvPh7\n7dO4Zuf66A40aQ/jnobYg5gbWttF8VWySJPTYzHEq6eKrTqIUFCx/LTUnall\nEkdz+jTgTNIxMCgLo0SxXyl/WXYZcQTjSyQ+nDk1Er78AOkFVC2+amP95r9Y\nFnke7Eh5TyectWPxbzCOU9pm9N9CObaOofPM+7wd8dxFbW1q+fHJVIq5NV9/\nylO+hRhS1YGFObc0/0XMQBNqL36XswV0JZ5sM0uLkYMh9pZdhZj5LttqzLKs\nzK8/1d2NKm7qkX7yuGzuWKk6wT7LZ2Uw0TW7aOEi5x0AzGtmNsXeixZQSubY\ntrVS7XB24EhuvEEZm9skoiFqh3+QYeKrirCfeFA8wTs7cZQR0ipqAqzoKFU2\naybNj2vb3SYr/kjCB249grXysp9GnZ3syPGeWbLyV67+BXSfyQdacSy17Fqb\nm7HZrAk7Au14k+Ut3PNJzS9Ry5sbiIqJ/4i32A6fR/l9siTTDcs/ia1g3DO9\n3snKwPeq1otAubydPGh7UwQsKuMXVU15y8DBvdWQij0DP9czUjuqhP+W3xgi\nrq5i\r\n=TsxI\r\n-----END PGP SIGNATURE-----\r\n"},"main":"lib/index.js","type":"commonjs","types":"./typings/index.d.ts","engines":{"node":">=12"},"exports":{"import":"./lib/index.mjs","require":"./lib/index.js"},"gitHead":"6b9b79ac542e06f1cb137067002d226e987d215c","scripts":{"lint":"eslint .","test":"ava test/*","build":"tsc --build docs/examples","clean":"git clean -fX .eslintcache docs/build/ lib/ typings/","checks":"npm test && npm run lint","prepare":"npm run build && mjs-entry src/index.ts > lib/index.mjs","pretest":"npm run build","refresh":"npm run clean && npm ci","build:docs":"typedoc src/index.ts"},"_npmUser":{"name":"wojpawlik","email":"woj.pawlik@gmail.com"},"deprecated":"https://github.com/telegraf/telegraf/pull/1400","repository":{"url":"git+ssh://git@github.com/telegraf/telegraf.git","type":"git"},"_npmVersion":"6.14.4","description":"Modern Telegram Bot Framework","directories":{},"_nodeVersion":"14.0.0","dependencies":{"debug":"^4.3.1","minimist":"^1.2.5","typegram":"^3.2.0","p-timeout":"^4.1.0","node-fetch":"^2.6.1","module-alias":"^2.2.2","safe-compare":"^1.1.4","sandwich-stream":"^2.0.2","abort-controller":"^3.0.0"},"_hasShrinkwrap":false,"devDependencies":{"ava":"^3.15.0","eslint":"^7.17.0","typedoc":"^0.20.13","prettier":"2.2.1","mjs-entry":"gist:de6257751f54b3c66319bae8d2a8aea0","typescript":"^4.1.3","@types/node":"^14.14.20","@types/debug":"^4.1.5","@types/node-fetch":"^2.5.7","eslint-plugin-ava":"^11.0.0","eslint-plugin-node":"^11.1.0","@types/safe-compare":"^1.1.0","eslint-plugin-import":"^2.22.1","eslint-plugin-promise":"^4.2.1","eslint-config-prettier":"^7.1.0","eslint-config-standard":"^16.0.2","eslint-plugin-markdown":"^1.0.2","eslint-plugin-prettier":"^3.3.1","eslint-plugin-standard":"^4.1.0","@typescript-eslint/parser":"^4.12.0","@typescript-eslint/eslint-plugin":"^4.12.0","eslint-config-standard-with-typescript":"^19.0.1"},"_npmOperationalInternal":{"tmp":"tmp/telegraf_4.2.0_1615318580327_0.43862521873592497","host":"s3://npm-registry-packages"}},"4.2.1":{"name":"telegraf","version":"4.2.1","keywords":["telegraf","telegram","telegram bot api","bot","botapi","bot framework"],"author":{"name":"Vitaly Domnikov","email":"oss@vitaly.codes"},"license":"MIT","_id":"telegraf@4.2.1","maintainers":[{"name":"dotcypress","email":"dotcypress@gmail.com"},{"name":"wojpawlik","email":"woj.pawlik@gmail.com"}],"homepage":"https://telegraf.js.org","bugs":{"url":"https://github.com/telegraf/telegraf/issues"},"bin":{"telegraf":"bin/telegraf"},"dist":{"shasum":"0346ecacef3308450b03b8ef2a2c0afcd9339f6d","tarball":"https://registry.npmjs.org/telegraf/-/telegraf-4.2.1.tgz","fileCount":109,"integrity":"sha512-tSww8MY+XmT2K3Kq0Y7drGjpl36AQQEg0WWBUByfFcbG6ChiIgOFycPMkB+g5jSL+RqaP7QA4EybAztmI1227g==","signatures":[{"sig":"MEYCIQDgIkINGqXYuHO5yDn/6bqjSRTRdzV7FiKSD4RczXhjtwIhAMwAcUl00X49qsy7AfG7HuZiW6o1Xolx9hst4AHi3F8m","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":410217,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgSLgsCRA9TVsSAnZWagAAhH0P/24kXz5pQdl9UykyqYxI\nh3TPLeLUgXoOuhSuyOmw+LY99XY1xB/VnxXUcO86hH4hRjRqHlqwXtc+ZliN\n6lbeOlGnUN5fy2j4ovmPyGndwVrht3coV5qjsfYud48lxVkwpwAvZeYvudYf\nfYwUjTMhuYGMekCv7DC3CsbVSLr5LJp5dQc/UKMXGMslXLGqvtBeeTRP4AT+\nX/fuFQC8UWPzBGj7lcVhYhpUwkWWv3LO1Wc6wuPRd2We9bvp1+W7f2izH1yd\nbnS9PCOwYi1bMVNe0roPE7sXvuMixVy1fMixKPxOMAEnom+Qk+W3HL/GhFoq\n4d5UN9QYtFOjuT7XimbuoB5r8GYlw5WHm01ParD2mS/s1T3kRAvsj+zcqlo8\n4De92JSZIk+phsnpe4pSpJGML4+in34W17nRQkTHWH+lr0DUQ6gNmV1UuR1u\nfwCu4y2xL6yMdiXSPfa1vLQ2rPZJ1jDOjYeINAMGdX5x5sULgjfDwzpQsndj\nnymZKR1EFaWwSgwjMb8dBl9XuD/FWJAcc1VSq8jPjhghfO0p8D8xid1WKbnN\nFT2nVuDlpx164rOzCDE+2M+R9/chfpsWsjmR7So0eJMw4VhyJl910tETUOvy\n2K31cF9Z20GihaCvFt7hIkGEh9JdAvYSUwxpWwwe6nydOvLuc1mSAgvihdL/\nzSOM\r\n=7E1e\r\n-----END PGP SIGNATURE-----\r\n"},"main":"lib/index.js","type":"commonjs","types":"./typings/index.d.ts","engines":{"node":">=12"},"exports":{"import":"./lib/index.mjs","require":"./lib/index.js"},"gitHead":"65a94b0e798afec3403557a4b1b8c0e6c836e93f","scripts":{"lint":"eslint .","test":"ava test/*","build":"tsc --build docs/examples","clean":"git clean -fX .eslintcache docs/build/ lib/ typings/","checks":"npm test && npm run lint","prepare":"npm run build && mjs-entry src/index.ts > lib/index.mjs","pretest":"npm run build","refresh":"npm run clean && npm ci","build:docs":"typedoc src/index.ts"},"_npmUser":{"name":"wojpawlik","email":"woj.pawlik@gmail.com"},"repository":{"url":"git+ssh://git@github.com/telegraf/telegraf.git","type":"git"},"_npmVersion":"6.14.4","description":"Modern Telegram Bot Framework","directories":{},"_nodeVersion":"14.0.0","dependencies":{"debug":"^4.3.1","minimist":"^1.2.5","typegram":"^3.2.0","p-timeout":"^4.1.0","node-fetch":"^2.6.1","module-alias":"^2.2.2","safe-compare":"^1.1.4","sandwich-stream":"^2.0.2","abort-controller":"^3.0.0"},"_hasShrinkwrap":false,"devDependencies":{"ava":"^3.15.0","eslint":"^7.17.0","typedoc":"^0.20.13","prettier":"2.2.1","mjs-entry":"gist:de6257751f54b3c66319bae8d2a8aea0","typescript":"^4.1.3","@types/node":"^14.14.20","@types/debug":"^4.1.5","@types/node-fetch":"^2.5.7","eslint-plugin-ava":"^11.0.0","eslint-plugin-node":"^11.1.0","@types/safe-compare":"^1.1.0","eslint-plugin-import":"^2.22.1","eslint-plugin-promise":"^4.2.1","eslint-config-prettier":"^7.1.0","eslint-config-standard":"^16.0.2","eslint-plugin-markdown":"^1.0.2","eslint-plugin-prettier":"^3.3.1","eslint-plugin-standard":"^4.1.0","@typescript-eslint/parser":"^4.12.0","@typescript-eslint/eslint-plugin":"^4.12.0","eslint-config-standard-with-typescript":"^19.0.1"},"_npmOperationalInternal":{"tmp":"tmp/telegraf_4.2.1_1615378475862_0.9236059256323075","host":"s3://npm-registry-packages"}},"4.3.0":{"name":"telegraf","version":"4.3.0","keywords":["telegraf","telegram","telegram bot api","bot","botapi","bot framework"],"author":{"name":"Vitaly Domnikov","email":"oss@vitaly.codes"},"license":"MIT","_id":"telegraf@4.3.0","maintainers":[{"name":"dotcypress","email":"dotcypress@gmail.com"},{"name":"wojpawlik","email":"woj.pawlik@gmail.com"}],"homepage":"https://telegraf.js.org","bugs":{"url":"https://github.com/telegraf/telegraf/issues"},"bin":{"telegraf":"bin/telegraf"},"dist":{"shasum":"c9683192bdb81e7c7fbb04cf1ce750fb34de7149","tarball":"https://registry.npmjs.org/telegraf/-/telegraf-4.3.0.tgz","fileCount":109,"integrity":"sha512-MuDUtSMipzMzQp8fXbQx76jp4ZD70KREdnpH1idUzN9Zlgm6EzatBQFU4Ps0ipxtEmnBBdghBMumQwrjRe3eqg==","signatures":[{"sig":"MEQCIF+tSXB743XevV4Nh9Y5He47jMtykxdhPaGpiiOwl5d6AiB6kyAyC5+Ox62UcJ9H0+Qi7IRN/F2XGS3k0eBb+F8SYQ==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":395272,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgUhK0CRA9TVsSAnZWagAABLQQAIfMKr2/duUFxNqy8bSU\nOS9Ht+oEYj8nyUdMxRYd4YJJWiYMcbFIwXFs6HhEYB0N5LwvDDPbipon4CK5\nacAtn6fPu4IybfY1coIUKboWKOVCCyRhk0mxrBodbb7fK6VNva7/VYAGvGZV\nJhM5kjlPQ1s+Iy7gqsqLhjqkflVE3IQK9EplzfPNDUZmnAvesM5F2RC8XiI6\nLBfLrM9DzqYvz/HEELj2CxrfQteUxakOQ3IfVPJfTmiR0mDHPftj+1/H5lt4\nK3VvFSuAHaCJpLe03YfrhpqJDtiHPyPom/0C8Fh7Ph0h2UKW1oV4RNXttKxa\nDAEEGS8Y5uTsTFnK3+rufzMSQMOieRJq1yW68+PlsmThKr7M1G0a2LJKnE9X\nMwvSz/FZqOyYk9SiZ8Ko901vXAX671T6yokaBEglSWxqNtPsardubIPAmNlh\nt2ofhILW1yYindjxAxzSh2sljytxlSlupweOh1fYfQXoQ5Oyr+nSAIIibTzK\nDYNgFi7HtiomHNXKLoNRdhnx6Npsd7uAggtlpLAhnRwkcY11Y23K31sAXm9J\nvTkWq429uL8wpdKAhNRbwp/1juiJJ568ULEPXNGQPh1cpmz3fGw333+nZWjg\nvUvUvDQKQb8QuhggwCFcxdQ+nqFP9hwcSvZHDxZ8iTfKmfzrqMVsBrYH7r/4\nBiZf\r\n=iaxM\r\n-----END PGP SIGNATURE-----\r\n"},"main":"lib/index.js","type":"commonjs","types":"./typings/index.d.ts","engines":{"node":">=12"},"exports":{"import":"./lib/index.mjs","require":"./lib/index.js"},"gitHead":"4cef44e16babe590dd62d8da9913bae7abfbbced","scripts":{"lint":"eslint .","test":"ava test/*","build":"tsc --build docs/examples","clean":"git clean -fX .eslintcache docs/build/ lib/ typings/","checks":"npm test && npm run lint","prepare":"npm run build && mjs-entry src/index.ts > lib/index.mjs","pretest":"npm run build","refresh":"npm run clean && npm ci","build:docs":"typedoc src/index.ts"},"_npmUser":{"name":"wojpawlik","email":"woj.pawlik@gmail.com"},"repository":{"url":"git+ssh://git@github.com/telegraf/telegraf.git","type":"git"},"_npmVersion":"6.14.4","description":"Modern Telegram Bot Framework","directories":{},"_nodeVersion":"14.0.0","dependencies":{"debug":"^4.3.1","minimist":"^1.2.5","typegram":"^3.2.0","p-timeout":"^4.1.0","node-fetch":"^2.6.1","module-alias":"^2.2.2","safe-compare":"^1.1.4","sandwich-stream":"^2.0.2","abort-controller":"^3.0.0"},"_hasShrinkwrap":false,"devDependencies":{"ava":"^3.15.0","eslint":"^7.17.0","typedoc":"^0.20.29","prettier":"2.2.1","mjs-entry":"gist:de6257751f54b3c66319bae8d2a8aea0","typescript":"~4.2.3","@types/node":"^14.14.20","@types/debug":"^4.1.5","@types/node-fetch":"^2.5.7","eslint-plugin-ava":"^11.0.0","eslint-plugin-node":"^11.1.0","@types/safe-compare":"^1.1.0","eslint-plugin-import":"^2.22.1","eslint-plugin-promise":"^4.2.1","eslint-config-prettier":"^7.1.0","eslint-config-standard":"^16.0.2","eslint-plugin-markdown":"^1.0.2","eslint-plugin-prettier":"^3.3.1","eslint-plugin-standard":"^4.1.0","@typescript-eslint/parser":"^4.16.1","@typescript-eslint/eslint-plugin":"^4.16.1","eslint-config-standard-with-typescript":"^19.0.1"},"_npmOperationalInternal":{"tmp":"tmp/telegraf_4.3.0_1615991476200_0.06743672056589256","host":"s3://npm-registry-packages"}},"4.4.0":{"name":"telegraf","version":"4.4.0","keywords":["telegraf","telegram","telegram bot api","bot","botapi","bot framework"],"author":{"name":"Vitaly Domnikov","email":"oss@vitaly.codes"},"license":"MIT","_id":"telegraf@4.4.0","maintainers":[{"name":"dotcypress","email":"dotcypress@gmail.com"},{"name":"wojpawlik","email":"woj.pawlik@gmail.com"}],"homepage":"https://telegraf.js.org","bugs":{"url":"https://github.com/telegraf/telegraf/issues"},"bin":{"telegraf":"bin/telegraf"},"dist":{"shasum":"a84228664a252062036b328fc364b5662ba3d22d","tarball":"https://registry.npmjs.org/telegraf/-/telegraf-4.4.0.tgz","fileCount":108,"integrity":"sha512-DjVVEz37/5Hp0n8eLhAVjErwoyrWsqLyFAoRj8sU5XiD2CVAbBOx9J6a7cLn/B46pPgDqgbrdjiOeK0fQMiLOA==","signatures":[{"sig":"MEQCIEqXvtaS/DEcPFpdZ1X9S+HLWf0lH31jHQqmyhwTw0SrAiBYaN8Tf+iGYxga4vYc1mWVGQG4D0ppzhTmFQS73DajOg==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":416196,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJg3dwZCRA9TVsSAnZWagAAVM8P/iS4GjzeEoxvpyYp0kiE\nJFE0hHeLsi8TvYmvbEpcVXqUT7Pf8FnuwEkNy+YuOX64uhUIod51vRDLdTpm\n6biFIkuGaH79XQx2m3qxetcEocQZrxxBXtO7X87BvcvwzIWhYKzqa3toC/TS\nTp36Qx3mprr9pgAc9ErLBwTnFCO4guvM8eIW/9PfzpUftT3IOKXg5fIQQCSO\nDfcwJ+DmH9baRXXT5MuNKHcYJ6+OoXSAGuFdOzRCmj6p1zsbRqLzcaT3YLAp\nBS0i69Qz+PifNRq0kxqK4jiYOfNRDepcjDFp80slYbaSTAatciBgRiQ2NvBZ\nP+ZtE8Zb8iXbI4jzrekpcM1JBVQDiAptKUsuwlMoEGawA2GHKXU8WLpWzlVO\nsIzgqP7DBiFX3YUQplHxF3WAlrRBmO+QiFnTplAfbhg7gyc+QRbo/kE2b63E\nOdDR7lR+CjbLVh4Q1ugQ9dK15cFMX2OradrNPwACFBm0mJsC2nDkRB2dRBvb\n4X+YXPLBPln8hZJylkg+ZeXcX8sMOmGuQLVkTjkxyuyY/3nf8xBXXHQDV8NM\nPKXZdNjPbJxMwWMiQAki7W8W5gMfz2WX4XGpEIStP5W7WcFEUixNN+PdAqjk\nmvF1Fm1UBdL6nvi0T9LPpVLr4HcNYyJC3Ic9R+Jg0F/QeI9m0mEOhiroe+jD\nFka1\r\n=sKLH\r\n-----END PGP SIGNATURE-----\r\n"},"main":"lib/index.js","type":"commonjs","types":"./typings/index.d.ts","engines":{"node":"^12.20.0 || >=14.13.1"},"exports":{".":"./lib/index.js"},"gitHead":"ed577faeecb0db01c70a297a587f6b8d4f582fb0","scripts":{"lint":"eslint .","test":"ava test/*","build":"tsc --build docs/examples","clean":"git clean -fX .eslintcache docs/build/ lib/ typings/","checks":"npm test && npm run lint","prepare":"npm run --silent build","pretest":"npm run build","refresh":"npm run clean && npm ci","build:docs":"typedoc src/index.ts"},"_npmUser":{"name":"wojpawlik","email":"woj.pawlik@gmail.com"},"repository":{"url":"git+ssh://git@github.com/telegraf/telegraf.git","type":"git"},"_npmVersion":"6.14.13","description":"Modern Telegram Bot Framework","directories":{},"_nodeVersion":"14.17.1","dependencies":{"debug":"^4.3.1","minimist":"^1.2.5","typegram":"^3.4.0","p-timeout":"^4.1.0","node-fetch":"^2.6.1","module-alias":"^2.2.2","safe-compare":"^1.1.4","sandwich-stream":"^2.0.2","abort-controller":"^3.0.0"},"_hasShrinkwrap":false,"devDependencies":{"ava":"^3.15.0","eslint":"^7.17.0","typedoc":"^0.20.29","prettier":"2.2.1","typescript":"~4.2.3","@types/node":"^14.14.20","@types/debug":"^4.1.5","@types/node-fetch":"^2.5.7","eslint-plugin-ava":"^11.0.0","eslint-plugin-node":"^11.1.0","@types/safe-compare":"^1.1.0","eslint-plugin-import":"^2.22.1","eslint-plugin-promise":"^4.2.1","eslint-config-prettier":"^7.1.0","eslint-config-standard":"^16.0.2","eslint-plugin-markdown":"^1.0.2","eslint-plugin-prettier":"^3.3.1","eslint-plugin-standard":"^4.1.0","@typescript-eslint/parser":"^4.16.1","@typescript-eslint/eslint-plugin":"^4.16.1","eslint-config-standard-with-typescript":"^19.0.1"},"_npmOperationalInternal":{"tmp":"tmp/telegraf_4.4.0_1625152536669_0.572639962285397","host":"s3://npm-registry-packages"}},"3.39.0":{"name":"telegraf","version":"3.39.0","keywords":["telegraf","telegram","telegram bot api","bot","botapi","bot framework"],"author":{"name":"Vitaly Domnikov","email":"oss@vitaly.codes"},"license":"MIT","_id":"telegraf@3.39.0","maintainers":[{"name":"dotcypress","email":"dotcypress@gmail.com"},{"name":"wojpawlik","email":"woj.pawlik@gmail.com"}],"homepage":"https://github.com/telegraf/telegraf#readme","bugs":{"url":"https://github.com/telegraf/telegraf/issues"},"bin":{"telegraf":"bin/telegraf"},"dist":{"shasum":"32a7ed464c80802fe3177619d2a9c53413487850","tarball":"https://registry.npmjs.org/telegraf/-/telegraf-3.39.0.tgz","fileCount":33,"integrity":"sha512-6u5UyW2KpMS/hwC4DKLGlicK/rVSYCahPFgF14ioP6BzwcDwQlciHCB/oWguvxLJaYGrvY6crzLHfjupFTBPXw==","signatures":[{"sig":"MEQCIC/6k3PbP7cUSS8dOKAr2RmZNN4JpQtOp6eZFmk4BNaxAiAwkQrClua8xyd+56Vpp7Yl1OWxpJnjdWv2X2DhEywWLg==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":216485,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJg4bYmCRA9TVsSAnZWagAAhWwQAIWkGUUCifu/ro9s4JT1\nHlBF3dxzRI/X7uDYWO/4rUYWIqLz7/e6eK44Kp2+9otqSLLRsOKv/vJpQefS\npnH71HCPcXE50i832X72ifCTCP4y/pJNUA295XTImQpvZMtJabxCKJFyDoXh\nQL7uDGlaRIPDlJK0kcqoij5pb6y4v7SN30VzvdzCiHmBEfjxwsIAjMiw5SNJ\n2wxFGSVFVKui+rTRdDeezpLMIUtyVDJQWPESL50SmPhBO6JXJoCzfy/rgOwJ\nCXaxA2ere7SAQGQzbuuWkSIJANDMsFzJGIxzS77JnJ+xEb9GWXU6ZtPFiuYf\nAj+yOnA8QoLzTWVL7y9XsbIQj6y3LAogxpT3TZrLtVEAJ6YihZXuyYU3YXaO\nuRaK1y90Xy2dDj9S2ul3E6qcJcM9ZUFMlBTmK9NqRZXb72HVf5xRV80QYAQm\nto9IPAMxRZMp0kLWwDmoEMD3psjj+r6B+ufVMmT+8kcY/cw52MY9nFwIcLYV\neXft9IDIb2xEIR8R25dG+ganOSHrbGp8y+PHcMuSK2OzXyTD7ERJIBL4JLjZ\nBNmYNmOWYWjzoxfGi4cjVXQVOR8jEH3oPkjYIJyBIeb3kzRNLlQQnPxOmtkz\nL1GFNOrS4Mmv5uPusK4tHJuzAj3Ap0MmLgYvCs+gZWQOLfivsz6lHsPMl/jf\nyNLo\r\n=hpJD\r\n-----END PGP SIGNATURE-----\r\n"},"main":"telegraf.js","type":"commonjs","types":"./typings/index.d.ts","readme":"![Telegraf](docs/media/header.png)\n[![Bot API Version](https://img.shields.io/badge/Bot%20API-v5.0-f36caf.svg?style=flat-square)](https://core.telegram.org/bots/api)\n[![NPM Version](https://img.shields.io/npm/v/telegraf.svg?style=flat-square)](https://www.npmjs.com/package/telegraf)\n[![node](https://img.shields.io/node/v/telegraf.svg?style=flat-square)](https://www.npmjs.com/package/telegraf)\n[![Build Status](https://img.shields.io/travis/telegraf/telegraf.svg?branch=master&style=flat-square)](https://travis-ci.org/telegraf/telegraf)\n[![js-standard-style](https://img.shields.io/badge/code%20style-standard-brightgreen.svg?style=flat-square)](http://standardjs.com/)\n[![Community Chat](https://img.shields.io/badge/Community-Chat-blueChat?style=flat-square&logo=telegram)](https://t.me/TelegrafJSChat)\n\n## Introduction\n\nBots are special [Telegram](https://telegram.org) accounts designed to handle messages automatically. Users can interact with bots by sending them command messages in private or group chats. These accounts serve as an interface for code running somewhere on your server.\n\n### Features\n\n- Full [Telegram Bot API 4.8](https://core.telegram.org/bots/api) support\n- [Telegram Payment Platform](https://telegram.org/blog/payments)\n- [HTML5 Games](https://core.telegram.org/bots/api#games)\n- [Inline mode](https://core.telegram.org/bots/api#inline-mode)\n- Incredibly fast\n- [now](https://now.sh)/[Firebase](https://firebase.google.com/products/functions/)/[Glitch](https://dashing-light.glitch.me)/[Heroku](https://devcenter.heroku.com/articles/getting-started-with-nodejs#introduction)/[AWS **λ**](https://docs.aws.amazon.com/lambda/latest/dg/nodejs-prog-model-handler.html)/Whatever ready\n- `http/https/fastify/Connect.js/express.js` compatible webhooks\n- Easy to extend\n- `TypeScript` typings\n\n### Installation\n\n```bash\nnpm install telegraf\n```\n\nor using `yarn`:\n\n```bash\nyarn add telegraf\n```\n\n### Documentation\n\n[Telegraf developer docs](http://telegraf.js.org)\n\n### Examples\n \n```js\nconst { Telegraf } = require('telegraf')\n\nconst bot = new Telegraf(process.env.BOT_TOKEN)\nbot.start((ctx) => ctx.reply('Welcome!'))\nbot.help((ctx) => ctx.reply('Send me a sticker'))\nbot.on('sticker', (ctx) => ctx.reply('👍'))\nbot.hears('hi', (ctx) => ctx.reply('Hey there'))\nbot.launch()\n```\n\n```js\nconst { Telegraf } = require('telegraf')\n\nconst bot = new Telegraf(process.env.BOT_TOKEN)\nbot.command('oldschool', (ctx) => ctx.reply('Hello'))\nbot.command('modern', ({ reply }) => reply('Yo'))\nbot.command('hipster', Telegraf.reply('λ'))\nbot.launch()\n```\n\nThere's some cool [examples too](docs/examples/).\n","engines":{"node":">=8"},"gitHead":"507db6cf6da3bbac25d3a768d2da7c79f3352167","scripts":{"lint":"eslint .","test":"ava test/*","precommit":"npm run lint && npm run typecheck && npm test","typecheck":"tsc"},"_npmUser":{"name":"wojpawlik","email":"woj.pawlik@gmail.com"},"repository":{"url":"git+ssh://git@github.com/telegraf/telegraf.git","type":"git"},"_npmVersion":"7.6.3","description":"Modern Telegram Bot Framework","directories":{},"_nodeVersion":"15.12.0","dependencies":{"debug":"^4.0.1","minimist":"^1.2.0","typegram":"^3.1.5","node-fetch":"^2.2.0","module-alias":"^2.2.2","sandwich-stream":"^2.0.1"},"_hasShrinkwrap":false,"readmeFilename":"readme.md","devDependencies":{"ava":"^3.0.0","husky":"^4.2.0","eslint":"^6.2.2","prettier":"^2.0.5","typescript":"^3.0.1","@types/node":"^13.1.0","eslint-plugin-ava":"^10.0.0","eslint-plugin-node":"^11.0.0","eslint-plugin-import":"^2.2.0","eslint-plugin-promise":"^4.0.0","eslint-config-standard":"^14.1.0","eslint-plugin-standard":"^4.0.0"},"_npmOperationalInternal":{"tmp":"tmp/telegraf_3.39.0_1625404966127_0.5259184390388676","host":"s3://npm-registry-packages"}},"4.4.1":{"name":"telegraf","version":"4.4.1","keywords":["telegraf","telegram","telegram bot api","bot","botapi","bot framework"],"author":{"name":"Vitaly Domnikov","email":"oss@vitaly.codes"},"license":"MIT","_id":"telegraf@4.4.1","maintainers":[{"name":"dotcypress","email":"dotcypress@gmail.com"},{"name":"wojpawlik","email":"woj.pawlik@gmail.com"}],"homepage":"https://telegraf.js.org","bugs":{"url":"https://github.com/telegraf/telegraf/issues"},"bin":{"telegraf":"bin/telegraf"},"dist":{"shasum":"f7a9c82db17417149494aa63f9956e3484ffdcf6","tarball":"https://registry.npmjs.org/telegraf/-/telegraf-4.4.1.tgz","fileCount":108,"integrity":"sha512-jxV8fC/K6abcUTlhy/l8txJAmEJIkJoDu/cN0yXOJWLp9csfLIp+cD4qlwJ6ko+4EgOJmNZvWK7Tr2dxKolJQQ==","signatures":[{"sig":"MEUCIAaQq5l92Z5bYHNCwWgakLTqzXj50YhD6mYHTXuTN7YeAiEAnl7Bqcb2/25Ucmh7dAc4hffz/05gZoKsDHp9MOdTLys=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":416253,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJg+vaLCRA9TVsSAnZWagAATP0P/iQcaK700N69Z41+Vtp8\nQx5yC+96IvHgomrWW2Ua55Gv6gjUpV+CmfUdjNhDF+uCfAZ95kTdLSFWP14Z\na1GtG9JtvzQzjjxZtjKAWoAytVB1Ca8a4Jom3coWSxYy2mbq2U9IchLoJGts\nf4mFFD9ZE21ic/IC4YW2nTRmLXfEE3TkMts+21rgONsOy4/o3P2odoeN0tqw\n7b6aQtgpfqf2f/9I5SKJS9oscFwQYkTZ8YElar9ZolviMC1mzQp1Hg3No/D/\nOWStH3l5Ie+nnGcH5aYfB8Irn4FLY85IdlmYVKfUzNlzy3EPxUMtqr00RyuQ\npvdHoAziP9US3HMvIY4uVQn28yNQKn1Q8wg6rjh+cCu83SVpsBg1FE8+PVU7\nlA6p/+S9b2Gkm8TsuQBan7WqUdmqxbAS25ALF9rbvnakQAQPerTPWG2xix+I\nHag7IpOBYeWEPlI2jpfjGof3t/+YKdIQJWSq0YM1c8YyI0lHcr+JRNKjPBF+\nfWSPKRVsiIdibtQDT9CFt8NcNDZ4tmjpjxsl+J1u2HB+L2IjDvWRhgSoMlFY\nv6dSrtXSTaElNdvtZ4d+W6GmaVhfUPcpJqjoexIXFU+EDQ0hrckDpwTrb/XY\n71zYTxrBPkmH7u1FvWtytdx3CoC+6/PLkkmndQ98wNqZDufDKWQbfB6P6kOu\n1nqq\r\n=02S4\r\n-----END PGP SIGNATURE-----\r\n"},"main":"lib/index.js","type":"commonjs","types":"./typings/index.d.ts","engines":{"node":"^12.20.0 || >=14.13.1"},"exports":{".":"./lib/index.js"},"gitHead":"8560673ba4d19f6a04a60fb9493d0fadee29873e","scripts":{"lint":"eslint .","test":"ava test/*","build":"tsc --build docs/examples","clean":"git clean -fX .eslintcache docs/build/ lib/ typings/","checks":"npm test && npm run lint","prepare":"npm run --silent build","pretest":"npm run build","refresh":"npm run clean && npm ci","build:docs":"typedoc src/index.ts"},"_npmUser":{"name":"wojpawlik","email":"woj.pawlik@gmail.com"},"repository":{"url":"git+ssh://git@github.com/telegraf/telegraf.git","type":"git"},"_npmVersion":"6.14.13","description":"Modern Telegram Bot Framework","directories":{},"_nodeVersion":"14.17.3","dependencies":{"debug":"^4.3.1","minimist":"^1.2.5","typegram":"^3.4.2","p-timeout":"^4.1.0","node-fetch":"^2.6.1","module-alias":"^2.2.2","safe-compare":"^1.1.4","sandwich-stream":"^2.0.2","abort-controller":"^3.0.0"},"_hasShrinkwrap":false,"devDependencies":{"ava":"^3.15.0","eslint":"^7.17.0","typedoc":"^0.20.29","prettier":"2.2.1","typescript":"~4.2.3","@types/node":"^14.14.20","@types/debug":"^4.1.5","@types/node-fetch":"^2.5.7","eslint-plugin-ava":"^11.0.0","eslint-plugin-node":"^11.1.0","@types/safe-compare":"^1.1.0","eslint-plugin-import":"^2.22.1","eslint-plugin-promise":"^4.2.1","eslint-config-prettier":"^7.1.0","eslint-config-standard":"^16.0.2","eslint-plugin-markdown":"^1.0.2","eslint-plugin-prettier":"^3.3.1","eslint-plugin-standard":"^4.1.0","@typescript-eslint/parser":"^4.16.1","@typescript-eslint/eslint-plugin":"^4.16.1","eslint-config-standard-with-typescript":"^19.0.1"},"_npmOperationalInternal":{"tmp":"tmp/telegraf_4.4.1_1627059850847_0.6147616892545653","host":"s3://npm-registry-packages"}},"4.4.2":{"name":"telegraf","version":"4.4.2","keywords":["telegraf","telegram","telegram bot api","bot","botapi","bot framework"],"author":{"name":"Vitaly Domnikov","email":"oss@vitaly.codes"},"license":"MIT","_id":"telegraf@4.4.2","maintainers":[{"name":"dotcypress","email":"dotcypress@gmail.com"},{"name":"wojpawlik","email":"woj.pawlik@gmail.com"}],"homepage":"https://telegraf.js.org","bugs":{"url":"https://github.com/telegraf/telegraf/issues"},"bin":{"telegraf":"bin/telegraf"},"dist":{"shasum":"dd1b99a50593de303c8f47bbe98201a93a125f31","tarball":"https://registry.npmjs.org/telegraf/-/telegraf-4.4.2.tgz","fileCount":108,"integrity":"sha512-OGt9w1LbxYUOsRk3htAavBnL9hqWycmJNiOmS74oARzxKFnYS/MdwW8b5CX9VLCJt537AXkm8/eBNiEYD8E7lQ==","signatures":[{"sig":"MEUCIDm3C0v9diDRFMZuXebY97OV3SXUJh+VOc/Nlo+E0QBgAiEAiWnFTfuUeb97s3U4kHeD0bAb9HBxdyEIdeWsibb+G/s=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":416617,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJhPW9fCRA9TVsSAnZWagAAyiUP/0o9Tqp1pPlaueWwJ3sf\n+FpfFvJiZzKxScVjs8zL1OKvq3OTb2jI99TFR6mEaYMoEqucNxXlYNo023WP\npiqlQSLzigAsk02eztbuxzdPnLEejG5IdcRrpIcTMluRZcLGdPDhQ6VVZwao\njvkXMEyItfbQrUgPhZwp7sIU4ehmEWGP1kKNp8NRAA6d0DOe0o/vw4h0uZHV\ny9L/+t/eB58OqpBQBm7Ywx0M7zh6YK7eoHRzKmRBe2l6eJJ9nwWH6G1NAxB8\neivrN7EwZkiYWOrbnK4xP5UY41O1cpQG/JZqVbw25mc+iAGqb0zV0tt7v2iV\n/8IDq3I2Sqg2vJiMma1u3xUHZ6DitARxeIbbLEhdQ1HFzcINySVynQwccqVD\nIH+NjmSukTAynH8pWNUFePtIoON3R8K+glCTiZ745lY6iVQwCR3bj4NI/Kcx\nxi4EpD+mczX773l+gOnZyFSVU4AecOWdd0AgZoOmuxKZyMW/cKZaeUeCyrse\nRGuQyen6czZhnHoH9caSaAEvQ28FgeNaKhM476/ubbhIuHIuutcpw6Bth7aw\nRO/0SAAq8u7tL0Qizj1zEbajOsuL9aFTzkpGByxz2HIjmssMgAui/cV3TL3T\njJK1JJ+BRFoqHz1RWyn7NLCM2KS0MpSvKfAwqhG9CGSG3JDWyIILS0UxeLjT\nfk/R\r\n=nllW\r\n-----END PGP SIGNATURE-----\r\n"},"main":"lib/index.js","type":"commonjs","types":"./typings/index.d.ts","engines":{"node":"^12.20.0 || >=14.13.1"},"exports":{".":"./lib/index.js"},"gitHead":"63541abcd9487802a525f2576b10a523ee3249fd","scripts":{"lint":"eslint .","test":"ava test/*","build":"tsc --build docs/examples","clean":"git clean -fX .eslintcache docs/build/ lib/ typings/","checks":"npm test && npm run lint","prepare":"npm run --silent build","pretest":"npm run build","refresh":"npm run clean && npm ci","build:docs":"typedoc src/index.ts"},"_npmUser":{"name":"wojpawlik","email":"woj.pawlik@gmail.com"},"repository":{"url":"git+ssh://git@github.com/telegraf/telegraf.git","type":"git"},"_npmVersion":"6.14.15","description":"Modern Telegram Bot Framework","directories":{},"_nodeVersion":"14.17.6","dependencies":{"debug":"^4.3.1","minimist":"^1.2.5","typegram":"^3.4.2","p-timeout":"^4.1.0","node-fetch":"^2.6.1","module-alias":"^2.2.2","safe-compare":"^1.1.4","sandwich-stream":"^2.0.2","abort-controller":"^3.0.0"},"_hasShrinkwrap":false,"devDependencies":{"ava":"^3.15.0","eslint":"^7.17.0","typedoc":"^0.22.1","prettier":"2.2.1","typescript":"~4.4.2","@types/node":"^14.14.20","@types/debug":"^4.1.5","@types/node-fetch":"^2.5.7","eslint-plugin-ava":"^11.0.0","eslint-plugin-node":"^11.1.0","@types/safe-compare":"^1.1.0","eslint-plugin-import":"^2.22.1","eslint-plugin-promise":"^4.2.1","eslint-config-prettier":"^7.1.0","eslint-config-standard":"^16.0.2","eslint-plugin-markdown":"^1.0.2","eslint-plugin-prettier":"^3.3.1","eslint-plugin-standard":"^4.1.0","@typescript-eslint/parser":"^4.16.1","@typescript-eslint/eslint-plugin":"^4.16.1","eslint-config-standard-with-typescript":"^19.0.1"},"_npmOperationalInternal":{"tmp":"tmp/telegraf_4.4.2_1631416159104_0.648425204970287","host":"s3://npm-registry-packages"}},"4.5.1":{"name":"telegraf","version":"4.5.1","keywords":["telegraf","telegram","telegram bot api","bot","botapi","bot framework"],"author":{"name":"Vitaly Domnikov","email":"oss@vitaly.codes"},"license":"MIT","_id":"telegraf@4.5.1","maintainers":[{"name":"dotcypress","email":"dotcypress@gmail.com"},{"name":"mkrhere","email":"muthukumar@thefeathers.in"},{"name":"wojpawlik","email":"woj.pawlik@gmail.com"}],"homepage":"https://telegraf.js.org","bugs":{"url":"https://github.com/telegraf/telegraf/issues"},"bin":{"telegraf":"bin/telegraf"},"dist":{"shasum":"d27a523a8d68a16ecc94ad7d459a8dac21f57755","tarball":"https://registry.npmjs.org/telegraf/-/telegraf-4.5.1.tgz","fileCount":108,"integrity":"sha512-6OIo4EehkkqM2JBcEpYKFu4PavQ92UoLc7K7IqUUepBPSM/Fg84Vi/hSmP7U8e/RNX6iRvdtd59ZV5ZMhCEXHA==","signatures":[{"sig":"MEUCICw/vQ7rLdr7/i3yW8rUf5lQcY/k0AX5DmQe33Yn4K0WAiEA0JMjld7fwhAlPvgyo0fUhg2akI9OPqEKV9yYpSgKDH8=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":431798,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJhr8siCRA9TVsSAnZWagAAmqIQAJnZkLoZgTMbdElbJdKE\nv5WUMH+FBwVju6IsY34u3oXimOORvJ3I3ArZFjAp/ELN45oX5sOQrQNQWs8Y\n3YJ/HQv2DAmixDoXvF8vwhLBjCotv99D8kwcu3WbVgp2FEHaMDoAdV+L6cE5\nT7kI0HbcmiZ3qrHmvptk7InGRoNEoBib7pjHF9n//zNwj0pPmro+uVfV52uh\nAdJzsD5j9YQNuUZK05MCHhFWxO1qAura5vLX1+wQLGRUSRl16nlpHUgvOFlW\nY5HV6w6p8KtXmCM0noaDOaJbYYKT5k4w3CF/3g0s6LsXm2xDJXCNA7tJZlNT\n/Pqx9zy/GA5rxUeJcxwmdooJW8UzCLszeK3ETiBsMc7fgfYlEZAiqNjPY9kz\nLAkqzlRhhBLyLpPGP588oYclU0uG1YSZAwbnjKMCo57AZf6PUpAfbXQ4U7q6\n4bCPK05qvN2V1UHEoZ4vTjshC32+KSl0u8XMGjMuz1yFGdeYtJYlm0cWiD2I\nIR2jODsyR5iRwveKyxgi6LI2gxyG9pTF4Tauxtmn4L2NLK8oOtg35gGkM7fw\nTs2OxMtZYLiMUw5JN7IyWHSGcoJkHuvf21woaP0b6HhWDlBlXzdQ000PwGMj\nTDnQjHgoE7bjDCTvz1o++dxn1p04ERQk84qZPv4tyH2soToTwpxyH5ia8c6t\nGNfY\r\n=fMB8\r\n-----END PGP SIGNATURE-----\r\n"},"main":"lib/index.js","type":"commonjs","types":"./typings/index.d.ts","engines":{"node":"^12.20.0 || >=14.13.1"},"exports":{".":"./lib/index.js"},"gitHead":"81c1c96f556b9fdea19c4af1ace8e04392874fac","scripts":{"lint":"eslint .","test":"ava test/*","build":"tsc --build docs/examples","clean":"git clean -fX .eslintcache docs/build/ lib/ typings/","checks":"npm test && npm run lint","prepare":"npm run --silent build","pretest":"npm run build","refresh":"npm run clean && npm ci","build:docs":"typedoc src/index.ts"},"_npmUser":{"name":"mkrhere","email":"muthukumar@thefeathers.in"},"repository":{"url":"git+ssh://git@github.com/telegraf/telegraf.git","type":"git"},"_npmVersion":"8.1.0","description":"Modern Telegram Bot Framework","directories":{},"_nodeVersion":"16.13.0","dependencies":{"debug":"^4.3.3","minimist":"^1.2.5","typegram":"^3.6.1","p-timeout":"^4.1.0","node-fetch":"^2.6.6","module-alias":"^2.2.2","safe-compare":"^1.1.4","sandwich-stream":"^2.0.2","abort-controller":"^3.0.0"},"_hasShrinkwrap":false,"devDependencies":{"ava":"^3.15.0","eslint":"^7.32.0","typedoc":"^0.22.10","prettier":"^2.2.1","typescript":"^4.5.2","@types/node":"^14.18.0","@types/debug":"^4.1.5","@types/node-fetch":"^2.5.7","eslint-plugin-ava":"^11.0.0","eslint-plugin-node":"^11.1.0","@types/safe-compare":"^1.1.0","eslint-plugin-import":"^2.25.3","eslint-plugin-promise":"^4.3.1","eslint-config-prettier":"^7.2.0","eslint-config-standard":"^16.0.3","eslint-plugin-markdown":"^1.0.2","eslint-plugin-prettier":"^3.4.1","eslint-plugin-standard":"^4.1.0","@typescript-eslint/parser":"^4.33.0","@typescript-eslint/eslint-plugin":"^4.33.0","eslint-config-standard-with-typescript":"^19.0.1"},"_npmOperationalInternal":{"tmp":"tmp/telegraf_4.5.1_1638910754570_0.23819892419158273","host":"s3://npm-registry-packages"}},"4.5.2":{"name":"telegraf","version":"4.5.2","keywords":["telegraf","telegram","telegram bot api","bot","botapi","bot framework"],"author":{"name":"Vitaly Domnikov","email":"oss@vitaly.codes"},"license":"MIT","_id":"telegraf@4.5.2","maintainers":[{"name":"dotcypress","email":"dotcypress@gmail.com"},{"name":"mkrhere","email":"muthukumar@thefeathers.in"},{"name":"wojpawlik","email":"woj.pawlik@gmail.com"}],"homepage":"https://telegraf.js.org","bugs":{"url":"https://github.com/telegraf/telegraf/issues"},"bin":{"telegraf":"bin/telegraf"},"dist":{"shasum":"1788aef6b3b5f3cfb5b831db9bf58aa550641cc2","tarball":"https://registry.npmjs.org/telegraf/-/telegraf-4.5.2.tgz","fileCount":108,"integrity":"sha512-OG68wQqYQQq2ldzAMv6JJUkh9XU+4mWRgHinMeJ8FoRA5ZZuA4WauqRFi8aY/OQiwJM2gTT2XWCfopN2dZWDNw==","signatures":[{"sig":"MEUCIQDIncEIle5iyALRRZ+j4LRHMiBIla5fMjb5PGFV4+6ubAIgWps7cGl6AHr06nzlWTJpQImXVdUUY/NTH0M7KNlFzAU=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":431409,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJhsEV9CRA9TVsSAnZWagAAPnIQAIJ+M8Rx6dCu/RleD5tl\n5D/aTNU05kuB8aJEuDb+P2TTqSUlSA4q+ixZ/p482gpjlE3wI50TVheywJoR\nqhVv2MIdoFjBgxa+RIJInlUb4p79RmiTv9FBAxHrjp16u/H/qkmruNffe7XD\nDUsLZDp4jNzdiJ9m1D30sRwEUS8uLZ7rOZM/cdaQqn0lltOmp6fCy0AQypfP\nOicjuC2f7TXlhFHZYsTVfsNIVN0hcEG1rTEpVit2rmFpygsuNPCSqkeMaBUt\nrpS2zyvvyFhQu0pb4S0tvnTmhcbWPqNTOB3O1a1wC3pMc0AER3Bgvf0++WCh\ny9k1oRteyC34ppMsA8gLEwMPsQaPxA/QjFBQ/KsxiEXuva72PUdXDbAGzNvY\nT6J+ShgrgGKPjSU/ieeDWmuo+4rTdZQykJ0KAZj61HdJPWCi/dCG/Fl+vj/w\nmZiT0hA97QD/tD5Etr4RVKvterpK/9uv8RqoFsgAFU/Y97dv10GOmeYUSK0I\n7EimoitjlAgzbljzeYM9OUahQJf+l0GWZ/6tSS6FFQkbX7wmsaKHkW1b5hHF\n3ZQvVKbtFT9K+Af5QTQufu8vznZs8DCLsHTy0mynMXJVbbQ+VDkDIqnsNH8I\na/vRoUhtRm/T/7G/KZ8qj2c63pWQo6jXYRVl9cWYPBtztbhewPgxkUv0jvnH\nomj7\r\n=ea2Z\r\n-----END PGP SIGNATURE-----\r\n"},"main":"lib/index.js","type":"commonjs","types":"./typings/index.d.ts","engines":{"node":"^12.20.0 || >=14.13.1"},"exports":{".":"./lib/index.js"},"gitHead":"11fda49e7123283132ea6b6d3a3dbeae835578e3","scripts":{"lint":"eslint .","test":"ava test/*","build":"tsc --build docs/examples","clean":"git clean -fX .eslintcache docs/build/ lib/ typings/","checks":"npm test && npm run lint","prepare":"npm run --silent build","pretest":"npm run build","refresh":"npm run clean && npm ci","build:docs":"typedoc src/index.ts"},"_npmUser":{"name":"mkrhere","email":"muthukumar@thefeathers.in"},"repository":{"url":"git+ssh://git@github.com/telegraf/telegraf.git","type":"git"},"_npmVersion":"8.1.0","description":"Modern Telegram Bot Framework","directories":{},"_nodeVersion":"16.13.0","dependencies":{"debug":"^4.3.3","minimist":"^1.2.5","typegram":"^3.6.1","p-timeout":"^4.1.0","node-fetch":"^2.6.6","module-alias":"^2.2.2","safe-compare":"^1.1.4","sandwich-stream":"^2.0.2","abort-controller":"^3.0.0"},"_hasShrinkwrap":false,"devDependencies":{"ava":"^3.15.0","eslint":"^7.32.0","typedoc":"^0.22.10","prettier":"^2.2.1","typescript":"^4.5.2","@types/node":"^14.18.0","@types/debug":"^4.1.5","@types/node-fetch":"^2.5.7","eslint-plugin-ava":"^11.0.0","eslint-plugin-node":"^11.1.0","@types/safe-compare":"^1.1.0","eslint-plugin-import":"^2.25.3","eslint-plugin-promise":"^4.3.1","eslint-config-prettier":"^7.2.0","eslint-config-standard":"^16.0.3","eslint-plugin-markdown":"^1.0.2","eslint-plugin-prettier":"^3.4.1","eslint-plugin-standard":"^4.1.0","@typescript-eslint/parser":"^4.33.0","@typescript-eslint/eslint-plugin":"^4.33.0","eslint-config-standard-with-typescript":"^19.0.1"},"_npmOperationalInternal":{"tmp":"tmp/telegraf_4.5.2_1638942077362_0.39808488027894184","host":"s3://npm-registry-packages"}},"4.6.0":{"name":"telegraf","version":"4.6.0","keywords":["telegraf","telegram","telegram bot api","bot","botapi","bot framework"],"author":{"name":"Vitaly Domnikov","email":"oss@vitaly.codes"},"license":"MIT","_id":"telegraf@4.6.0","maintainers":[{"name":"dotcypress","email":"dotcypress@gmail.com"},{"name":"mkrhere","email":"muthukumar@thefeathers.in"},{"name":"wojpawlik","email":"woj.pawlik@gmail.com"}],"homepage":"https://telegraf.js.org","bugs":{"url":"https://github.com/telegraf/telegraf/issues"},"bin":{"telegraf":"bin/telegraf"},"dist":{"shasum":"3300d51f65a163c24426ed6e431c0d5df3729b06","tarball":"https://registry.npmjs.org/telegraf/-/telegraf-4.6.0.tgz","fileCount":108,"integrity":"sha512-77JqMIyEd8jN5meTp6F50ILVsqxMaVplbDZtGNfJhVr75ZsnClLYt+z3p61cOcACaPIlgOtqzQwN0wtjVjdiCg==","signatures":[{"sig":"MEYCIQDiJORQX2WTxGNAHT5kz8lgunV9orCsoi17I3MBIrAGigIhALl/m/fjTRvv7cHeGXxu4bCyYHJR/uBBZ9GNrOoGCZnz","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":433500,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJh4mfdCRA9TVsSAnZWagAAK2kP/0W3p3ml1peTSiZqBHg2\nZeGV05DSa7Fon6AvwVfSc6Xzdy2bF4BJns5zFN1fBcwkGe2R97ZnLDoL6umc\nLyf79thE5fN/OCLo/y4hyhgG54Zi4lNvHUeOtawKXKI/7FIuu1Rdgfv6W1a9\nXunDCa9iy3L6enU18GRuStrcu31sD0V0wPAJ2kxQR73FPpfOCaUcKSptem4B\nSY2DVWiXHH4cCiKvMJmCcevfiFSHiiQ3czGoV0jppdHCEAqqCNFz+tH1xoI/\nRA3hfcXsAPIDaknaX4bXly7D5whNEjWSbmpVUYL4o8N7U5Ga3MjzDmpsMn5N\nripu3+gz0nkWdhn1lWdpwp8Ju8whEG68O2nSVzx+o9Dl3CL7jvOKMTxp/b78\neyuVKLdpxpyMauFTwVMpC3gTC/bW5ZxgyQotSzIkWKZ6nu1zWZFfwihixfdc\nG3A0ivpiIDvhg37PPaYoLrmU1hHBLpl4Uz0eU2HBO8h328mqRGgqKAztH7xe\nP3FehDHUoGMZv+LN/NZuQckZHuvfKUHpYbDC6DLsMcTOg8lgwLfi09PfBq7C\n1XXQKAyVB1A/YNsUtLls64NMotprlMhEYvnSm+MwVtVnGejtB8dsCw5GVyju\n8Gprfhb8u2wq4n913aWKdqXutapn5cWenJxUscoKDXMWvG81TEaAmeXR0aGt\nRAKV\r\n=wEdA\r\n-----END PGP SIGNATURE-----\r\n"},"main":"lib/index.js","type":"commonjs","types":"./typings/index.d.ts","engines":{"node":"^12.20.0 || >=14.13.1"},"exports":{".":"./lib/index.js"},"gitHead":"49c96e0cc13f7ad75dd12af124c29186d3e66822","scripts":{"lint":"eslint .","test":"ava test/*","build":"tsc --build docs/examples","clean":"git clean -fX .eslintcache docs/build/ lib/ typings/","checks":"npm test && npm run lint","prepare":"npm run --silent build","pretest":"npm run build","refresh":"npm run clean && npm ci","build:docs":"typedoc src/index.ts"},"_npmUser":{"name":"mkrhere","email":"muthukumar@thefeathers.in"},"repository":{"url":"git+ssh://git@github.com/telegraf/telegraf.git","type":"git"},"_npmVersion":"8.1.2","description":"Modern Telegram Bot Framework","directories":{},"_nodeVersion":"16.13.2","dependencies":{"debug":"^4.3.3","minimist":"^1.2.5","typegram":"^3.7.0","p-timeout":"^4.1.0","node-fetch":"^2.6.6","module-alias":"^2.2.2","safe-compare":"^1.1.4","sandwich-stream":"^2.0.2","abort-controller":"^3.0.0"},"_hasShrinkwrap":false,"devDependencies":{"ava":"^3.15.0","eslint":"^7.32.0","typedoc":"^0.22.10","prettier":"^2.2.1","typescript":"^4.5.2","@types/node":"^14.18.0","@types/debug":"^4.1.5","@types/node-fetch":"^2.5.7","eslint-plugin-ava":"^11.0.0","eslint-plugin-node":"^11.1.0","@types/safe-compare":"^1.1.0","eslint-plugin-import":"^2.25.3","eslint-plugin-promise":"^4.3.1","eslint-config-prettier":"^7.2.0","eslint-config-standard":"^16.0.3","eslint-plugin-markdown":"^1.0.2","eslint-plugin-prettier":"^3.4.1","eslint-plugin-standard":"^4.1.0","@typescript-eslint/parser":"^4.33.0","@typescript-eslint/eslint-plugin":"^4.33.0","eslint-config-standard-with-typescript":"^19.0.1"},"_npmOperationalInternal":{"tmp":"tmp/telegraf_4.6.0_1642227677266_0.4724330693878527","host":"s3://npm-registry-packages"}},"4.7.0-canary.1":{"name":"telegraf","version":"4.7.0-canary.1","keywords":["telegraf","telegram","telegram bot api","bot","botapi","bot framework"],"author":{"name":"Vitaly Domnikov","email":"oss@vitaly.codes"},"license":"MIT","_id":"telegraf@4.7.0-canary.1","maintainers":[{"name":"dotcypress","email":"dotcypress@gmail.com"},{"name":"mkrhere","email":"muthukumar@thefeathers.in"},{"name":"wojpawlik","email":"woj.pawlik@gmail.com"}],"homepage":"https://telegraf.js.org","bugs":{"url":"https://github.com/telegraf/telegraf/issues"},"bin":{"telegraf":"bin/telegraf"},"dist":{"shasum":"6f45c97cb50dcc6185821100c8eff4d7b420dda8","tarball":"https://registry.npmjs.org/telegraf/-/telegraf-4.7.0-canary.1.tgz","fileCount":111,"integrity":"sha512-e6JVjFZcDTjipVLOXNiCKj3kLkbJjWkapmgcExlqHUuGiZN0+1iCcZzQT2B06SqXfSngmZLdNWF6RY+/mjKRpQ==","signatures":[{"sig":"MEUCID/bxZpLEKZ/KPSozw5mvcy8b60Pg28CpxOIH2w2JxQzAiEAmWHKPWoEYb1thEy7ETdcPJ7Mu2r7NWxcN0gXK2FqrP4=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":434484,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJh/YFVCRA9TVsSAnZWagAADzAP+gIoEDmTG25qqiFUdGBB\nTqsDwWV0e4KApWNpT5aG6le2BXrrV6mrKbCSWK0Ssbk6LnC6ioCxGr6aJg2k\nWeP8t4gcSf7QGkArh1kLTyA49lgeiUIDpjl9hxspbPD0Pje4fA+Up/UOzGhR\nFjogS4olLpT66aqM2zNNeE26RkTCipaXNAMwmItxafTug5xgA7m0ospzDvOr\nt85hcI0S8GdQHZXDit+ymOq333Aen4OHPvAZ3nkgFqZQKu4kE/W7oVD731DI\n9gHctbZ5qdHyAMexvGuh41Zj7ibRsut3hBDiVL6ae7i5qK3/ZgC03vz3jnxe\naARGu1ECO+hw5bbg2eWs9b2xQfV9E2A6GpLDHJVUBNtOLfZwxbB+JTwTrWhG\nHcwstRluZbak+x6P/9MDQ73c8a2xe5d00A0w55j7rmnIvWpmD1zv3LhX+Dsc\nsOD5DeWtqjY/CBBXNGlDesAJGqTpWPy343sJwsyoQ0rHjHvgukoc1eCl/2Ue\n3XFI3rVgAb0KeSek7fPreS12visZUMJgBbVwY7qfPvzr8bJEtl/YXpfOuKkl\nSzMi3dWzX7pmkkQ1UfLxi/FjPl1HZIsufBpyQA1kUhCPnXMMpn8ETs5DF8d0\nejv0tJHR1cfT8EpWb2k3zwexk6TVreKZfl1qM8CZQThCky3PN9uidxSH9tM+\nJ3GC\r\n=f5tZ\r\n-----END PGP SIGNATURE-----\r\n"},"main":"lib/index.js","type":"commonjs","types":"./typings/index.d.ts","readme":"
\n\"logo\"\n

telegraf.js

\n\nModern Telegram Bot API framework for Node.js\n\n[![Bot API Version](https://img.shields.io/badge/Bot%20API-v5.7-f36caf.svg?style=flat-square)](https://core.telegram.org/bots/api)\n[![install size](https://flat.badgen.net/packagephobia/install/telegraf)](https://packagephobia.com/result?p=telegraf,node-telegram-bot-api)\n[![GitHub top language](https://img.shields.io/github/languages/top/telegraf/telegraf?style=flat-square&logo=github)](https://github.com/telegraf/telegraf)\n[![Russian chat](https://img.shields.io/badge/Russian%20chat-grey?style=flat-square&logo=telegram)](https://t.me/telegraf_ru)\n[![English chat](https://img.shields.io/badge/English%20chat-grey?style=flat-square&logo=telegram)](https://t.me/TelegrafJSChat)\n
\n\n> Notice: [@MKRhere](https://github.com/MKRhere) has taken over as the new maintainer of Telegraf. Feel free to reach out via the Telegram group.\n\n## For 3.x users\n\n- [3.x docs](https://telegraf.js.org/v3)\n- [4.0 release notes](https://github.com/telegraf/telegraf/releases/tag/v4.0.0)\n\n## Introduction\n\nBots are special [Telegram](https://telegram.org) accounts designed to handle messages automatically. \nUsers can interact with bots by sending them command messages in private or group chats. \nThese accounts serve as an interface for code running somewhere on your server.\n\nTelegraf is a library that makes it simple for you to develop your own Telegram bots using JavaScript or [TypeScript](https://www.typescriptlang.org/).\n\n### Features\n\n- Full [Telegram Bot API 5.5](https://core.telegram.org/bots/api) support\n- [Excellent TypeScript typings](https://github.com/telegraf/telegraf/releases/tag/v4.0.0)\n- [Lightweight](https://packagephobia.com/result?p=telegraf,node-telegram-bot-api)\n- [AWS **λ**](https://docs.aws.amazon.com/lambda/latest/dg/nodejs-prog-model-handler.html)\n / [Firebase](https://firebase.google.com/products/functions/)\n / [Glitch](https://glitch.com/edit/#!/dashing-light)\n / [Heroku](https://devcenter.heroku.com/articles/getting-started-with-nodejs#introduction)\n / Whatever ready\n- `http/https/fastify/Connect.js/express.js` compatible webhooks\n- Extensible\n\n### Example\n \n```js\nconst { Telegraf } = require('telegraf')\n\nconst bot = new Telegraf(process.env.BOT_TOKEN)\nbot.start((ctx) => ctx.reply('Welcome'))\nbot.help((ctx) => ctx.reply('Send me a sticker'))\nbot.on('sticker', (ctx) => ctx.reply('👍'))\nbot.hears('hi', (ctx) => ctx.reply('Hey there'))\nbot.launch()\n\n// Enable graceful stop\nprocess.once('SIGINT', () => bot.stop('SIGINT'))\nprocess.once('SIGTERM', () => bot.stop('SIGTERM'))\n```\n\n```js\nconst { Telegraf } = require('telegraf')\n\nconst bot = new Telegraf(process.env.BOT_TOKEN)\nbot.command('oldschool', (ctx) => ctx.reply('Hello'))\nbot.command('hipster', Telegraf.reply('λ'))\nbot.launch()\n\n// Enable graceful stop\nprocess.once('SIGINT', () => bot.stop('SIGINT'))\nprocess.once('SIGTERM', () => bot.stop('SIGTERM'))\n```\n\nFor additional bot examples see [`examples`](https://github.com/telegraf/telegraf/tree/develop/docs/examples) folder.\n\n### Resources\n\n- [Getting started](#getting-started)\n- [API reference](https://telegraf.js.org/modules.html)\n- Telegram groups (sorted by number of members):\n * [Russian](https://t.me/telegraf_ru)\n * [English](https://t.me/TelegrafJSChat)\n * [Uzbek](https://t.me/telegrafJS_uz)\n * [Ethiopian](https://t.me/telegraf_et)\n- [GitHub Discussions](https://github.com/telegraf/telegraf/discussions)\n- [Dependent repositories](https://libraries.io/npm/telegraf/dependent_repositories)\n\n## Getting started\n\n### Telegram token\n\nTo use the [Telegram Bot API](https://core.telegram.org/bots/api), \nyou first have to [get a bot account](https://core.telegram.org/bots) \nby [chatting with BotFather](https://core.telegram.org/bots#6-botfather).\n\nBotFather will give you a *token*, something like `123456789:AbCdfGhIJKlmNoQQRsTUVwxyZ`.\n\n### Installation\n\n```shellscript\n$ npm install telegraf\n```\nor\n```shellscript\n$ yarn add telegraf\n```\nor\n```shellscript\n$ pnpm add telegraf\n```\n\n### `Telegraf` class\n\n[`Telegraf`] instance represents your bot. It's responsible for obtaining updates and passing them to your handlers.\n\nStart by [listening to commands](https://telegraf.js.org/classes/telegraf.html#command) and [launching](https://telegraf.js.org/classes/telegraf.html#launch) your bot.\n\n### `Context` class\n\n`ctx` you can see in every example is a [`Context`] instance.\n[`Telegraf`] creates one for each incoming update and passes it to your middleware.\nIt contains the `update`, `botInfo`, and `telegram` for making arbitrary Bot API requests,\nas well as shorthand methods and getters.\n\nThis is probably the class you'll be using the most.\n\n\n\n\n#### Shorthand methods\n\n```js\nimport { Telegraf } from 'telegraf'\n\nconst bot = new Telegraf(process.env.BOT_TOKEN)\n\nbot.command('quit', (ctx) => {\n // Explicit usage\n ctx.telegram.leaveChat(ctx.message.chat.id)\n\n // Using context shortcut\n ctx.leaveChat()\n})\n\nbot.on('text', (ctx) => {\n // Explicit usage\n ctx.telegram.sendMessage(ctx.message.chat.id, `Hello ${ctx.state.role}`)\n\n // Using context shortcut\n ctx.reply(`Hello ${ctx.state.role}`)\n})\n\nbot.on('callback_query', (ctx) => {\n // Explicit usage\n ctx.telegram.answerCbQuery(ctx.callbackQuery.id)\n\n // Using context shortcut\n ctx.answerCbQuery()\n})\n\nbot.on('inline_query', (ctx) => {\n const result = []\n // Explicit usage\n ctx.telegram.answerInlineQuery(ctx.inlineQuery.id, result)\n\n // Using context shortcut\n ctx.answerInlineQuery(result)\n})\n\nbot.launch()\n\n// Enable graceful stop\nprocess.once('SIGINT', () => bot.stop('SIGINT'))\nprocess.once('SIGTERM', () => bot.stop('SIGTERM'))\n```\n\n## Production\n\n### Webhooks\n\n```js\nconst { Telegraf } = require('telegraf')\nconst fs = require('fs')\nrequire('dotenv')\n\nconst bot = new Telegraf(process.env.BOT_TOKEN)\n\n// TLS options\nconst tlsOptions = {\n key: fs.readFileSync('server-key.pem'),\n cert: fs.readFileSync('server-cert.pem'),\n ca: [\n // This is necessary only if the client uses a self-signed certificate.\n fs.readFileSync('client-cert.pem')\n ]\n}\n\n// Set telegram webhook\n// The second argument is necessary only if the client uses a self-signed\n// certificate. Including it for a verified certificate may cause things to break.\nbot.telegram.setWebhook('https://server.tld:8443/secret-path', {\n source: 'server-cert.pem'\n})\n\n// Start https webhook\nbot.startWebhook('/secret-path', tlsOptions, 8443)\n\n// Http webhook, for nginx/heroku users.\nbot.startWebhook('/secret-path', null, 5000)\n```\n\nUse `webhookCallback()` if you want to attach Telegraf to an existing http server.\n\n\n\n```js\nrequire('http')\n .createServer(bot.webhookCallback('/secret-path'))\n .listen(3000)\n\nrequire('https')\n .createServer(tlsOptions, bot.webhookCallback('/secret-path'))\n .listen(8443)\n```\n\n- [AWS Lambda example integration](https://github.com/telegraf/telegraf/blob/develop/docs/examples/aws-lambda.js)\n- [`express` example integration](https://github.com/telegraf/telegraf/blob/develop/docs/examples/express-webhook-bot.ts)\n- [`fastify` example integration](https://github.com/telegraf/telegraf/blob/develop/docs/examples/fastify-webhook-bot.js)\n- [Google Cloud Functions example integration](https://github.com/telegraf/telegraf/blob/develop/docs/examples/google-cloud-function.ts)\n- [`koa` example integration](https://github.com/telegraf/telegraf/blob/develop/docs/examples/koa-webhook-bot.js)\n- [NestJS framework integration module](https://github.com/bukhalo/nestjs-telegraf)\n- Use [`bot.handleUpdate`](https://telegraf.js.org/classes/telegraf.html#handleupdate) to write new integrations\n\n### Error handling\n\nIf middleware throws an error or times out, Telegraf calls `bot.handleError`. If it rethrows, update source closes, and then the error is printed to console and process [hopefully](https://nodejs.org/api/cli.html#cli_unhandled_rejections_mode) terminates. If it does not rethrow, the error is swallowed.\n\nDefault `bot.handleError` always rethrows. You can overwrite it using `bot.catch` if you need to.\n\n⚠️ Always rethrow `TimeoutError`!\n\n⚠️ Swallowing unknown errors might leave the process in invalid state!\n\nℹ️ In production, `systemd` or [`pm2`](https://www.npmjs.com/package/pm2) can restart your bot if it exits for any reason.\n\n## Advanced topics\n\n### Working with files\n\nSupported file sources:\n\n- `Existing file_id`\n- `File path`\n- `Url`\n- `Buffer`\n- `ReadStream`\n\nAlso, you can provide an optional name of a file as `filename` when you send the file.\n\n\n\n```js\nbot.on('message', (ctx) => {\n // resend existing file by file_id\n ctx.replyWithSticker('123123jkbhj6b')\n\n // send file\n ctx.replyWithVideo({ source: '/path/to/video.mp4' })\n\n // send stream\n ctx.replyWithVideo({\n source: fs.createReadStream('/path/to/video.mp4')\n })\n\n // send buffer\n ctx.replyWithVoice({\n source: Buffer.alloc()\n })\n\n // send url via Telegram server\n ctx.replyWithPhoto('https://picsum.photos/200/300/')\n\n // pipe url content\n ctx.replyWithPhoto({\n url: 'https://picsum.photos/200/300/?random',\n filename: 'kitten.jpg'\n })\n})\n```\n\n### Middleware\n\nIn addition to `ctx: Context`, each middleware receives `next: () => Promise`.\n\nAs in Koa and some other middleware-based libraries,\n`await next()` will call next middleware and wait for it to finish:\n\n```js\nimport { Telegraf } from 'telegraf'\n\nconst bot = new Telegraf(process.env.BOT_TOKEN)\n\nbot.use(async (ctx, next) => {\n console.time(`Processing update ${ctx.update.update_id}`)\n await next() // runs next middleware\n // runs after next middleware finishes\n console.timeEnd(`Processing update ${ctx.update.update_id}`)\n})\n\nbot.on('text', (ctx) => ctx.reply('Hello World'))\nbot.launch()\n\n// Enable graceful stop\nprocess.once('SIGINT', () => bot.stop('SIGINT'))\nprocess.once('SIGTERM', () => bot.stop('SIGTERM'))\n```\n\nWith this simple ability, you can:\n- extract information from updates and then `await next()` to avoid disrupting other middleware,\n- like [`Composer`] and [`Router`], `await next()` for updates you don't wish to handle,\n- like [`session`] and [`Scenes`], [extend the context](#extending-context) by mutating `ctx` before `await next()`,\n- [intercept API calls](https://github.com/telegraf/telegraf/discussions/1267#discussioncomment-254525),\n- reuse [other people's code](https://www.npmjs.com/search?q=telegraf-),\n- do whatever **you** come up with!\n\n[`Composer`]: https://telegraf.js.org/classes/composer.html\n[`Context`]: https://telegraf.js.org/classes/context.html\n[`Router`]: https://telegraf.js.org/classes/router.html\n[`session`]: https://telegraf.js.org/modules.html#session\n[`Scenes`]: https://telegraf.js.org/modules/scenes.html\n[`Telegraf`]: https://telegraf.js.org/classes/telegraf.html\n\n### Usage with TypeScript\n\nTelegraf is written in TypeScript and therefore ships with declaration files for the entire library.\nMoreover, it includes types for the complete Telegram API via the [`typegram`](https://github.com/KnorpelSenf/typegram) package.\nWhile most types of Telegraf's API surface are self-explanatory, there's some notable things to keep in mind.\n\n#### Extending `Context`\n\nThe exact shape of `ctx` can vary based on the installed middleware.\nSome custom middleware might register properties on the context object that Telegraf is not aware of.\nConsequently, you can change the type of `ctx` to fit your needs in order for you to have proper TypeScript types for your data.\nThis is done through Generics:\n\n```ts\nimport { Context, Telegraf } from 'telegraf'\n\n// Define your own context type\ninterface MyContext extends Context {\n myProp?: string\n myOtherProp?: number\n}\n\n// Create your bot and tell it about your context type\nconst bot = new Telegraf('SECRET TOKEN')\n\n// Register middleware and launch your bot as usual\nbot.use((ctx, next) => {\n // Yay, `myProp` is now available here as `string | undefined`!\n ctx.myProp = ctx.chat?.first_name?.toUpperCase()\n return next()\n})\n// ...\n```\n","engines":{"node":"^12.20.0 || >=14.13.1"},"exports":{".":"./lib/index.js"},"gitHead":"62f6a26f68e210fce88c42ac27540928b003d384","scripts":{"lint":"eslint .","test":"ava test/*","build":"tsc --build docs/examples","clean":"git clean -fX .eslintcache docs/build/ lib/ typings/","checks":"npm test && npm run lint","prepare":"npm run --silent build","pretest":"npm run build","refresh":"npm run clean && npm ci","build:docs":"typedoc src/index.ts"},"_npmUser":{"name":"mkrhere","email":"muthukumar@thefeathers.in"},"deprecated":"Upgrade to 4.8.0 or higher","repository":{"url":"git+ssh://git@github.com/telegraf/telegraf.git","type":"git"},"_npmVersion":"8.1.2","description":"Modern Telegram Bot Framework","directories":{},"_nodeVersion":"17.1.0","dependencies":{"debug":"^4.3.3","minimist":"^1.2.5","typegram":"^3.8.0","p-timeout":"^4.1.0","node-fetch":"^2.6.7","module-alias":"^2.2.2","safe-compare":"^1.1.4","sandwich-stream":"^2.0.2","abort-controller":"^3.0.0"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"ava":"^4.0.1","eslint":"^8.8.0","typedoc":"^0.22.11","prettier":"^2.5.1","typescript":"^4.5.5","@types/node":"^17.0.14","@types/debug":"^4.1.7","@types/node-fetch":"^2.5.12","eslint-plugin-ava":"^13.2.0","eslint-plugin-node":"^11.1.0","@types/safe-compare":"^1.1.0","eslint-plugin-import":"^2.25.4","eslint-plugin-promise":"^6.0.0","eslint-config-prettier":"^8.3.0","eslint-plugin-prettier":"^4.0.0","eslint-plugin-standard":"^5.0.0","@typescript-eslint/parser":"^5.10.2","@typescript-eslint/eslint-plugin":"^5.10.2"},"_npmOperationalInternal":{"tmp":"tmp/telegraf_4.7.0-canary.1_1644003669512_0.8763053093093389","host":"s3://npm-registry-packages"}},"4.7.0":{"name":"telegraf","version":"4.7.0","keywords":["telegraf","telegram","telegram bot api","bot","botapi","bot framework"],"author":{"name":"Vitaly Domnikov","email":"oss@vitaly.codes"},"license":"MIT","_id":"telegraf@4.7.0","maintainers":[{"name":"dotcypress","email":"dotcypress@gmail.com"},{"name":"mkrhere","email":"muthukumar@thefeathers.in"},{"name":"wojpawlik","email":"woj.pawlik@gmail.com"}],"homepage":"https://telegraf.js.org","bugs":{"url":"https://github.com/telegraf/telegraf/issues"},"bin":{"telegraf":"bin/telegraf"},"dist":{"shasum":"6ee8a8f98900a67472f1ca935c0aba3e8fa49f05","tarball":"https://registry.npmjs.org/telegraf/-/telegraf-4.7.0.tgz","fileCount":108,"integrity":"sha512-rspH4kiVHE1zpnyQvlGFj+Tzu7zN02gSOcdLUayvnkaTwww2E6xBkwne+DKkDPdaRhvQ61J+dcVhLQv9fL+FsQ==","signatures":[{"sig":"MEYCIQC+bM3OLTQRMNVggO0MSpExfF8djoE6p2l4I8vRI/QQEgIhAMgzpX0NC0YafIdBbT6a4F3qQ46L/C73ocheWMc2ab4G","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":434245,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJh/hLZCRA9TVsSAnZWagAAReUQAJLj+KTGDJ7yx9tAhuhj\n8nmnw5sncroYqaisUawbzQkvdZXq8jsYAOrULm89GlPF4dlkUWt/e0usbMqn\nyM+EEqUGvtG4sCyM+iimTu4KwLfYaAKrzWS/oXU9TePljCZhTVouozhn2SMA\nilryqJdPOnS2SlvdHUunEsl9A8rdFSwP+PzQMV+kIbZ9e5GRUzp6tyuzOx12\nbo+cL+eI+mq5uH5PMsak6qnRNw9CLVNCkS6AXZh/NlmMr6sScrmYvDqc8r7R\nvmUwahLcPoPdff5m32d81u5gDqGoiJwXMYZL9eeYYC2IrHQd9Un97KlPjRuG\ngjTp8Vs7+q0vzRhpi1U0VR5cCIhuqRpQQP9TQfR5pp4c1GQk0gAWP5DZOdiK\n8SCa24pC3AO1+dD8tNssFJigvz0dNAChhVgZputU900TYaXShWfiGTthpeQc\n6ZOW/RzszfeZp4oE+/eW9VlKMBO3+nrsXSJ1ZF8kF4+3rgWzQXEVtb13mR+7\njlsyZLgG4Bc7vVwv9sIwYW2d6SbPsQsYVli6osIYgLsA6fTdJiHA4srLstD9\n94/n5ECy3aDGcx2h8ucJCOyZ2npoXUcpAZfjFM6ENVBgTp/GgyEI9GCd+bXv\n7KWjNqy06eT0CwlFfUPh8Mvdno9PuPO1jf1iYKz2VL9orpalHWJSN9psInDm\nWgxR\r\n=T91r\r\n-----END PGP SIGNATURE-----\r\n"},"main":"lib/index.js","type":"commonjs","types":"./typings/index.d.ts","engines":{"node":"^12.20.0 || >=14.13.1"},"exports":{".":"./lib/index.js"},"gitHead":"bafef538c228db581352746539c7ccfacb099b64","scripts":{"lint":"eslint .","test":"ava test/*","build":"tsc --build docs/examples","clean":"git clean -fX .eslintcache docs/build/ lib/ typings/","checks":"npm test && npm run lint","prepare":"npm run --silent build","pretest":"npm run build","refresh":"npm run clean && npm ci","build:docs":"typedoc src/index.ts"},"_npmUser":{"name":"mkrhere","email":"muthukumar@thefeathers.in"},"repository":{"url":"git+ssh://git@github.com/telegraf/telegraf.git","type":"git"},"_npmVersion":"8.1.2","description":"Modern Telegram Bot Framework","directories":{},"_nodeVersion":"16.13.2","dependencies":{"debug":"^4.3.3","minimist":"^1.2.5","typegram":"^3.8.0","p-timeout":"^4.1.0","node-fetch":"^2.6.7","module-alias":"^2.2.2","safe-compare":"^1.1.4","sandwich-stream":"^2.0.2","abort-controller":"^3.0.0"},"_hasShrinkwrap":false,"devDependencies":{"ava":"^4.0.1","eslint":"^8.8.0","typedoc":"^0.22.11","prettier":"^2.5.1","typescript":"^4.5.5","@types/node":"^17.0.14","@types/debug":"^4.1.7","@types/node-fetch":"^2.5.12","eslint-plugin-ava":"^13.2.0","eslint-plugin-node":"^11.1.0","@types/safe-compare":"^1.1.0","eslint-plugin-import":"^2.25.4","eslint-plugin-promise":"^6.0.0","eslint-config-prettier":"^8.3.0","eslint-plugin-prettier":"^4.0.0","eslint-plugin-standard":"^5.0.0","@typescript-eslint/parser":"^5.10.2","@typescript-eslint/eslint-plugin":"^5.10.2"},"_npmOperationalInternal":{"tmp":"tmp/telegraf_4.7.0_1644040921722_0.6003909052290242","host":"s3://npm-registry-packages"}},"4.8.0-canary.1":{"name":"telegraf","version":"4.8.0-canary.1","keywords":["telegraf","telegram","telegram bot api","bot","botapi","bot framework"],"author":{"name":"Vitaly Domnikov","email":"oss@vitaly.codes"},"license":"MIT","_id":"telegraf@4.8.0-canary.1","maintainers":[{"name":"dotcypress","email":"dotcypress@gmail.com"},{"name":"mkrhere","email":"muthukumar@thefeathers.in"},{"name":"wojpawlik","email":"woj.pawlik@gmail.com"}],"homepage":"https://telegraf.js.org","bugs":{"url":"https://github.com/telegraf/telegraf/issues"},"bin":{"telegraf":"bin/telegraf"},"dist":{"shasum":"d7e918faa81bf72e099b40027341c8cf693e3140","tarball":"https://registry.npmjs.org/telegraf/-/telegraf-4.8.0-canary.1.tgz","fileCount":116,"integrity":"sha512-vDxgpVvbNIsDOlcreNtaxy2+cHzEVgPB0EWdeuxg1dN1Vj/seW1FRgCafp3ngGogsdjE4zG4wC5cNWrXIU+yzg==","signatures":[{"sig":"MEQCIHdGs3ZzF4/My+De2L44jhRRmU6EzGzRdeWT6ND3C45GAiAle0rN9vy3BC9JPbSCCik4CrZ4cT6vtIirtpqAtuYxOA==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":448407,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJiawxTACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmqmcg/+KuOpR0oHiXmuSr/R4DLpE/NsT+zknG/eTHe8BD+xRrKJhCxI\r\nfvZgXAqKPnOC3VZ7VThH/VqFdhuPf2JulSACXNNOMFzKVBWWXQYqupZHzrl4\r\nTN2U31nAzdhkBKjlSYgTLzNYeMReTrmGacejkpDeG9BHGFx+HPrxNJB/k8xQ\r\nQP4g39cVL36gTdYZV5ckTeRZZ4g1piTdPLiSvF2YE/7IKK7NxcdhZxYPVUmo\r\n4YnLRLSK0IwaDbTtfvd/QmgcTnEeWKBiKxoBIbhVg+uRC9AoEmityAGSD4sC\r\naHXaqM39Em9WubE+tXhdtsJggtDSZA3ZZdlCRG3ggcobwHPh+wFr4bap4UKS\r\nZOKAruxluNeZdNqy3ZEiK9hS+RPQAJmrkEa9pDzJ8x6M682hDdSpfsPd+aOG\r\nXciENs7j/bx8dVO0bCJzweArpSTiJd9L7WVEZaPvf2qYNABGyIDS2GKbGiMt\r\nd668MN4dwHGnXPqv9VFqcZvBongYCCHNB034GvCyQlecoVdvzp4MA7xxqnZ8\r\nwi4SX8L4eHFSzB6tnzKv66GxkM5BQSD4pHjNTA7M16Bt3n3z0rY4GLbJ/h2B\r\nsi6Zdj0sWG/kjz3TGEoi3axvteu1Rrs/TbEgbi0wqVJawg09CPGGiLA485Yi\r\n+AZNHzzGhu5Nt2Tl26X5QCOfFrMxYo6kppo=\r\n=TIZS\r\n-----END PGP SIGNATURE-----\r\n"},"main":"lib/index.js","type":"commonjs","types":"./typings/index.d.ts","engines":{"node":"^12.20.0 || >=14.13.1"},"exports":{".":"./lib/index.js"},"gitHead":"5d0253fc1658933147a8ce1d1d16881ed9636ce7","scripts":{"lint":"eslint .","test":"ava test/*","build":"tsc --build docs/examples","clean":"git clean -fX .eslintcache docs/build/ lib/ typings/","checks":"npm test && npm run lint","prepare":"npm run --silent build","pretest":"npm run build","refresh":"npm run clean && npm ci","build:docs":"typedoc src/index.ts"},"_npmUser":{"name":"mkrhere","email":"muthukumar@thefeathers.in"},"deprecated":"Upgrade to 4.8.0 or higher","repository":{"url":"git+ssh://git@github.com/telegraf/telegraf.git","type":"git"},"_npmVersion":"8.5.0","description":"Modern Telegram Bot Framework","directories":{},"_nodeVersion":"16.14.2","dependencies":{"debug":"^4.3.3","minimist":"^1.2.6","typegram":"^3.9.0","p-timeout":"^4.1.0","node-fetch":"^2.6.7","module-alias":"^2.2.2","safe-compare":"^1.1.4","sandwich-stream":"^2.0.2","abort-controller":"^3.0.0"},"_hasShrinkwrap":false,"devDependencies":{"ava":"^4.0.1","eslint":"^8.8.0","typedoc":"^0.22.11","prettier":"^2.5.1","typescript":"^4.5.5","@types/node":"^17.0.14","@types/debug":"^4.1.7","@types/node-fetch":"^2.5.12","eslint-plugin-ava":"^13.2.0","eslint-plugin-node":"^11.1.0","@types/safe-compare":"^1.1.0","eslint-plugin-import":"^2.25.4","eslint-plugin-promise":"^6.0.0","eslint-config-prettier":"^8.3.0","eslint-plugin-prettier":"^4.0.0","eslint-plugin-standard":"^5.0.0","@typescript-eslint/parser":"^5.10.2","@typescript-eslint/eslint-plugin":"^5.10.2"},"_npmOperationalInternal":{"tmp":"tmp/telegraf_4.8.0-canary.1_1651182674994_0.5759045124412496","host":"s3://npm-registry-packages"}},"4.8.0-canary.2":{"name":"telegraf","version":"4.8.0-canary.2","keywords":["telegraf","telegram","telegram bot api","bot","botapi","bot framework"],"author":{"name":"Vitaly Domnikov","email":"oss@vitaly.codes"},"license":"MIT","_id":"telegraf@4.8.0-canary.2","maintainers":[{"name":"dotcypress","email":"dotcypress@gmail.com"},{"name":"mkrhere","email":"muthukumar@thefeathers.in"},{"name":"wojpawlik","email":"woj.pawlik@gmail.com"}],"homepage":"https://telegraf.js.org","bugs":{"url":"https://github.com/telegraf/telegraf/issues"},"bin":{"telegraf":"bin/telegraf"},"dist":{"shasum":"1f3204c0c39157de33c5c7d36b9b2a9582432f34","tarball":"https://registry.npmjs.org/telegraf/-/telegraf-4.8.0-canary.2.tgz","fileCount":116,"integrity":"sha512-26v5sAFD5TnTqgWZWdMIL7VDCK7pVF9nEAL5HuSm4BMDYtaoEuqbO8Cxe+333ISTkW/p4Xj13ZJNZJbpiosUsA==","signatures":[{"sig":"MEUCIFw/qwLDsN2iS5bzSNhD1dEwwWyj9N2YlWlb1+45kF6gAiEAwV2tLNmbyOeeEo3JbUX9sU6ka1ikMA3sp5m+FPV4Dz8=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":448983,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJiaxayACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmr2kw//RUB68BFCMWYPt8ltPYQbgqtdS1vmeWb3dJLBSOvjlxmD38Go\r\noA+kwgvw3YTApsLAoJI4HXrotJaENCUw36V32sa27PaN6YoliLBpQ5AZkcLo\r\nZrgivp8LdLqwdJIyklzrQpw0BCV4qjfL12ln/FktZaGEMeWSlayinHQwS+IO\r\nvvn7sVvD1rYTOWfkiOhkCHvN6Uuq46vz9ywQMCEOh8aLiUxWaVKJwIs7NQtk\r\n+AZb/3SXeZvGECqk2wZoKisUhqqzQC5k0RHTb8x7SaXHPftonLMmMwmr09z2\r\nFBeKXWwbI7Jv/SVRaNhIOQRRopYy9tpcsLpuGi8dKhRFnnMQ+36Slb6KNW/I\r\n3Ye10w9yXPb+8piuuNyIuLqGBihK7tJtD+orVEB2Y/+fhF/OmMEAgVye47YJ\r\nJs38WjU5BZk7quWOuUwZlJ5xKxR9NagDCuvqqcubOxn6yipu0mBrN4KdzHsF\r\nMPeHI5aBpo6MdWuw5udcssxWrgb0wo4+voRXUa/UUKkdrYUVSJJYhH9GzLjp\r\n4Y0ZY8syZLea/Ka4hPVJdojI8Kdf3DJVebx0vs47K6B37GPOOhAAMsyvAxAE\r\nWRzgrqjFVfsCDWpClGd1j6aF0l+aonD9pygieWFDkfanHVMLUJgYxvxjzfFH\r\nZ11ZLd8VZ1pbEbM7xwgvO4jJqWKE+uElIP4=\r\n=oTxV\r\n-----END PGP SIGNATURE-----\r\n"},"main":"lib/index.js","type":"commonjs","types":"./typings/index.d.ts","readme":"
\n\"logo\"\n

telegraf.js

\n\nModern Telegram Bot API framework for Node.js\n\n[![Bot API Version](https://img.shields.io/badge/Bot%20API-v5.7-f36caf.svg?style=flat-square)](https://core.telegram.org/bots/api)\n[![install size](https://flat.badgen.net/packagephobia/install/telegraf)](https://packagephobia.com/result?p=telegraf,node-telegram-bot-api)\n[![GitHub top language](https://img.shields.io/github/languages/top/telegraf/telegraf?style=flat-square&logo=github)](https://github.com/telegraf/telegraf)\n[![English chat](https://img.shields.io/badge/English%20chat-grey?style=flat-square&logo=telegram)](https://t.me/TelegrafJSChat)\n
\n\n> Notice: [@MKRhere](https://github.com/MKRhere) has taken over as the new maintainer of Telegraf. Feel free to reach out via the Telegram group.\n\n## For 3.x users\n\n- [3.x docs](https://telegraf.js.org/v3)\n- [4.0 release notes](https://github.com/telegraf/telegraf/releases/tag/v4.0.0)\n\n## Introduction\n\nBots are special [Telegram](https://telegram.org) accounts designed to handle messages automatically. \nUsers can interact with bots by sending them command messages in private or group chats. \nThese accounts serve as an interface for code running somewhere on your server.\n\nTelegraf is a library that makes it simple for you to develop your own Telegram bots using JavaScript or [TypeScript](https://www.typescriptlang.org/).\n\n### Features\n\n- Full [Telegram Bot API 5.7](https://core.telegram.org/bots/api) support\n- [Excellent TypeScript typings](https://github.com/telegraf/telegraf/releases/tag/v4.0.0)\n- [Lightweight](https://packagephobia.com/result?p=telegraf,node-telegram-bot-api)\n- [AWS **λ**](https://docs.aws.amazon.com/lambda/latest/dg/nodejs-prog-model-handler.html)\n / [Firebase](https://firebase.google.com/products/functions/)\n / [Glitch](https://glitch.com/edit/#!/dashing-light)\n / [Heroku](https://devcenter.heroku.com/articles/getting-started-with-nodejs#introduction)\n / Whatever ready\n- `http/https/fastify/Connect.js/express.js` compatible webhooks\n- Extensible\n\n### Example\n \n```js\nconst { Telegraf } = require('telegraf')\n\nconst bot = new Telegraf(process.env.BOT_TOKEN)\nbot.start((ctx) => ctx.reply('Welcome'))\nbot.help((ctx) => ctx.reply('Send me a sticker'))\nbot.on('sticker', (ctx) => ctx.reply('👍'))\nbot.hears('hi', (ctx) => ctx.reply('Hey there'))\nbot.launch()\n\n// Enable graceful stop\nprocess.once('SIGINT', () => bot.stop('SIGINT'))\nprocess.once('SIGTERM', () => bot.stop('SIGTERM'))\n```\n\n```js\nconst { Telegraf } = require('telegraf')\n\nconst bot = new Telegraf(process.env.BOT_TOKEN)\nbot.command('oldschool', (ctx) => ctx.reply('Hello'))\nbot.command('hipster', Telegraf.reply('λ'))\nbot.launch()\n\n// Enable graceful stop\nprocess.once('SIGINT', () => bot.stop('SIGINT'))\nprocess.once('SIGTERM', () => bot.stop('SIGTERM'))\n```\n\nFor additional bot examples see [`examples`](https://github.com/telegraf/telegraf/tree/develop/docs/examples) folder.\n\n### Resources\n\n- [Getting started](#getting-started)\n- [API reference](https://telegraf.js.org/modules.html)\n- Telegram groups (sorted by number of members):\n * [English](https://t.me/TelegrafJSChat)\n * [Uzbek](https://t.me/botjs_uz)\n * [Ethiopian](https://t.me/telegraf_et)\n- [GitHub Discussions](https://github.com/telegraf/telegraf/discussions)\n- [Dependent repositories](https://libraries.io/npm/telegraf/dependent_repositories)\n\n## Getting started\n\n### Telegram token\n\nTo use the [Telegram Bot API](https://core.telegram.org/bots/api), \nyou first have to [get a bot account](https://core.telegram.org/bots) \nby [chatting with BotFather](https://core.telegram.org/bots#6-botfather).\n\nBotFather will give you a *token*, something like `123456789:AbCdfGhIJKlmNoQQRsTUVwxyZ`.\n\n### Installation\n\n```shellscript\n$ npm install telegraf\n```\nor\n```shellscript\n$ yarn add telegraf\n```\nor\n```shellscript\n$ pnpm add telegraf\n```\n\n### `Telegraf` class\n\n[`Telegraf`] instance represents your bot. It's responsible for obtaining updates and passing them to your handlers.\n\nStart by [listening to commands](https://telegraf.js.org/classes/telegraf.html#command) and [launching](https://telegraf.js.org/classes/telegraf.html#launch) your bot.\n\n### `Context` class\n\n`ctx` you can see in every example is a [`Context`] instance.\n[`Telegraf`] creates one for each incoming update and passes it to your middleware.\nIt contains the `update`, `botInfo`, and `telegram` for making arbitrary Bot API requests,\nas well as shorthand methods and getters.\n\nThis is probably the class you'll be using the most.\n\n\n\n\n#### Shorthand methods\n\n```js\nimport { Telegraf } from 'telegraf'\n\nconst bot = new Telegraf(process.env.BOT_TOKEN)\n\nbot.command('quit', (ctx) => {\n // Explicit usage\n ctx.telegram.leaveChat(ctx.message.chat.id)\n\n // Using context shortcut\n ctx.leaveChat()\n})\n\nbot.on('text', (ctx) => {\n // Explicit usage\n ctx.telegram.sendMessage(ctx.message.chat.id, `Hello ${ctx.state.role}`)\n\n // Using context shortcut\n ctx.reply(`Hello ${ctx.state.role}`)\n})\n\nbot.on('callback_query', (ctx) => {\n // Explicit usage\n ctx.telegram.answerCbQuery(ctx.callbackQuery.id)\n\n // Using context shortcut\n ctx.answerCbQuery()\n})\n\nbot.on('inline_query', (ctx) => {\n const result = []\n // Explicit usage\n ctx.telegram.answerInlineQuery(ctx.inlineQuery.id, result)\n\n // Using context shortcut\n ctx.answerInlineQuery(result)\n})\n\nbot.launch()\n\n// Enable graceful stop\nprocess.once('SIGINT', () => bot.stop('SIGINT'))\nprocess.once('SIGTERM', () => bot.stop('SIGTERM'))\n```\n\n## Production\n\n### Webhooks\n\n```js\nconst { Telegraf } = require('telegraf')\nconst fs = require('fs')\nrequire('dotenv')\n\nconst bot = new Telegraf(process.env.BOT_TOKEN)\n\n// TLS options\nconst tlsOptions = {\n key: fs.readFileSync('server-key.pem'),\n cert: fs.readFileSync('server-cert.pem'),\n ca: [\n // This is necessary only if the client uses a self-signed certificate.\n fs.readFileSync('client-cert.pem')\n ]\n}\n\n// Set telegram webhook\n// The second argument is necessary only if the client uses a self-signed\n// certificate. Including it for a verified certificate may cause things to break.\nbot.telegram.setWebhook('https://server.tld:8443/secret-path', {\n certificate: { source: fs.readFileSync('server-cert.pem') }\n})\n\n// Start https webhook\nbot.startWebhook('/secret-path', tlsOptions, 8443)\n\n// Http webhook, for nginx/heroku users.\nbot.startWebhook('/secret-path', null, 5000)\n```\n\nUse `webhookCallback()` if you want to attach Telegraf to an existing http server.\n\n\n\n```js\nrequire('http')\n .createServer(bot.webhookCallback('/secret-path'))\n .listen(3000)\n\nrequire('https')\n .createServer(tlsOptions, bot.webhookCallback('/secret-path'))\n .listen(8443)\n```\n\n- [AWS Lambda example integration](https://github.com/telegraf/telegraf/blob/develop/docs/examples/aws-lambda.js)\n- [`express` example integration](https://github.com/telegraf/telegraf/blob/develop/docs/examples/express-webhook-bot.ts)\n- [`fastify` example integration](https://github.com/telegraf/telegraf/blob/develop/docs/examples/fastify-webhook-bot.js)\n- [Google Cloud Functions example integration](https://github.com/telegraf/telegraf/blob/develop/docs/examples/google-cloud-function.ts)\n- [`koa` example integration](https://github.com/telegraf/telegraf/blob/develop/docs/examples/koa-webhook-bot.js)\n- [NestJS framework integration module](https://github.com/bukhalo/nestjs-telegraf)\n- Use [`bot.handleUpdate`](https://telegraf.js.org/classes/telegraf.html#handleupdate) to write new integrations\n\n### Error handling\n\nIf middleware throws an error or times out, Telegraf calls `bot.handleError`. If it rethrows, update source closes, and then the error is printed to console and process [hopefully](https://nodejs.org/api/cli.html#cli_unhandled_rejections_mode) terminates. If it does not rethrow, the error is swallowed.\n\nDefault `bot.handleError` always rethrows. You can overwrite it using `bot.catch` if you need to.\n\n⚠️ Always rethrow `TimeoutError`!\n\n⚠️ Swallowing unknown errors might leave the process in invalid state!\n\nℹ️ In production, `systemd` or [`pm2`](https://www.npmjs.com/package/pm2) can restart your bot if it exits for any reason.\n\n## Advanced topics\n\n### Working with files\n\nSupported file sources:\n\n- `Existing file_id`\n- `File path`\n- `Url`\n- `Buffer`\n- `ReadStream`\n\nAlso, you can provide an optional name of a file as `filename` when you send the file.\n\n\n\n```js\nbot.on('message', (ctx) => {\n // resend existing file by file_id\n ctx.replyWithSticker('123123jkbhj6b')\n\n // send file\n ctx.replyWithVideo({ source: '/path/to/video.mp4' })\n\n // send stream\n ctx.replyWithVideo({\n source: fs.createReadStream('/path/to/video.mp4')\n })\n\n // send buffer\n ctx.replyWithVoice({\n source: Buffer.alloc()\n })\n\n // send url via Telegram server\n ctx.replyWithPhoto('https://picsum.photos/200/300/')\n\n // pipe url content\n ctx.replyWithPhoto({\n url: 'https://picsum.photos/200/300/?random',\n filename: 'kitten.jpg'\n })\n})\n```\n\n### Middleware\n\nIn addition to `ctx: Context`, each middleware receives `next: () => Promise`.\n\nAs in Koa and some other middleware-based libraries,\n`await next()` will call next middleware and wait for it to finish:\n\n```js\nimport { Telegraf } from 'telegraf'\n\nconst bot = new Telegraf(process.env.BOT_TOKEN)\n\nbot.use(async (ctx, next) => {\n console.time(`Processing update ${ctx.update.update_id}`)\n await next() // runs next middleware\n // runs after next middleware finishes\n console.timeEnd(`Processing update ${ctx.update.update_id}`)\n})\n\nbot.on('text', (ctx) => ctx.reply('Hello World'))\nbot.launch()\n\n// Enable graceful stop\nprocess.once('SIGINT', () => bot.stop('SIGINT'))\nprocess.once('SIGTERM', () => bot.stop('SIGTERM'))\n```\n\nWith this simple ability, you can:\n- extract information from updates and then `await next()` to avoid disrupting other middleware,\n- like [`Composer`] and [`Router`], `await next()` for updates you don't wish to handle,\n- like [`session`] and [`Scenes`], [extend the context](#extending-context) by mutating `ctx` before `await next()`,\n- [intercept API calls](https://github.com/telegraf/telegraf/discussions/1267#discussioncomment-254525),\n- reuse [other people's code](https://www.npmjs.com/search?q=telegraf-),\n- do whatever **you** come up with!\n\n[`Composer`]: https://telegraf.js.org/classes/composer.html\n[`Context`]: https://telegraf.js.org/classes/context.html\n[`Router`]: https://telegraf.js.org/classes/router.html\n[`session`]: https://telegraf.js.org/modules.html#session\n[`Scenes`]: https://telegraf.js.org/modules/scenes.html\n[`Telegraf`]: https://telegraf.js.org/classes/telegraf.html\n\n### Usage with TypeScript\n\nTelegraf is written in TypeScript and therefore ships with declaration files for the entire library.\nMoreover, it includes types for the complete Telegram API via the [`typegram`](https://github.com/KnorpelSenf/typegram) package.\nWhile most types of Telegraf's API surface are self-explanatory, there's some notable things to keep in mind.\n\n#### Extending `Context`\n\nThe exact shape of `ctx` can vary based on the installed middleware.\nSome custom middleware might register properties on the context object that Telegraf is not aware of.\nConsequently, you can change the type of `ctx` to fit your needs in order for you to have proper TypeScript types for your data.\nThis is done through Generics:\n\n```ts\nimport { Context, Telegraf } from 'telegraf'\n\n// Define your own context type\ninterface MyContext extends Context {\n myProp?: string\n myOtherProp?: number\n}\n\n// Create your bot and tell it about your context type\nconst bot = new Telegraf('SECRET TOKEN')\n\n// Register middleware and launch your bot as usual\nbot.use((ctx, next) => {\n // Yay, `myProp` is now available here as `string | undefined`!\n ctx.myProp = ctx.chat?.first_name?.toUpperCase()\n return next()\n})\n// ...\n```\n","engines":{"node":"^12.20.0 || >=14.13.1"},"exports":{".":"./lib/index.js"},"gitHead":"0226692c1c59d50ea47b89a27dba221550389add","scripts":{"lint":"eslint .","test":"ava test/*","build":"tsc --build docs/examples","clean":"git clean -fX .eslintcache docs/build/ lib/ typings/","checks":"npm test && npm run lint","prepare":"npm run --silent build","pretest":"npm run build","refresh":"npm run clean && npm ci","build:docs":"typedoc src/index.ts"},"_npmUser":{"name":"mkrhere","email":"muthukumar@thefeathers.in"},"deprecated":"Upgrade to 4.8.0 or higher","repository":{"url":"git+ssh://git@github.com/telegraf/telegraf.git","type":"git"},"_npmVersion":"8.5.0","description":"Modern Telegram Bot Framework","directories":{},"_nodeVersion":"16.14.2","dependencies":{"debug":"^4.3.3","minimist":"^1.2.6","typegram":"^3.9.0","p-timeout":"^4.1.0","node-fetch":"^2.6.7","module-alias":"^2.2.2","safe-compare":"^1.1.4","sandwich-stream":"^2.0.2","abort-controller":"^3.0.0"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"ava":"^4.0.1","eslint":"^8.8.0","typedoc":"^0.22.11","prettier":"^2.5.1","typescript":"^4.5.5","@types/node":"^17.0.14","@types/debug":"^4.1.7","@types/node-fetch":"^2.5.12","eslint-plugin-ava":"^13.2.0","eslint-plugin-node":"^11.1.0","@types/safe-compare":"^1.1.0","eslint-plugin-import":"^2.25.4","eslint-plugin-promise":"^6.0.0","eslint-config-prettier":"^8.3.0","eslint-plugin-prettier":"^4.0.0","eslint-plugin-standard":"^5.0.0","@typescript-eslint/parser":"^5.10.2","@typescript-eslint/eslint-plugin":"^5.10.2"},"_npmOperationalInternal":{"tmp":"tmp/telegraf_4.8.0-canary.2_1651185329800_0.8954595792269544","host":"s3://npm-registry-packages"}},"4.8.0-canary.3":{"name":"telegraf","version":"4.8.0-canary.3","keywords":["telegraf","telegram","telegram bot api","bot","botapi","bot framework"],"author":{"name":"Vitaly Domnikov","email":"oss@vitaly.codes"},"license":"MIT","_id":"telegraf@4.8.0-canary.3","maintainers":[{"name":"dotcypress","email":"dotcypress@gmail.com"},{"name":"mkrhere","email":"muthukumar@thefeathers.in"},{"name":"wojpawlik","email":"woj.pawlik@gmail.com"}],"homepage":"https://telegraf.js.org","bugs":{"url":"https://github.com/telegraf/telegraf/issues"},"bin":{"telegraf":"bin/telegraf"},"dist":{"shasum":"bf3ba6b813bbcd3ad29ef5303ad1bdc8b2a16762","tarball":"https://registry.npmjs.org/telegraf/-/telegraf-4.8.0-canary.3.tgz","fileCount":116,"integrity":"sha512-2b1hRDxA/K4x0wCIgoQ7aDqJHWnDpmmcQx8kO9/GvI+Ak5IBKZ0ilfqEcpKTl98rvCfzpzsxfovzLO4mAyyuyg==","signatures":[{"sig":"MEUCIQD4XBYA+shIxaX+LsIJJjpSvbYQlp2Na+0IDCViWEEucgIgEbyvM2nmyRGQ3hjkBMuF0o46BvOyfPW7q796u2IJAW8=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":448293,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJiaxnCACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmrAXw//QuTCeDj656/ocZuGOsKT9qAwr5CkY0bvgi2BioO6eEbPDz47\r\n1vU1mUwR3xXQbcdYIEznAz39/SSgabwa4D8ytWVZsM6gIK2GsJIPxQ7lpo6u\r\nfLqb7VEGFwGE1ClJyVgSJh0cONjVIDkIu4TQtQZHhUaVnkRu1Zd4zd8Mm1Yh\r\nHWMdpkfVZ/tHXslAb5aY/MTQxY4CYvpDLyz/EUMz6zsdlH9yfcBD4E8ECjmB\r\nR+oFlpjWx4GIhgQqDKtvnhCn0wHt+XeBnGDQQKKYJI+vIR7Qe/EU5yEOl2tJ\r\nY3USRCoFne9OzviHG+9HwNHoAy/NVynYwqL/V5Izr29xuBN51IwOnht5Z72T\r\nKsA6+eVX8YAzEouywqWAxXHu76UWwDiiHdbTRoYJ+RB8LVsqkhePP8CdATLa\r\ntaTtagL9wJx3JHlaKSfMs9fwxCXJqLgylBKmEFNKIoQYOwAxSJuzW/o9R3yC\r\nheCml/jEBz0JNIskMCBkPu2u8EcL0ILbqcjXhNTXy0YFajoGiiOotMyl35iA\r\nMkvnn0xs4gMyNS4yZqTgUEGJUl0m0N+cTfdY6hLwjD9dlv2WJmrCRUvFf1/U\r\nTQwznw+C58bap0fBZlShaAz3N+F43WUwDH0d4nJnNdNLU0UEu46SEjjGeNOh\r\nkYNkXrFK0S3h09hAX2kHS5qAw/zUj9ajkFk=\r\n=DqTs\r\n-----END PGP SIGNATURE-----\r\n"},"main":"lib/index.js","type":"commonjs","types":"./typings/index.d.ts","readme":"
\n\"logo\"\n

telegraf.js

\n\nModern Telegram Bot API framework for Node.js\n\n[![Bot API Version](https://img.shields.io/badge/Bot%20API-v5.7-f36caf.svg?style=flat-square)](https://core.telegram.org/bots/api)\n[![install size](https://flat.badgen.net/packagephobia/install/telegraf)](https://packagephobia.com/result?p=telegraf,node-telegram-bot-api)\n[![GitHub top language](https://img.shields.io/github/languages/top/telegraf/telegraf?style=flat-square&logo=github)](https://github.com/telegraf/telegraf)\n[![English chat](https://img.shields.io/badge/English%20chat-grey?style=flat-square&logo=telegram)](https://t.me/TelegrafJSChat)\n
\n\n> Notice: [@MKRhere](https://github.com/MKRhere) has taken over as the new maintainer of Telegraf. Feel free to reach out via the Telegram group.\n\n## For 3.x users\n\n- [3.x docs](https://telegraf.js.org/v3)\n- [4.0 release notes](https://github.com/telegraf/telegraf/releases/tag/v4.0.0)\n\n## Introduction\n\nBots are special [Telegram](https://telegram.org) accounts designed to handle messages automatically. \nUsers can interact with bots by sending them command messages in private or group chats. \nThese accounts serve as an interface for code running somewhere on your server.\n\nTelegraf is a library that makes it simple for you to develop your own Telegram bots using JavaScript or [TypeScript](https://www.typescriptlang.org/).\n\n### Features\n\n- Full [Telegram Bot API 5.7](https://core.telegram.org/bots/api) support\n- [Excellent TypeScript typings](https://github.com/telegraf/telegraf/releases/tag/v4.0.0)\n- [Lightweight](https://packagephobia.com/result?p=telegraf,node-telegram-bot-api)\n- [AWS **λ**](https://docs.aws.amazon.com/lambda/latest/dg/nodejs-prog-model-handler.html)\n / [Firebase](https://firebase.google.com/products/functions/)\n / [Glitch](https://glitch.com/edit/#!/dashing-light)\n / [Heroku](https://devcenter.heroku.com/articles/getting-started-with-nodejs#introduction)\n / Whatever ready\n- `http/https/fastify/Connect.js/express.js` compatible webhooks\n- Extensible\n\n### Example\n \n```js\nconst { Telegraf } = require('telegraf')\n\nconst bot = new Telegraf(process.env.BOT_TOKEN)\nbot.start((ctx) => ctx.reply('Welcome'))\nbot.help((ctx) => ctx.reply('Send me a sticker'))\nbot.on('sticker', (ctx) => ctx.reply('👍'))\nbot.hears('hi', (ctx) => ctx.reply('Hey there'))\nbot.launch()\n\n// Enable graceful stop\nprocess.once('SIGINT', () => bot.stop('SIGINT'))\nprocess.once('SIGTERM', () => bot.stop('SIGTERM'))\n```\n\n```js\nconst { Telegraf } = require('telegraf')\n\nconst bot = new Telegraf(process.env.BOT_TOKEN)\nbot.command('oldschool', (ctx) => ctx.reply('Hello'))\nbot.command('hipster', Telegraf.reply('λ'))\nbot.launch()\n\n// Enable graceful stop\nprocess.once('SIGINT', () => bot.stop('SIGINT'))\nprocess.once('SIGTERM', () => bot.stop('SIGTERM'))\n```\n\nFor additional bot examples see [`examples`](https://github.com/telegraf/telegraf/tree/develop/docs/examples) folder.\n\n### Resources\n\n- [Getting started](#getting-started)\n- [API reference](https://telegraf.js.org/modules.html)\n- Telegram groups (sorted by number of members):\n * [English](https://t.me/TelegrafJSChat)\n * [Uzbek](https://t.me/botjs_uz)\n * [Ethiopian](https://t.me/telegraf_et)\n- [GitHub Discussions](https://github.com/telegraf/telegraf/discussions)\n- [Dependent repositories](https://libraries.io/npm/telegraf/dependent_repositories)\n\n## Getting started\n\n### Telegram token\n\nTo use the [Telegram Bot API](https://core.telegram.org/bots/api), \nyou first have to [get a bot account](https://core.telegram.org/bots) \nby [chatting with BotFather](https://core.telegram.org/bots#6-botfather).\n\nBotFather will give you a *token*, something like `123456789:AbCdfGhIJKlmNoQQRsTUVwxyZ`.\n\n### Installation\n\n```shellscript\n$ npm install telegraf\n```\nor\n```shellscript\n$ yarn add telegraf\n```\nor\n```shellscript\n$ pnpm add telegraf\n```\n\n### `Telegraf` class\n\n[`Telegraf`] instance represents your bot. It's responsible for obtaining updates and passing them to your handlers.\n\nStart by [listening to commands](https://telegraf.js.org/classes/telegraf.html#command) and [launching](https://telegraf.js.org/classes/telegraf.html#launch) your bot.\n\n### `Context` class\n\n`ctx` you can see in every example is a [`Context`] instance.\n[`Telegraf`] creates one for each incoming update and passes it to your middleware.\nIt contains the `update`, `botInfo`, and `telegram` for making arbitrary Bot API requests,\nas well as shorthand methods and getters.\n\nThis is probably the class you'll be using the most.\n\n\n\n\n#### Shorthand methods\n\n```js\nimport { Telegraf } from 'telegraf'\n\nconst bot = new Telegraf(process.env.BOT_TOKEN)\n\nbot.command('quit', (ctx) => {\n // Explicit usage\n ctx.telegram.leaveChat(ctx.message.chat.id)\n\n // Using context shortcut\n ctx.leaveChat()\n})\n\nbot.on('text', (ctx) => {\n // Explicit usage\n ctx.telegram.sendMessage(ctx.message.chat.id, `Hello ${ctx.state.role}`)\n\n // Using context shortcut\n ctx.reply(`Hello ${ctx.state.role}`)\n})\n\nbot.on('callback_query', (ctx) => {\n // Explicit usage\n ctx.telegram.answerCbQuery(ctx.callbackQuery.id)\n\n // Using context shortcut\n ctx.answerCbQuery()\n})\n\nbot.on('inline_query', (ctx) => {\n const result = []\n // Explicit usage\n ctx.telegram.answerInlineQuery(ctx.inlineQuery.id, result)\n\n // Using context shortcut\n ctx.answerInlineQuery(result)\n})\n\nbot.launch()\n\n// Enable graceful stop\nprocess.once('SIGINT', () => bot.stop('SIGINT'))\nprocess.once('SIGTERM', () => bot.stop('SIGTERM'))\n```\n\n## Production\n\n### Webhooks\n\n```js\nconst { Telegraf } = require('telegraf')\nconst fs = require('fs')\nrequire('dotenv')\n\nconst bot = new Telegraf(process.env.BOT_TOKEN)\n\n// TLS options\nconst tlsOptions = {\n key: fs.readFileSync('server-key.pem'),\n cert: fs.readFileSync('server-cert.pem'),\n ca: [\n // This is necessary only if the client uses a self-signed certificate.\n fs.readFileSync('client-cert.pem')\n ]\n}\n\n// Set telegram webhook\n// The second argument is necessary only if the client uses a self-signed\n// certificate. Including it for a verified certificate may cause things to break.\nbot.telegram.setWebhook('https://server.tld:8443/secret-path', {\n certificate: { source: fs.readFileSync('server-cert.pem') }\n})\n\n// Start https webhook\nbot.startWebhook('/secret-path', tlsOptions, 8443)\n\n// Http webhook, for nginx/heroku users.\nbot.startWebhook('/secret-path', null, 5000)\n```\n\nUse `webhookCallback()` if you want to attach Telegraf to an existing http server.\n\n\n\n```js\nrequire('http')\n .createServer(bot.webhookCallback('/secret-path'))\n .listen(3000)\n\nrequire('https')\n .createServer(tlsOptions, bot.webhookCallback('/secret-path'))\n .listen(8443)\n```\n\n- [AWS Lambda example integration](https://github.com/telegraf/telegraf/blob/develop/docs/examples/aws-lambda.js)\n- [`express` example integration](https://github.com/telegraf/telegraf/blob/develop/docs/examples/express-webhook-bot.ts)\n- [`fastify` example integration](https://github.com/telegraf/telegraf/blob/develop/docs/examples/fastify-webhook-bot.js)\n- [Google Cloud Functions example integration](https://github.com/telegraf/telegraf/blob/develop/docs/examples/google-cloud-function.ts)\n- [`koa` example integration](https://github.com/telegraf/telegraf/blob/develop/docs/examples/koa-webhook-bot.js)\n- [NestJS framework integration module](https://github.com/bukhalo/nestjs-telegraf)\n- Use [`bot.handleUpdate`](https://telegraf.js.org/classes/telegraf.html#handleupdate) to write new integrations\n\n### Error handling\n\nIf middleware throws an error or times out, Telegraf calls `bot.handleError`. If it rethrows, update source closes, and then the error is printed to console and process [hopefully](https://nodejs.org/api/cli.html#cli_unhandled_rejections_mode) terminates. If it does not rethrow, the error is swallowed.\n\nDefault `bot.handleError` always rethrows. You can overwrite it using `bot.catch` if you need to.\n\n⚠️ Always rethrow `TimeoutError`!\n\n⚠️ Swallowing unknown errors might leave the process in invalid state!\n\nℹ️ In production, `systemd` or [`pm2`](https://www.npmjs.com/package/pm2) can restart your bot if it exits for any reason.\n\n## Advanced topics\n\n### Working with files\n\nSupported file sources:\n\n- `Existing file_id`\n- `File path`\n- `Url`\n- `Buffer`\n- `ReadStream`\n\nAlso, you can provide an optional name of a file as `filename` when you send the file.\n\n\n\n```js\nbot.on('message', (ctx) => {\n // resend existing file by file_id\n ctx.replyWithSticker('123123jkbhj6b')\n\n // send file\n ctx.replyWithVideo({ source: '/path/to/video.mp4' })\n\n // send stream\n ctx.replyWithVideo({\n source: fs.createReadStream('/path/to/video.mp4')\n })\n\n // send buffer\n ctx.replyWithVoice({\n source: Buffer.alloc()\n })\n\n // send url via Telegram server\n ctx.replyWithPhoto('https://picsum.photos/200/300/')\n\n // pipe url content\n ctx.replyWithPhoto({\n url: 'https://picsum.photos/200/300/?random',\n filename: 'kitten.jpg'\n })\n})\n```\n\n### Middleware\n\nIn addition to `ctx: Context`, each middleware receives `next: () => Promise`.\n\nAs in Koa and some other middleware-based libraries,\n`await next()` will call next middleware and wait for it to finish:\n\n```js\nimport { Telegraf } from 'telegraf'\n\nconst bot = new Telegraf(process.env.BOT_TOKEN)\n\nbot.use(async (ctx, next) => {\n console.time(`Processing update ${ctx.update.update_id}`)\n await next() // runs next middleware\n // runs after next middleware finishes\n console.timeEnd(`Processing update ${ctx.update.update_id}`)\n})\n\nbot.on('text', (ctx) => ctx.reply('Hello World'))\nbot.launch()\n\n// Enable graceful stop\nprocess.once('SIGINT', () => bot.stop('SIGINT'))\nprocess.once('SIGTERM', () => bot.stop('SIGTERM'))\n```\n\nWith this simple ability, you can:\n- extract information from updates and then `await next()` to avoid disrupting other middleware,\n- like [`Composer`] and [`Router`], `await next()` for updates you don't wish to handle,\n- like [`session`] and [`Scenes`], [extend the context](#extending-context) by mutating `ctx` before `await next()`,\n- [intercept API calls](https://github.com/telegraf/telegraf/discussions/1267#discussioncomment-254525),\n- reuse [other people's code](https://www.npmjs.com/search?q=telegraf-),\n- do whatever **you** come up with!\n\n[`Composer`]: https://telegraf.js.org/classes/composer.html\n[`Context`]: https://telegraf.js.org/classes/context.html\n[`Router`]: https://telegraf.js.org/classes/router.html\n[`session`]: https://telegraf.js.org/modules.html#session\n[`Scenes`]: https://telegraf.js.org/modules/scenes.html\n[`Telegraf`]: https://telegraf.js.org/classes/telegraf.html\n\n### Usage with TypeScript\n\nTelegraf is written in TypeScript and therefore ships with declaration files for the entire library.\nMoreover, it includes types for the complete Telegram API via the [`typegram`](https://github.com/KnorpelSenf/typegram) package.\nWhile most types of Telegraf's API surface are self-explanatory, there's some notable things to keep in mind.\n\n#### Extending `Context`\n\nThe exact shape of `ctx` can vary based on the installed middleware.\nSome custom middleware might register properties on the context object that Telegraf is not aware of.\nConsequently, you can change the type of `ctx` to fit your needs in order for you to have proper TypeScript types for your data.\nThis is done through Generics:\n\n```ts\nimport { Context, Telegraf } from 'telegraf'\n\n// Define your own context type\ninterface MyContext extends Context {\n myProp?: string\n myOtherProp?: number\n}\n\n// Create your bot and tell it about your context type\nconst bot = new Telegraf('SECRET TOKEN')\n\n// Register middleware and launch your bot as usual\nbot.use((ctx, next) => {\n // Yay, `myProp` is now available here as `string | undefined`!\n ctx.myProp = ctx.chat?.first_name?.toUpperCase()\n return next()\n})\n// ...\n```\n","engines":{"node":"^12.20.0 || >=14.13.1"},"exports":{".":"./lib/index.js"},"gitHead":"73589666f2255d0f78e2bf51e9669582d8f44c2b","scripts":{"lint":"eslint .","test":"ava test/*","build":"tsc --build docs/examples","clean":"git clean -fX .eslintcache docs/build/ lib/ typings/","checks":"npm test && npm run lint","prepare":"npm run --silent build","pretest":"npm run build","refresh":"npm run clean && npm ci","build:docs":"typedoc src/index.ts"},"_npmUser":{"name":"mkrhere","email":"muthukumar@thefeathers.in"},"deprecated":"Upgrade to 4.8.0 or higher","repository":{"url":"git+ssh://git@github.com/telegraf/telegraf.git","type":"git"},"_npmVersion":"8.5.0","description":"Modern Telegram Bot Framework","directories":{},"_nodeVersion":"16.14.2","dependencies":{"debug":"^4.3.3","minimist":"^1.2.6","typegram":"^3.9.0","p-timeout":"^4.1.0","node-fetch":"^2.6.7","module-alias":"^2.2.2","safe-compare":"^1.1.4","sandwich-stream":"^2.0.2","abort-controller":"^3.0.0"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"ava":"^4.0.1","eslint":"^8.8.0","typedoc":"^0.22.11","prettier":"^2.5.1","typescript":"^4.5.5","@types/node":"^17.0.14","@types/debug":"^4.1.7","@types/node-fetch":"^2.5.12","eslint-plugin-ava":"^13.2.0","eslint-plugin-node":"^11.1.0","@types/safe-compare":"^1.1.0","eslint-plugin-import":"^2.25.4","eslint-plugin-promise":"^6.0.0","eslint-config-prettier":"^8.3.0","eslint-plugin-prettier":"^4.0.0","eslint-plugin-standard":"^5.0.0","@typescript-eslint/parser":"^5.10.2","@typescript-eslint/eslint-plugin":"^5.10.2"},"_npmOperationalInternal":{"tmp":"tmp/telegraf_4.8.0-canary.3_1651186113788_0.7071305647189454","host":"s3://npm-registry-packages"}},"4.8.0-canary.4":{"name":"telegraf","version":"4.8.0-canary.4","keywords":["telegraf","telegram","telegram bot api","bot","botapi","bot framework"],"author":{"name":"Vitaly Domnikov","email":"oss@vitaly.codes"},"license":"MIT","_id":"telegraf@4.8.0-canary.4","maintainers":[{"name":"dotcypress","email":"dotcypress@gmail.com"},{"name":"mkrhere","email":"muthukumar@thefeathers.in"},{"name":"wojpawlik","email":"woj.pawlik@gmail.com"}],"homepage":"https://telegraf.js.org","bugs":{"url":"https://github.com/telegraf/telegraf/issues"},"bin":{"telegraf":"bin/telegraf"},"dist":{"shasum":"351edb9b98035dec7bf86c4059347ce03b667fbc","tarball":"https://registry.npmjs.org/telegraf/-/telegraf-4.8.0-canary.4.tgz","fileCount":116,"integrity":"sha512-VKpuds2x50bs3eEWBRauli7CTdQsAYU+19exMuH9XtPYEL/xiqyJH1W4/nz4GClIsmD7vdjw8WS2/QaQIRdEDQ==","signatures":[{"sig":"MEUCIBnhtfAjypjzvWA8mW/V4KGwP2rjJavrEzUmYfYUMLe7AiEAquYsklTQo6ASCtxyvvzX86OU/gdyAejbM5tM8VaHj78=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":448341,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJiayCiACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmqPew//dgwaoU9eWZRhS2arDkAXetBLcF1ht3dtzjp2oQhWMm+vcfRe\r\nDRARTYfnhhL1/vh7+4WP5WSCRcZcqLP8DzoKmYS0MrefQ0kzRdb/Ct2iSoGd\r\nwuSrYYdxn0drcm83QGEhvNo7Xl7bbS2pwa5R3z00eIcOVmEbnmBwgf8iIIkZ\r\nZ0eCs3C+U7x2KVxL1NqceX2sL5sByL0E4fQUuD9fDVAcJCv26MSYNj5ltRBN\r\njzYAoCDGTHbKmagyTPMDrFCXc1qFLdp6qU38/k+U1WKK/N5nojxv+iBoybcy\r\nE5+f2L790ktrUtJOKJqlQCXJHgiZKjP6PTbzVKXHY3JD33JtddtXsuH8cCP1\r\npBoqNPVWMLSjX5Iy3/0Hsu10baVsgh1nHS/qU5x1bKLdC0wDHmVnFd2LZgy7\r\nPzVzLAeJ0D7oBajIY82vOY4/LtiIKYDG1kCW16Z243D287e8PSKolTRLndYM\r\nG0CaiICl3fAOxuX3/quE0RwZc895lvRCU7SSNLUY6Vdos51Yhf3bGqTAn98b\r\n+/1ZpC4Ceo2l1B7J2bAfBywV9RLAICNJNBof8qB1q5DcZyJ4O0klobjcxQpl\r\nsF59rNhfiIJN1MlQCPJ+jgZo3gLwIevsefj65AvjJr6ARJ7V9p77O4fqxqVE\r\nf/ilzkdn8wypeozD4anTZHfoFsEi7nI0YKU=\r\n=ow4j\r\n-----END PGP SIGNATURE-----\r\n"},"main":"lib/index.js","type":"commonjs","types":"./typings/index.d.ts","readme":"
\n\"logo\"\n

telegraf.js

\n\nModern Telegram Bot API framework for Node.js\n\n[![Bot API Version](https://img.shields.io/badge/Bot%20API-v5.7-f36caf.svg?style=flat-square)](https://core.telegram.org/bots/api)\n[![install size](https://flat.badgen.net/packagephobia/install/telegraf)](https://packagephobia.com/result?p=telegraf,node-telegram-bot-api)\n[![GitHub top language](https://img.shields.io/github/languages/top/telegraf/telegraf?style=flat-square&logo=github)](https://github.com/telegraf/telegraf)\n[![English chat](https://img.shields.io/badge/English%20chat-grey?style=flat-square&logo=telegram)](https://t.me/TelegrafJSChat)\n
\n\n> Notice: [@MKRhere](https://github.com/MKRhere) has taken over as the new maintainer of Telegraf. Feel free to reach out via the Telegram group.\n\n## For 3.x users\n\n- [3.x docs](https://telegraf.js.org/v3)\n- [4.0 release notes](https://github.com/telegraf/telegraf/releases/tag/v4.0.0)\n\n## Introduction\n\nBots are special [Telegram](https://telegram.org) accounts designed to handle messages automatically. \nUsers can interact with bots by sending them command messages in private or group chats. \nThese accounts serve as an interface for code running somewhere on your server.\n\nTelegraf is a library that makes it simple for you to develop your own Telegram bots using JavaScript or [TypeScript](https://www.typescriptlang.org/).\n\n### Features\n\n- Full [Telegram Bot API 5.7](https://core.telegram.org/bots/api) support\n- [Excellent TypeScript typings](https://github.com/telegraf/telegraf/releases/tag/v4.0.0)\n- [Lightweight](https://packagephobia.com/result?p=telegraf,node-telegram-bot-api)\n- [AWS **λ**](https://docs.aws.amazon.com/lambda/latest/dg/nodejs-prog-model-handler.html)\n / [Firebase](https://firebase.google.com/products/functions/)\n / [Glitch](https://glitch.com/edit/#!/dashing-light)\n / [Heroku](https://devcenter.heroku.com/articles/getting-started-with-nodejs#introduction)\n / Whatever ready\n- `http/https/fastify/Connect.js/express.js` compatible webhooks\n- Extensible\n\n### Example\n \n```js\nconst { Telegraf } = require('telegraf')\n\nconst bot = new Telegraf(process.env.BOT_TOKEN)\nbot.start((ctx) => ctx.reply('Welcome'))\nbot.help((ctx) => ctx.reply('Send me a sticker'))\nbot.on('sticker', (ctx) => ctx.reply('👍'))\nbot.hears('hi', (ctx) => ctx.reply('Hey there'))\nbot.launch()\n\n// Enable graceful stop\nprocess.once('SIGINT', () => bot.stop('SIGINT'))\nprocess.once('SIGTERM', () => bot.stop('SIGTERM'))\n```\n\n```js\nconst { Telegraf } = require('telegraf')\n\nconst bot = new Telegraf(process.env.BOT_TOKEN)\nbot.command('oldschool', (ctx) => ctx.reply('Hello'))\nbot.command('hipster', Telegraf.reply('λ'))\nbot.launch()\n\n// Enable graceful stop\nprocess.once('SIGINT', () => bot.stop('SIGINT'))\nprocess.once('SIGTERM', () => bot.stop('SIGTERM'))\n```\n\nFor additional bot examples see [`examples`](https://github.com/telegraf/telegraf/tree/develop/docs/examples) folder.\n\n### Resources\n\n- [Getting started](#getting-started)\n- [API reference](https://telegraf.js.org/modules.html)\n- Telegram groups (sorted by number of members):\n * [English](https://t.me/TelegrafJSChat)\n * [Uzbek](https://t.me/botjs_uz)\n * [Ethiopian](https://t.me/telegraf_et)\n- [GitHub Discussions](https://github.com/telegraf/telegraf/discussions)\n- [Dependent repositories](https://libraries.io/npm/telegraf/dependent_repositories)\n\n## Getting started\n\n### Telegram token\n\nTo use the [Telegram Bot API](https://core.telegram.org/bots/api), \nyou first have to [get a bot account](https://core.telegram.org/bots) \nby [chatting with BotFather](https://core.telegram.org/bots#6-botfather).\n\nBotFather will give you a *token*, something like `123456789:AbCdfGhIJKlmNoQQRsTUVwxyZ`.\n\n### Installation\n\n```shellscript\n$ npm install telegraf\n```\nor\n```shellscript\n$ yarn add telegraf\n```\nor\n```shellscript\n$ pnpm add telegraf\n```\n\n### `Telegraf` class\n\n[`Telegraf`] instance represents your bot. It's responsible for obtaining updates and passing them to your handlers.\n\nStart by [listening to commands](https://telegraf.js.org/classes/telegraf.html#command) and [launching](https://telegraf.js.org/classes/telegraf.html#launch) your bot.\n\n### `Context` class\n\n`ctx` you can see in every example is a [`Context`] instance.\n[`Telegraf`] creates one for each incoming update and passes it to your middleware.\nIt contains the `update`, `botInfo`, and `telegram` for making arbitrary Bot API requests,\nas well as shorthand methods and getters.\n\nThis is probably the class you'll be using the most.\n\n\n\n\n#### Shorthand methods\n\n```js\nimport { Telegraf } from 'telegraf'\n\nconst bot = new Telegraf(process.env.BOT_TOKEN)\n\nbot.command('quit', (ctx) => {\n // Explicit usage\n ctx.telegram.leaveChat(ctx.message.chat.id)\n\n // Using context shortcut\n ctx.leaveChat()\n})\n\nbot.on('text', (ctx) => {\n // Explicit usage\n ctx.telegram.sendMessage(ctx.message.chat.id, `Hello ${ctx.state.role}`)\n\n // Using context shortcut\n ctx.reply(`Hello ${ctx.state.role}`)\n})\n\nbot.on('callback_query', (ctx) => {\n // Explicit usage\n ctx.telegram.answerCbQuery(ctx.callbackQuery.id)\n\n // Using context shortcut\n ctx.answerCbQuery()\n})\n\nbot.on('inline_query', (ctx) => {\n const result = []\n // Explicit usage\n ctx.telegram.answerInlineQuery(ctx.inlineQuery.id, result)\n\n // Using context shortcut\n ctx.answerInlineQuery(result)\n})\n\nbot.launch()\n\n// Enable graceful stop\nprocess.once('SIGINT', () => bot.stop('SIGINT'))\nprocess.once('SIGTERM', () => bot.stop('SIGTERM'))\n```\n\n## Production\n\n### Webhooks\n\n```js\nconst { Telegraf } = require('telegraf')\nconst fs = require('fs')\nrequire('dotenv')\n\nconst bot = new Telegraf(process.env.BOT_TOKEN)\n\n// TLS options\nconst tlsOptions = {\n key: fs.readFileSync('server-key.pem'),\n cert: fs.readFileSync('server-cert.pem'),\n ca: [\n // This is necessary only if the client uses a self-signed certificate.\n fs.readFileSync('client-cert.pem')\n ]\n}\n\n// Set telegram webhook\n// The second argument is necessary only if the client uses a self-signed\n// certificate. Including it for a verified certificate may cause things to break.\nbot.telegram.setWebhook('https://server.tld:8443/secret-path', {\n certificate: { source: fs.readFileSync('server-cert.pem') }\n})\n\n// Start https webhook\nbot.startWebhook('/secret-path', tlsOptions, 8443)\n\n// Http webhook, for nginx/heroku users.\nbot.startWebhook('/secret-path', null, 5000)\n```\n\nUse `webhookCallback()` if you want to attach Telegraf to an existing http server.\n\n\n\n```js\nrequire('http')\n .createServer(bot.webhookCallback('/secret-path'))\n .listen(3000)\n\nrequire('https')\n .createServer(tlsOptions, bot.webhookCallback('/secret-path'))\n .listen(8443)\n```\n\n- [AWS Lambda example integration](https://github.com/telegraf/telegraf/blob/develop/docs/examples/aws-lambda.js)\n- [`express` example integration](https://github.com/telegraf/telegraf/blob/develop/docs/examples/express-webhook-bot.ts)\n- [`fastify` example integration](https://github.com/telegraf/telegraf/blob/develop/docs/examples/fastify-webhook-bot.js)\n- [Google Cloud Functions example integration](https://github.com/telegraf/telegraf/blob/develop/docs/examples/google-cloud-function.ts)\n- [`koa` example integration](https://github.com/telegraf/telegraf/blob/develop/docs/examples/koa-webhook-bot.js)\n- [NestJS framework integration module](https://github.com/bukhalo/nestjs-telegraf)\n- Use [`bot.handleUpdate`](https://telegraf.js.org/classes/telegraf.html#handleupdate) to write new integrations\n\n### Error handling\n\nIf middleware throws an error or times out, Telegraf calls `bot.handleError`. If it rethrows, update source closes, and then the error is printed to console and process [hopefully](https://nodejs.org/api/cli.html#cli_unhandled_rejections_mode) terminates. If it does not rethrow, the error is swallowed.\n\nDefault `bot.handleError` always rethrows. You can overwrite it using `bot.catch` if you need to.\n\n⚠️ Always rethrow `TimeoutError`!\n\n⚠️ Swallowing unknown errors might leave the process in invalid state!\n\nℹ️ In production, `systemd` or [`pm2`](https://www.npmjs.com/package/pm2) can restart your bot if it exits for any reason.\n\n## Advanced topics\n\n### Working with files\n\nSupported file sources:\n\n- `Existing file_id`\n- `File path`\n- `Url`\n- `Buffer`\n- `ReadStream`\n\nAlso, you can provide an optional name of a file as `filename` when you send the file.\n\n\n\n```js\nbot.on('message', (ctx) => {\n // resend existing file by file_id\n ctx.replyWithSticker('123123jkbhj6b')\n\n // send file\n ctx.replyWithVideo({ source: '/path/to/video.mp4' })\n\n // send stream\n ctx.replyWithVideo({\n source: fs.createReadStream('/path/to/video.mp4')\n })\n\n // send buffer\n ctx.replyWithVoice({\n source: Buffer.alloc()\n })\n\n // send url via Telegram server\n ctx.replyWithPhoto('https://picsum.photos/200/300/')\n\n // pipe url content\n ctx.replyWithPhoto({\n url: 'https://picsum.photos/200/300/?random',\n filename: 'kitten.jpg'\n })\n})\n```\n\n### Middleware\n\nIn addition to `ctx: Context`, each middleware receives `next: () => Promise`.\n\nAs in Koa and some other middleware-based libraries,\n`await next()` will call next middleware and wait for it to finish:\n\n```js\nimport { Telegraf } from 'telegraf'\n\nconst bot = new Telegraf(process.env.BOT_TOKEN)\n\nbot.use(async (ctx, next) => {\n console.time(`Processing update ${ctx.update.update_id}`)\n await next() // runs next middleware\n // runs after next middleware finishes\n console.timeEnd(`Processing update ${ctx.update.update_id}`)\n})\n\nbot.on('text', (ctx) => ctx.reply('Hello World'))\nbot.launch()\n\n// Enable graceful stop\nprocess.once('SIGINT', () => bot.stop('SIGINT'))\nprocess.once('SIGTERM', () => bot.stop('SIGTERM'))\n```\n\nWith this simple ability, you can:\n- extract information from updates and then `await next()` to avoid disrupting other middleware,\n- like [`Composer`] and [`Router`], `await next()` for updates you don't wish to handle,\n- like [`session`] and [`Scenes`], [extend the context](#extending-context) by mutating `ctx` before `await next()`,\n- [intercept API calls](https://github.com/telegraf/telegraf/discussions/1267#discussioncomment-254525),\n- reuse [other people's code](https://www.npmjs.com/search?q=telegraf-),\n- do whatever **you** come up with!\n\n[`Composer`]: https://telegraf.js.org/classes/composer.html\n[`Context`]: https://telegraf.js.org/classes/context.html\n[`Router`]: https://telegraf.js.org/classes/router.html\n[`session`]: https://telegraf.js.org/modules.html#session\n[`Scenes`]: https://telegraf.js.org/modules/scenes.html\n[`Telegraf`]: https://telegraf.js.org/classes/telegraf.html\n\n### Usage with TypeScript\n\nTelegraf is written in TypeScript and therefore ships with declaration files for the entire library.\nMoreover, it includes types for the complete Telegram API via the [`typegram`](https://github.com/KnorpelSenf/typegram) package.\nWhile most types of Telegraf's API surface are self-explanatory, there's some notable things to keep in mind.\n\n#### Extending `Context`\n\nThe exact shape of `ctx` can vary based on the installed middleware.\nSome custom middleware might register properties on the context object that Telegraf is not aware of.\nConsequently, you can change the type of `ctx` to fit your needs in order for you to have proper TypeScript types for your data.\nThis is done through Generics:\n\n```ts\nimport { Context, Telegraf } from 'telegraf'\n\n// Define your own context type\ninterface MyContext extends Context {\n myProp?: string\n myOtherProp?: number\n}\n\n// Create your bot and tell it about your context type\nconst bot = new Telegraf('SECRET TOKEN')\n\n// Register middleware and launch your bot as usual\nbot.use((ctx, next) => {\n // Yay, `myProp` is now available here as `string | undefined`!\n ctx.myProp = ctx.chat?.first_name?.toUpperCase()\n return next()\n})\n// ...\n```\n","engines":{"node":"^12.20.0 || >=14.13.1"},"exports":{".":"./lib/index.js"},"gitHead":"4949be274b76ffb0db23f42ed09862be2575988a","scripts":{"lint":"eslint .","test":"ava test/*","build":"tsc --build docs/examples","clean":"git clean -fX .eslintcache docs/build/ lib/ typings/","checks":"npm test && npm run lint","prepare":"npm run --silent build","pretest":"npm run build","refresh":"npm run clean && npm ci","build:docs":"typedoc src/index.ts"},"_npmUser":{"name":"mkrhere","email":"muthukumar@thefeathers.in"},"deprecated":"Upgrade to 4.8.0 or higher","repository":{"url":"git+ssh://git@github.com/telegraf/telegraf.git","type":"git"},"_npmVersion":"8.5.0","description":"Modern Telegram Bot Framework","directories":{},"_nodeVersion":"16.14.2","dependencies":{"debug":"^4.3.3","minimist":"^1.2.6","typegram":"^3.9.0","p-timeout":"^4.1.0","node-fetch":"^2.6.7","module-alias":"^2.2.2","safe-compare":"^1.1.4","sandwich-stream":"^2.0.2","abort-controller":"^3.0.0"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"ava":"^4.0.1","eslint":"^8.8.0","typedoc":"^0.22.11","prettier":"^2.5.1","typescript":"^4.5.5","@types/node":"^17.0.14","@types/debug":"^4.1.7","@types/node-fetch":"^2.5.12","eslint-plugin-ava":"^13.2.0","eslint-plugin-node":"^11.1.0","@types/safe-compare":"^1.1.0","eslint-plugin-import":"^2.25.4","eslint-plugin-promise":"^6.0.0","eslint-config-prettier":"^8.3.0","eslint-plugin-prettier":"^4.0.0","eslint-plugin-standard":"^5.0.0","@typescript-eslint/parser":"^5.10.2","@typescript-eslint/eslint-plugin":"^5.10.2"},"_npmOperationalInternal":{"tmp":"tmp/telegraf_4.8.0-canary.4_1651187873948_0.18813461027264533","host":"s3://npm-registry-packages"}},"4.8.0-canary.5":{"name":"telegraf","version":"4.8.0-canary.5","keywords":["telegraf","telegram","telegram bot api","bot","botapi","bot framework"],"author":{"name":"Vitaly Domnikov","email":"oss@vitaly.codes"},"license":"MIT","_id":"telegraf@4.8.0-canary.5","maintainers":[{"name":"dotcypress","email":"dotcypress@gmail.com"},{"name":"mkrhere","email":"muthukumar@thefeathers.in"},{"name":"wojpawlik","email":"woj.pawlik@gmail.com"}],"homepage":"https://telegraf.js.org","bugs":{"url":"https://github.com/telegraf/telegraf/issues"},"bin":{"telegraf":"bin/telegraf"},"dist":{"shasum":"8751ac07c639bc48eb5cd51cf553a55b9f6222cb","tarball":"https://registry.npmjs.org/telegraf/-/telegraf-4.8.0-canary.5.tgz","fileCount":116,"integrity":"sha512-uXvqlUmN69ZaZeuH/M1gySPvssNKPjFLQDPyBgn1PTU8eklsG1ofzQi89IPS9Rys00eIWQnvBOYFZ4CqTTGTyA==","signatures":[{"sig":"MEYCIQDp6yrdpY4eVVoIdhgE342z4IrkNlPFIRqfTDMdRrqnwwIhAKGGIvfEfuz2Xl6uJq83evfFdRZIcb/DMjXR5yO0aGzH","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":448083,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJiayETACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmoV1w/9HIaJW0BxeEKXuGgkumDX8TN8oniJXhQZwZOSEa9AhpG63tEi\r\n+2pDCSnp05gjJxAw9uKGsPP5KgVKzqENLuQcmgqGvonSOiUpl/F/ZWxtB8nr\r\n8MoLpcEyoz7pZYyHY/JCEI2H66qP+F+d7lCjQZTQl26OOGcoNOOZzquyL/+6\r\n8IsMSk6KzX9080ZlK2bOcnI7QB5Hfw23zT9HkVcsrgpu1s6a1K9igErJvQ95\r\nvYTkG1JbDhrO29V4xx/66nbo/dOK7XLhtdIBwGfbM5NDwznDkZfZMSGwpZ1j\r\nmLvyuCtq8Yi4wKl9yX+ZGwiV7AUTMU1JX+rylUSpqrWDwevAjmu66J+YhIz+\r\nTfu46ZIZJR1MWJLVFtyuoVVks5chqyCXnA7LvfXUd6yInUptkpG2x6ZoRWM7\r\n69bmuDMlY4NuqpEuMTWR+xzM/KCHq2GPUQzq175LA9D+AWQMMZQTsEdAHv1h\r\n5BsvhojJxHzsNDga/KnJDQsrFF1jw5KmZimqocRhhSQ0fNK9JTSolKtm94Hx\r\nUDYXYaspzJlfzotPAIeFrUaE+LUmggLnVXm8H5o5Q/oYvYUGYL5PPAJLGvNp\r\nYK5uGtXKvJhoxmBYRM4xPcxzVllzuwMizT/2sxkC5qOkAVtJ4jn9iI2N1zBA\r\nShwVIgCG/AzDKECGIXwoEb9p8+b0UoKUWYs=\r\n=qZkI\r\n-----END PGP SIGNATURE-----\r\n"},"main":"lib/index.js","type":"commonjs","types":"./typings/index.d.ts","readme":"
\n\"logo\"\n

telegraf.js

\n\nModern Telegram Bot API framework for Node.js\n\n[![Bot API Version](https://img.shields.io/badge/Bot%20API-v5.7-f36caf.svg?style=flat-square)](https://core.telegram.org/bots/api)\n[![install size](https://flat.badgen.net/packagephobia/install/telegraf)](https://packagephobia.com/result?p=telegraf,node-telegram-bot-api)\n[![GitHub top language](https://img.shields.io/github/languages/top/telegraf/telegraf?style=flat-square&logo=github)](https://github.com/telegraf/telegraf)\n[![English chat](https://img.shields.io/badge/English%20chat-grey?style=flat-square&logo=telegram)](https://t.me/TelegrafJSChat)\n
\n\n> Notice: [@MKRhere](https://github.com/MKRhere) has taken over as the new maintainer of Telegraf. Feel free to reach out via the Telegram group.\n\n## For 3.x users\n\n- [3.x docs](https://telegraf.js.org/v3)\n- [4.0 release notes](https://github.com/telegraf/telegraf/releases/tag/v4.0.0)\n\n## Introduction\n\nBots are special [Telegram](https://telegram.org) accounts designed to handle messages automatically. \nUsers can interact with bots by sending them command messages in private or group chats. \nThese accounts serve as an interface for code running somewhere on your server.\n\nTelegraf is a library that makes it simple for you to develop your own Telegram bots using JavaScript or [TypeScript](https://www.typescriptlang.org/).\n\n### Features\n\n- Full [Telegram Bot API 5.7](https://core.telegram.org/bots/api) support\n- [Excellent TypeScript typings](https://github.com/telegraf/telegraf/releases/tag/v4.0.0)\n- [Lightweight](https://packagephobia.com/result?p=telegraf,node-telegram-bot-api)\n- [AWS **λ**](https://docs.aws.amazon.com/lambda/latest/dg/nodejs-prog-model-handler.html)\n / [Firebase](https://firebase.google.com/products/functions/)\n / [Glitch](https://glitch.com/edit/#!/dashing-light)\n / [Heroku](https://devcenter.heroku.com/articles/getting-started-with-nodejs#introduction)\n / Whatever ready\n- `http/https/fastify/Connect.js/express.js` compatible webhooks\n- Extensible\n\n### Example\n \n```js\nconst { Telegraf } = require('telegraf')\n\nconst bot = new Telegraf(process.env.BOT_TOKEN)\nbot.start((ctx) => ctx.reply('Welcome'))\nbot.help((ctx) => ctx.reply('Send me a sticker'))\nbot.on('sticker', (ctx) => ctx.reply('👍'))\nbot.hears('hi', (ctx) => ctx.reply('Hey there'))\nbot.launch()\n\n// Enable graceful stop\nprocess.once('SIGINT', () => bot.stop('SIGINT'))\nprocess.once('SIGTERM', () => bot.stop('SIGTERM'))\n```\n\n```js\nconst { Telegraf } = require('telegraf')\n\nconst bot = new Telegraf(process.env.BOT_TOKEN)\nbot.command('oldschool', (ctx) => ctx.reply('Hello'))\nbot.command('hipster', Telegraf.reply('λ'))\nbot.launch()\n\n// Enable graceful stop\nprocess.once('SIGINT', () => bot.stop('SIGINT'))\nprocess.once('SIGTERM', () => bot.stop('SIGTERM'))\n```\n\nFor additional bot examples see [`examples`](https://github.com/telegraf/telegraf/tree/develop/docs/examples) folder.\n\n### Resources\n\n- [Getting started](#getting-started)\n- [API reference](https://telegraf.js.org/modules.html)\n- Telegram groups (sorted by number of members):\n * [English](https://t.me/TelegrafJSChat)\n * [Uzbek](https://t.me/botjs_uz)\n * [Ethiopian](https://t.me/telegraf_et)\n- [GitHub Discussions](https://github.com/telegraf/telegraf/discussions)\n- [Dependent repositories](https://libraries.io/npm/telegraf/dependent_repositories)\n\n## Getting started\n\n### Telegram token\n\nTo use the [Telegram Bot API](https://core.telegram.org/bots/api), \nyou first have to [get a bot account](https://core.telegram.org/bots) \nby [chatting with BotFather](https://core.telegram.org/bots#6-botfather).\n\nBotFather will give you a *token*, something like `123456789:AbCdfGhIJKlmNoQQRsTUVwxyZ`.\n\n### Installation\n\n```shellscript\n$ npm install telegraf\n```\nor\n```shellscript\n$ yarn add telegraf\n```\nor\n```shellscript\n$ pnpm add telegraf\n```\n\n### `Telegraf` class\n\n[`Telegraf`] instance represents your bot. It's responsible for obtaining updates and passing them to your handlers.\n\nStart by [listening to commands](https://telegraf.js.org/classes/telegraf.html#command) and [launching](https://telegraf.js.org/classes/telegraf.html#launch) your bot.\n\n### `Context` class\n\n`ctx` you can see in every example is a [`Context`] instance.\n[`Telegraf`] creates one for each incoming update and passes it to your middleware.\nIt contains the `update`, `botInfo`, and `telegram` for making arbitrary Bot API requests,\nas well as shorthand methods and getters.\n\nThis is probably the class you'll be using the most.\n\n\n\n\n#### Shorthand methods\n\n```js\nimport { Telegraf } from 'telegraf'\n\nconst bot = new Telegraf(process.env.BOT_TOKEN)\n\nbot.command('quit', (ctx) => {\n // Explicit usage\n ctx.telegram.leaveChat(ctx.message.chat.id)\n\n // Using context shortcut\n ctx.leaveChat()\n})\n\nbot.on('text', (ctx) => {\n // Explicit usage\n ctx.telegram.sendMessage(ctx.message.chat.id, `Hello ${ctx.state.role}`)\n\n // Using context shortcut\n ctx.reply(`Hello ${ctx.state.role}`)\n})\n\nbot.on('callback_query', (ctx) => {\n // Explicit usage\n ctx.telegram.answerCbQuery(ctx.callbackQuery.id)\n\n // Using context shortcut\n ctx.answerCbQuery()\n})\n\nbot.on('inline_query', (ctx) => {\n const result = []\n // Explicit usage\n ctx.telegram.answerInlineQuery(ctx.inlineQuery.id, result)\n\n // Using context shortcut\n ctx.answerInlineQuery(result)\n})\n\nbot.launch()\n\n// Enable graceful stop\nprocess.once('SIGINT', () => bot.stop('SIGINT'))\nprocess.once('SIGTERM', () => bot.stop('SIGTERM'))\n```\n\n## Production\n\n### Webhooks\n\n```js\nconst { Telegraf } = require('telegraf')\nconst fs = require('fs')\nrequire('dotenv')\n\nconst bot = new Telegraf(process.env.BOT_TOKEN)\n\n// TLS options\nconst tlsOptions = {\n key: fs.readFileSync('server-key.pem'),\n cert: fs.readFileSync('server-cert.pem'),\n ca: [\n // This is necessary only if the client uses a self-signed certificate.\n fs.readFileSync('client-cert.pem')\n ]\n}\n\n// Set telegram webhook\n// The second argument is necessary only if the client uses a self-signed\n// certificate. Including it for a verified certificate may cause things to break.\nbot.telegram.setWebhook('https://server.tld:8443/secret-path', {\n certificate: { source: fs.readFileSync('server-cert.pem') }\n})\n\n// Start https webhook\nbot.startWebhook('/secret-path', tlsOptions, 8443)\n\n// Http webhook, for nginx/heroku users.\nbot.startWebhook('/secret-path', null, 5000)\n```\n\nUse `webhookCallback()` if you want to attach Telegraf to an existing http server.\n\n\n\n```js\nrequire('http')\n .createServer(bot.webhookCallback('/secret-path'))\n .listen(3000)\n\nrequire('https')\n .createServer(tlsOptions, bot.webhookCallback('/secret-path'))\n .listen(8443)\n```\n\n- [AWS Lambda example integration](https://github.com/telegraf/telegraf/blob/develop/docs/examples/aws-lambda.js)\n- [`express` example integration](https://github.com/telegraf/telegraf/blob/develop/docs/examples/express-webhook-bot.ts)\n- [`fastify` example integration](https://github.com/telegraf/telegraf/blob/develop/docs/examples/fastify-webhook-bot.js)\n- [Google Cloud Functions example integration](https://github.com/telegraf/telegraf/blob/develop/docs/examples/google-cloud-function.ts)\n- [`koa` example integration](https://github.com/telegraf/telegraf/blob/develop/docs/examples/koa-webhook-bot.js)\n- [NestJS framework integration module](https://github.com/bukhalo/nestjs-telegraf)\n- Use [`bot.handleUpdate`](https://telegraf.js.org/classes/telegraf.html#handleupdate) to write new integrations\n\n### Error handling\n\nIf middleware throws an error or times out, Telegraf calls `bot.handleError`. If it rethrows, update source closes, and then the error is printed to console and process [hopefully](https://nodejs.org/api/cli.html#cli_unhandled_rejections_mode) terminates. If it does not rethrow, the error is swallowed.\n\nDefault `bot.handleError` always rethrows. You can overwrite it using `bot.catch` if you need to.\n\n⚠️ Always rethrow `TimeoutError`!\n\n⚠️ Swallowing unknown errors might leave the process in invalid state!\n\nℹ️ In production, `systemd` or [`pm2`](https://www.npmjs.com/package/pm2) can restart your bot if it exits for any reason.\n\n## Advanced topics\n\n### Working with files\n\nSupported file sources:\n\n- `Existing file_id`\n- `File path`\n- `Url`\n- `Buffer`\n- `ReadStream`\n\nAlso, you can provide an optional name of a file as `filename` when you send the file.\n\n\n\n```js\nbot.on('message', (ctx) => {\n // resend existing file by file_id\n ctx.replyWithSticker('123123jkbhj6b')\n\n // send file\n ctx.replyWithVideo({ source: '/path/to/video.mp4' })\n\n // send stream\n ctx.replyWithVideo({\n source: fs.createReadStream('/path/to/video.mp4')\n })\n\n // send buffer\n ctx.replyWithVoice({\n source: Buffer.alloc()\n })\n\n // send url via Telegram server\n ctx.replyWithPhoto('https://picsum.photos/200/300/')\n\n // pipe url content\n ctx.replyWithPhoto({\n url: 'https://picsum.photos/200/300/?random',\n filename: 'kitten.jpg'\n })\n})\n```\n\n### Middleware\n\nIn addition to `ctx: Context`, each middleware receives `next: () => Promise`.\n\nAs in Koa and some other middleware-based libraries,\n`await next()` will call next middleware and wait for it to finish:\n\n```js\nimport { Telegraf } from 'telegraf'\n\nconst bot = new Telegraf(process.env.BOT_TOKEN)\n\nbot.use(async (ctx, next) => {\n console.time(`Processing update ${ctx.update.update_id}`)\n await next() // runs next middleware\n // runs after next middleware finishes\n console.timeEnd(`Processing update ${ctx.update.update_id}`)\n})\n\nbot.on('text', (ctx) => ctx.reply('Hello World'))\nbot.launch()\n\n// Enable graceful stop\nprocess.once('SIGINT', () => bot.stop('SIGINT'))\nprocess.once('SIGTERM', () => bot.stop('SIGTERM'))\n```\n\nWith this simple ability, you can:\n- extract information from updates and then `await next()` to avoid disrupting other middleware,\n- like [`Composer`] and [`Router`], `await next()` for updates you don't wish to handle,\n- like [`session`] and [`Scenes`], [extend the context](#extending-context) by mutating `ctx` before `await next()`,\n- [intercept API calls](https://github.com/telegraf/telegraf/discussions/1267#discussioncomment-254525),\n- reuse [other people's code](https://www.npmjs.com/search?q=telegraf-),\n- do whatever **you** come up with!\n\n[`Composer`]: https://telegraf.js.org/classes/composer.html\n[`Context`]: https://telegraf.js.org/classes/context.html\n[`Router`]: https://telegraf.js.org/classes/router.html\n[`session`]: https://telegraf.js.org/modules.html#session\n[`Scenes`]: https://telegraf.js.org/modules/scenes.html\n[`Telegraf`]: https://telegraf.js.org/classes/telegraf.html\n\n### Usage with TypeScript\n\nTelegraf is written in TypeScript and therefore ships with declaration files for the entire library.\nMoreover, it includes types for the complete Telegram API via the [`typegram`](https://github.com/KnorpelSenf/typegram) package.\nWhile most types of Telegraf's API surface are self-explanatory, there's some notable things to keep in mind.\n\n#### Extending `Context`\n\nThe exact shape of `ctx` can vary based on the installed middleware.\nSome custom middleware might register properties on the context object that Telegraf is not aware of.\nConsequently, you can change the type of `ctx` to fit your needs in order for you to have proper TypeScript types for your data.\nThis is done through Generics:\n\n```ts\nimport { Context, Telegraf } from 'telegraf'\n\n// Define your own context type\ninterface MyContext extends Context {\n myProp?: string\n myOtherProp?: number\n}\n\n// Create your bot and tell it about your context type\nconst bot = new Telegraf('SECRET TOKEN')\n\n// Register middleware and launch your bot as usual\nbot.use((ctx, next) => {\n // Yay, `myProp` is now available here as `string | undefined`!\n ctx.myProp = ctx.chat?.first_name?.toUpperCase()\n return next()\n})\n// ...\n```\n","engines":{"node":"^12.20.0 || >=14.13.1"},"exports":{".":"./lib/index.js"},"gitHead":"e7177075190cad1e868963df9bbe6eedda859324","scripts":{"lint":"eslint .","test":"ava test/*","build":"tsc --build docs/examples","clean":"git clean -fX .eslintcache docs/build/ lib/ typings/","checks":"npm test && npm run lint","prepare":"npm run --silent build","pretest":"npm run build","refresh":"npm run clean && npm ci","build:docs":"typedoc src/index.ts"},"_npmUser":{"name":"mkrhere","email":"muthukumar@thefeathers.in"},"deprecated":"Upgrade to 4.8.0 or higher","repository":{"url":"git+ssh://git@github.com/telegraf/telegraf.git","type":"git"},"_npmVersion":"8.5.0","description":"Modern Telegram Bot Framework","directories":{},"_nodeVersion":"16.14.2","dependencies":{"debug":"^4.3.3","minimist":"^1.2.6","typegram":"^3.9.0","p-timeout":"^4.1.0","node-fetch":"^2.6.7","module-alias":"^2.2.2","safe-compare":"^1.1.4","sandwich-stream":"^2.0.2","abort-controller":"^3.0.0"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"ava":"^4.0.1","eslint":"^8.8.0","typedoc":"^0.22.11","prettier":"^2.5.1","typescript":"^4.5.5","@types/node":"^17.0.14","@types/debug":"^4.1.7","@types/node-fetch":"^2.5.12","eslint-plugin-ava":"^13.2.0","eslint-plugin-node":"^11.1.0","@types/safe-compare":"^1.1.0","eslint-plugin-import":"^2.25.4","eslint-plugin-promise":"^6.0.0","eslint-config-prettier":"^8.3.0","eslint-plugin-prettier":"^4.0.0","eslint-plugin-standard":"^5.0.0","@typescript-eslint/parser":"^5.10.2","@typescript-eslint/eslint-plugin":"^5.10.2"},"_npmOperationalInternal":{"tmp":"tmp/telegraf_4.8.0-canary.5_1651187987623_0.3069555585413637","host":"s3://npm-registry-packages"}},"4.8.0":{"name":"telegraf","version":"4.8.0","keywords":["telegraf","telegram","telegram bot api","bot","botapi","bot framework"],"author":{"name":"Vitaly Domnikov","email":"oss@vitaly.codes"},"license":"MIT","_id":"telegraf@4.8.0","maintainers":[{"name":"dotcypress","email":"dotcypress@gmail.com"},{"name":"mkrhere","email":"muthukumar@thefeathers.in"},{"name":"wojpawlik","email":"woj.pawlik@gmail.com"}],"homepage":"https://telegraf.js.org","bugs":{"url":"https://github.com/telegraf/telegraf/issues"},"bin":{"telegraf":"bin/telegraf"},"dist":{"shasum":"7c970f65213c96c2b8169b3610feadd0be688069","tarball":"https://registry.npmjs.org/telegraf/-/telegraf-4.8.0.tgz","fileCount":109,"integrity":"sha512-jFcVqYySzRL1zKZSiKKbWbCvarfoF3F6/zEiscDrRbFSAEyGFmpziKWa7pTZeNZezAw1jyp0oI8GEv6JRa4MSg==","signatures":[{"sig":"MEUCIQDTeMRF3heeHxm2NODp3H+CdoyvzojxsgPm8Wr3HWpY8gIgZOtL2voZg+ArzhISksWyFE5n5nzHUACZthczsujiPF8=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":447342,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJia/RAACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmr32hAAmsZSLyb2GAf1V3NkN8BTP0hw16xFTnbs/U1xIZmJdfIuRUeb\r\nah2jNast3Za5aG2034XEIAqM+HXvQsG2hrHJop8vrp05fbO/p4gKCUb1IceT\r\nkFygEdvPqBgnAQpnW+CL22sVKvm2eXD81xxxsWT2FY15aIKTwvfBVLDXYeYW\r\nbV2lrYrYF9q+yks73t0jpGBDLmH1eh1kaDBBQ8RoTI/o1pN4xYSZ+WXb/IFY\r\n8imyH85Rz2GIclE0yr5r4PIZq+BiQEQvc7l4VozM7G3naS88ckMu3SNukXXq\r\nMwk6lmcNOOLk/vAnIFYS00zuFSG5JGrGi4g8XF0v6eTxZdtw2oResgabkg1U\r\nAqtuVhXKkkIJaAC3ZZ/QCR2zJGEI1HykUDB9o1CW62phiXyhHrSDvpOqUTui\r\nIU/qps1Lg5Tv55n5o+D9Wt1sYSYZmheRAFypz7/GBPJfe/hkO8j8BKQV9h4h\r\nkRxWNK0O+SdbtWYGM0xOYMjKWQmetFsL7mKWHDVttBWfs8dRhaGJB+HXZYlP\r\nSTMOO+TrQmzSNDLgNi0PWaMhvG1H0W4u6lX1zfVX/sB5nSjDhN+HdmiAfZN6\r\nEThWopT+RpQx1C5SqwGOxmEAQPJpHvU2i0lkbn1pr5GLsVlPu+Jro/m7UxfG\r\nyYhYtCdGmn1JyBrlhoEtIr4GVRtK3Wnoh7o=\r\n=LZwb\r\n-----END PGP SIGNATURE-----\r\n"},"main":"lib/index.js","type":"commonjs","types":"./typings/index.d.ts","engines":{"node":"^12.20.0 || >=14.13.1"},"exports":{".":"./lib/index.js"},"gitHead":"792e310d40fd6f7b587fc0a6f6bfaa1c665e6280","scripts":{"lint":"eslint .","test":"ava test/*","build":"tsc --build docs/examples","clean":"git clean -fX .eslintcache docs/build/ lib/ typings/","checks":"npm test && npm run lint","prepare":"npm run --silent build","pretest":"npm run build","refresh":"npm run clean && npm ci","build:docs":"typedoc src/index.ts"},"_npmUser":{"name":"mkrhere","email":"muthukumar@thefeathers.in"},"repository":{"url":"git+ssh://git@github.com/telegraf/telegraf.git","type":"git"},"_npmVersion":"8.5.0","description":"Modern Telegram Bot Framework","directories":{},"_nodeVersion":"16.14.2","dependencies":{"debug":"^4.3.3","minimist":"^1.2.6","typegram":"^3.9.0","p-timeout":"^4.1.0","node-fetch":"^2.6.7","module-alias":"^2.2.2","safe-compare":"^1.1.4","sandwich-stream":"^2.0.2","abort-controller":"^3.0.0"},"_hasShrinkwrap":false,"devDependencies":{"ava":"^4.0.1","eslint":"^8.8.0","typedoc":"^0.22.11","prettier":"^2.5.1","typescript":"^4.5.5","@types/node":"^17.0.14","@types/debug":"^4.1.7","@types/node-fetch":"^2.5.12","eslint-plugin-ava":"^13.2.0","eslint-plugin-node":"^11.1.0","@types/safe-compare":"^1.1.0","eslint-plugin-import":"^2.25.4","eslint-plugin-promise":"^6.0.0","eslint-config-prettier":"^8.3.0","eslint-plugin-prettier":"^4.0.0","eslint-plugin-standard":"^5.0.0","@typescript-eslint/parser":"^5.10.2","@typescript-eslint/eslint-plugin":"^5.10.2"},"_npmOperationalInternal":{"tmp":"tmp/telegraf_4.8.0_1651242048471_0.227044554923711","host":"s3://npm-registry-packages"}},"4.8.0-canary.6":{"name":"telegraf","version":"4.8.0-canary.6","keywords":["telegraf","telegram","telegram bot api","bot","botapi","bot framework"],"author":{"name":"Vitaly Domnikov","email":"oss@vitaly.codes"},"license":"MIT","_id":"telegraf@4.8.0-canary.6","maintainers":[{"name":"dotcypress","email":"dotcypress@gmail.com"},{"name":"mkrhere","email":"muthukumar@thefeathers.in"},{"name":"wojpawlik","email":"woj.pawlik@gmail.com"}],"homepage":"https://telegraf.js.org","bugs":{"url":"https://github.com/telegraf/telegraf/issues"},"bin":{"telegraf":"bin/telegraf"},"dist":{"shasum":"579170f9787f21b1bf73cf572b6d8847b3c6d310","tarball":"https://registry.npmjs.org/telegraf/-/telegraf-4.8.0-canary.6.tgz","fileCount":116,"integrity":"sha512-1nZqnR14R65qLZamWbsMyOt/F7VY94XurELGGPQibaRhLSJLhIaO0NIz9nQM3Fhyn+FFcJs/kEYxgf52BihspQ==","signatures":[{"sig":"MEUCIEkLytDmsSXZAVK5odaHOVlyO+UBWXjVEVhjG6HtAPGEAiEAx6NMGIfOVsrVHjFinyXEQX6n6IDsNMVyK3mf3Gj2sjU=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":449221,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJibAMcACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmoAoA//T8I01w92g8ahFX7gI5CKwD1lYjwByhcIXzaE2mgJrMOWF62K\r\nsnF2M2BZcFwQsFGrQzFmusAqfimYLQ5UaRRS0J9oS6rJUnSMCpGU0UzLTsrs\r\nhmTLhvANsLLdpDxptT+nVAJvicH2ZReMnYUeUx/+lNeRJ76QFcJ4loP8hJGW\r\nrm3fzjKG4GXOdqdVwzbDSBQp/HrYru5c4d6XDAoqqJgTHqpCu1dcAkdaI7CY\r\n9sKATEC2kxHaG/j9Z/FhKPmFncXshMggf2Vc9ycLSuvw8aNTk3/zkyAjqRR5\r\nL0g2aM8gKutonJwUL4lmDnlhEITkqeS28vVcUtrmfVkmUH7Dhe3aC04Wdiim\r\nl3u4R/imwY5urwANuBcmVSOfaMJMjW+AA7ZBuUBmtT5s++/d/ycyvrkSXWhY\r\nJleHg3FVz3N2UX4e/4HN/2oDF7nh+L/gu6z4AxLsybM2ZClVvDEQ55eI6hyT\r\nvyRl31HX/I9X/1+HrQfOicuITPPQNnz1B5lryZ0wH8oMymZU/ssFy+UOS/f4\r\nqk8yJhshnALDrUoxz3vfxwQt1lDoP3ZmSB856HXgF0Lia2ijmd7DWNyUFwWH\r\neDmVwjmnp8cjRsumMYhMBQTd3lcNoBVB8oGudZaoDPkZ/Z5F82DUuroAfrdJ\r\nwlnJ668PZFR4cuCULeORLwEFMKyWqpUvwyY=\r\n=kDfL\r\n-----END PGP SIGNATURE-----\r\n"},"main":"lib/index.js","type":"commonjs","types":"./typings/index.d.ts","readme":"
\n\"logo\"\n

telegraf.js

\n\nModern Telegram Bot API framework for Node.js\n\n[![Bot API Version](https://img.shields.io/badge/Bot%20API-v6.0-f36caf.svg?style=flat-square)](https://core.telegram.org/bots/api)\n[![install size](https://flat.badgen.net/packagephobia/install/telegraf)](https://packagephobia.com/result?p=telegraf,node-telegram-bot-api)\n[![GitHub top language](https://img.shields.io/github/languages/top/telegraf/telegraf?style=flat-square&logo=github)](https://github.com/telegraf/telegraf)\n[![English chat](https://img.shields.io/badge/English%20chat-grey?style=flat-square&logo=telegram)](https://t.me/TelegrafJSChat)\n
\n\n> Notice: [@MKRhere](https://github.com/MKRhere) has taken over as the new maintainer of Telegraf. Feel free to reach out via the Telegram group.\n\n## For 3.x users\n\n- [3.x docs](https://telegraf.js.org/v3)\n- [4.0 release notes](https://github.com/telegraf/telegraf/releases/tag/v4.0.0)\n\n## Introduction\n\nBots are special [Telegram](https://telegram.org) accounts designed to handle messages automatically. \nUsers can interact with bots by sending them command messages in private or group chats. \nThese accounts serve as an interface for code running somewhere on your server.\n\nTelegraf is a library that makes it simple for you to develop your own Telegram bots using JavaScript or [TypeScript](https://www.typescriptlang.org/).\n\n### Features\n\n- Full [Telegram Bot API 6.0](https://core.telegram.org/bots/api) support\n- [Excellent TypeScript typings](https://github.com/telegraf/telegraf/releases/tag/v4.0.0)\n- [Lightweight](https://packagephobia.com/result?p=telegraf,node-telegram-bot-api)\n- [AWS **λ**](https://docs.aws.amazon.com/lambda/latest/dg/nodejs-prog-model-handler.html)\n / [Firebase](https://firebase.google.com/products/functions/)\n / [Glitch](https://glitch.com/edit/#!/dashing-light)\n / [Heroku](https://devcenter.heroku.com/articles/getting-started-with-nodejs#introduction)\n / Whatever ready\n- `http/https/fastify/Connect.js/express.js` compatible webhooks\n- Extensible\n\n### Example\n \n```js\nconst { Telegraf } = require('telegraf')\n\nconst bot = new Telegraf(process.env.BOT_TOKEN)\nbot.start((ctx) => ctx.reply('Welcome'))\nbot.help((ctx) => ctx.reply('Send me a sticker'))\nbot.on('sticker', (ctx) => ctx.reply('👍'))\nbot.hears('hi', (ctx) => ctx.reply('Hey there'))\nbot.launch()\n\n// Enable graceful stop\nprocess.once('SIGINT', () => bot.stop('SIGINT'))\nprocess.once('SIGTERM', () => bot.stop('SIGTERM'))\n```\n\n```js\nconst { Telegraf } = require('telegraf')\n\nconst bot = new Telegraf(process.env.BOT_TOKEN)\nbot.command('oldschool', (ctx) => ctx.reply('Hello'))\nbot.command('hipster', Telegraf.reply('λ'))\nbot.launch()\n\n// Enable graceful stop\nprocess.once('SIGINT', () => bot.stop('SIGINT'))\nprocess.once('SIGTERM', () => bot.stop('SIGTERM'))\n```\n\nFor additional bot examples see [`examples`](https://github.com/telegraf/telegraf/tree/develop/docs/examples) folder.\n\n### Resources\n\n- [Getting started](#getting-started)\n- [API reference](https://telegraf.js.org/modules.html)\n- Telegram groups (sorted by number of members):\n * [English](https://t.me/TelegrafJSChat)\n * [Uzbek](https://t.me/botjs_uz)\n * [Ethiopian](https://t.me/telegraf_et)\n- [GitHub Discussions](https://github.com/telegraf/telegraf/discussions)\n- [Dependent repositories](https://libraries.io/npm/telegraf/dependent_repositories)\n\n## Getting started\n\n### Telegram token\n\nTo use the [Telegram Bot API](https://core.telegram.org/bots/api), \nyou first have to [get a bot account](https://core.telegram.org/bots) \nby [chatting with BotFather](https://core.telegram.org/bots#6-botfather).\n\nBotFather will give you a *token*, something like `123456789:AbCdfGhIJKlmNoQQRsTUVwxyZ`.\n\n### Installation\n\n```shellscript\n$ npm install telegraf\n```\nor\n```shellscript\n$ yarn add telegraf\n```\nor\n```shellscript\n$ pnpm add telegraf\n```\n\n### `Telegraf` class\n\n[`Telegraf`] instance represents your bot. It's responsible for obtaining updates and passing them to your handlers.\n\nStart by [listening to commands](https://telegraf.js.org/classes/telegraf.html#command) and [launching](https://telegraf.js.org/classes/telegraf.html#launch) your bot.\n\n### `Context` class\n\n`ctx` you can see in every example is a [`Context`] instance.\n[`Telegraf`] creates one for each incoming update and passes it to your middleware.\nIt contains the `update`, `botInfo`, and `telegram` for making arbitrary Bot API requests,\nas well as shorthand methods and getters.\n\nThis is probably the class you'll be using the most.\n\n\n\n\n#### Shorthand methods\n\n```js\nimport { Telegraf } from 'telegraf'\n\nconst bot = new Telegraf(process.env.BOT_TOKEN)\n\nbot.command('quit', (ctx) => {\n // Explicit usage\n ctx.telegram.leaveChat(ctx.message.chat.id)\n\n // Using context shortcut\n ctx.leaveChat()\n})\n\nbot.on('text', (ctx) => {\n // Explicit usage\n ctx.telegram.sendMessage(ctx.message.chat.id, `Hello ${ctx.state.role}`)\n\n // Using context shortcut\n ctx.reply(`Hello ${ctx.state.role}`)\n})\n\nbot.on('callback_query', (ctx) => {\n // Explicit usage\n ctx.telegram.answerCbQuery(ctx.callbackQuery.id)\n\n // Using context shortcut\n ctx.answerCbQuery()\n})\n\nbot.on('inline_query', (ctx) => {\n const result = []\n // Explicit usage\n ctx.telegram.answerInlineQuery(ctx.inlineQuery.id, result)\n\n // Using context shortcut\n ctx.answerInlineQuery(result)\n})\n\nbot.launch()\n\n// Enable graceful stop\nprocess.once('SIGINT', () => bot.stop('SIGINT'))\nprocess.once('SIGTERM', () => bot.stop('SIGTERM'))\n```\n\n## Production\n\n### Webhooks\n\n```js\nconst { Telegraf } = require('telegraf')\nconst fs = require('fs')\nrequire('dotenv')\n\nconst bot = new Telegraf(process.env.BOT_TOKEN)\n\n// TLS options\nconst tlsOptions = {\n key: fs.readFileSync('server-key.pem'),\n cert: fs.readFileSync('server-cert.pem'),\n ca: [\n // This is necessary only if the client uses a self-signed certificate.\n fs.readFileSync('client-cert.pem')\n ]\n}\n\n// Set telegram webhook\n// The second argument is necessary only if the client uses a self-signed\n// certificate. Including it for a verified certificate may cause things to break.\nbot.telegram.setWebhook('https://server.tld:8443/secret-path', {\n certificate: { source: fs.readFileSync('server-cert.pem') }\n})\n\n// Start https webhook\nbot.startWebhook('/secret-path', tlsOptions, 8443)\n\n// Http webhook, for nginx/heroku users.\nbot.startWebhook('/secret-path', null, 5000)\n```\n\nUse `webhookCallback()` if you want to attach Telegraf to an existing http server.\n\n\n\n```js\nrequire('http')\n .createServer(bot.webhookCallback('/secret-path'))\n .listen(3000)\n\nrequire('https')\n .createServer(tlsOptions, bot.webhookCallback('/secret-path'))\n .listen(8443)\n```\n\n- [AWS Lambda example integration](https://github.com/telegraf/telegraf/blob/develop/docs/examples/aws-lambda.js)\n- [`express` example integration](https://github.com/telegraf/telegraf/blob/develop/docs/examples/express-webhook-bot.ts)\n- [`fastify` example integration](https://github.com/telegraf/telegraf/blob/develop/docs/examples/fastify-webhook-bot.js)\n- [Google Cloud Functions example integration](https://github.com/telegraf/telegraf/blob/develop/docs/examples/google-cloud-function.ts)\n- [`koa` example integration](https://github.com/telegraf/telegraf/blob/develop/docs/examples/koa-webhook-bot.js)\n- [NestJS framework integration module](https://github.com/bukhalo/nestjs-telegraf)\n- Use [`bot.handleUpdate`](https://telegraf.js.org/classes/telegraf.html#handleupdate) to write new integrations\n\n### Error handling\n\nIf middleware throws an error or times out, Telegraf calls `bot.handleError`. If it rethrows, update source closes, and then the error is printed to console and process [hopefully](https://nodejs.org/api/cli.html#cli_unhandled_rejections_mode) terminates. If it does not rethrow, the error is swallowed.\n\nDefault `bot.handleError` always rethrows. You can overwrite it using `bot.catch` if you need to.\n\n⚠️ Always rethrow `TimeoutError`!\n\n⚠️ Swallowing unknown errors might leave the process in invalid state!\n\nℹ️ In production, `systemd` or [`pm2`](https://www.npmjs.com/package/pm2) can restart your bot if it exits for any reason.\n\n## Advanced topics\n\n### Working with files\n\nSupported file sources:\n\n- `Existing file_id`\n- `File path`\n- `Url`\n- `Buffer`\n- `ReadStream`\n\nAlso, you can provide an optional name of a file as `filename` when you send the file.\n\n\n\n```js\nbot.on('message', (ctx) => {\n // resend existing file by file_id\n ctx.replyWithSticker('123123jkbhj6b')\n\n // send file\n ctx.replyWithVideo({ source: '/path/to/video.mp4' })\n\n // send stream\n ctx.replyWithVideo({\n source: fs.createReadStream('/path/to/video.mp4')\n })\n\n // send buffer\n ctx.replyWithVoice({\n source: Buffer.alloc()\n })\n\n // send url via Telegram server\n ctx.replyWithPhoto('https://picsum.photos/200/300/')\n\n // pipe url content\n ctx.replyWithPhoto({\n url: 'https://picsum.photos/200/300/?random',\n filename: 'kitten.jpg'\n })\n})\n```\n\n### Middleware\n\nIn addition to `ctx: Context`, each middleware receives `next: () => Promise`.\n\nAs in Koa and some other middleware-based libraries,\n`await next()` will call next middleware and wait for it to finish:\n\n```js\nimport { Telegraf } from 'telegraf'\n\nconst bot = new Telegraf(process.env.BOT_TOKEN)\n\nbot.use(async (ctx, next) => {\n console.time(`Processing update ${ctx.update.update_id}`)\n await next() // runs next middleware\n // runs after next middleware finishes\n console.timeEnd(`Processing update ${ctx.update.update_id}`)\n})\n\nbot.on('text', (ctx) => ctx.reply('Hello World'))\nbot.launch()\n\n// Enable graceful stop\nprocess.once('SIGINT', () => bot.stop('SIGINT'))\nprocess.once('SIGTERM', () => bot.stop('SIGTERM'))\n```\n\nWith this simple ability, you can:\n- extract information from updates and then `await next()` to avoid disrupting other middleware,\n- like [`Composer`] and [`Router`], `await next()` for updates you don't wish to handle,\n- like [`session`] and [`Scenes`], [extend the context](#extending-context) by mutating `ctx` before `await next()`,\n- [intercept API calls](https://github.com/telegraf/telegraf/discussions/1267#discussioncomment-254525),\n- reuse [other people's code](https://www.npmjs.com/search?q=telegraf-),\n- do whatever **you** come up with!\n\n[`Composer`]: https://telegraf.js.org/classes/composer.html\n[`Context`]: https://telegraf.js.org/classes/context.html\n[`Router`]: https://telegraf.js.org/classes/router.html\n[`session`]: https://telegraf.js.org/modules.html#session\n[`Scenes`]: https://telegraf.js.org/modules/scenes.html\n[`Telegraf`]: https://telegraf.js.org/classes/telegraf.html\n\n### Usage with TypeScript\n\nTelegraf is written in TypeScript and therefore ships with declaration files for the entire library.\nMoreover, it includes types for the complete Telegram API via the [`typegram`](https://github.com/KnorpelSenf/typegram) package.\nWhile most types of Telegraf's API surface are self-explanatory, there's some notable things to keep in mind.\n\n#### Extending `Context`\n\nThe exact shape of `ctx` can vary based on the installed middleware.\nSome custom middleware might register properties on the context object that Telegraf is not aware of.\nConsequently, you can change the type of `ctx` to fit your needs in order for you to have proper TypeScript types for your data.\nThis is done through Generics:\n\n```ts\nimport { Context, Telegraf } from 'telegraf'\n\n// Define your own context type\ninterface MyContext extends Context {\n myProp?: string\n myOtherProp?: number\n}\n\n// Create your bot and tell it about your context type\nconst bot = new Telegraf('SECRET TOKEN')\n\n// Register middleware and launch your bot as usual\nbot.use((ctx, next) => {\n // Yay, `myProp` is now available here as `string | undefined`!\n ctx.myProp = ctx.chat?.first_name?.toUpperCase()\n return next()\n})\n// ...\n```\n","engines":{"node":"^12.20.0 || >=14.13.1"},"exports":{".":"./lib/index.js"},"gitHead":"b76976570787b1096003c1d9e72c5f1a77a5b1f2","scripts":{"lint":"eslint .","test":"ava test/*","build":"tsc --build docs/examples","clean":"git clean -fX .eslintcache docs/build/ lib/ typings/","checks":"npm test && npm run lint","prepare":"npm run --silent build","pretest":"npm run build","refresh":"npm run clean && npm ci","build:docs":"typedoc src/index.ts"},"_npmUser":{"name":"mkrhere","email":"muthukumar@thefeathers.in"},"deprecated":"Upgrade to 4.8.0 or higher","repository":{"url":"git+ssh://git@github.com/telegraf/telegraf.git","type":"git"},"_npmVersion":"8.5.0","description":"Modern Telegram Bot Framework","directories":{},"_nodeVersion":"16.14.2","dependencies":{"debug":"^4.3.3","minimist":"^1.2.6","typegram":"^3.9.0","p-timeout":"^4.1.0","node-fetch":"^2.6.7","module-alias":"^2.2.2","safe-compare":"^1.1.4","sandwich-stream":"^2.0.2","abort-controller":"^3.0.0"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"ava":"^4.0.1","eslint":"^8.8.0","typedoc":"^0.22.11","prettier":"^2.5.1","typescript":"^4.5.5","@types/node":"^17.0.14","@types/debug":"^4.1.7","@types/node-fetch":"^2.5.12","eslint-plugin-ava":"^13.2.0","eslint-plugin-node":"^11.1.0","@types/safe-compare":"^1.1.0","eslint-plugin-import":"^2.25.4","eslint-plugin-promise":"^6.0.0","eslint-config-prettier":"^8.3.0","eslint-plugin-prettier":"^4.0.0","eslint-plugin-standard":"^5.0.0","@typescript-eslint/parser":"^5.10.2","@typescript-eslint/eslint-plugin":"^5.10.2"},"_npmOperationalInternal":{"tmp":"tmp/telegraf_4.8.0-canary.6_1651245851977_0.5571476448421215","host":"s3://npm-registry-packages"}},"4.8.0-canary.7":{"name":"telegraf","version":"4.8.0-canary.7","keywords":["telegraf","telegram","telegram bot api","bot","botapi","bot framework"],"author":{"name":"Vitaly Domnikov","email":"oss@vitaly.codes"},"license":"MIT","_id":"telegraf@4.8.0-canary.7","maintainers":[{"name":"dotcypress","email":"dotcypress@gmail.com"},{"name":"mkrhere","email":"muthukumar@thefeathers.in"},{"name":"wojpawlik","email":"woj.pawlik@gmail.com"}],"homepage":"https://telegraf.js.org","bugs":{"url":"https://github.com/telegraf/telegraf/issues"},"bin":{"telegraf":"bin/telegraf"},"dist":{"shasum":"dd28b4c8404c64e9c49e948147451a31923157c0","tarball":"https://registry.npmjs.org/telegraf/-/telegraf-4.8.0-canary.7.tgz","fileCount":116,"integrity":"sha512-hzyubhlbx0Yr3VKwlg0jp3+8KWDaJjzNP+w+eYaq2wUxIdMZisoJ57mPHjasbTkjJkdEgRv8EFG+WedsX0/gdA==","signatures":[{"sig":"MEYCIQCvt/N06zvp0KV585g5anRczoHM8EbB9kBw5A4KJZVUSQIhAKHWRWTtRPG8TPwniGP0sJ9phmKLZmMob0p1w2XYkbLH","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":449250,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJibAS1ACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmowiw/+JDEC75ymTGFpJI3OC0v1pnuTUkM4LVKHJmB0cL9s20K32++0\r\nUnaBLxiYdTIO4MgyML1ovtu5t7bEp+/GDZPtmq9YrF+tv6RlNvlyvFrJFMjB\r\nhUHxatHGZ1C5WPPUk8IPGrBkryd4OGzCDtAI3xEg1hoHkt045M6TfyoExebc\r\nWToU2twoKNOqesd8uP5QG6Auw9O3iT0en1iuZSy6wkXzU406g0XD8iULV3qx\r\n21hCRnbPLMowstFW+9tJykuiClUYOH3LnsjZqdrQ79xtExdMHyPA2jscOS1B\r\n5zGFYj6FA05vxoijMRWppuamTH+NcZY4iiemBlFj97InulXyNtpYg3vey5cy\r\n87O3fXeo+579KskiREiEyLY1uCm6FnOEubaPv1mTmqIGrtm3AwWpQ5NJ1hi4\r\nd6GKAvlbUy/M7UsElwZwmgxn6Nnr0plpbvFuCD0LRV68fI6e8wHurmJcZTqY\r\nkeMs8vchBQpNHIvS/Tw7tNcXF2IzJBTd7vsXWtVFFzsFOjE6yDXfrjkGBY6H\r\nY5+CwOM08dGp/VBQYY3MpgT1B/GANCwsy+A3YAGO38FAcCZ8GoljA96Mwo+V\r\nahqbsSNab95r653msRL9J7gVhH1BTludslDevQkWJqAy5JxkmJcwbQ/uPHu4\r\ns/S4uhlqg0NYdei2vo1yJ+bg14HV6nNZZU8=\r\n=Tb1U\r\n-----END PGP SIGNATURE-----\r\n"},"main":"lib/index.js","type":"commonjs","types":"./typings/index.d.ts","readme":"
\n\"logo\"\n

telegraf.js

\n\nModern Telegram Bot API framework for Node.js\n\n[![Bot API Version](https://img.shields.io/badge/Bot%20API-v6.0-f36caf.svg?style=flat-square)](https://core.telegram.org/bots/api)\n[![install size](https://flat.badgen.net/packagephobia/install/telegraf)](https://packagephobia.com/result?p=telegraf,node-telegram-bot-api)\n[![GitHub top language](https://img.shields.io/github/languages/top/telegraf/telegraf?style=flat-square&logo=github)](https://github.com/telegraf/telegraf)\n[![English chat](https://img.shields.io/badge/English%20chat-grey?style=flat-square&logo=telegram)](https://t.me/TelegrafJSChat)\n
\n\n> Notice: [@MKRhere](https://github.com/MKRhere) has taken over as the new maintainer of Telegraf. Feel free to reach out via the Telegram group.\n\n## For 3.x users\n\n- [3.x docs](https://telegraf.js.org/v3)\n- [4.0 release notes](https://github.com/telegraf/telegraf/releases/tag/v4.0.0)\n\n## Introduction\n\nBots are special [Telegram](https://telegram.org) accounts designed to handle messages automatically. \nUsers can interact with bots by sending them command messages in private or group chats. \nThese accounts serve as an interface for code running somewhere on your server.\n\nTelegraf is a library that makes it simple for you to develop your own Telegram bots using JavaScript or [TypeScript](https://www.typescriptlang.org/).\n\n### Features\n\n- Full [Telegram Bot API 6.0](https://core.telegram.org/bots/api) support\n- [Excellent TypeScript typings](https://github.com/telegraf/telegraf/releases/tag/v4.0.0)\n- [Lightweight](https://packagephobia.com/result?p=telegraf,node-telegram-bot-api)\n- [AWS **λ**](https://docs.aws.amazon.com/lambda/latest/dg/nodejs-prog-model-handler.html)\n / [Firebase](https://firebase.google.com/products/functions/)\n / [Glitch](https://glitch.com/edit/#!/dashing-light)\n / [Heroku](https://devcenter.heroku.com/articles/getting-started-with-nodejs#introduction)\n / Whatever ready\n- `http/https/fastify/Connect.js/express.js` compatible webhooks\n- Extensible\n\n### Example\n \n```js\nconst { Telegraf } = require('telegraf')\n\nconst bot = new Telegraf(process.env.BOT_TOKEN)\nbot.start((ctx) => ctx.reply('Welcome'))\nbot.help((ctx) => ctx.reply('Send me a sticker'))\nbot.on('sticker', (ctx) => ctx.reply('👍'))\nbot.hears('hi', (ctx) => ctx.reply('Hey there'))\nbot.launch()\n\n// Enable graceful stop\nprocess.once('SIGINT', () => bot.stop('SIGINT'))\nprocess.once('SIGTERM', () => bot.stop('SIGTERM'))\n```\n\n```js\nconst { Telegraf } = require('telegraf')\n\nconst bot = new Telegraf(process.env.BOT_TOKEN)\nbot.command('oldschool', (ctx) => ctx.reply('Hello'))\nbot.command('hipster', Telegraf.reply('λ'))\nbot.launch()\n\n// Enable graceful stop\nprocess.once('SIGINT', () => bot.stop('SIGINT'))\nprocess.once('SIGTERM', () => bot.stop('SIGTERM'))\n```\n\nFor additional bot examples see [`examples`](https://github.com/telegraf/telegraf/tree/develop/docs/examples) folder.\n\n### Resources\n\n- [Getting started](#getting-started)\n- [API reference](https://telegraf.js.org/modules.html)\n- Telegram groups (sorted by number of members):\n * [English](https://t.me/TelegrafJSChat)\n * [Uzbek](https://t.me/botjs_uz)\n * [Ethiopian](https://t.me/telegraf_et)\n- [GitHub Discussions](https://github.com/telegraf/telegraf/discussions)\n- [Dependent repositories](https://libraries.io/npm/telegraf/dependent_repositories)\n\n## Getting started\n\n### Telegram token\n\nTo use the [Telegram Bot API](https://core.telegram.org/bots/api), \nyou first have to [get a bot account](https://core.telegram.org/bots) \nby [chatting with BotFather](https://core.telegram.org/bots#6-botfather).\n\nBotFather will give you a *token*, something like `123456789:AbCdfGhIJKlmNoQQRsTUVwxyZ`.\n\n### Installation\n\n```shellscript\n$ npm install telegraf\n```\nor\n```shellscript\n$ yarn add telegraf\n```\nor\n```shellscript\n$ pnpm add telegraf\n```\n\n### `Telegraf` class\n\n[`Telegraf`] instance represents your bot. It's responsible for obtaining updates and passing them to your handlers.\n\nStart by [listening to commands](https://telegraf.js.org/classes/telegraf.html#command) and [launching](https://telegraf.js.org/classes/telegraf.html#launch) your bot.\n\n### `Context` class\n\n`ctx` you can see in every example is a [`Context`] instance.\n[`Telegraf`] creates one for each incoming update and passes it to your middleware.\nIt contains the `update`, `botInfo`, and `telegram` for making arbitrary Bot API requests,\nas well as shorthand methods and getters.\n\nThis is probably the class you'll be using the most.\n\n\n\n\n#### Shorthand methods\n\n```js\nimport { Telegraf } from 'telegraf'\n\nconst bot = new Telegraf(process.env.BOT_TOKEN)\n\nbot.command('quit', (ctx) => {\n // Explicit usage\n ctx.telegram.leaveChat(ctx.message.chat.id)\n\n // Using context shortcut\n ctx.leaveChat()\n})\n\nbot.on('text', (ctx) => {\n // Explicit usage\n ctx.telegram.sendMessage(ctx.message.chat.id, `Hello ${ctx.state.role}`)\n\n // Using context shortcut\n ctx.reply(`Hello ${ctx.state.role}`)\n})\n\nbot.on('callback_query', (ctx) => {\n // Explicit usage\n ctx.telegram.answerCbQuery(ctx.callbackQuery.id)\n\n // Using context shortcut\n ctx.answerCbQuery()\n})\n\nbot.on('inline_query', (ctx) => {\n const result = []\n // Explicit usage\n ctx.telegram.answerInlineQuery(ctx.inlineQuery.id, result)\n\n // Using context shortcut\n ctx.answerInlineQuery(result)\n})\n\nbot.launch()\n\n// Enable graceful stop\nprocess.once('SIGINT', () => bot.stop('SIGINT'))\nprocess.once('SIGTERM', () => bot.stop('SIGTERM'))\n```\n\n## Production\n\n### Webhooks\n\n```js\nconst { Telegraf } = require('telegraf')\nconst fs = require('fs')\nrequire('dotenv')\n\nconst bot = new Telegraf(process.env.BOT_TOKEN)\n\n// TLS options\nconst tlsOptions = {\n key: fs.readFileSync('server-key.pem'),\n cert: fs.readFileSync('server-cert.pem'),\n ca: [\n // This is necessary only if the client uses a self-signed certificate.\n fs.readFileSync('client-cert.pem')\n ]\n}\n\n// Set telegram webhook\n// The second argument is necessary only if the client uses a self-signed\n// certificate. Including it for a verified certificate may cause things to break.\nbot.telegram.setWebhook('https://server.tld:8443/secret-path', {\n certificate: { source: fs.readFileSync('server-cert.pem') }\n})\n\n// Start https webhook\nbot.startWebhook('/secret-path', tlsOptions, 8443)\n\n// Http webhook, for nginx/heroku users.\nbot.startWebhook('/secret-path', null, 5000)\n```\n\nUse `webhookCallback()` if you want to attach Telegraf to an existing http server.\n\n\n\n```js\nrequire('http')\n .createServer(bot.webhookCallback('/secret-path'))\n .listen(3000)\n\nrequire('https')\n .createServer(tlsOptions, bot.webhookCallback('/secret-path'))\n .listen(8443)\n```\n\n- [AWS Lambda example integration](https://github.com/telegraf/telegraf/blob/develop/docs/examples/aws-lambda.js)\n- [`express` example integration](https://github.com/telegraf/telegraf/blob/develop/docs/examples/express-webhook-bot.ts)\n- [`fastify` example integration](https://github.com/telegraf/telegraf/blob/develop/docs/examples/fastify-webhook-bot.js)\n- [Google Cloud Functions example integration](https://github.com/telegraf/telegraf/blob/develop/docs/examples/google-cloud-function.ts)\n- [`koa` example integration](https://github.com/telegraf/telegraf/blob/develop/docs/examples/koa-webhook-bot.js)\n- [NestJS framework integration module](https://github.com/bukhalo/nestjs-telegraf)\n- Use [`bot.handleUpdate`](https://telegraf.js.org/classes/telegraf.html#handleupdate) to write new integrations\n\n### Error handling\n\nIf middleware throws an error or times out, Telegraf calls `bot.handleError`. If it rethrows, update source closes, and then the error is printed to console and process [hopefully](https://nodejs.org/api/cli.html#cli_unhandled_rejections_mode) terminates. If it does not rethrow, the error is swallowed.\n\nDefault `bot.handleError` always rethrows. You can overwrite it using `bot.catch` if you need to.\n\n⚠️ Always rethrow `TimeoutError`!\n\n⚠️ Swallowing unknown errors might leave the process in invalid state!\n\nℹ️ In production, `systemd` or [`pm2`](https://www.npmjs.com/package/pm2) can restart your bot if it exits for any reason.\n\n## Advanced topics\n\n### Working with files\n\nSupported file sources:\n\n- `Existing file_id`\n- `File path`\n- `Url`\n- `Buffer`\n- `ReadStream`\n\nAlso, you can provide an optional name of a file as `filename` when you send the file.\n\n\n\n```js\nbot.on('message', (ctx) => {\n // resend existing file by file_id\n ctx.replyWithSticker('123123jkbhj6b')\n\n // send file\n ctx.replyWithVideo({ source: '/path/to/video.mp4' })\n\n // send stream\n ctx.replyWithVideo({\n source: fs.createReadStream('/path/to/video.mp4')\n })\n\n // send buffer\n ctx.replyWithVoice({\n source: Buffer.alloc()\n })\n\n // send url via Telegram server\n ctx.replyWithPhoto('https://picsum.photos/200/300/')\n\n // pipe url content\n ctx.replyWithPhoto({\n url: 'https://picsum.photos/200/300/?random',\n filename: 'kitten.jpg'\n })\n})\n```\n\n### Middleware\n\nIn addition to `ctx: Context`, each middleware receives `next: () => Promise`.\n\nAs in Koa and some other middleware-based libraries,\n`await next()` will call next middleware and wait for it to finish:\n\n```js\nimport { Telegraf } from 'telegraf'\n\nconst bot = new Telegraf(process.env.BOT_TOKEN)\n\nbot.use(async (ctx, next) => {\n console.time(`Processing update ${ctx.update.update_id}`)\n await next() // runs next middleware\n // runs after next middleware finishes\n console.timeEnd(`Processing update ${ctx.update.update_id}`)\n})\n\nbot.on('text', (ctx) => ctx.reply('Hello World'))\nbot.launch()\n\n// Enable graceful stop\nprocess.once('SIGINT', () => bot.stop('SIGINT'))\nprocess.once('SIGTERM', () => bot.stop('SIGTERM'))\n```\n\nWith this simple ability, you can:\n- extract information from updates and then `await next()` to avoid disrupting other middleware,\n- like [`Composer`] and [`Router`], `await next()` for updates you don't wish to handle,\n- like [`session`] and [`Scenes`], [extend the context](#extending-context) by mutating `ctx` before `await next()`,\n- [intercept API calls](https://github.com/telegraf/telegraf/discussions/1267#discussioncomment-254525),\n- reuse [other people's code](https://www.npmjs.com/search?q=telegraf-),\n- do whatever **you** come up with!\n\n[`Composer`]: https://telegraf.js.org/classes/composer.html\n[`Context`]: https://telegraf.js.org/classes/context.html\n[`Router`]: https://telegraf.js.org/classes/router.html\n[`session`]: https://telegraf.js.org/modules.html#session\n[`Scenes`]: https://telegraf.js.org/modules/scenes.html\n[`Telegraf`]: https://telegraf.js.org/classes/telegraf.html\n\n### Usage with TypeScript\n\nTelegraf is written in TypeScript and therefore ships with declaration files for the entire library.\nMoreover, it includes types for the complete Telegram API via the [`typegram`](https://github.com/KnorpelSenf/typegram) package.\nWhile most types of Telegraf's API surface are self-explanatory, there's some notable things to keep in mind.\n\n#### Extending `Context`\n\nThe exact shape of `ctx` can vary based on the installed middleware.\nSome custom middleware might register properties on the context object that Telegraf is not aware of.\nConsequently, you can change the type of `ctx` to fit your needs in order for you to have proper TypeScript types for your data.\nThis is done through Generics:\n\n```ts\nimport { Context, Telegraf } from 'telegraf'\n\n// Define your own context type\ninterface MyContext extends Context {\n myProp?: string\n myOtherProp?: number\n}\n\n// Create your bot and tell it about your context type\nconst bot = new Telegraf('SECRET TOKEN')\n\n// Register middleware and launch your bot as usual\nbot.use((ctx, next) => {\n // Yay, `myProp` is now available here as `string | undefined`!\n ctx.myProp = ctx.chat?.first_name?.toUpperCase()\n return next()\n})\n// ...\n```\n","engines":{"node":"^12.20.0 || >=14.13.1"},"exports":{".":"./lib/index.js","./types":"./types.js"},"gitHead":"b76976570787b1096003c1d9e72c5f1a77a5b1f2","scripts":{"lint":"eslint .","test":"ava test/*","build":"tsc --build docs/examples","clean":"git clean -fX .eslintcache docs/build/ lib/ typings/","checks":"npm test && npm run lint","prepare":"npm run --silent build","pretest":"npm run build","refresh":"npm run clean && npm ci","build:docs":"typedoc src/index.ts"},"_npmUser":{"name":"mkrhere","email":"muthukumar@thefeathers.in"},"deprecated":"Upgrade to 4.8.0 or higher","repository":{"url":"git+ssh://git@github.com/telegraf/telegraf.git","type":"git"},"_npmVersion":"8.5.0","description":"Modern Telegram Bot Framework","directories":{},"_nodeVersion":"16.14.2","dependencies":{"debug":"^4.3.3","minimist":"^1.2.6","typegram":"^3.9.0","p-timeout":"^4.1.0","node-fetch":"^2.6.7","module-alias":"^2.2.2","safe-compare":"^1.1.4","sandwich-stream":"^2.0.2","abort-controller":"^3.0.0"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"ava":"^4.0.1","eslint":"^8.8.0","typedoc":"^0.22.11","prettier":"^2.5.1","typescript":"^4.5.5","@types/node":"^17.0.14","@types/debug":"^4.1.7","@types/node-fetch":"^2.5.12","eslint-plugin-ava":"^13.2.0","eslint-plugin-node":"^11.1.0","@types/safe-compare":"^1.1.0","eslint-plugin-import":"^2.25.4","eslint-plugin-promise":"^6.0.0","eslint-config-prettier":"^8.3.0","eslint-plugin-prettier":"^4.0.0","eslint-plugin-standard":"^5.0.0","@typescript-eslint/parser":"^5.10.2","@typescript-eslint/eslint-plugin":"^5.10.2"},"_npmOperationalInternal":{"tmp":"tmp/telegraf_4.8.0-canary.7_1651246261621_0.15821717568128402","host":"s3://npm-registry-packages"}},"4.8.0-canary.8":{"name":"telegraf","version":"4.8.0-canary.8","keywords":["telegraf","telegram","telegram bot api","bot","botapi","bot framework"],"author":{"name":"Vitaly Domnikov","email":"oss@vitaly.codes"},"license":"MIT","_id":"telegraf@4.8.0-canary.8","maintainers":[{"name":"dotcypress","email":"dotcypress@gmail.com"},{"name":"mkrhere","email":"muthukumar@thefeathers.in"},{"name":"wojpawlik","email":"woj.pawlik@gmail.com"}],"homepage":"https://telegraf.js.org","bugs":{"url":"https://github.com/telegraf/telegraf/issues"},"bin":{"telegraf":"bin/telegraf"},"dist":{"shasum":"73c4677f4ff802c8a4f708169d51203647c6c91a","tarball":"https://registry.npmjs.org/telegraf/-/telegraf-4.8.0-canary.8.tgz","fileCount":117,"integrity":"sha512-Asbitpb3rIWIN4pE1c9VxcMklLOXMOerOuT9UPYMqER9qEVpRYaILbo1oq5LDn2QMPbR3+vMl7ig5olxZ5YsKw==","signatures":[{"sig":"MEYCIQC+QGdEDk0JA2TuKhbT/1d2QFv59S/6Tk15XVR+WOTL7AIhAOTb6DaZ2pGJaWdZbijP0tPqTG5jMrG+LWWQBzuo3+o5","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":449399,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJibAf4ACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmrslRAAoUwtvGWYN2h/kbb2uYFvXxRuwwmPwsPtxiif8KCmFjP6PSnx\r\nCKuPKChUyupKbu6QajO3aSaOAYdy+oep/VcxYSGsD5+0QxHEMU9AtTAvW+BP\r\n1i0BLi5/JeUz17PWAnF4jO4dVGqExsgCKz67Xv2ye+MTCIOqZ24vKeUfnMsL\r\nYqW8WJhxx/qw+AreN68YePDC5DLwfxGqSD2TmSpApoTQFHvp8DVwaK93th6o\r\nTRXrVNv9UsNfXlDWPu4cjhDd49BgeJH+/cZ+3eymBKNSy0ZKUbRYR1A6IoQ7\r\nBcQjdnh6RUpl6o/TF3strJMxrGPTkbP2/Q6VZy0njNzt6N6zNnhanauUusLQ\r\n7SK7QAcAAlJmXIHNp05BQOzNFjazaHFdN9BDJLA2D5q/vSw6+RnhTCIqJKPt\r\nEaVFFvAaGR2i550Ok/NPMqGbnl8ULPFRyVkaEgS8Uc40s0QIaWlerksd+3TC\r\nVd7MSe2xRyGfGWkoDeMEIe+NFoWxxQ6XmBQVgWnykQ6jT5IB6iQ3bvMHKRT4\r\nHhZoQySwfk4Uj6zwr0EKBR49D/VtB1L7Cl/WadehlsXpT2QNTor3ffUT6qbQ\r\ng927+Ai03k6IGcKLYREmslLfZmrT9bAEHv2rhBLzLbY4Rtw6x0wPMq8BKLsb\r\nhybIGBSFniItZnMQr7IPdRpNSZPAqtX0Ncs=\r\n=WqKf\r\n-----END PGP SIGNATURE-----\r\n"},"main":"lib/index.js","type":"commonjs","types":"./typings/index.d.ts","readme":"
\n\"logo\"\n

telegraf.js

\n\nModern Telegram Bot API framework for Node.js\n\n[![Bot API Version](https://img.shields.io/badge/Bot%20API-v6.0-f36caf.svg?style=flat-square)](https://core.telegram.org/bots/api)\n[![install size](https://flat.badgen.net/packagephobia/install/telegraf)](https://packagephobia.com/result?p=telegraf,node-telegram-bot-api)\n[![GitHub top language](https://img.shields.io/github/languages/top/telegraf/telegraf?style=flat-square&logo=github)](https://github.com/telegraf/telegraf)\n[![English chat](https://img.shields.io/badge/English%20chat-grey?style=flat-square&logo=telegram)](https://t.me/TelegrafJSChat)\n
\n\n> Notice: [@MKRhere](https://github.com/MKRhere) has taken over as the new maintainer of Telegraf. Feel free to reach out via the Telegram group.\n\n## For 3.x users\n\n- [3.x docs](https://telegraf.js.org/v3)\n- [4.0 release notes](https://github.com/telegraf/telegraf/releases/tag/v4.0.0)\n\n## Introduction\n\nBots are special [Telegram](https://telegram.org) accounts designed to handle messages automatically. \nUsers can interact with bots by sending them command messages in private or group chats. \nThese accounts serve as an interface for code running somewhere on your server.\n\nTelegraf is a library that makes it simple for you to develop your own Telegram bots using JavaScript or [TypeScript](https://www.typescriptlang.org/).\n\n### Features\n\n- Full [Telegram Bot API 6.0](https://core.telegram.org/bots/api) support\n- [Excellent TypeScript typings](https://github.com/telegraf/telegraf/releases/tag/v4.0.0)\n- [Lightweight](https://packagephobia.com/result?p=telegraf,node-telegram-bot-api)\n- [AWS **λ**](https://docs.aws.amazon.com/lambda/latest/dg/nodejs-prog-model-handler.html)\n / [Firebase](https://firebase.google.com/products/functions/)\n / [Glitch](https://glitch.com/edit/#!/dashing-light)\n / [Heroku](https://devcenter.heroku.com/articles/getting-started-with-nodejs#introduction)\n / Whatever ready\n- `http/https/fastify/Connect.js/express.js` compatible webhooks\n- Extensible\n\n### Example\n \n```js\nconst { Telegraf } = require('telegraf')\n\nconst bot = new Telegraf(process.env.BOT_TOKEN)\nbot.start((ctx) => ctx.reply('Welcome'))\nbot.help((ctx) => ctx.reply('Send me a sticker'))\nbot.on('sticker', (ctx) => ctx.reply('👍'))\nbot.hears('hi', (ctx) => ctx.reply('Hey there'))\nbot.launch()\n\n// Enable graceful stop\nprocess.once('SIGINT', () => bot.stop('SIGINT'))\nprocess.once('SIGTERM', () => bot.stop('SIGTERM'))\n```\n\n```js\nconst { Telegraf } = require('telegraf')\n\nconst bot = new Telegraf(process.env.BOT_TOKEN)\nbot.command('oldschool', (ctx) => ctx.reply('Hello'))\nbot.command('hipster', Telegraf.reply('λ'))\nbot.launch()\n\n// Enable graceful stop\nprocess.once('SIGINT', () => bot.stop('SIGINT'))\nprocess.once('SIGTERM', () => bot.stop('SIGTERM'))\n```\n\nFor additional bot examples see [`examples`](https://github.com/telegraf/telegraf/tree/develop/docs/examples) folder.\n\n### Resources\n\n- [Getting started](#getting-started)\n- [API reference](https://telegraf.js.org/modules.html)\n- Telegram groups (sorted by number of members):\n * [English](https://t.me/TelegrafJSChat)\n * [Uzbek](https://t.me/botjs_uz)\n * [Ethiopian](https://t.me/telegraf_et)\n- [GitHub Discussions](https://github.com/telegraf/telegraf/discussions)\n- [Dependent repositories](https://libraries.io/npm/telegraf/dependent_repositories)\n\n## Getting started\n\n### Telegram token\n\nTo use the [Telegram Bot API](https://core.telegram.org/bots/api), \nyou first have to [get a bot account](https://core.telegram.org/bots) \nby [chatting with BotFather](https://core.telegram.org/bots#6-botfather).\n\nBotFather will give you a *token*, something like `123456789:AbCdfGhIJKlmNoQQRsTUVwxyZ`.\n\n### Installation\n\n```shellscript\n$ npm install telegraf\n```\nor\n```shellscript\n$ yarn add telegraf\n```\nor\n```shellscript\n$ pnpm add telegraf\n```\n\n### `Telegraf` class\n\n[`Telegraf`] instance represents your bot. It's responsible for obtaining updates and passing them to your handlers.\n\nStart by [listening to commands](https://telegraf.js.org/classes/telegraf.html#command) and [launching](https://telegraf.js.org/classes/telegraf.html#launch) your bot.\n\n### `Context` class\n\n`ctx` you can see in every example is a [`Context`] instance.\n[`Telegraf`] creates one for each incoming update and passes it to your middleware.\nIt contains the `update`, `botInfo`, and `telegram` for making arbitrary Bot API requests,\nas well as shorthand methods and getters.\n\nThis is probably the class you'll be using the most.\n\n\n\n\n#### Shorthand methods\n\n```js\nimport { Telegraf } from 'telegraf'\n\nconst bot = new Telegraf(process.env.BOT_TOKEN)\n\nbot.command('quit', (ctx) => {\n // Explicit usage\n ctx.telegram.leaveChat(ctx.message.chat.id)\n\n // Using context shortcut\n ctx.leaveChat()\n})\n\nbot.on('text', (ctx) => {\n // Explicit usage\n ctx.telegram.sendMessage(ctx.message.chat.id, `Hello ${ctx.state.role}`)\n\n // Using context shortcut\n ctx.reply(`Hello ${ctx.state.role}`)\n})\n\nbot.on('callback_query', (ctx) => {\n // Explicit usage\n ctx.telegram.answerCbQuery(ctx.callbackQuery.id)\n\n // Using context shortcut\n ctx.answerCbQuery()\n})\n\nbot.on('inline_query', (ctx) => {\n const result = []\n // Explicit usage\n ctx.telegram.answerInlineQuery(ctx.inlineQuery.id, result)\n\n // Using context shortcut\n ctx.answerInlineQuery(result)\n})\n\nbot.launch()\n\n// Enable graceful stop\nprocess.once('SIGINT', () => bot.stop('SIGINT'))\nprocess.once('SIGTERM', () => bot.stop('SIGTERM'))\n```\n\n## Production\n\n### Webhooks\n\n```js\nconst { Telegraf } = require('telegraf')\nconst fs = require('fs')\nrequire('dotenv')\n\nconst bot = new Telegraf(process.env.BOT_TOKEN)\n\n// TLS options\nconst tlsOptions = {\n key: fs.readFileSync('server-key.pem'),\n cert: fs.readFileSync('server-cert.pem'),\n ca: [\n // This is necessary only if the client uses a self-signed certificate.\n fs.readFileSync('client-cert.pem')\n ]\n}\n\n// Set telegram webhook\n// The second argument is necessary only if the client uses a self-signed\n// certificate. Including it for a verified certificate may cause things to break.\nbot.telegram.setWebhook('https://server.tld:8443/secret-path', {\n certificate: { source: fs.readFileSync('server-cert.pem') }\n})\n\n// Start https webhook\nbot.startWebhook('/secret-path', tlsOptions, 8443)\n\n// Http webhook, for nginx/heroku users.\nbot.startWebhook('/secret-path', null, 5000)\n```\n\nUse `webhookCallback()` if you want to attach Telegraf to an existing http server.\n\n\n\n```js\nrequire('http')\n .createServer(bot.webhookCallback('/secret-path'))\n .listen(3000)\n\nrequire('https')\n .createServer(tlsOptions, bot.webhookCallback('/secret-path'))\n .listen(8443)\n```\n\n- [AWS Lambda example integration](https://github.com/telegraf/telegraf/blob/develop/docs/examples/aws-lambda.js)\n- [`express` example integration](https://github.com/telegraf/telegraf/blob/develop/docs/examples/express-webhook-bot.ts)\n- [`fastify` example integration](https://github.com/telegraf/telegraf/blob/develop/docs/examples/fastify-webhook-bot.js)\n- [Google Cloud Functions example integration](https://github.com/telegraf/telegraf/blob/develop/docs/examples/google-cloud-function.ts)\n- [`koa` example integration](https://github.com/telegraf/telegraf/blob/develop/docs/examples/koa-webhook-bot.js)\n- [NestJS framework integration module](https://github.com/bukhalo/nestjs-telegraf)\n- Use [`bot.handleUpdate`](https://telegraf.js.org/classes/telegraf.html#handleupdate) to write new integrations\n\n### Error handling\n\nIf middleware throws an error or times out, Telegraf calls `bot.handleError`. If it rethrows, update source closes, and then the error is printed to console and process [hopefully](https://nodejs.org/api/cli.html#cli_unhandled_rejections_mode) terminates. If it does not rethrow, the error is swallowed.\n\nDefault `bot.handleError` always rethrows. You can overwrite it using `bot.catch` if you need to.\n\n⚠️ Always rethrow `TimeoutError`!\n\n⚠️ Swallowing unknown errors might leave the process in invalid state!\n\nℹ️ In production, `systemd` or [`pm2`](https://www.npmjs.com/package/pm2) can restart your bot if it exits for any reason.\n\n## Advanced topics\n\n### Working with files\n\nSupported file sources:\n\n- `Existing file_id`\n- `File path`\n- `Url`\n- `Buffer`\n- `ReadStream`\n\nAlso, you can provide an optional name of a file as `filename` when you send the file.\n\n\n\n```js\nbot.on('message', (ctx) => {\n // resend existing file by file_id\n ctx.replyWithSticker('123123jkbhj6b')\n\n // send file\n ctx.replyWithVideo({ source: '/path/to/video.mp4' })\n\n // send stream\n ctx.replyWithVideo({\n source: fs.createReadStream('/path/to/video.mp4')\n })\n\n // send buffer\n ctx.replyWithVoice({\n source: Buffer.alloc()\n })\n\n // send url via Telegram server\n ctx.replyWithPhoto('https://picsum.photos/200/300/')\n\n // pipe url content\n ctx.replyWithPhoto({\n url: 'https://picsum.photos/200/300/?random',\n filename: 'kitten.jpg'\n })\n})\n```\n\n### Middleware\n\nIn addition to `ctx: Context`, each middleware receives `next: () => Promise`.\n\nAs in Koa and some other middleware-based libraries,\n`await next()` will call next middleware and wait for it to finish:\n\n```js\nimport { Telegraf } from 'telegraf'\n\nconst bot = new Telegraf(process.env.BOT_TOKEN)\n\nbot.use(async (ctx, next) => {\n console.time(`Processing update ${ctx.update.update_id}`)\n await next() // runs next middleware\n // runs after next middleware finishes\n console.timeEnd(`Processing update ${ctx.update.update_id}`)\n})\n\nbot.on('text', (ctx) => ctx.reply('Hello World'))\nbot.launch()\n\n// Enable graceful stop\nprocess.once('SIGINT', () => bot.stop('SIGINT'))\nprocess.once('SIGTERM', () => bot.stop('SIGTERM'))\n```\n\nWith this simple ability, you can:\n- extract information from updates and then `await next()` to avoid disrupting other middleware,\n- like [`Composer`] and [`Router`], `await next()` for updates you don't wish to handle,\n- like [`session`] and [`Scenes`], [extend the context](#extending-context) by mutating `ctx` before `await next()`,\n- [intercept API calls](https://github.com/telegraf/telegraf/discussions/1267#discussioncomment-254525),\n- reuse [other people's code](https://www.npmjs.com/search?q=telegraf-),\n- do whatever **you** come up with!\n\n[`Composer`]: https://telegraf.js.org/classes/composer.html\n[`Context`]: https://telegraf.js.org/classes/context.html\n[`Router`]: https://telegraf.js.org/classes/router.html\n[`session`]: https://telegraf.js.org/modules.html#session\n[`Scenes`]: https://telegraf.js.org/modules/scenes.html\n[`Telegraf`]: https://telegraf.js.org/classes/telegraf.html\n\n### Usage with TypeScript\n\nTelegraf is written in TypeScript and therefore ships with declaration files for the entire library.\nMoreover, it includes types for the complete Telegram API via the [`typegram`](https://github.com/KnorpelSenf/typegram) package.\nWhile most types of Telegraf's API surface are self-explanatory, there's some notable things to keep in mind.\n\n#### Extending `Context`\n\nThe exact shape of `ctx` can vary based on the installed middleware.\nSome custom middleware might register properties on the context object that Telegraf is not aware of.\nConsequently, you can change the type of `ctx` to fit your needs in order for you to have proper TypeScript types for your data.\nThis is done through Generics:\n\n```ts\nimport { Context, Telegraf } from 'telegraf'\n\n// Define your own context type\ninterface MyContext extends Context {\n myProp?: string\n myOtherProp?: number\n}\n\n// Create your bot and tell it about your context type\nconst bot = new Telegraf('SECRET TOKEN')\n\n// Register middleware and launch your bot as usual\nbot.use((ctx, next) => {\n // Yay, `myProp` is now available here as `string | undefined`!\n ctx.myProp = ctx.chat?.first_name?.toUpperCase()\n return next()\n})\n// ...\n```\n","engines":{"node":"^12.20.0 || >=14.13.1"},"exports":{".":"./lib/index.js","./types":"./types.js"},"gitHead":"b76976570787b1096003c1d9e72c5f1a77a5b1f2","scripts":{"lint":"eslint .","test":"ava test/*","build":"tsc --build docs/examples","clean":"git clean -fX .eslintcache docs/build/ lib/ typings/","checks":"npm test && npm run lint","prepare":"npm run --silent build","pretest":"npm run build","refresh":"npm run clean && npm ci","build:docs":"typedoc src/index.ts"},"_npmUser":{"name":"mkrhere","email":"muthukumar@thefeathers.in"},"deprecated":"Upgrade to 4.8.0 or higher","repository":{"url":"git+ssh://git@github.com/telegraf/telegraf.git","type":"git"},"_npmVersion":"8.5.0","description":"Modern Telegram Bot Framework","directories":{},"_nodeVersion":"16.14.2","dependencies":{"debug":"^4.3.3","minimist":"^1.2.6","typegram":"^3.9.0","p-timeout":"^4.1.0","node-fetch":"^2.6.7","module-alias":"^2.2.2","safe-compare":"^1.1.4","sandwich-stream":"^2.0.2","abort-controller":"^3.0.0"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"ava":"^4.0.1","eslint":"^8.8.0","typedoc":"^0.22.11","prettier":"^2.5.1","typescript":"^4.5.5","@types/node":"^17.0.14","@types/debug":"^4.1.7","@types/node-fetch":"^2.5.12","eslint-plugin-ava":"^13.2.0","eslint-plugin-node":"^11.1.0","@types/safe-compare":"^1.1.0","eslint-plugin-import":"^2.25.4","eslint-plugin-promise":"^6.0.0","eslint-config-prettier":"^8.3.0","eslint-plugin-prettier":"^4.0.0","eslint-plugin-standard":"^5.0.0","@typescript-eslint/parser":"^5.10.2","@typescript-eslint/eslint-plugin":"^5.10.2"},"_npmOperationalInternal":{"tmp":"tmp/telegraf_4.8.0-canary.8_1651247096292_0.587677109214344","host":"s3://npm-registry-packages"}},"4.8.1":{"name":"telegraf","version":"4.8.1","keywords":["telegraf","telegram","telegram bot api","bot","botapi","bot framework"],"author":{"name":"Vitaly Domnikov","email":"oss@vitaly.codes"},"license":"MIT","_id":"telegraf@4.8.1","maintainers":[{"name":"dotcypress","email":"dotcypress@gmail.com"},{"name":"mkrhere","email":"muthukumar@thefeathers.in"},{"name":"wojpawlik","email":"woj.pawlik@gmail.com"}],"homepage":"https://telegraf.js.org","bugs":{"url":"https://github.com/telegraf/telegraf/issues"},"bin":{"telegraf":"bin/telegraf"},"dist":{"shasum":"868ed1f8844973a9c45417b71805d8e6fba2ea7f","tarball":"https://registry.npmjs.org/telegraf/-/telegraf-4.8.1.tgz","fileCount":110,"integrity":"sha512-+76tLC2XS73Rf4Ty6jXEMW52exAP6isgHmq36XBJlnOZV00K6/QdN7mFafVYeKqR3bO/ZqgIphc5In3EwKJMyA==","signatures":[{"sig":"MEUCIQCJ3pEX3NQMm8AEW/JVGvyX5uQD2uZek+nukGpP0ScaHwIgMCB2NdtAASsiEA8+aDDaHiRxBhLo+Rt6B4J9taniK8Y=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":447520,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJibAlmACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmpaVw//ZRdJNbyj1bM90zuhmwNEdO6xvq9cLwsfzyOWf9XCNGjKGWb3\r\nqecogf+MhE3oBE0ksmwgats8kN3WZBWczEzsEXDMTzbJLbiVEMhipzi9v6Be\r\nfX1pL4ghLA+Kf+XOn6iB6SoMU7u2sPQWC37hYGyN0E1zJIpuWwssMNtx8vW8\r\npfzDcSfQRIYgIuep0VJMVu5kqPHroIktUUZlUxrP7qkLWzGbEl9QzhyLmaop\r\nMQzrq0XXv43zcFMogqxb6WhOTRiGNXAvxJkL1NP+4VzuhRtS87CoK3YY/xry\r\ny0fOkkyuTuPbYVzVB8HSqE9mycHqNbq5vZ6g2G47Nv5O8XOzK6+8YdqgcE7O\r\nUHbQA7POI0yUQA/UVs7Eny1m8aGNmhJ9tAL3p1XV8CFh/tQnrnCAY3BJgzqj\r\neM/BIU/7aUBpK7Nd0IrTQoBzp41dg3Mf+EwCSw6UBcbT/wkCnPDD9liTSW6c\r\nXvfnGygocF46WcfNa3FhGDSZUl4tSq248E0PnysuYESCvWFbPQuIiqKGJ2do\r\nPeMHX+YW5UhODYB0AP4JeJ0dAUFS1D4eYJb44W1KY6xjzLOdDpV8LMvIo0mp\r\nhWGdf22H+Z8AeGYhe16whEItn9cpH1Qwt6j5uB7E0bbUMykxkOzb6g7NYvRM\r\nGJOO3+2lZcYMrc5PxDIRjOFwVziTuzBJMSA=\r\n=dH7N\r\n-----END PGP SIGNATURE-----\r\n"},"main":"lib/index.js","type":"commonjs","types":"./typings/index.d.ts","engines":{"node":"^12.20.0 || >=14.13.1"},"exports":{".":"./lib/index.js","./types":"./types.js"},"gitHead":"8ddeba23dba69e56f4da6aabdd14417ce7afeb1a","scripts":{"lint":"eslint .","test":"ava test/*","build":"tsc --build docs/examples","clean":"git clean -fX .eslintcache docs/build/ lib/ typings/","checks":"npm test && npm run lint","prepare":"npm run --silent build","pretest":"npm run build","refresh":"npm run clean && npm ci","build:docs":"typedoc src/index.ts"},"_npmUser":{"name":"mkrhere","email":"muthukumar@thefeathers.in"},"repository":{"url":"git+ssh://git@github.com/telegraf/telegraf.git","type":"git"},"_npmVersion":"8.5.0","description":"Modern Telegram Bot Framework","directories":{},"_nodeVersion":"16.14.2","dependencies":{"debug":"^4.3.3","minimist":"^1.2.6","typegram":"^3.9.0","p-timeout":"^4.1.0","node-fetch":"^2.6.7","module-alias":"^2.2.2","safe-compare":"^1.1.4","sandwich-stream":"^2.0.2","abort-controller":"^3.0.0"},"_hasShrinkwrap":false,"devDependencies":{"ava":"^4.0.1","eslint":"^8.8.0","typedoc":"^0.22.11","prettier":"^2.5.1","typescript":"^4.5.5","@types/node":"^17.0.14","@types/debug":"^4.1.7","@types/node-fetch":"^2.5.12","eslint-plugin-ava":"^13.2.0","eslint-plugin-node":"^11.1.0","@types/safe-compare":"^1.1.0","eslint-plugin-import":"^2.25.4","eslint-plugin-promise":"^6.0.0","eslint-config-prettier":"^8.3.0","eslint-plugin-prettier":"^4.0.0","eslint-plugin-standard":"^5.0.0","@typescript-eslint/parser":"^5.10.2","@typescript-eslint/eslint-plugin":"^5.10.2"},"_npmOperationalInternal":{"tmp":"tmp/telegraf_4.8.1_1651247462062_0.7386452499816567","host":"s3://npm-registry-packages"}},"4.8.2":{"name":"telegraf","version":"4.8.2","keywords":["telegraf","telegram","telegram bot api","bot","botapi","bot framework"],"author":{"name":"Vitaly Domnikov","email":"oss@vitaly.codes"},"license":"MIT","_id":"telegraf@4.8.2","maintainers":[{"name":"dotcypress","email":"dotcypress@gmail.com"},{"name":"mkrhere","email":"muthukumar@thefeathers.in"},{"name":"wojpawlik","email":"woj.pawlik@gmail.com"}],"homepage":"https://telegraf.js.org","bugs":{"url":"https://github.com/telegraf/telegraf/issues"},"bin":{"telegraf":"bin/telegraf"},"dist":{"shasum":"6357102712be3d2472b6d5afc099be86e677ccb4","tarball":"https://registry.npmjs.org/telegraf/-/telegraf-4.8.2.tgz","fileCount":117,"integrity":"sha512-FFxdhFVnoAzxK6x6980rDPqadLI6AWjKhYe/dwkzd29+hmzVPzOQBKRujjkv4iVIfIJGt2QbuNtJUBukdDwBLg==","signatures":[{"sig":"MEUCICAf+wGktiqdqhCj/RVl/fhSZ+B2F4Ho0kf67LwxHCL2AiEApgTWeNVjbsvdYspcmzCa6L6d6jRBTEfnB1vC+yyDKeg=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":449693,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJifd76ACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmoAvQ//W23pWOyRrV1brL2peojk7ctzsFtsHgPRc0d2ZuimQ/IZWVpW\r\nBnVfx357KzM6PAyeZgScIpSfRIgA7+jdjd1z5jOXJ0X3ltoPpX2SqWgyWGGu\r\nqEfnonJhLBXz42fXt3gDgcsKj8CpO1La1cL26I96hHpbwJ+f4BUiQmKCvhSV\r\nqK/V19RpRVTdyyMTp8lEixJxL98PExlE0OUlRw46RYSA4bmaCgy1NOrrEsdg\r\n5pQ9+DPgKjWH7ZCeru8ZW9GcSioRArxNIPOqdhZZSGqktWlfZkbMTXmeywkT\r\nRv77QfKUD/8IkXitp/oJNnuEAMZpt1qT3AeX4eM9RA6jWQEE7KNt6umXDVTm\r\nAeE6vM/84MimC1z+n2P54MIK48sF6NBNcGHEbTK+Da9Z6RRknhhhjAWt4Btr\r\ni7J0we74l8YwMrfiblvcFler5tN+bxa5raXxk00XMCyhh9UGVzGOKPT/DmBo\r\n4jwB6/KfnziR4SF1MxWsoWG8JLSDkFNfk7yvsqCJnnsEA6ifMa5qF2b4zhTu\r\n99TU4IgB1IEVfwh+qMdaVkUOYDg14qQgIyaWUQrsAwaC1DROiJebMqGL035t\r\nuj/mm+8EjgyfHuyKGKXpEIQTexE/yAylcwK6gz5Z9ID3bOkB2pO9yIrsKKHj\r\nqNyGUFQxUxDHCY7vrDS1cVHvE9kIsK/qkTo=\r\n=jlIp\r\n-----END PGP SIGNATURE-----\r\n"},"main":"lib/index.js","type":"commonjs","_from":"file:telegraf-4.8.2.tgz","types":"./typings/index.d.ts","engines":{"node":"^12.20.0 || >=14.13.1"},"exports":{".":"./lib/index.js","./types":"./types.js"},"scripts":{"lint":"eslint .","test":"ava test/*","build":"tsc --build docs/examples","clean":"git clean -fX .eslintcache docs/build/ lib/ typings/","checks":"npm test && npm run lint","pretest":"npm run build","refresh":"npm run clean && npm ci","build:docs":"typedoc src/index.ts"},"_npmUser":{"name":"mkrhere","email":"muthukumar@thefeathers.in"},"_resolved":"/tmp/979937733ddbb4c630fa6c86d6dc7280/telegraf-4.8.2.tgz","_integrity":"sha512-FFxdhFVnoAzxK6x6980rDPqadLI6AWjKhYe/dwkzd29+hmzVPzOQBKRujjkv4iVIfIJGt2QbuNtJUBukdDwBLg==","repository":{"url":"git+ssh://git@github.com/telegraf/telegraf.git","type":"git"},"_npmVersion":"8.5.5","description":"Modern Telegram Bot Framework","directories":{},"_nodeVersion":"16.15.0","dependencies":{"debug":"^4.3.3","minimist":"^1.2.6","typegram":"^3.9.0","p-timeout":"^4.1.0","node-fetch":"^2.6.7","module-alias":"^2.2.2","safe-compare":"^1.1.4","sandwich-stream":"^2.0.2","abort-controller":"^3.0.0"},"_hasShrinkwrap":false,"devDependencies":{"ava":"^4.0.1","eslint":"^8.8.0","typedoc":"^0.22.11","prettier":"^2.5.1","typescript":"^4.5.5","@types/node":"^17.0.14","@types/debug":"^4.1.7","@types/node-fetch":"^2.5.12","eslint-plugin-ava":"^13.2.0","eslint-plugin-node":"^11.1.0","@types/safe-compare":"^1.1.0","eslint-plugin-import":"^2.25.4","eslint-plugin-promise":"^6.0.0","eslint-config-prettier":"^8.3.0","eslint-plugin-prettier":"^4.0.0","eslint-plugin-standard":"^5.0.0","@typescript-eslint/parser":"^5.10.2","@typescript-eslint/eslint-plugin":"^5.10.2"},"_npmOperationalInternal":{"tmp":"tmp/telegraf_4.8.2_1652416250681_0.2735837710795592","host":"s3://npm-registry-packages"}},"4.9.0-canary.1":{"name":"telegraf","version":"4.9.0-canary.1","keywords":["telegraf","telegram","telegram bot api","bot","botapi","bot framework"],"author":{"name":"Vitaly Domnikov","email":"oss@vitaly.codes"},"license":"MIT","_id":"telegraf@4.9.0-canary.1","maintainers":[{"name":"dotcypress","email":"dotcypress@gmail.com"},{"name":"mkrhere","email":"muthukumar@thefeathers.in"},{"name":"wojpawlik","email":"woj.pawlik@gmail.com"}],"homepage":"https://telegraf.js.org","bugs":{"url":"https://github.com/telegraf/telegraf/issues"},"bin":{"telegraf":"bin/telegraf"},"dist":{"shasum":"f424ff371becd8cf5ed43b1cd5d8e3d401e542fa","tarball":"https://registry.npmjs.org/telegraf/-/telegraf-4.9.0-canary.1.tgz","fileCount":125,"integrity":"sha512-Lm9hst+q0K88Glm+SnfGt2wZ9skNWfmW6fChtQ9wbAbXjhsucQvt02hWTug/JIzCzK/4uYN8KJkjSgMxPiXETg==","signatures":[{"sig":"MEQCIEnAKmMGQx011fL/vqL2gkNqWLZqqPt+7za+XZFpHbt3AiA7jeM1FJKpLA2Q6fecyveQJqPdEz7FBu5jGyGnf0whwg==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":481760,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJigE0YACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmralg/+K2L77JWH5DqWg5zY/yGtK7g3etB8Zn+32dpzyWEywqMFcfsg\r\nsFUzdtkeG6oEiNePjof/bavrUgAQTx/wNwnTz5l//0C6INZDjp0TDRVJdDhp\r\n/O8jYNw9RBxpvPhOth3RBV6cVTBt8GhztpORwITcxA0j5SHfMKHNBjZrRpmC\r\nwYinQnVU8Uoah6YmTd0myDeKf7x6Mca55MkUV6ihFUg+LR9ZA1tqgx1eIG1W\r\ny1KBxSawURp5hu6GgkbYRmoKaOUS8LJLGBGCbpmwb1OIXDju1RRjyugZocKZ\r\nA5M+dUpD414XWlLk1eJfKa/6PX1z96/TMVt2HF+iGookguqiu8j2L/3eSCIu\r\nKFy24jC/z2V1IcbSF5Fe8mwDJwwwJfNHUhHh8yhqoxdmyP+78t8IQRVrvXMz\r\nzlgPQcip7GUyC4PQGYhYEca/AOmSo8IJmc40SQXpzddD+2dU0gXbXItWCtsQ\r\nUa0pEZ3t3iCbcDClqmEEYkVl1UGCkY0RfKAWZo+2wpaPQR4iO49B1aaJlElq\r\nJ3ee6Hm8rH8cLsvryweVTCKGMxbYAtQts4m27Z8ugaSBnhxPPk4yRXUltdeq\r\noTwJSEIa8hKKvXHBDsgwcYgkczDQc5bI1fF1gR7Fy93rcDqF3KXfnyELiCDL\r\nYKh9Bys0UBpGtnEpH9nf/7BeBi5dwWEKfT4=\r\n=VICl\r\n-----END PGP SIGNATURE-----\r\n"},"main":"lib/index.js","type":"commonjs","types":"./typings/index.d.ts","readme":"
\n\"logo\"\n

telegraf.js

\n\nModern Telegram Bot API framework for Node.js\n\n[![Bot API Version](https://img.shields.io/badge/Bot%20API-v6.0-f36caf.svg?style=flat-square)](https://core.telegram.org/bots/api)\n[![install size](https://flat.badgen.net/packagephobia/install/telegraf)](https://packagephobia.com/result?p=telegraf,node-telegram-bot-api)\n[![GitHub top language](https://img.shields.io/github/languages/top/telegraf/telegraf?style=flat-square&logo=github)](https://github.com/telegraf/telegraf)\n[![English chat](https://img.shields.io/badge/English%20chat-grey?style=flat-square&logo=telegram)](https://t.me/TelegrafJSChat)\n
\n\n> Notice: [@MKRhere](https://github.com/MKRhere) has taken over as the new maintainer of Telegraf. Feel free to reach out via the Telegram group.\n\n## For 3.x users\n\n- [3.x docs](https://telegraf.js.org/v3)\n- [4.0 release notes](https://github.com/telegraf/telegraf/releases/tag/v4.0.0)\n\n## Introduction\n\nBots are special [Telegram](https://telegram.org) accounts designed to handle messages automatically. \nUsers can interact with bots by sending them command messages in private or group chats. \nThese accounts serve as an interface for code running somewhere on your server.\n\nTelegraf is a library that makes it simple for you to develop your own Telegram bots using JavaScript or [TypeScript](https://www.typescriptlang.org/).\n\n### Features\n\n- Full [Telegram Bot API 6.0](https://core.telegram.org/bots/api) support\n- [Excellent TypeScript typings](https://github.com/telegraf/telegraf/releases/tag/v4.0.0)\n- [Lightweight](https://packagephobia.com/result?p=telegraf,node-telegram-bot-api)\n- [AWS **λ**](https://docs.aws.amazon.com/lambda/latest/dg/nodejs-prog-model-handler.html)\n / [Firebase](https://firebase.google.com/products/functions/)\n / [Glitch](https://glitch.com/edit/#!/dashing-light)\n / [Heroku](https://devcenter.heroku.com/articles/getting-started-with-nodejs#introduction)\n / Whatever ready\n- `http/https/fastify/Connect.js/express.js` compatible webhooks\n- Extensible\n\n### Example\n \n```js\nconst { Telegraf } = require('telegraf')\n\nconst bot = new Telegraf(process.env.BOT_TOKEN)\nbot.start((ctx) => ctx.reply('Welcome'))\nbot.help((ctx) => ctx.reply('Send me a sticker'))\nbot.on('sticker', (ctx) => ctx.reply('👍'))\nbot.hears('hi', (ctx) => ctx.reply('Hey there'))\nbot.launch()\n\n// Enable graceful stop\nprocess.once('SIGINT', () => bot.stop('SIGINT'))\nprocess.once('SIGTERM', () => bot.stop('SIGTERM'))\n```\n\n```js\nconst { Telegraf } = require('telegraf')\n\nconst bot = new Telegraf(process.env.BOT_TOKEN)\nbot.command('oldschool', (ctx) => ctx.reply('Hello'))\nbot.command('hipster', Telegraf.reply('λ'))\nbot.launch()\n\n// Enable graceful stop\nprocess.once('SIGINT', () => bot.stop('SIGINT'))\nprocess.once('SIGTERM', () => bot.stop('SIGTERM'))\n```\n\nFor additional bot examples see [`examples`](https://github.com/telegraf/telegraf/tree/develop/docs/examples) folder.\n\n### Resources\n\n- [Getting started](#getting-started)\n- [API reference](https://telegraf.js.org/modules.html)\n- Telegram groups (sorted by number of members):\n * [English](https://t.me/TelegrafJSChat)\n * [Uzbek](https://t.me/botjs_uz)\n * [Ethiopian](https://t.me/telegraf_et)\n- [GitHub Discussions](https://github.com/telegraf/telegraf/discussions)\n- [Dependent repositories](https://libraries.io/npm/telegraf/dependent_repositories)\n\n## Getting started\n\n### Telegram token\n\nTo use the [Telegram Bot API](https://core.telegram.org/bots/api), \nyou first have to [get a bot account](https://core.telegram.org/bots) \nby [chatting with BotFather](https://core.telegram.org/bots#6-botfather).\n\nBotFather will give you a *token*, something like `123456789:AbCdfGhIJKlmNoQQRsTUVwxyZ`.\n\n### Installation\n\n```shellscript\n$ npm install telegraf\n```\nor\n```shellscript\n$ yarn add telegraf\n```\nor\n```shellscript\n$ pnpm add telegraf\n```\n\n### `Telegraf` class\n\n[`Telegraf`] instance represents your bot. It's responsible for obtaining updates and passing them to your handlers.\n\nStart by [listening to commands](https://telegraf.js.org/classes/telegraf.html#command) and [launching](https://telegraf.js.org/classes/telegraf.html#launch) your bot.\n\n### `Context` class\n\n`ctx` you can see in every example is a [`Context`] instance.\n[`Telegraf`] creates one for each incoming update and passes it to your middleware.\nIt contains the `update`, `botInfo`, and `telegram` for making arbitrary Bot API requests,\nas well as shorthand methods and getters.\n\nThis is probably the class you'll be using the most.\n\n\n\n\n#### Shorthand methods\n\n```js\nimport { Telegraf } from 'telegraf'\n\nconst bot = new Telegraf(process.env.BOT_TOKEN)\n\nbot.command('quit', (ctx) => {\n // Explicit usage\n ctx.telegram.leaveChat(ctx.message.chat.id)\n\n // Using context shortcut\n ctx.leaveChat()\n})\n\nbot.on('text', (ctx) => {\n // Explicit usage\n ctx.telegram.sendMessage(ctx.message.chat.id, `Hello ${ctx.state.role}`)\n\n // Using context shortcut\n ctx.reply(`Hello ${ctx.state.role}`)\n})\n\nbot.on('callback_query', (ctx) => {\n // Explicit usage\n ctx.telegram.answerCbQuery(ctx.callbackQuery.id)\n\n // Using context shortcut\n ctx.answerCbQuery()\n})\n\nbot.on('inline_query', (ctx) => {\n const result = []\n // Explicit usage\n ctx.telegram.answerInlineQuery(ctx.inlineQuery.id, result)\n\n // Using context shortcut\n ctx.answerInlineQuery(result)\n})\n\nbot.launch()\n\n// Enable graceful stop\nprocess.once('SIGINT', () => bot.stop('SIGINT'))\nprocess.once('SIGTERM', () => bot.stop('SIGTERM'))\n```\n\n## Production\n\n### Webhooks\n\n```js\nconst { Telegraf } = require('telegraf')\nconst fs = require('fs')\nrequire('dotenv')\n\nconst bot = new Telegraf(process.env.BOT_TOKEN)\n\n// TLS options\nconst tlsOptions = {\n key: fs.readFileSync('server-key.pem'),\n cert: fs.readFileSync('server-cert.pem'),\n ca: [\n // This is necessary only if the client uses a self-signed certificate.\n fs.readFileSync('client-cert.pem')\n ]\n}\n\n// Set telegram webhook\n// The second argument is necessary only if the client uses a self-signed\n// certificate. Including it for a verified certificate may cause things to break.\nbot.telegram.setWebhook('https://server.tld:8443/secret-path', {\n certificate: { source: fs.readFileSync('server-cert.pem') }\n})\n\n// Start https webhook\nbot.startWebhook('/secret-path', tlsOptions, 8443)\n\n// Http webhook, for nginx/heroku users.\nbot.startWebhook('/secret-path', null, 5000)\n```\n\nUse `webhookCallback()` if you want to attach Telegraf to an existing http server.\n\n\n\n```js\nrequire('http')\n .createServer(bot.webhookCallback('/secret-path'))\n .listen(3000)\n\nrequire('https')\n .createServer(tlsOptions, bot.webhookCallback('/secret-path'))\n .listen(8443)\n```\n\n- [AWS Lambda example integration](https://github.com/telegraf/telegraf/blob/develop/docs/examples/aws-lambda.js)\n- [`express` example integration](https://github.com/telegraf/telegraf/blob/develop/docs/examples/express-webhook-bot.ts)\n- [`fastify` example integration](https://github.com/telegraf/telegraf/blob/develop/docs/examples/fastify-webhook-bot.js)\n- [Google Cloud Functions example integration](https://github.com/telegraf/telegraf/blob/develop/docs/examples/google-cloud-function.ts)\n- [`koa` example integration](https://github.com/telegraf/telegraf/blob/develop/docs/examples/koa-webhook-bot.js)\n- [NestJS framework integration module](https://github.com/bukhalo/nestjs-telegraf)\n- Use [`bot.handleUpdate`](https://telegraf.js.org/classes/telegraf.html#handleupdate) to write new integrations\n\n### Error handling\n\nIf middleware throws an error or times out, Telegraf calls `bot.handleError`. If it rethrows, update source closes, and then the error is printed to console and process [hopefully](https://nodejs.org/api/cli.html#cli_unhandled_rejections_mode) terminates. If it does not rethrow, the error is swallowed.\n\nDefault `bot.handleError` always rethrows. You can overwrite it using `bot.catch` if you need to.\n\n⚠️ Always rethrow `TimeoutError`!\n\n⚠️ Swallowing unknown errors might leave the process in invalid state!\n\nℹ️ In production, `systemd` or [`pm2`](https://www.npmjs.com/package/pm2) can restart your bot if it exits for any reason.\n\n## Advanced topics\n\n### Working with files\n\nSupported file sources:\n\n- `Existing file_id`\n- `File path`\n- `Url`\n- `Buffer`\n- `ReadStream`\n\nAlso, you can provide an optional name of a file as `filename` when you send the file.\n\n\n\n```js\nbot.on('message', (ctx) => {\n // resend existing file by file_id\n ctx.replyWithSticker('123123jkbhj6b')\n\n // send file\n ctx.replyWithVideo({ source: '/path/to/video.mp4' })\n\n // send stream\n ctx.replyWithVideo({\n source: fs.createReadStream('/path/to/video.mp4')\n })\n\n // send buffer\n ctx.replyWithVoice({\n source: Buffer.alloc()\n })\n\n // send url via Telegram server\n ctx.replyWithPhoto('https://picsum.photos/200/300/')\n\n // pipe url content\n ctx.replyWithPhoto({\n url: 'https://picsum.photos/200/300/?random',\n filename: 'kitten.jpg'\n })\n})\n```\n\n### Middleware\n\nIn addition to `ctx: Context`, each middleware receives `next: () => Promise`.\n\nAs in Koa and some other middleware-based libraries,\n`await next()` will call next middleware and wait for it to finish:\n\n```js\nimport { Telegraf } from 'telegraf'\n\nconst bot = new Telegraf(process.env.BOT_TOKEN)\n\nbot.use(async (ctx, next) => {\n console.time(`Processing update ${ctx.update.update_id}`)\n await next() // runs next middleware\n // runs after next middleware finishes\n console.timeEnd(`Processing update ${ctx.update.update_id}`)\n})\n\nbot.on('text', (ctx) => ctx.reply('Hello World'))\nbot.launch()\n\n// Enable graceful stop\nprocess.once('SIGINT', () => bot.stop('SIGINT'))\nprocess.once('SIGTERM', () => bot.stop('SIGTERM'))\n```\n\nWith this simple ability, you can:\n- extract information from updates and then `await next()` to avoid disrupting other middleware,\n- like [`Composer`] and [`Router`], `await next()` for updates you don't wish to handle,\n- like [`session`] and [`Scenes`], [extend the context](#extending-context) by mutating `ctx` before `await next()`,\n- [intercept API calls](https://github.com/telegraf/telegraf/discussions/1267#discussioncomment-254525),\n- reuse [other people's code](https://www.npmjs.com/search?q=telegraf-),\n- do whatever **you** come up with!\n\n[`Composer`]: https://telegraf.js.org/classes/composer.html\n[`Context`]: https://telegraf.js.org/classes/context.html\n[`Router`]: https://telegraf.js.org/classes/router.html\n[`session`]: https://telegraf.js.org/modules.html#session\n[`Scenes`]: https://telegraf.js.org/modules/scenes.html\n[`Telegraf`]: https://telegraf.js.org/classes/telegraf.html\n\n### Usage with TypeScript\n\nTelegraf is written in TypeScript and therefore ships with declaration files for the entire library.\nMoreover, it includes types for the complete Telegram API via the [`typegram`](https://github.com/KnorpelSenf/typegram) package.\nWhile most types of Telegraf's API surface are self-explanatory, there's some notable things to keep in mind.\n\n#### Extending `Context`\n\nThe exact shape of `ctx` can vary based on the installed middleware.\nSome custom middleware might register properties on the context object that Telegraf is not aware of.\nConsequently, you can change the type of `ctx` to fit your needs in order for you to have proper TypeScript types for your data.\nThis is done through Generics:\n\n```ts\nimport { Context, Telegraf } from 'telegraf'\n\n// Define your own context type\ninterface MyContext extends Context {\n myProp?: string\n myOtherProp?: number\n}\n\n// Create your bot and tell it about your context type\nconst bot = new Telegraf('SECRET TOKEN')\n\n// Register middleware and launch your bot as usual\nbot.use((ctx, next) => {\n // Yay, `myProp` is now available here as `string | undefined`!\n ctx.myProp = ctx.chat?.first_name?.toUpperCase()\n return next()\n})\n// ...\n```\n","engines":{"node":"^12.20.0 || >=14.13.1"},"exports":{".":"./lib/index.js","./types":"./types.js","./future":"./future.js"},"gitHead":"b0a508da63e9ebb114f26c255940c108dc7df7ce","scripts":{"lint":"eslint .","test":"ava test/*","build":"tsc --build docs/examples","clean":"git clean -fX .eslintcache docs/build/ lib/ typings/","checks":"npm test && npm run lint","prepare":"npm run --silent build","pretest":"npm run build","refresh":"npm run clean && npm ci","build:docs":"typedoc src/index.ts"},"_npmUser":{"name":"mkrhere","email":"muthukumar@thefeathers.in"},"deprecated":"Switch to 4.9.0 or higher","repository":{"url":"git+ssh://git@github.com/telegraf/telegraf.git","type":"git"},"_npmVersion":"8.5.5","description":"Modern Telegram Bot Framework","directories":{},"_nodeVersion":"16.15.0","dependencies":{"debug":"^4.3.3","minimist":"^1.2.6","typegram":"^3.9.0","p-timeout":"^4.1.0","node-fetch":"^2.6.7","module-alias":"^2.2.2","safe-compare":"^1.1.4","sandwich-stream":"^2.0.2","abort-controller":"^3.0.0"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"ava":"^4.0.1","eslint":"^8.8.0","typedoc":"^0.22.11","prettier":"^2.5.1","typescript":"^4.5.5","@types/node":"^17.0.14","@types/debug":"^4.1.7","@types/node-fetch":"^2.5.12","eslint-plugin-ava":"^13.2.0","eslint-plugin-node":"^11.1.0","@types/safe-compare":"^1.1.0","eslint-plugin-import":"^2.25.4","eslint-plugin-promise":"^6.0.0","eslint-config-prettier":"^8.3.0","eslint-plugin-prettier":"^4.0.0","eslint-plugin-standard":"^5.0.0","@typescript-eslint/parser":"^5.10.2","@typescript-eslint/eslint-plugin":"^5.10.2"},"_npmOperationalInternal":{"tmp":"tmp/telegraf_4.9.0-canary.1_1652575512654_0.5030515359870349","host":"s3://npm-registry-packages"}},"4.9.0-canary.2":{"name":"telegraf","version":"4.9.0-canary.2","keywords":["telegraf","telegram","telegram bot api","bot","botapi","bot framework"],"author":{"name":"Vitaly Domnikov","email":"oss@vitaly.codes"},"license":"MIT","_id":"telegraf@4.9.0-canary.2","maintainers":[{"name":"dotcypress","email":"dotcypress@gmail.com"},{"name":"mkrhere","email":"muthukumar@thefeathers.in"},{"name":"wojpawlik","email":"woj.pawlik@gmail.com"}],"homepage":"https://telegraf.js.org","bugs":{"url":"https://github.com/telegraf/telegraf/issues"},"bin":{"telegraf":"bin/telegraf"},"dist":{"shasum":"4a97b82a7bbc56aa1f0456f55cee5ae81d39476c","tarball":"https://registry.npmjs.org/telegraf/-/telegraf-4.9.0-canary.2.tgz","fileCount":125,"integrity":"sha512-aCyMBMMBbkaQRcc72IoWVfmh/YCwj+vD9KwcwKv0uenA68VGe5OvYJnRTxd31BMngN0ppO5Nr0QtNSO8A3GXyg==","signatures":[{"sig":"MEUCIQCnHRcjF/Pr7OYCv3e929x6I7YZfb4k2eWfI8UDdE09XAIgWmLB765zySrivIodA1cl4eIyDtPGdR9J3o5MmhczVoU=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":481963,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJigInyACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmoSzxAAmBYQ3DU7TY5/zV54XlhRPQyxovEAvheRkreCJPzePgG7SIls\r\n8/YQ7Rqny5b1WLh4KYEwIfZK44kJ2QCXBTRaM1UIFsNObcgY+i9LAWAahDAU\r\nh30uTs2Wc65rJeuHBlJyo6enGhTsfCC/6+dTxmLBBn6Yc2tbDtBWKrYvrZDN\r\nxJn1HgJ8Y7r5tJ6fkLhgqsoQ1VmYfnXJQUiSb7pDm515BU8L7NKN3zS2piOz\r\nJ37V9QYS17n+dT38PjYw9Z9lXkasgrIH9kYkoEjKiXe8vs8dnNgvmAcPdh0s\r\n5D6Cws6CxtNTBw57JrwdHn4l7u5avPo7YeR/cdqC+tIN6vXzMLjp8taZed+Q\r\nVrd3r4mWDXVpKsjD7VL5mbF6OY2C6Gvv4id8zv6wjh80NHk7eUZ/myZ4qTUh\r\n42KWwTN8xAdXTS1grEaKpDlSSjVy/QS2zIOIfNTa2HCPEQzo+GIkpo9xT3YG\r\nWGpaXakNkDiS1lSBGjbnh7yDgquW1Ihg8LsZEkAXn5Ix0IeZT0zN2npWfY3K\r\nJbJpoNmTjWll2sIdJWQxixX/NNK9MGiX1xWfgJcrp8bFFNvdE4ks6B1VTYkO\r\nZwLIKf6G+tbw+TCU+4qCHBsR6ko3YN3OOMsvKS4+5b27r4vUBUOvlwPQFobb\r\nzNYDY9IngPLQTqYf4YJ05idJBSJHNSYl8ng=\r\n=S4xn\r\n-----END PGP SIGNATURE-----\r\n"},"main":"lib/index.js","type":"commonjs","types":"./typings/index.d.ts","readme":"
\n\"logo\"\n

telegraf.js

\n\nModern Telegram Bot API framework for Node.js\n\n[![Bot API Version](https://img.shields.io/badge/Bot%20API-v6.0-f36caf.svg?style=flat-square)](https://core.telegram.org/bots/api)\n[![install size](https://flat.badgen.net/packagephobia/install/telegraf)](https://packagephobia.com/result?p=telegraf,node-telegram-bot-api)\n[![GitHub top language](https://img.shields.io/github/languages/top/telegraf/telegraf?style=flat-square&logo=github)](https://github.com/telegraf/telegraf)\n[![English chat](https://img.shields.io/badge/English%20chat-grey?style=flat-square&logo=telegram)](https://t.me/TelegrafJSChat)\n
\n\n> Notice: [@MKRhere](https://github.com/MKRhere) has taken over as the new maintainer of Telegraf. Feel free to reach out via the Telegram group.\n\n## For 3.x users\n\n- [3.x docs](https://telegraf.js.org/v3)\n- [4.0 release notes](https://github.com/telegraf/telegraf/releases/tag/v4.0.0)\n\n## Introduction\n\nBots are special [Telegram](https://telegram.org) accounts designed to handle messages automatically. \nUsers can interact with bots by sending them command messages in private or group chats. \nThese accounts serve as an interface for code running somewhere on your server.\n\nTelegraf is a library that makes it simple for you to develop your own Telegram bots using JavaScript or [TypeScript](https://www.typescriptlang.org/).\n\n### Features\n\n- Full [Telegram Bot API 6.0](https://core.telegram.org/bots/api) support\n- [Excellent TypeScript typings](https://github.com/telegraf/telegraf/releases/tag/v4.0.0)\n- [Lightweight](https://packagephobia.com/result?p=telegraf,node-telegram-bot-api)\n- [AWS **λ**](https://docs.aws.amazon.com/lambda/latest/dg/nodejs-prog-model-handler.html)\n / [Firebase](https://firebase.google.com/products/functions/)\n / [Glitch](https://glitch.com/edit/#!/dashing-light)\n / [Heroku](https://devcenter.heroku.com/articles/getting-started-with-nodejs#introduction)\n / Whatever ready\n- `http/https/fastify/Connect.js/express.js` compatible webhooks\n- Extensible\n\n### Example\n \n```js\nconst { Telegraf } = require('telegraf')\n\nconst bot = new Telegraf(process.env.BOT_TOKEN)\nbot.start((ctx) => ctx.reply('Welcome'))\nbot.help((ctx) => ctx.reply('Send me a sticker'))\nbot.on('sticker', (ctx) => ctx.reply('👍'))\nbot.hears('hi', (ctx) => ctx.reply('Hey there'))\nbot.launch()\n\n// Enable graceful stop\nprocess.once('SIGINT', () => bot.stop('SIGINT'))\nprocess.once('SIGTERM', () => bot.stop('SIGTERM'))\n```\n\n```js\nconst { Telegraf } = require('telegraf')\n\nconst bot = new Telegraf(process.env.BOT_TOKEN)\nbot.command('oldschool', (ctx) => ctx.reply('Hello'))\nbot.command('hipster', Telegraf.reply('λ'))\nbot.launch()\n\n// Enable graceful stop\nprocess.once('SIGINT', () => bot.stop('SIGINT'))\nprocess.once('SIGTERM', () => bot.stop('SIGTERM'))\n```\n\nFor additional bot examples see [`examples`](https://github.com/telegraf/telegraf/tree/develop/docs/examples) folder.\n\n### Resources\n\n- [Getting started](#getting-started)\n- [API reference](https://telegraf.js.org/modules.html)\n- Telegram groups (sorted by number of members):\n * [English](https://t.me/TelegrafJSChat)\n * [Uzbek](https://t.me/botjs_uz)\n * [Ethiopian](https://t.me/telegraf_et)\n- [GitHub Discussions](https://github.com/telegraf/telegraf/discussions)\n- [Dependent repositories](https://libraries.io/npm/telegraf/dependent_repositories)\n\n## Getting started\n\n### Telegram token\n\nTo use the [Telegram Bot API](https://core.telegram.org/bots/api), \nyou first have to [get a bot account](https://core.telegram.org/bots) \nby [chatting with BotFather](https://core.telegram.org/bots#6-botfather).\n\nBotFather will give you a *token*, something like `123456789:AbCdfGhIJKlmNoQQRsTUVwxyZ`.\n\n### Installation\n\n```shellscript\n$ npm install telegraf\n```\nor\n```shellscript\n$ yarn add telegraf\n```\nor\n```shellscript\n$ pnpm add telegraf\n```\n\n### `Telegraf` class\n\n[`Telegraf`] instance represents your bot. It's responsible for obtaining updates and passing them to your handlers.\n\nStart by [listening to commands](https://telegraf.js.org/classes/telegraf.html#command) and [launching](https://telegraf.js.org/classes/telegraf.html#launch) your bot.\n\n### `Context` class\n\n`ctx` you can see in every example is a [`Context`] instance.\n[`Telegraf`] creates one for each incoming update and passes it to your middleware.\nIt contains the `update`, `botInfo`, and `telegram` for making arbitrary Bot API requests,\nas well as shorthand methods and getters.\n\nThis is probably the class you'll be using the most.\n\n\n\n\n#### Shorthand methods\n\n```js\nimport { Telegraf } from 'telegraf'\n\nconst bot = new Telegraf(process.env.BOT_TOKEN)\n\nbot.command('quit', (ctx) => {\n // Explicit usage\n ctx.telegram.leaveChat(ctx.message.chat.id)\n\n // Using context shortcut\n ctx.leaveChat()\n})\n\nbot.on('text', (ctx) => {\n // Explicit usage\n ctx.telegram.sendMessage(ctx.message.chat.id, `Hello ${ctx.state.role}`)\n\n // Using context shortcut\n ctx.reply(`Hello ${ctx.state.role}`)\n})\n\nbot.on('callback_query', (ctx) => {\n // Explicit usage\n ctx.telegram.answerCbQuery(ctx.callbackQuery.id)\n\n // Using context shortcut\n ctx.answerCbQuery()\n})\n\nbot.on('inline_query', (ctx) => {\n const result = []\n // Explicit usage\n ctx.telegram.answerInlineQuery(ctx.inlineQuery.id, result)\n\n // Using context shortcut\n ctx.answerInlineQuery(result)\n})\n\nbot.launch()\n\n// Enable graceful stop\nprocess.once('SIGINT', () => bot.stop('SIGINT'))\nprocess.once('SIGTERM', () => bot.stop('SIGTERM'))\n```\n\n## Production\n\n### Webhooks\n\n```js\nconst { Telegraf } = require('telegraf')\nconst fs = require('fs')\nrequire('dotenv')\n\nconst bot = new Telegraf(process.env.BOT_TOKEN)\n\n// TLS options\nconst tlsOptions = {\n key: fs.readFileSync('server-key.pem'),\n cert: fs.readFileSync('server-cert.pem'),\n ca: [\n // This is necessary only if the client uses a self-signed certificate.\n fs.readFileSync('client-cert.pem')\n ]\n}\n\n// Set telegram webhook\n// The second argument is necessary only if the client uses a self-signed\n// certificate. Including it for a verified certificate may cause things to break.\nbot.telegram.setWebhook('https://server.tld:8443/secret-path', {\n certificate: { source: fs.readFileSync('server-cert.pem') }\n})\n\n// Start https webhook\nbot.startWebhook('/secret-path', tlsOptions, 8443)\n\n// Http webhook, for nginx/heroku users.\nbot.startWebhook('/secret-path', null, 5000)\n```\n\nUse `webhookCallback()` if you want to attach Telegraf to an existing http server.\n\n\n\n```js\nrequire('http')\n .createServer(bot.webhookCallback('/secret-path'))\n .listen(3000)\n\nrequire('https')\n .createServer(tlsOptions, bot.webhookCallback('/secret-path'))\n .listen(8443)\n```\n\n- [AWS Lambda example integration](https://github.com/telegraf/telegraf/blob/develop/docs/examples/aws-lambda.js)\n- [`express` example integration](https://github.com/telegraf/telegraf/blob/develop/docs/examples/express-webhook-bot.ts)\n- [`fastify` example integration](https://github.com/telegraf/telegraf/blob/develop/docs/examples/fastify-webhook-bot.js)\n- [Google Cloud Functions example integration](https://github.com/telegraf/telegraf/blob/develop/docs/examples/google-cloud-function.ts)\n- [`koa` example integration](https://github.com/telegraf/telegraf/blob/develop/docs/examples/koa-webhook-bot.js)\n- [NestJS framework integration module](https://github.com/bukhalo/nestjs-telegraf)\n- Use [`bot.handleUpdate`](https://telegraf.js.org/classes/telegraf.html#handleupdate) to write new integrations\n\n### Error handling\n\nIf middleware throws an error or times out, Telegraf calls `bot.handleError`. If it rethrows, update source closes, and then the error is printed to console and process [hopefully](https://nodejs.org/api/cli.html#cli_unhandled_rejections_mode) terminates. If it does not rethrow, the error is swallowed.\n\nDefault `bot.handleError` always rethrows. You can overwrite it using `bot.catch` if you need to.\n\n⚠️ Always rethrow `TimeoutError`!\n\n⚠️ Swallowing unknown errors might leave the process in invalid state!\n\nℹ️ In production, `systemd` or [`pm2`](https://www.npmjs.com/package/pm2) can restart your bot if it exits for any reason.\n\n## Advanced topics\n\n### Working with files\n\nSupported file sources:\n\n- `Existing file_id`\n- `File path`\n- `Url`\n- `Buffer`\n- `ReadStream`\n\nAlso, you can provide an optional name of a file as `filename` when you send the file.\n\n\n\n```js\nbot.on('message', (ctx) => {\n // resend existing file by file_id\n ctx.replyWithSticker('123123jkbhj6b')\n\n // send file\n ctx.replyWithVideo({ source: '/path/to/video.mp4' })\n\n // send stream\n ctx.replyWithVideo({\n source: fs.createReadStream('/path/to/video.mp4')\n })\n\n // send buffer\n ctx.replyWithVoice({\n source: Buffer.alloc()\n })\n\n // send url via Telegram server\n ctx.replyWithPhoto('https://picsum.photos/200/300/')\n\n // pipe url content\n ctx.replyWithPhoto({\n url: 'https://picsum.photos/200/300/?random',\n filename: 'kitten.jpg'\n })\n})\n```\n\n### Middleware\n\nIn addition to `ctx: Context`, each middleware receives `next: () => Promise`.\n\nAs in Koa and some other middleware-based libraries,\n`await next()` will call next middleware and wait for it to finish:\n\n```js\nimport { Telegraf } from 'telegraf'\n\nconst bot = new Telegraf(process.env.BOT_TOKEN)\n\nbot.use(async (ctx, next) => {\n console.time(`Processing update ${ctx.update.update_id}`)\n await next() // runs next middleware\n // runs after next middleware finishes\n console.timeEnd(`Processing update ${ctx.update.update_id}`)\n})\n\nbot.on('text', (ctx) => ctx.reply('Hello World'))\nbot.launch()\n\n// Enable graceful stop\nprocess.once('SIGINT', () => bot.stop('SIGINT'))\nprocess.once('SIGTERM', () => bot.stop('SIGTERM'))\n```\n\nWith this simple ability, you can:\n- extract information from updates and then `await next()` to avoid disrupting other middleware,\n- like [`Composer`] and [`Router`], `await next()` for updates you don't wish to handle,\n- like [`session`] and [`Scenes`], [extend the context](#extending-context) by mutating `ctx` before `await next()`,\n- [intercept API calls](https://github.com/telegraf/telegraf/discussions/1267#discussioncomment-254525),\n- reuse [other people's code](https://www.npmjs.com/search?q=telegraf-),\n- do whatever **you** come up with!\n\n[`Composer`]: https://telegraf.js.org/classes/composer.html\n[`Context`]: https://telegraf.js.org/classes/context.html\n[`Router`]: https://telegraf.js.org/classes/router.html\n[`session`]: https://telegraf.js.org/modules.html#session\n[`Scenes`]: https://telegraf.js.org/modules/scenes.html\n[`Telegraf`]: https://telegraf.js.org/classes/telegraf.html\n\n### Usage with TypeScript\n\nTelegraf is written in TypeScript and therefore ships with declaration files for the entire library.\nMoreover, it includes types for the complete Telegram API via the [`typegram`](https://github.com/KnorpelSenf/typegram) package.\nWhile most types of Telegraf's API surface are self-explanatory, there's some notable things to keep in mind.\n\n#### Extending `Context`\n\nThe exact shape of `ctx` can vary based on the installed middleware.\nSome custom middleware might register properties on the context object that Telegraf is not aware of.\nConsequently, you can change the type of `ctx` to fit your needs in order for you to have proper TypeScript types for your data.\nThis is done through Generics:\n\n```ts\nimport { Context, Telegraf } from 'telegraf'\n\n// Define your own context type\ninterface MyContext extends Context {\n myProp?: string\n myOtherProp?: number\n}\n\n// Create your bot and tell it about your context type\nconst bot = new Telegraf('SECRET TOKEN')\n\n// Register middleware and launch your bot as usual\nbot.use((ctx, next) => {\n // Yay, `myProp` is now available here as `string | undefined`!\n ctx.myProp = ctx.chat?.first_name?.toUpperCase()\n return next()\n})\n// ...\n```\n","engines":{"node":"^12.20.0 || >=14.13.1"},"exports":{".":"./lib/index.js","./types":"./types.js","./future":"./future.js"},"gitHead":"dc1951bc3716f9afb1c26709fd5d6f089865e994","scripts":{"lint":"eslint .","test":"ava test/*","build":"tsc --build docs/examples","clean":"git clean -fX .eslintcache docs/build/ lib/ typings/","checks":"npm test && npm run lint","prepare":"npm run --silent build","pretest":"npm run build","refresh":"npm run clean && npm ci","build:docs":"typedoc src/index.ts"},"_npmUser":{"name":"mkrhere","email":"muthukumar@thefeathers.in"},"deprecated":"Switch to 4.9.0 or higher","repository":{"url":"git+ssh://git@github.com/telegraf/telegraf.git","type":"git"},"_npmVersion":"8.5.5","description":"Modern Telegram Bot Framework","directories":{},"_nodeVersion":"16.15.0","dependencies":{"debug":"^4.3.3","minimist":"^1.2.6","typegram":"^3.9.0","p-timeout":"^4.1.0","node-fetch":"^2.6.7","module-alias":"^2.2.2","safe-compare":"^1.1.4","sandwich-stream":"^2.0.2","abort-controller":"^3.0.0"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"ava":"^4.0.1","eslint":"^8.8.0","typedoc":"^0.22.11","prettier":"^2.5.1","typescript":"^4.5.5","@types/node":"^17.0.14","@types/debug":"^4.1.7","@types/node-fetch":"^2.5.12","eslint-plugin-ava":"^13.2.0","eslint-plugin-node":"^11.1.0","@types/safe-compare":"^1.1.0","eslint-plugin-import":"^2.25.4","eslint-plugin-promise":"^6.0.0","eslint-config-prettier":"^8.3.0","eslint-plugin-prettier":"^4.0.0","eslint-plugin-standard":"^5.0.0","@typescript-eslint/parser":"^5.10.2","@typescript-eslint/eslint-plugin":"^5.10.2"},"_npmOperationalInternal":{"tmp":"tmp/telegraf_4.9.0-canary.2_1652591090573_0.4112343944028276","host":"s3://npm-registry-packages"}},"4.9.0-canary.3":{"name":"telegraf","version":"4.9.0-canary.3","keywords":["telegraf","telegram","telegram bot api","bot","botapi","bot framework"],"author":{"name":"Vitaly Domnikov","email":"oss@vitaly.codes"},"license":"MIT","_id":"telegraf@4.9.0-canary.3","maintainers":[{"name":"dotcypress","email":"dotcypress@gmail.com"},{"name":"mkrhere","email":"muthukumar@thefeathers.in"},{"name":"wojpawlik","email":"woj.pawlik@gmail.com"}],"homepage":"https://telegraf.js.org","bugs":{"url":"https://github.com/telegraf/telegraf/issues"},"bin":{"telegraf":"bin/telegraf"},"dist":{"shasum":"eec9ecbe3166d7a86484ab2e200eecfa6e66c870","tarball":"https://registry.npmjs.org/telegraf/-/telegraf-4.9.0-canary.3.tgz","fileCount":125,"integrity":"sha512-ydC22rG9rqZ2dGLaZ0dEw0MOO/QrvPa2oZ/vLdKwg+eOpz7d0KdgIFTLEiJrK79KkY2s0iIiXyY7ZNcHY64Q9A==","signatures":[{"sig":"MEUCIQDZQjt9T/LxOPfzuvDg5ZJmvwKcPl5UkyquqQacwq0DVAIgagRLluXyMKveR9+eocaSAwQJAEw8QPg2x3iSmRHCres=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":481701,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJigJtDACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmrhgw/5AElazK0ls0WE9II9JOWeEEgkpVtw+ZTplqbZSw5vIKKQT//a\r\nmk2dtingi1QdhR11exeeuG9Ahr1eZ5sI2abgBNuXQT1LCnuYXMQRGPS8QZv0\r\n35dUqkqO/NO8I/aEzVe62lS4JV0sx1xblstYIf1TZ13c4bhej3j0iwOzKOlF\r\nGrF1ViBTdfFwaQ1HziD4QB8x8QJhaAvut2tQWtdXj6S0VlTW9ml1LzWMKY1N\r\nYJm6mviueMqmZIDOPHhMaymHnRBFbUNKFirbTqEUB5EcQboIemXe8TJ1VTtY\r\nme/aNTQ13g6HtSCVfJ22yQ9R1OCPRRIYFwdMznzLQyNJfX+bpNFWeOLpnJhF\r\n8KS8Q7007pCjpGoEjLJ6i8E/1uAIpolxJ3M6FHOd+cVo09hCEg6Tux4jN2wF\r\nSzkIIqDW/YUMmmMruSBuxYFtSWmRlBbDmHPHSou4/HeCTnPdlrqvC3t05275\r\npsWozhQAArJjkaCQAaJVQ4h4PSDzRWxH+ExYJCaCyOfUPwTGwPBXtJJVQX9j\r\n/ri5Z+AsdPeDS9OScJwe2+++38yqvqRAeoGlMGCtVPe1TqPNEsKlfvpnQ+SG\r\n83dX4O3l1zqQPkcZ5CrVdOYqMnX/5R6mSUv1XJ/HLJb+m+bMRkn7aoNfUish\r\nkd13vUxsJ9Z5ENktsG0m8uCNeH8AetMLuj0=\r\n=ts5g\r\n-----END PGP SIGNATURE-----\r\n"},"main":"lib/index.js","type":"commonjs","types":"./typings/index.d.ts","readme":"
\n\"logo\"\n

telegraf.js

\n\nModern Telegram Bot API framework for Node.js\n\n[![Bot API Version](https://img.shields.io/badge/Bot%20API-v6.0-f36caf.svg?style=flat-square)](https://core.telegram.org/bots/api)\n[![install size](https://flat.badgen.net/packagephobia/install/telegraf)](https://packagephobia.com/result?p=telegraf,node-telegram-bot-api)\n[![GitHub top language](https://img.shields.io/github/languages/top/telegraf/telegraf?style=flat-square&logo=github)](https://github.com/telegraf/telegraf)\n[![English chat](https://img.shields.io/badge/English%20chat-grey?style=flat-square&logo=telegram)](https://t.me/TelegrafJSChat)\n
\n\n> Notice: [@MKRhere](https://github.com/MKRhere) has taken over as the new maintainer of Telegraf. Feel free to reach out via the Telegram group.\n\n## For 3.x users\n\n- [3.x docs](https://telegraf.js.org/v3)\n- [4.0 release notes](https://github.com/telegraf/telegraf/releases/tag/v4.0.0)\n\n## Introduction\n\nBots are special [Telegram](https://telegram.org) accounts designed to handle messages automatically. \nUsers can interact with bots by sending them command messages in private or group chats. \nThese accounts serve as an interface for code running somewhere on your server.\n\nTelegraf is a library that makes it simple for you to develop your own Telegram bots using JavaScript or [TypeScript](https://www.typescriptlang.org/).\n\n### Features\n\n- Full [Telegram Bot API 6.0](https://core.telegram.org/bots/api) support\n- [Excellent TypeScript typings](https://github.com/telegraf/telegraf/releases/tag/v4.0.0)\n- [Lightweight](https://packagephobia.com/result?p=telegraf,node-telegram-bot-api)\n- [AWS **λ**](https://docs.aws.amazon.com/lambda/latest/dg/nodejs-prog-model-handler.html)\n / [Firebase](https://firebase.google.com/products/functions/)\n / [Glitch](https://glitch.com/edit/#!/dashing-light)\n / [Heroku](https://devcenter.heroku.com/articles/getting-started-with-nodejs#introduction)\n / Whatever ready\n- `http/https/fastify/Connect.js/express.js` compatible webhooks\n- Extensible\n\n### Example\n \n```js\nconst { Telegraf } = require('telegraf')\n\nconst bot = new Telegraf(process.env.BOT_TOKEN)\nbot.start((ctx) => ctx.reply('Welcome'))\nbot.help((ctx) => ctx.reply('Send me a sticker'))\nbot.on('sticker', (ctx) => ctx.reply('👍'))\nbot.hears('hi', (ctx) => ctx.reply('Hey there'))\nbot.launch()\n\n// Enable graceful stop\nprocess.once('SIGINT', () => bot.stop('SIGINT'))\nprocess.once('SIGTERM', () => bot.stop('SIGTERM'))\n```\n\n```js\nconst { Telegraf } = require('telegraf')\n\nconst bot = new Telegraf(process.env.BOT_TOKEN)\nbot.command('oldschool', (ctx) => ctx.reply('Hello'))\nbot.command('hipster', Telegraf.reply('λ'))\nbot.launch()\n\n// Enable graceful stop\nprocess.once('SIGINT', () => bot.stop('SIGINT'))\nprocess.once('SIGTERM', () => bot.stop('SIGTERM'))\n```\n\nFor additional bot examples see [`examples`](https://github.com/telegraf/telegraf/tree/develop/docs/examples) folder.\n\n### Resources\n\n- [Getting started](#getting-started)\n- [API reference](https://telegraf.js.org/modules.html)\n- Telegram groups (sorted by number of members):\n * [English](https://t.me/TelegrafJSChat)\n * [Uzbek](https://t.me/botjs_uz)\n * [Ethiopian](https://t.me/telegraf_et)\n- [GitHub Discussions](https://github.com/telegraf/telegraf/discussions)\n- [Dependent repositories](https://libraries.io/npm/telegraf/dependent_repositories)\n\n## Getting started\n\n### Telegram token\n\nTo use the [Telegram Bot API](https://core.telegram.org/bots/api), \nyou first have to [get a bot account](https://core.telegram.org/bots) \nby [chatting with BotFather](https://core.telegram.org/bots#6-botfather).\n\nBotFather will give you a *token*, something like `123456789:AbCdfGhIJKlmNoQQRsTUVwxyZ`.\n\n### Installation\n\n```shellscript\n$ npm install telegraf\n```\nor\n```shellscript\n$ yarn add telegraf\n```\nor\n```shellscript\n$ pnpm add telegraf\n```\n\n### `Telegraf` class\n\n[`Telegraf`] instance represents your bot. It's responsible for obtaining updates and passing them to your handlers.\n\nStart by [listening to commands](https://telegraf.js.org/classes/telegraf.html#command) and [launching](https://telegraf.js.org/classes/telegraf.html#launch) your bot.\n\n### `Context` class\n\n`ctx` you can see in every example is a [`Context`] instance.\n[`Telegraf`] creates one for each incoming update and passes it to your middleware.\nIt contains the `update`, `botInfo`, and `telegram` for making arbitrary Bot API requests,\nas well as shorthand methods and getters.\n\nThis is probably the class you'll be using the most.\n\n\n\n\n#### Shorthand methods\n\n```js\nimport { Telegraf } from 'telegraf'\n\nconst bot = new Telegraf(process.env.BOT_TOKEN)\n\nbot.command('quit', (ctx) => {\n // Explicit usage\n ctx.telegram.leaveChat(ctx.message.chat.id)\n\n // Using context shortcut\n ctx.leaveChat()\n})\n\nbot.on('text', (ctx) => {\n // Explicit usage\n ctx.telegram.sendMessage(ctx.message.chat.id, `Hello ${ctx.state.role}`)\n\n // Using context shortcut\n ctx.reply(`Hello ${ctx.state.role}`)\n})\n\nbot.on('callback_query', (ctx) => {\n // Explicit usage\n ctx.telegram.answerCbQuery(ctx.callbackQuery.id)\n\n // Using context shortcut\n ctx.answerCbQuery()\n})\n\nbot.on('inline_query', (ctx) => {\n const result = []\n // Explicit usage\n ctx.telegram.answerInlineQuery(ctx.inlineQuery.id, result)\n\n // Using context shortcut\n ctx.answerInlineQuery(result)\n})\n\nbot.launch()\n\n// Enable graceful stop\nprocess.once('SIGINT', () => bot.stop('SIGINT'))\nprocess.once('SIGTERM', () => bot.stop('SIGTERM'))\n```\n\n## Production\n\n### Webhooks\n\n```js\nconst { Telegraf } = require('telegraf')\nconst fs = require('fs')\nrequire('dotenv')\n\nconst bot = new Telegraf(process.env.BOT_TOKEN)\n\n// TLS options\nconst tlsOptions = {\n key: fs.readFileSync('server-key.pem'),\n cert: fs.readFileSync('server-cert.pem'),\n ca: [\n // This is necessary only if the client uses a self-signed certificate.\n fs.readFileSync('client-cert.pem')\n ]\n}\n\n// Set telegram webhook\n// The second argument is necessary only if the client uses a self-signed\n// certificate. Including it for a verified certificate may cause things to break.\nbot.telegram.setWebhook('https://server.tld:8443/secret-path', {\n certificate: { source: fs.readFileSync('server-cert.pem') }\n})\n\n// Start https webhook\nbot.startWebhook('/secret-path', tlsOptions, 8443)\n\n// Http webhook, for nginx/heroku users.\nbot.startWebhook('/secret-path', null, 5000)\n```\n\nUse `webhookCallback()` if you want to attach Telegraf to an existing http server.\n\n\n\n```js\nrequire('http')\n .createServer(bot.webhookCallback('/secret-path'))\n .listen(3000)\n\nrequire('https')\n .createServer(tlsOptions, bot.webhookCallback('/secret-path'))\n .listen(8443)\n```\n\n- [AWS Lambda example integration](https://github.com/telegraf/telegraf/blob/develop/docs/examples/aws-lambda.js)\n- [`express` example integration](https://github.com/telegraf/telegraf/blob/develop/docs/examples/express-webhook-bot.ts)\n- [`fastify` example integration](https://github.com/telegraf/telegraf/blob/develop/docs/examples/fastify-webhook-bot.js)\n- [Google Cloud Functions example integration](https://github.com/telegraf/telegraf/blob/develop/docs/examples/google-cloud-function.ts)\n- [`koa` example integration](https://github.com/telegraf/telegraf/blob/develop/docs/examples/koa-webhook-bot.js)\n- [NestJS framework integration module](https://github.com/bukhalo/nestjs-telegraf)\n- Use [`bot.handleUpdate`](https://telegraf.js.org/classes/telegraf.html#handleupdate) to write new integrations\n\n### Error handling\n\nIf middleware throws an error or times out, Telegraf calls `bot.handleError`. If it rethrows, update source closes, and then the error is printed to console and process [hopefully](https://nodejs.org/api/cli.html#cli_unhandled_rejections_mode) terminates. If it does not rethrow, the error is swallowed.\n\nDefault `bot.handleError` always rethrows. You can overwrite it using `bot.catch` if you need to.\n\n⚠️ Always rethrow `TimeoutError`!\n\n⚠️ Swallowing unknown errors might leave the process in invalid state!\n\nℹ️ In production, `systemd` or [`pm2`](https://www.npmjs.com/package/pm2) can restart your bot if it exits for any reason.\n\n## Advanced topics\n\n### Working with files\n\nSupported file sources:\n\n- `Existing file_id`\n- `File path`\n- `Url`\n- `Buffer`\n- `ReadStream`\n\nAlso, you can provide an optional name of a file as `filename` when you send the file.\n\n\n\n```js\nbot.on('message', (ctx) => {\n // resend existing file by file_id\n ctx.replyWithSticker('123123jkbhj6b')\n\n // send file\n ctx.replyWithVideo({ source: '/path/to/video.mp4' })\n\n // send stream\n ctx.replyWithVideo({\n source: fs.createReadStream('/path/to/video.mp4')\n })\n\n // send buffer\n ctx.replyWithVoice({\n source: Buffer.alloc()\n })\n\n // send url via Telegram server\n ctx.replyWithPhoto('https://picsum.photos/200/300/')\n\n // pipe url content\n ctx.replyWithPhoto({\n url: 'https://picsum.photos/200/300/?random',\n filename: 'kitten.jpg'\n })\n})\n```\n\n### Middleware\n\nIn addition to `ctx: Context`, each middleware receives `next: () => Promise`.\n\nAs in Koa and some other middleware-based libraries,\n`await next()` will call next middleware and wait for it to finish:\n\n```js\nimport { Telegraf } from 'telegraf'\n\nconst bot = new Telegraf(process.env.BOT_TOKEN)\n\nbot.use(async (ctx, next) => {\n console.time(`Processing update ${ctx.update.update_id}`)\n await next() // runs next middleware\n // runs after next middleware finishes\n console.timeEnd(`Processing update ${ctx.update.update_id}`)\n})\n\nbot.on('text', (ctx) => ctx.reply('Hello World'))\nbot.launch()\n\n// Enable graceful stop\nprocess.once('SIGINT', () => bot.stop('SIGINT'))\nprocess.once('SIGTERM', () => bot.stop('SIGTERM'))\n```\n\nWith this simple ability, you can:\n- extract information from updates and then `await next()` to avoid disrupting other middleware,\n- like [`Composer`] and [`Router`], `await next()` for updates you don't wish to handle,\n- like [`session`] and [`Scenes`], [extend the context](#extending-context) by mutating `ctx` before `await next()`,\n- [intercept API calls](https://github.com/telegraf/telegraf/discussions/1267#discussioncomment-254525),\n- reuse [other people's code](https://www.npmjs.com/search?q=telegraf-),\n- do whatever **you** come up with!\n\n[`Composer`]: https://telegraf.js.org/classes/composer.html\n[`Context`]: https://telegraf.js.org/classes/context.html\n[`Router`]: https://telegraf.js.org/classes/router.html\n[`session`]: https://telegraf.js.org/modules.html#session\n[`Scenes`]: https://telegraf.js.org/modules/scenes.html\n[`Telegraf`]: https://telegraf.js.org/classes/telegraf.html\n\n### Usage with TypeScript\n\nTelegraf is written in TypeScript and therefore ships with declaration files for the entire library.\nMoreover, it includes types for the complete Telegram API via the [`typegram`](https://github.com/KnorpelSenf/typegram) package.\nWhile most types of Telegraf's API surface are self-explanatory, there's some notable things to keep in mind.\n\n#### Extending `Context`\n\nThe exact shape of `ctx` can vary based on the installed middleware.\nSome custom middleware might register properties on the context object that Telegraf is not aware of.\nConsequently, you can change the type of `ctx` to fit your needs in order for you to have proper TypeScript types for your data.\nThis is done through Generics:\n\n```ts\nimport { Context, Telegraf } from 'telegraf'\n\n// Define your own context type\ninterface MyContext extends Context {\n myProp?: string\n myOtherProp?: number\n}\n\n// Create your bot and tell it about your context type\nconst bot = new Telegraf('SECRET TOKEN')\n\n// Register middleware and launch your bot as usual\nbot.use((ctx, next) => {\n // Yay, `myProp` is now available here as `string | undefined`!\n ctx.myProp = ctx.chat?.first_name?.toUpperCase()\n return next()\n})\n// ...\n```\n","engines":{"node":"^12.20.0 || >=14.13.1"},"exports":{".":"./lib/index.js","./types":"./types.js","./future":"./future.js"},"gitHead":"50b35ba9205c32d941ce693953d627369d7ba89d","scripts":{"lint":"eslint .","test":"ava test/*","build":"tsc --build docs/examples","clean":"git clean -fX .eslintcache docs/build/ lib/ typings/","checks":"npm test && npm run lint","prepare":"npm run --silent build","pretest":"npm run build","refresh":"npm run clean && npm ci","build:docs":"typedoc src/index.ts"},"_npmUser":{"name":"mkrhere","email":"muthukumar@thefeathers.in"},"deprecated":"Switch to 4.9.0 or higher","repository":{"url":"git+ssh://git@github.com/telegraf/telegraf.git","type":"git"},"_npmVersion":"8.5.5","description":"Modern Telegram Bot Framework","directories":{},"_nodeVersion":"16.15.0","dependencies":{"debug":"^4.3.3","minimist":"^1.2.6","typegram":"^3.9.0","p-timeout":"^4.1.0","node-fetch":"^2.6.7","module-alias":"^2.2.2","safe-compare":"^1.1.4","sandwich-stream":"^2.0.2","abort-controller":"^3.0.0"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"ava":"^4.0.1","eslint":"^8.8.0","typedoc":"^0.22.11","prettier":"^2.5.1","typescript":"^4.5.5","@types/node":"^17.0.14","@types/debug":"^4.1.7","@types/node-fetch":"^2.5.12","eslint-plugin-ava":"^13.2.0","eslint-plugin-node":"^11.1.0","@types/safe-compare":"^1.1.0","eslint-plugin-import":"^2.25.4","eslint-plugin-promise":"^6.0.0","eslint-config-prettier":"^8.3.0","eslint-plugin-prettier":"^4.0.0","eslint-plugin-standard":"^5.0.0","@typescript-eslint/parser":"^5.10.2","@typescript-eslint/eslint-plugin":"^5.10.2"},"_npmOperationalInternal":{"tmp":"tmp/telegraf_4.9.0-canary.3_1652595522980_0.2741651792889277","host":"s3://npm-registry-packages"}},"4.9.0-canary.4":{"name":"telegraf","version":"4.9.0-canary.4","keywords":["telegraf","telegram","telegram bot api","bot","botapi","bot framework"],"author":{"name":"Vitaly Domnikov","email":"oss@vitaly.codes"},"license":"MIT","_id":"telegraf@4.9.0-canary.4","maintainers":[{"name":"dotcypress","email":"dotcypress@gmail.com"},{"name":"mkrhere","email":"muthukumar@thefeathers.in"},{"name":"wojpawlik","email":"woj.pawlik@gmail.com"}],"homepage":"https://telegraf.js.org","bugs":{"url":"https://github.com/telegraf/telegraf/issues"},"bin":{"telegraf":"bin/telegraf"},"dist":{"shasum":"7bf6753b4ef3658de295c6d7ba1652f54d44f96a","tarball":"https://registry.npmjs.org/telegraf/-/telegraf-4.9.0-canary.4.tgz","fileCount":118,"integrity":"sha512-POa4UX4ZDnswAnog0CinUyTnPoWSi7plI/NKVC4P3SQlME0LEDWDkx5hNxU+ls3RZcw9zGVH3e/dUhhS2z0+aA==","signatures":[{"sig":"MEUCIF0xJtUH0eUx5kXMOiCF1G2kqUjONEExv0M/bWCbBNGVAiEAxl4dbOha+zJtD/QY0WJ8HASXw++KzFv7mJ9IMbL/RdE=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":482615,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJigJ0YACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmoIqw//U1GcVgOV8u5lfXar84KU8O4oUwKkm/LBZOrEzJ8YjSDgtt+X\r\nuli8bV7XjfoW+d4w1ULj/zLX72wB34k2YR6rJyz7JCHU6P1EN2P4WW/urKIG\r\nrEe3rlUzBy1Skt4NbvGWQwNaw5I+6PslD+vSfmO+9sH/A0dgUGz+Zzefu3Jz\r\nOMez4rrCWqrjrlsqQBCoH14gZci1FUxD+6L3cpvSVt1kgLBjVr8RGBcuROTF\r\nt0PnKZw7gbnsl0y2dicgaOTcznNAKMj3XcsxLag1NrNc8cyLGT3EjMx9bv72\r\npYIDjaMu5dwQRjH6aCmgHdI61YJPe89rQ4SSgrg5BbTy1NfdUSTWB38xlyi+\r\ncl3pn5K/SpaJGz6c03ywycqRO8DYLsZaXv3U2H7V1PrepSNYMS5O3zRrm9rc\r\n6oWpz8Ogr3bUKQDrl4NMcNDnqjrw7Nz34ZgySoK05gcNbDf6kf5gvWbh5CJ7\r\ns4QD7AAFoZW6sfj+SR9gJnr4DDWMBipq2bjJscOBXieok7UlOY7oLbbjnVH2\r\nSx9DacG8+dgxImEffqxgkdM8YV+QsiBnqV3Hj/LDVSI5DoZZ3/4x4x+70xwM\r\nRIXDzyPgpdc+tk13Dv8zGra3bAJNLdgfOTtkjA6q31gdwMFErJLm2oRfkIIo\r\npUKIrBP+Yb3WHZq0d4u5lxUN0K0/OYB0G/Y=\r\n=tRFq\r\n-----END PGP SIGNATURE-----\r\n"},"main":"lib/index.js","type":"commonjs","types":"./typings/index.d.ts","readme":"
\n\"logo\"\n

telegraf.js

\n\nModern Telegram Bot API framework for Node.js\n\n[![Bot API Version](https://img.shields.io/badge/Bot%20API-v6.0-f36caf.svg?style=flat-square)](https://core.telegram.org/bots/api)\n[![install size](https://flat.badgen.net/packagephobia/install/telegraf)](https://packagephobia.com/result?p=telegraf,node-telegram-bot-api)\n[![GitHub top language](https://img.shields.io/github/languages/top/telegraf/telegraf?style=flat-square&logo=github)](https://github.com/telegraf/telegraf)\n[![English chat](https://img.shields.io/badge/English%20chat-grey?style=flat-square&logo=telegram)](https://t.me/TelegrafJSChat)\n
\n\n> Notice: [@MKRhere](https://github.com/MKRhere) has taken over as the new maintainer of Telegraf. Feel free to reach out via the Telegram group.\n\n## For 3.x users\n\n- [3.x docs](https://telegraf.js.org/v3)\n- [4.0 release notes](https://github.com/telegraf/telegraf/releases/tag/v4.0.0)\n\n## Introduction\n\nBots are special [Telegram](https://telegram.org) accounts designed to handle messages automatically. \nUsers can interact with bots by sending them command messages in private or group chats. \nThese accounts serve as an interface for code running somewhere on your server.\n\nTelegraf is a library that makes it simple for you to develop your own Telegram bots using JavaScript or [TypeScript](https://www.typescriptlang.org/).\n\n### Features\n\n- Full [Telegram Bot API 6.0](https://core.telegram.org/bots/api) support\n- [Excellent TypeScript typings](https://github.com/telegraf/telegraf/releases/tag/v4.0.0)\n- [Lightweight](https://packagephobia.com/result?p=telegraf,node-telegram-bot-api)\n- [AWS **λ**](https://docs.aws.amazon.com/lambda/latest/dg/nodejs-prog-model-handler.html)\n / [Firebase](https://firebase.google.com/products/functions/)\n / [Glitch](https://glitch.com/edit/#!/dashing-light)\n / [Heroku](https://devcenter.heroku.com/articles/getting-started-with-nodejs#introduction)\n / Whatever ready\n- `http/https/fastify/Connect.js/express.js` compatible webhooks\n- Extensible\n\n### Example\n \n```js\nconst { Telegraf } = require('telegraf')\n\nconst bot = new Telegraf(process.env.BOT_TOKEN)\nbot.start((ctx) => ctx.reply('Welcome'))\nbot.help((ctx) => ctx.reply('Send me a sticker'))\nbot.on('sticker', (ctx) => ctx.reply('👍'))\nbot.hears('hi', (ctx) => ctx.reply('Hey there'))\nbot.launch()\n\n// Enable graceful stop\nprocess.once('SIGINT', () => bot.stop('SIGINT'))\nprocess.once('SIGTERM', () => bot.stop('SIGTERM'))\n```\n\n```js\nconst { Telegraf } = require('telegraf')\n\nconst bot = new Telegraf(process.env.BOT_TOKEN)\nbot.command('oldschool', (ctx) => ctx.reply('Hello'))\nbot.command('hipster', Telegraf.reply('λ'))\nbot.launch()\n\n// Enable graceful stop\nprocess.once('SIGINT', () => bot.stop('SIGINT'))\nprocess.once('SIGTERM', () => bot.stop('SIGTERM'))\n```\n\nFor additional bot examples see [`examples`](https://github.com/telegraf/telegraf/tree/develop/docs/examples) folder.\n\n### Resources\n\n- [Getting started](#getting-started)\n- [API reference](https://telegraf.js.org/modules.html)\n- Telegram groups (sorted by number of members):\n * [English](https://t.me/TelegrafJSChat)\n * [Uzbek](https://t.me/botjs_uz)\n * [Ethiopian](https://t.me/telegraf_et)\n- [GitHub Discussions](https://github.com/telegraf/telegraf/discussions)\n- [Dependent repositories](https://libraries.io/npm/telegraf/dependent_repositories)\n\n## Getting started\n\n### Telegram token\n\nTo use the [Telegram Bot API](https://core.telegram.org/bots/api), \nyou first have to [get a bot account](https://core.telegram.org/bots) \nby [chatting with BotFather](https://core.telegram.org/bots#6-botfather).\n\nBotFather will give you a *token*, something like `123456789:AbCdfGhIJKlmNoQQRsTUVwxyZ`.\n\n### Installation\n\n```shellscript\n$ npm install telegraf\n```\nor\n```shellscript\n$ yarn add telegraf\n```\nor\n```shellscript\n$ pnpm add telegraf\n```\n\n### `Telegraf` class\n\n[`Telegraf`] instance represents your bot. It's responsible for obtaining updates and passing them to your handlers.\n\nStart by [listening to commands](https://telegraf.js.org/classes/telegraf.html#command) and [launching](https://telegraf.js.org/classes/telegraf.html#launch) your bot.\n\n### `Context` class\n\n`ctx` you can see in every example is a [`Context`] instance.\n[`Telegraf`] creates one for each incoming update and passes it to your middleware.\nIt contains the `update`, `botInfo`, and `telegram` for making arbitrary Bot API requests,\nas well as shorthand methods and getters.\n\nThis is probably the class you'll be using the most.\n\n\n\n\n#### Shorthand methods\n\n```js\nimport { Telegraf } from 'telegraf'\n\nconst bot = new Telegraf(process.env.BOT_TOKEN)\n\nbot.command('quit', (ctx) => {\n // Explicit usage\n ctx.telegram.leaveChat(ctx.message.chat.id)\n\n // Using context shortcut\n ctx.leaveChat()\n})\n\nbot.on('text', (ctx) => {\n // Explicit usage\n ctx.telegram.sendMessage(ctx.message.chat.id, `Hello ${ctx.state.role}`)\n\n // Using context shortcut\n ctx.reply(`Hello ${ctx.state.role}`)\n})\n\nbot.on('callback_query', (ctx) => {\n // Explicit usage\n ctx.telegram.answerCbQuery(ctx.callbackQuery.id)\n\n // Using context shortcut\n ctx.answerCbQuery()\n})\n\nbot.on('inline_query', (ctx) => {\n const result = []\n // Explicit usage\n ctx.telegram.answerInlineQuery(ctx.inlineQuery.id, result)\n\n // Using context shortcut\n ctx.answerInlineQuery(result)\n})\n\nbot.launch()\n\n// Enable graceful stop\nprocess.once('SIGINT', () => bot.stop('SIGINT'))\nprocess.once('SIGTERM', () => bot.stop('SIGTERM'))\n```\n\n## Production\n\n### Webhooks\n\n```js\nconst { Telegraf } = require('telegraf')\nconst fs = require('fs')\nrequire('dotenv')\n\nconst bot = new Telegraf(process.env.BOT_TOKEN)\n\n// TLS options\nconst tlsOptions = {\n key: fs.readFileSync('server-key.pem'),\n cert: fs.readFileSync('server-cert.pem'),\n ca: [\n // This is necessary only if the client uses a self-signed certificate.\n fs.readFileSync('client-cert.pem')\n ]\n}\n\n// Set telegram webhook\n// The second argument is necessary only if the client uses a self-signed\n// certificate. Including it for a verified certificate may cause things to break.\nbot.telegram.setWebhook('https://server.tld:8443/secret-path', {\n certificate: { source: fs.readFileSync('server-cert.pem') }\n})\n\n// Start https webhook\nbot.startWebhook('/secret-path', tlsOptions, 8443)\n\n// Http webhook, for nginx/heroku users.\nbot.startWebhook('/secret-path', null, 5000)\n```\n\nUse `webhookCallback()` if you want to attach Telegraf to an existing http server.\n\n\n\n```js\nrequire('http')\n .createServer(bot.webhookCallback('/secret-path'))\n .listen(3000)\n\nrequire('https')\n .createServer(tlsOptions, bot.webhookCallback('/secret-path'))\n .listen(8443)\n```\n\n- [AWS Lambda example integration](https://github.com/telegraf/telegraf/blob/develop/docs/examples/aws-lambda.js)\n- [`express` example integration](https://github.com/telegraf/telegraf/blob/develop/docs/examples/express-webhook-bot.ts)\n- [`fastify` example integration](https://github.com/telegraf/telegraf/blob/develop/docs/examples/fastify-webhook-bot.js)\n- [Google Cloud Functions example integration](https://github.com/telegraf/telegraf/blob/develop/docs/examples/google-cloud-function.ts)\n- [`koa` example integration](https://github.com/telegraf/telegraf/blob/develop/docs/examples/koa-webhook-bot.js)\n- [NestJS framework integration module](https://github.com/bukhalo/nestjs-telegraf)\n- Use [`bot.handleUpdate`](https://telegraf.js.org/classes/telegraf.html#handleupdate) to write new integrations\n\n### Error handling\n\nIf middleware throws an error or times out, Telegraf calls `bot.handleError`. If it rethrows, update source closes, and then the error is printed to console and process [hopefully](https://nodejs.org/api/cli.html#cli_unhandled_rejections_mode) terminates. If it does not rethrow, the error is swallowed.\n\nDefault `bot.handleError` always rethrows. You can overwrite it using `bot.catch` if you need to.\n\n⚠️ Always rethrow `TimeoutError`!\n\n⚠️ Swallowing unknown errors might leave the process in invalid state!\n\nℹ️ In production, `systemd` or [`pm2`](https://www.npmjs.com/package/pm2) can restart your bot if it exits for any reason.\n\n## Advanced topics\n\n### Working with files\n\nSupported file sources:\n\n- `Existing file_id`\n- `File path`\n- `Url`\n- `Buffer`\n- `ReadStream`\n\nAlso, you can provide an optional name of a file as `filename` when you send the file.\n\n\n\n```js\nbot.on('message', (ctx) => {\n // resend existing file by file_id\n ctx.replyWithSticker('123123jkbhj6b')\n\n // send file\n ctx.replyWithVideo({ source: '/path/to/video.mp4' })\n\n // send stream\n ctx.replyWithVideo({\n source: fs.createReadStream('/path/to/video.mp4')\n })\n\n // send buffer\n ctx.replyWithVoice({\n source: Buffer.alloc()\n })\n\n // send url via Telegram server\n ctx.replyWithPhoto('https://picsum.photos/200/300/')\n\n // pipe url content\n ctx.replyWithPhoto({\n url: 'https://picsum.photos/200/300/?random',\n filename: 'kitten.jpg'\n })\n})\n```\n\n### Middleware\n\nIn addition to `ctx: Context`, each middleware receives `next: () => Promise`.\n\nAs in Koa and some other middleware-based libraries,\n`await next()` will call next middleware and wait for it to finish:\n\n```js\nimport { Telegraf } from 'telegraf'\n\nconst bot = new Telegraf(process.env.BOT_TOKEN)\n\nbot.use(async (ctx, next) => {\n console.time(`Processing update ${ctx.update.update_id}`)\n await next() // runs next middleware\n // runs after next middleware finishes\n console.timeEnd(`Processing update ${ctx.update.update_id}`)\n})\n\nbot.on('text', (ctx) => ctx.reply('Hello World'))\nbot.launch()\n\n// Enable graceful stop\nprocess.once('SIGINT', () => bot.stop('SIGINT'))\nprocess.once('SIGTERM', () => bot.stop('SIGTERM'))\n```\n\nWith this simple ability, you can:\n- extract information from updates and then `await next()` to avoid disrupting other middleware,\n- like [`Composer`] and [`Router`], `await next()` for updates you don't wish to handle,\n- like [`session`] and [`Scenes`], [extend the context](#extending-context) by mutating `ctx` before `await next()`,\n- [intercept API calls](https://github.com/telegraf/telegraf/discussions/1267#discussioncomment-254525),\n- reuse [other people's code](https://www.npmjs.com/search?q=telegraf-),\n- do whatever **you** come up with!\n\n[`Composer`]: https://telegraf.js.org/classes/composer.html\n[`Context`]: https://telegraf.js.org/classes/context.html\n[`Router`]: https://telegraf.js.org/classes/router.html\n[`session`]: https://telegraf.js.org/modules.html#session\n[`Scenes`]: https://telegraf.js.org/modules/scenes.html\n[`Telegraf`]: https://telegraf.js.org/classes/telegraf.html\n\n### Usage with TypeScript\n\nTelegraf is written in TypeScript and therefore ships with declaration files for the entire library.\nMoreover, it includes types for the complete Telegram API via the [`typegram`](https://github.com/KnorpelSenf/typegram) package.\nWhile most types of Telegraf's API surface are self-explanatory, there's some notable things to keep in mind.\n\n#### Extending `Context`\n\nThe exact shape of `ctx` can vary based on the installed middleware.\nSome custom middleware might register properties on the context object that Telegraf is not aware of.\nConsequently, you can change the type of `ctx` to fit your needs in order for you to have proper TypeScript types for your data.\nThis is done through Generics:\n\n```ts\nimport { Context, Telegraf } from 'telegraf'\n\n// Define your own context type\ninterface MyContext extends Context {\n myProp?: string\n myOtherProp?: number\n}\n\n// Create your bot and tell it about your context type\nconst bot = new Telegraf('SECRET TOKEN')\n\n// Register middleware and launch your bot as usual\nbot.use((ctx, next) => {\n // Yay, `myProp` is now available here as `string | undefined`!\n ctx.myProp = ctx.chat?.first_name?.toUpperCase()\n return next()\n})\n// ...\n```\n","engines":{"node":"^12.20.0 || >=14.13.1"},"exports":{".":"./lib/index.js","./types":"./types.js","./future":"./future.js"},"gitHead":"50b35ba9205c32d941ce693953d627369d7ba89d","scripts":{"lint":"eslint .","test":"ava test/*","build":"tsc --build docs/examples","clean":"git clean -fX .eslintcache docs/build/ lib/ typings/","checks":"npm test && npm run lint","prepare":"npm run --silent build","pretest":"npm run build","refresh":"npm run clean && npm ci","build:docs":"typedoc src/index.ts"},"_npmUser":{"name":"mkrhere","email":"muthukumar@thefeathers.in"},"deprecated":"Switch to 4.9.0 or higher","repository":{"url":"git+ssh://git@github.com/telegraf/telegraf.git","type":"git"},"_npmVersion":"8.5.5","description":"Modern Telegram Bot Framework","directories":{},"_nodeVersion":"16.15.0","dependencies":{"debug":"^4.3.3","minimist":"^1.2.6","typegram":"^3.9.0","p-timeout":"^4.1.0","node-fetch":"^2.6.7","module-alias":"^2.2.2","safe-compare":"^1.1.4","sandwich-stream":"^2.0.2","abort-controller":"^3.0.0"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"ava":"^4.0.1","eslint":"^8.8.0","typedoc":"^0.22.11","prettier":"^2.5.1","typescript":"^4.5.5","@types/node":"^17.0.14","@types/debug":"^4.1.7","@types/node-fetch":"^2.5.12","eslint-plugin-ava":"^13.2.0","eslint-plugin-node":"^11.1.0","@types/safe-compare":"^1.1.0","eslint-plugin-import":"^2.25.4","eslint-plugin-promise":"^6.0.0","eslint-config-prettier":"^8.3.0","eslint-plugin-prettier":"^4.0.0","eslint-plugin-standard":"^5.0.0","@typescript-eslint/parser":"^5.10.2","@typescript-eslint/eslint-plugin":"^5.10.2"},"_npmOperationalInternal":{"tmp":"tmp/telegraf_4.9.0-canary.4_1652595992466_0.38971792564759933","host":"s3://npm-registry-packages"}},"4.9.0-canary.5":{"name":"telegraf","version":"4.9.0-canary.5","keywords":["telegraf","telegram","telegram bot api","bot","botapi","bot framework"],"author":{"name":"Vitaly Domnikov","email":"oss@vitaly.codes"},"license":"MIT","_id":"telegraf@4.9.0-canary.5","maintainers":[{"name":"dotcypress","email":"dotcypress@gmail.com"},{"name":"mkrhere","email":"muthukumar@thefeathers.in"},{"name":"wojpawlik","email":"woj.pawlik@gmail.com"}],"homepage":"https://telegraf.js.org","bugs":{"url":"https://github.com/telegraf/telegraf/issues"},"bin":{"telegraf":"bin/telegraf"},"dist":{"shasum":"a6210891d396083d326d736173db3c1798d47db6","tarball":"https://registry.npmjs.org/telegraf/-/telegraf-4.9.0-canary.5.tgz","fileCount":118,"integrity":"sha512-JXFTdBi2HJpTxWvy0EsRQi8z0l5IcwyonOUlNBgOpLlryUn+nMHMUgs4GiVUS9HTUW5dFzrh9Q/9d18S+8EAuQ==","signatures":[{"sig":"MEUCIQCIHK7Xu/OjZ7V9U6ypXp2szu4j6GYlMqgaUTQ2sGA/gQIgIgFJIwWxse0c2K9fqANjj7dGX+vyyS4iGZAHuPv/UsI=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":482577,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJigJ0rACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmprbQ/+IZAq/32PBS4sOdLLxZVS/ibifpG+R8RSypbr5R+X48oE7Ksy\r\n7RVt2eNatQVLaIeJiUpenmEx7nItuMe2A6/iJ3dFzUhwfcnTbPA1ySAKnysH\r\nSZ+vk5lulaiScoImo1CY7vEAwFJy28BcG4rVE5VxYYuFBt6UImHuI9B3sghh\r\nZQtu+zCB3WI9Uh4dRSdNoGwY0zng1WRiosSCtAIpXhhN2heXtHSpjxNgdc/p\r\n2UFI5+0GpfTtaEXcZ7bquciKelNJoiUOmMycoKrq3AYShZWKtk4Ls74c+aS4\r\nDl8fv371Io0sLbh0NHIgpokjVa5kGCjdPqf/yBiUS1JYvQgr4juiZsgsVOVS\r\nd7hQZcIuLZNMaxAFtrE47JvEyXkl0CGdkO8TGSK2Ykjk/U3tteEkbesPA8ol\r\nxx12zFnNZtxPtefZrZOnuMnrZfLOHF3Izeclars/Y2D+RxO6lGtk+0QYgKmy\r\nFFQos69Q6xy8zvr8Vi16lYsQc8R7G+70Gr8bWtsIEvYFT2rRVk/glp9Tjmim\r\n91lXee2DdU+JCQC4eTse8Gsfyx2/nvRLsPFtpWEn3xGu8K0Hrx3Ifcg0K4au\r\ndhCPpeuyKj/oSQ4BW0lfP/YRn92oq8CZ2d5gPHsfaDAV4Av67kpMUSCDwysQ\r\ndwVPo6y8wszeYh47F82oX3txpp+lHpiCQR0=\r\n=WpIO\r\n-----END PGP SIGNATURE-----\r\n"},"main":"lib/index.js","type":"commonjs","types":"./typings/index.d.ts","readme":"
\n\"logo\"\n

telegraf.js

\n\nModern Telegram Bot API framework for Node.js\n\n[![Bot API Version](https://img.shields.io/badge/Bot%20API-v6.0-f36caf.svg?style=flat-square)](https://core.telegram.org/bots/api)\n[![install size](https://flat.badgen.net/packagephobia/install/telegraf)](https://packagephobia.com/result?p=telegraf,node-telegram-bot-api)\n[![GitHub top language](https://img.shields.io/github/languages/top/telegraf/telegraf?style=flat-square&logo=github)](https://github.com/telegraf/telegraf)\n[![English chat](https://img.shields.io/badge/English%20chat-grey?style=flat-square&logo=telegram)](https://t.me/TelegrafJSChat)\n
\n\n> Notice: [@MKRhere](https://github.com/MKRhere) has taken over as the new maintainer of Telegraf. Feel free to reach out via the Telegram group.\n\n## For 3.x users\n\n- [3.x docs](https://telegraf.js.org/v3)\n- [4.0 release notes](https://github.com/telegraf/telegraf/releases/tag/v4.0.0)\n\n## Introduction\n\nBots are special [Telegram](https://telegram.org) accounts designed to handle messages automatically. \nUsers can interact with bots by sending them command messages in private or group chats. \nThese accounts serve as an interface for code running somewhere on your server.\n\nTelegraf is a library that makes it simple for you to develop your own Telegram bots using JavaScript or [TypeScript](https://www.typescriptlang.org/).\n\n### Features\n\n- Full [Telegram Bot API 6.0](https://core.telegram.org/bots/api) support\n- [Excellent TypeScript typings](https://github.com/telegraf/telegraf/releases/tag/v4.0.0)\n- [Lightweight](https://packagephobia.com/result?p=telegraf,node-telegram-bot-api)\n- [AWS **λ**](https://docs.aws.amazon.com/lambda/latest/dg/nodejs-prog-model-handler.html)\n / [Firebase](https://firebase.google.com/products/functions/)\n / [Glitch](https://glitch.com/edit/#!/dashing-light)\n / [Heroku](https://devcenter.heroku.com/articles/getting-started-with-nodejs#introduction)\n / Whatever ready\n- `http/https/fastify/Connect.js/express.js` compatible webhooks\n- Extensible\n\n### Example\n \n```js\nconst { Telegraf } = require('telegraf')\n\nconst bot = new Telegraf(process.env.BOT_TOKEN)\nbot.start((ctx) => ctx.reply('Welcome'))\nbot.help((ctx) => ctx.reply('Send me a sticker'))\nbot.on('sticker', (ctx) => ctx.reply('👍'))\nbot.hears('hi', (ctx) => ctx.reply('Hey there'))\nbot.launch()\n\n// Enable graceful stop\nprocess.once('SIGINT', () => bot.stop('SIGINT'))\nprocess.once('SIGTERM', () => bot.stop('SIGTERM'))\n```\n\n```js\nconst { Telegraf } = require('telegraf')\n\nconst bot = new Telegraf(process.env.BOT_TOKEN)\nbot.command('oldschool', (ctx) => ctx.reply('Hello'))\nbot.command('hipster', Telegraf.reply('λ'))\nbot.launch()\n\n// Enable graceful stop\nprocess.once('SIGINT', () => bot.stop('SIGINT'))\nprocess.once('SIGTERM', () => bot.stop('SIGTERM'))\n```\n\nFor additional bot examples see [`examples`](https://github.com/telegraf/telegraf/tree/develop/docs/examples) folder.\n\n### Resources\n\n- [Getting started](#getting-started)\n- [API reference](https://telegraf.js.org/modules.html)\n- Telegram groups (sorted by number of members):\n * [English](https://t.me/TelegrafJSChat)\n * [Uzbek](https://t.me/botjs_uz)\n * [Ethiopian](https://t.me/telegraf_et)\n- [GitHub Discussions](https://github.com/telegraf/telegraf/discussions)\n- [Dependent repositories](https://libraries.io/npm/telegraf/dependent_repositories)\n\n## Getting started\n\n### Telegram token\n\nTo use the [Telegram Bot API](https://core.telegram.org/bots/api), \nyou first have to [get a bot account](https://core.telegram.org/bots) \nby [chatting with BotFather](https://core.telegram.org/bots#6-botfather).\n\nBotFather will give you a *token*, something like `123456789:AbCdfGhIJKlmNoQQRsTUVwxyZ`.\n\n### Installation\n\n```shellscript\n$ npm install telegraf\n```\nor\n```shellscript\n$ yarn add telegraf\n```\nor\n```shellscript\n$ pnpm add telegraf\n```\n\n### `Telegraf` class\n\n[`Telegraf`] instance represents your bot. It's responsible for obtaining updates and passing them to your handlers.\n\nStart by [listening to commands](https://telegraf.js.org/classes/telegraf.html#command) and [launching](https://telegraf.js.org/classes/telegraf.html#launch) your bot.\n\n### `Context` class\n\n`ctx` you can see in every example is a [`Context`] instance.\n[`Telegraf`] creates one for each incoming update and passes it to your middleware.\nIt contains the `update`, `botInfo`, and `telegram` for making arbitrary Bot API requests,\nas well as shorthand methods and getters.\n\nThis is probably the class you'll be using the most.\n\n\n\n\n#### Shorthand methods\n\n```js\nimport { Telegraf } from 'telegraf'\n\nconst bot = new Telegraf(process.env.BOT_TOKEN)\n\nbot.command('quit', (ctx) => {\n // Explicit usage\n ctx.telegram.leaveChat(ctx.message.chat.id)\n\n // Using context shortcut\n ctx.leaveChat()\n})\n\nbot.on('text', (ctx) => {\n // Explicit usage\n ctx.telegram.sendMessage(ctx.message.chat.id, `Hello ${ctx.state.role}`)\n\n // Using context shortcut\n ctx.reply(`Hello ${ctx.state.role}`)\n})\n\nbot.on('callback_query', (ctx) => {\n // Explicit usage\n ctx.telegram.answerCbQuery(ctx.callbackQuery.id)\n\n // Using context shortcut\n ctx.answerCbQuery()\n})\n\nbot.on('inline_query', (ctx) => {\n const result = []\n // Explicit usage\n ctx.telegram.answerInlineQuery(ctx.inlineQuery.id, result)\n\n // Using context shortcut\n ctx.answerInlineQuery(result)\n})\n\nbot.launch()\n\n// Enable graceful stop\nprocess.once('SIGINT', () => bot.stop('SIGINT'))\nprocess.once('SIGTERM', () => bot.stop('SIGTERM'))\n```\n\n## Production\n\n### Webhooks\n\n```js\nconst { Telegraf } = require('telegraf')\nconst fs = require('fs')\nrequire('dotenv')\n\nconst bot = new Telegraf(process.env.BOT_TOKEN)\n\n// TLS options\nconst tlsOptions = {\n key: fs.readFileSync('server-key.pem'),\n cert: fs.readFileSync('server-cert.pem'),\n ca: [\n // This is necessary only if the client uses a self-signed certificate.\n fs.readFileSync('client-cert.pem')\n ]\n}\n\n// Set telegram webhook\n// The second argument is necessary only if the client uses a self-signed\n// certificate. Including it for a verified certificate may cause things to break.\nbot.telegram.setWebhook('https://server.tld:8443/secret-path', {\n certificate: { source: fs.readFileSync('server-cert.pem') }\n})\n\n// Start https webhook\nbot.startWebhook('/secret-path', tlsOptions, 8443)\n\n// Http webhook, for nginx/heroku users.\nbot.startWebhook('/secret-path', null, 5000)\n```\n\nUse `webhookCallback()` if you want to attach Telegraf to an existing http server.\n\n\n\n```js\nrequire('http')\n .createServer(bot.webhookCallback('/secret-path'))\n .listen(3000)\n\nrequire('https')\n .createServer(tlsOptions, bot.webhookCallback('/secret-path'))\n .listen(8443)\n```\n\n- [AWS Lambda example integration](https://github.com/telegraf/telegraf/blob/develop/docs/examples/aws-lambda.js)\n- [`express` example integration](https://github.com/telegraf/telegraf/blob/develop/docs/examples/express-webhook-bot.ts)\n- [`fastify` example integration](https://github.com/telegraf/telegraf/blob/develop/docs/examples/fastify-webhook-bot.js)\n- [Google Cloud Functions example integration](https://github.com/telegraf/telegraf/blob/develop/docs/examples/google-cloud-function.ts)\n- [`koa` example integration](https://github.com/telegraf/telegraf/blob/develop/docs/examples/koa-webhook-bot.js)\n- [NestJS framework integration module](https://github.com/bukhalo/nestjs-telegraf)\n- Use [`bot.handleUpdate`](https://telegraf.js.org/classes/telegraf.html#handleupdate) to write new integrations\n\n### Error handling\n\nIf middleware throws an error or times out, Telegraf calls `bot.handleError`. If it rethrows, update source closes, and then the error is printed to console and process [hopefully](https://nodejs.org/api/cli.html#cli_unhandled_rejections_mode) terminates. If it does not rethrow, the error is swallowed.\n\nDefault `bot.handleError` always rethrows. You can overwrite it using `bot.catch` if you need to.\n\n⚠️ Always rethrow `TimeoutError`!\n\n⚠️ Swallowing unknown errors might leave the process in invalid state!\n\nℹ️ In production, `systemd` or [`pm2`](https://www.npmjs.com/package/pm2) can restart your bot if it exits for any reason.\n\n## Advanced topics\n\n### Working with files\n\nSupported file sources:\n\n- `Existing file_id`\n- `File path`\n- `Url`\n- `Buffer`\n- `ReadStream`\n\nAlso, you can provide an optional name of a file as `filename` when you send the file.\n\n\n\n```js\nbot.on('message', (ctx) => {\n // resend existing file by file_id\n ctx.replyWithSticker('123123jkbhj6b')\n\n // send file\n ctx.replyWithVideo({ source: '/path/to/video.mp4' })\n\n // send stream\n ctx.replyWithVideo({\n source: fs.createReadStream('/path/to/video.mp4')\n })\n\n // send buffer\n ctx.replyWithVoice({\n source: Buffer.alloc()\n })\n\n // send url via Telegram server\n ctx.replyWithPhoto('https://picsum.photos/200/300/')\n\n // pipe url content\n ctx.replyWithPhoto({\n url: 'https://picsum.photos/200/300/?random',\n filename: 'kitten.jpg'\n })\n})\n```\n\n### Middleware\n\nIn addition to `ctx: Context`, each middleware receives `next: () => Promise`.\n\nAs in Koa and some other middleware-based libraries,\n`await next()` will call next middleware and wait for it to finish:\n\n```js\nimport { Telegraf } from 'telegraf'\n\nconst bot = new Telegraf(process.env.BOT_TOKEN)\n\nbot.use(async (ctx, next) => {\n console.time(`Processing update ${ctx.update.update_id}`)\n await next() // runs next middleware\n // runs after next middleware finishes\n console.timeEnd(`Processing update ${ctx.update.update_id}`)\n})\n\nbot.on('text', (ctx) => ctx.reply('Hello World'))\nbot.launch()\n\n// Enable graceful stop\nprocess.once('SIGINT', () => bot.stop('SIGINT'))\nprocess.once('SIGTERM', () => bot.stop('SIGTERM'))\n```\n\nWith this simple ability, you can:\n- extract information from updates and then `await next()` to avoid disrupting other middleware,\n- like [`Composer`] and [`Router`], `await next()` for updates you don't wish to handle,\n- like [`session`] and [`Scenes`], [extend the context](#extending-context) by mutating `ctx` before `await next()`,\n- [intercept API calls](https://github.com/telegraf/telegraf/discussions/1267#discussioncomment-254525),\n- reuse [other people's code](https://www.npmjs.com/search?q=telegraf-),\n- do whatever **you** come up with!\n\n[`Composer`]: https://telegraf.js.org/classes/composer.html\n[`Context`]: https://telegraf.js.org/classes/context.html\n[`Router`]: https://telegraf.js.org/classes/router.html\n[`session`]: https://telegraf.js.org/modules.html#session\n[`Scenes`]: https://telegraf.js.org/modules/scenes.html\n[`Telegraf`]: https://telegraf.js.org/classes/telegraf.html\n\n### Usage with TypeScript\n\nTelegraf is written in TypeScript and therefore ships with declaration files for the entire library.\nMoreover, it includes types for the complete Telegram API via the [`typegram`](https://github.com/KnorpelSenf/typegram) package.\nWhile most types of Telegraf's API surface are self-explanatory, there's some notable things to keep in mind.\n\n#### Extending `Context`\n\nThe exact shape of `ctx` can vary based on the installed middleware.\nSome custom middleware might register properties on the context object that Telegraf is not aware of.\nConsequently, you can change the type of `ctx` to fit your needs in order for you to have proper TypeScript types for your data.\nThis is done through Generics:\n\n```ts\nimport { Context, Telegraf } from 'telegraf'\n\n// Define your own context type\ninterface MyContext extends Context {\n myProp?: string\n myOtherProp?: number\n}\n\n// Create your bot and tell it about your context type\nconst bot = new Telegraf('SECRET TOKEN')\n\n// Register middleware and launch your bot as usual\nbot.use((ctx, next) => {\n // Yay, `myProp` is now available here as `string | undefined`!\n ctx.myProp = ctx.chat?.first_name?.toUpperCase()\n return next()\n})\n// ...\n```\n","engines":{"node":"^12.20.0 || >=14.13.1"},"exports":{".":"./lib/index.js","./types":"./types.js","./future":"./future.js"},"gitHead":"50b35ba9205c32d941ce693953d627369d7ba89d","scripts":{"lint":"eslint .","test":"ava test/*","build":"tsc --build docs/examples","clean":"git clean -fX .eslintcache docs/build/ lib/ typings/","checks":"npm test && npm run lint","prepare":"npm run --silent build","pretest":"npm run build","refresh":"npm run clean && npm ci","build:docs":"typedoc src/index.ts"},"_npmUser":{"name":"mkrhere","email":"muthukumar@thefeathers.in"},"deprecated":"Switch to 4.9.0 or higher","repository":{"url":"git+ssh://git@github.com/telegraf/telegraf.git","type":"git"},"_npmVersion":"8.5.5","description":"Modern Telegram Bot Framework","directories":{},"_nodeVersion":"16.15.0","dependencies":{"debug":"^4.3.3","minimist":"^1.2.6","typegram":"^3.9.0","p-timeout":"^4.1.0","node-fetch":"^2.6.7","module-alias":"^2.2.2","safe-compare":"^1.1.4","sandwich-stream":"^2.0.2","abort-controller":"^3.0.0"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"ava":"^4.0.1","eslint":"^8.8.0","typedoc":"^0.22.11","prettier":"^2.5.1","typescript":"^4.5.5","@types/node":"^17.0.14","@types/debug":"^4.1.7","@types/node-fetch":"^2.5.12","eslint-plugin-ava":"^13.2.0","eslint-plugin-node":"^11.1.0","@types/safe-compare":"^1.1.0","eslint-plugin-import":"^2.25.4","eslint-plugin-promise":"^6.0.0","eslint-config-prettier":"^8.3.0","eslint-plugin-prettier":"^4.0.0","eslint-plugin-standard":"^5.0.0","@typescript-eslint/parser":"^5.10.2","@typescript-eslint/eslint-plugin":"^5.10.2"},"_npmOperationalInternal":{"tmp":"tmp/telegraf_4.9.0-canary.5_1652596011393_0.683429926417999","host":"s3://npm-registry-packages"}},"4.9.0-canary.6":{"name":"telegraf","version":"4.9.0-canary.6","keywords":["telegraf","telegram","telegram bot api","bot","botapi","bot framework"],"author":{"name":"Vitaly Domnikov","email":"oss@vitaly.codes"},"license":"MIT","_id":"telegraf@4.9.0-canary.6","maintainers":[{"name":"dotcypress","email":"dotcypress@gmail.com"},{"name":"mkrhere","email":"muthukumar@thefeathers.in"},{"name":"wojpawlik","email":"woj.pawlik@gmail.com"}],"homepage":"https://telegraf.js.org","bugs":{"url":"https://github.com/telegraf/telegraf/issues"},"bin":{"telegraf":"bin/telegraf"},"dist":{"shasum":"51e6ac18363aff429eb37ba2551e4676a0f6a75a","tarball":"https://registry.npmjs.org/telegraf/-/telegraf-4.9.0-canary.6.tgz","fileCount":120,"integrity":"sha512-+IHHy9OxcRAEwDAKd2pubCcR6KT7QeLjUJGSVjJxS3/qSpMfsIJYkXBAO3lt8U2xL7iAwv+0ew/vPT9EC6ePdQ==","signatures":[{"sig":"MEUCIQCeskT4sbRz1tR8QW4p75MDheEfhlcOgkTQ2CTA9GppMAIgGkygNIpluWao4SDjeSyPCFdC0wDVBxMamqLHH/BE4K0=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":482499,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJigW42ACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmph/A//eGxIuQ1mpLO/aCqy1iLkMkETumeYrjusfFx3wf3Q4Yo4THFs\r\njH8jiT0DZdb0YJIL6vgQOUTnecZ7B4n//88lpVc7jDynN/8/Nc9WjuZUnlE1\r\n5eVK6G+Yb7/SquFe5Z1rcUYl8G39XBYfxb2BPHKA4w+RxAqJA9o2rV/+bS9X\r\nvfbgfn6/KXhgtWZY5OLC57xeTpViIvPrAb5MGWdtGhwMDc3CI5vxPEpj0Oiz\r\n5WvSr5mYp3iBY9cz7HQQXQGzPLqIFKdQEpVzztUgyDcIn6STdBvYu0jfX5Oi\r\niaZrcGXHHBMxzxG+6eLgOF7LuTx2PRt4O7P9OC41s60oNSiNz8KKKIZG0k3S\r\np6hUa3Nn8V3Vk4h3O6FgwTEwJy6e46gQI9S4K2IuWeixdf5YvEqPs+YCO/A/\r\nNW++85OJh0UWlgiw2R0CVfEKnE7hgKqGmTG8mGM5gfhRZ9KzQinFU8ZLzrOU\r\ny+QXF62lpU6h5jIchu9uQpNdJ86iQdQoVxYA/bkLInRjtXG9q8UbG43+Gk4x\r\nUz4jP0QUZDg2HKoqrtieQf3xT2yhdIgVQg6ehUKYNlvVzenoYeMVby900JQ8\r\ng+bvyzGNq6yQBpaKNseESvc8UC73r+INlnN/28Gsy9QfU7O7oDOaHHW6JEcG\r\nqRkDH2zX0KWM3WaVdQKat1qnTWMuHNyPy/c=\r\n=IeBb\r\n-----END PGP SIGNATURE-----\r\n"},"main":"lib/index.js","type":"commonjs","types":"./typings/index.d.ts","readme":"
\n\"logo\"\n

telegraf.js

\n\nModern Telegram Bot API framework for Node.js\n\n[![Bot API Version](https://img.shields.io/badge/Bot%20API-v6.0-f36caf.svg?style=flat-square)](https://core.telegram.org/bots/api)\n[![install size](https://flat.badgen.net/packagephobia/install/telegraf)](https://packagephobia.com/result?p=telegraf,node-telegram-bot-api)\n[![GitHub top language](https://img.shields.io/github/languages/top/telegraf/telegraf?style=flat-square&logo=github)](https://github.com/telegraf/telegraf)\n[![English chat](https://img.shields.io/badge/English%20chat-grey?style=flat-square&logo=telegram)](https://t.me/TelegrafJSChat)\n
\n\n> Notice: [@MKRhere](https://github.com/MKRhere) has taken over as the new maintainer of Telegraf. Feel free to reach out via the Telegram group.\n\n## For 3.x users\n\n- [3.x docs](https://telegraf.js.org/v3)\n- [4.0 release notes](https://github.com/telegraf/telegraf/releases/tag/v4.0.0)\n\n## Introduction\n\nBots are special [Telegram](https://telegram.org) accounts designed to handle messages automatically. \nUsers can interact with bots by sending them command messages in private or group chats. \nThese accounts serve as an interface for code running somewhere on your server.\n\nTelegraf is a library that makes it simple for you to develop your own Telegram bots using JavaScript or [TypeScript](https://www.typescriptlang.org/).\n\n### Features\n\n- Full [Telegram Bot API 6.0](https://core.telegram.org/bots/api) support\n- [Excellent TypeScript typings](https://github.com/telegraf/telegraf/releases/tag/v4.0.0)\n- [Lightweight](https://packagephobia.com/result?p=telegraf,node-telegram-bot-api)\n- [AWS **λ**](https://docs.aws.amazon.com/lambda/latest/dg/nodejs-prog-model-handler.html)\n / [Firebase](https://firebase.google.com/products/functions/)\n / [Glitch](https://glitch.com/edit/#!/dashing-light)\n / [Heroku](https://devcenter.heroku.com/articles/getting-started-with-nodejs#introduction)\n / Whatever ready\n- `http/https/fastify/Connect.js/express.js` compatible webhooks\n- Extensible\n\n### Example\n \n```js\nconst { Telegraf } = require('telegraf')\n\nconst bot = new Telegraf(process.env.BOT_TOKEN)\nbot.start((ctx) => ctx.reply('Welcome'))\nbot.help((ctx) => ctx.reply('Send me a sticker'))\nbot.on('sticker', (ctx) => ctx.reply('👍'))\nbot.hears('hi', (ctx) => ctx.reply('Hey there'))\nbot.launch()\n\n// Enable graceful stop\nprocess.once('SIGINT', () => bot.stop('SIGINT'))\nprocess.once('SIGTERM', () => bot.stop('SIGTERM'))\n```\n\n```js\nconst { Telegraf } = require('telegraf')\n\nconst bot = new Telegraf(process.env.BOT_TOKEN)\nbot.command('oldschool', (ctx) => ctx.reply('Hello'))\nbot.command('hipster', Telegraf.reply('λ'))\nbot.launch()\n\n// Enable graceful stop\nprocess.once('SIGINT', () => bot.stop('SIGINT'))\nprocess.once('SIGTERM', () => bot.stop('SIGTERM'))\n```\n\nFor additional bot examples see [`examples`](https://github.com/telegraf/telegraf/tree/develop/docs/examples) folder.\n\n### Resources\n\n- [Getting started](#getting-started)\n- [API reference](https://telegraf.js.org/modules.html)\n- Telegram groups (sorted by number of members):\n * [English](https://t.me/TelegrafJSChat)\n * [Uzbek](https://t.me/botjs_uz)\n * [Ethiopian](https://t.me/telegraf_et)\n- [GitHub Discussions](https://github.com/telegraf/telegraf/discussions)\n- [Dependent repositories](https://libraries.io/npm/telegraf/dependent_repositories)\n\n## Getting started\n\n### Telegram token\n\nTo use the [Telegram Bot API](https://core.telegram.org/bots/api), \nyou first have to [get a bot account](https://core.telegram.org/bots) \nby [chatting with BotFather](https://core.telegram.org/bots#6-botfather).\n\nBotFather will give you a *token*, something like `123456789:AbCdfGhIJKlmNoQQRsTUVwxyZ`.\n\n### Installation\n\n```shellscript\n$ npm install telegraf\n```\nor\n```shellscript\n$ yarn add telegraf\n```\nor\n```shellscript\n$ pnpm add telegraf\n```\n\n### `Telegraf` class\n\n[`Telegraf`] instance represents your bot. It's responsible for obtaining updates and passing them to your handlers.\n\nStart by [listening to commands](https://telegraf.js.org/classes/telegraf.html#command) and [launching](https://telegraf.js.org/classes/telegraf.html#launch) your bot.\n\n### `Context` class\n\n`ctx` you can see in every example is a [`Context`] instance.\n[`Telegraf`] creates one for each incoming update and passes it to your middleware.\nIt contains the `update`, `botInfo`, and `telegram` for making arbitrary Bot API requests,\nas well as shorthand methods and getters.\n\nThis is probably the class you'll be using the most.\n\n\n\n\n#### Shorthand methods\n\n```js\nimport { Telegraf } from 'telegraf'\n\nconst bot = new Telegraf(process.env.BOT_TOKEN)\n\nbot.command('quit', (ctx) => {\n // Explicit usage\n ctx.telegram.leaveChat(ctx.message.chat.id)\n\n // Using context shortcut\n ctx.leaveChat()\n})\n\nbot.on('text', (ctx) => {\n // Explicit usage\n ctx.telegram.sendMessage(ctx.message.chat.id, `Hello ${ctx.state.role}`)\n\n // Using context shortcut\n ctx.reply(`Hello ${ctx.state.role}`)\n})\n\nbot.on('callback_query', (ctx) => {\n // Explicit usage\n ctx.telegram.answerCbQuery(ctx.callbackQuery.id)\n\n // Using context shortcut\n ctx.answerCbQuery()\n})\n\nbot.on('inline_query', (ctx) => {\n const result = []\n // Explicit usage\n ctx.telegram.answerInlineQuery(ctx.inlineQuery.id, result)\n\n // Using context shortcut\n ctx.answerInlineQuery(result)\n})\n\nbot.launch()\n\n// Enable graceful stop\nprocess.once('SIGINT', () => bot.stop('SIGINT'))\nprocess.once('SIGTERM', () => bot.stop('SIGTERM'))\n```\n\n## Production\n\n### Webhooks\n\n```js\nconst { Telegraf } = require('telegraf')\nconst fs = require('fs')\nrequire('dotenv')\n\nconst bot = new Telegraf(process.env.BOT_TOKEN)\n\n// TLS options\nconst tlsOptions = {\n key: fs.readFileSync('server-key.pem'),\n cert: fs.readFileSync('server-cert.pem'),\n ca: [\n // This is necessary only if the client uses a self-signed certificate.\n fs.readFileSync('client-cert.pem')\n ]\n}\n\n// Set telegram webhook\n// The second argument is necessary only if the client uses a self-signed\n// certificate. Including it for a verified certificate may cause things to break.\nbot.telegram.setWebhook('https://server.tld:8443/secret-path', {\n certificate: { source: fs.readFileSync('server-cert.pem') }\n})\n\n// Start https webhook\nbot.startWebhook('/secret-path', tlsOptions, 8443)\n\n// Http webhook, for nginx/heroku users.\nbot.startWebhook('/secret-path', null, 5000)\n```\n\nUse `webhookCallback()` if you want to attach Telegraf to an existing http server.\n\n\n\n```js\nrequire('http')\n .createServer(bot.webhookCallback('/secret-path'))\n .listen(3000)\n\nrequire('https')\n .createServer(tlsOptions, bot.webhookCallback('/secret-path'))\n .listen(8443)\n```\n\n- [AWS Lambda example integration](https://github.com/telegraf/telegraf/blob/develop/docs/examples/aws-lambda.js)\n- [`express` example integration](https://github.com/telegraf/telegraf/blob/develop/docs/examples/express-webhook-bot.ts)\n- [`fastify` example integration](https://github.com/telegraf/telegraf/blob/develop/docs/examples/fastify-webhook-bot.js)\n- [Google Cloud Functions example integration](https://github.com/telegraf/telegraf/blob/develop/docs/examples/google-cloud-function.ts)\n- [`koa` example integration](https://github.com/telegraf/telegraf/blob/develop/docs/examples/koa-webhook-bot.js)\n- [NestJS framework integration module](https://github.com/bukhalo/nestjs-telegraf)\n- Use [`bot.handleUpdate`](https://telegraf.js.org/classes/telegraf.html#handleupdate) to write new integrations\n\n### Error handling\n\nIf middleware throws an error or times out, Telegraf calls `bot.handleError`. If it rethrows, update source closes, and then the error is printed to console and process [hopefully](https://nodejs.org/api/cli.html#cli_unhandled_rejections_mode) terminates. If it does not rethrow, the error is swallowed.\n\nDefault `bot.handleError` always rethrows. You can overwrite it using `bot.catch` if you need to.\n\n⚠️ Always rethrow `TimeoutError`!\n\n⚠️ Swallowing unknown errors might leave the process in invalid state!\n\nℹ️ In production, `systemd` or [`pm2`](https://www.npmjs.com/package/pm2) can restart your bot if it exits for any reason.\n\n## Advanced topics\n\n### Working with files\n\nSupported file sources:\n\n- `Existing file_id`\n- `File path`\n- `Url`\n- `Buffer`\n- `ReadStream`\n\nAlso, you can provide an optional name of a file as `filename` when you send the file.\n\n\n\n```js\nbot.on('message', (ctx) => {\n // resend existing file by file_id\n ctx.replyWithSticker('123123jkbhj6b')\n\n // send file\n ctx.replyWithVideo({ source: '/path/to/video.mp4' })\n\n // send stream\n ctx.replyWithVideo({\n source: fs.createReadStream('/path/to/video.mp4')\n })\n\n // send buffer\n ctx.replyWithVoice({\n source: Buffer.alloc()\n })\n\n // send url via Telegram server\n ctx.replyWithPhoto('https://picsum.photos/200/300/')\n\n // pipe url content\n ctx.replyWithPhoto({\n url: 'https://picsum.photos/200/300/?random',\n filename: 'kitten.jpg'\n })\n})\n```\n\n### Middleware\n\nIn addition to `ctx: Context`, each middleware receives `next: () => Promise`.\n\nAs in Koa and some other middleware-based libraries,\n`await next()` will call next middleware and wait for it to finish:\n\n```js\nimport { Telegraf } from 'telegraf'\n\nconst bot = new Telegraf(process.env.BOT_TOKEN)\n\nbot.use(async (ctx, next) => {\n console.time(`Processing update ${ctx.update.update_id}`)\n await next() // runs next middleware\n // runs after next middleware finishes\n console.timeEnd(`Processing update ${ctx.update.update_id}`)\n})\n\nbot.on('text', (ctx) => ctx.reply('Hello World'))\nbot.launch()\n\n// Enable graceful stop\nprocess.once('SIGINT', () => bot.stop('SIGINT'))\nprocess.once('SIGTERM', () => bot.stop('SIGTERM'))\n```\n\nWith this simple ability, you can:\n- extract information from updates and then `await next()` to avoid disrupting other middleware,\n- like [`Composer`] and [`Router`], `await next()` for updates you don't wish to handle,\n- like [`session`] and [`Scenes`], [extend the context](#extending-context) by mutating `ctx` before `await next()`,\n- [intercept API calls](https://github.com/telegraf/telegraf/discussions/1267#discussioncomment-254525),\n- reuse [other people's code](https://www.npmjs.com/search?q=telegraf-),\n- do whatever **you** come up with!\n\n[`Composer`]: https://telegraf.js.org/classes/composer.html\n[`Context`]: https://telegraf.js.org/classes/context.html\n[`Router`]: https://telegraf.js.org/classes/router.html\n[`session`]: https://telegraf.js.org/modules.html#session\n[`Scenes`]: https://telegraf.js.org/modules/scenes.html\n[`Telegraf`]: https://telegraf.js.org/classes/telegraf.html\n\n### Usage with TypeScript\n\nTelegraf is written in TypeScript and therefore ships with declaration files for the entire library.\nMoreover, it includes types for the complete Telegram API via the [`typegram`](https://github.com/KnorpelSenf/typegram) package.\nWhile most types of Telegraf's API surface are self-explanatory, there's some notable things to keep in mind.\n\n#### Extending `Context`\n\nThe exact shape of `ctx` can vary based on the installed middleware.\nSome custom middleware might register properties on the context object that Telegraf is not aware of.\nConsequently, you can change the type of `ctx` to fit your needs in order for you to have proper TypeScript types for your data.\nThis is done through Generics:\n\n```ts\nimport { Context, Telegraf } from 'telegraf'\n\n// Define your own context type\ninterface MyContext extends Context {\n myProp?: string\n myOtherProp?: number\n}\n\n// Create your bot and tell it about your context type\nconst bot = new Telegraf('SECRET TOKEN')\n\n// Register middleware and launch your bot as usual\nbot.use((ctx, next) => {\n // Yay, `myProp` is now available here as `string | undefined`!\n ctx.myProp = ctx.chat?.first_name?.toUpperCase()\n return next()\n})\n// ...\n```\n","engines":{"node":"^12.20.0 || >=14.13.1"},"exports":{".":"./lib/index.js","./types":"./types.js","./future":"./future.js"},"gitHead":"d9a312f1a7eb9e45b662e119174104d651e87421","scripts":{"lint":"eslint .","test":"ava test/*","build":"tsc --build docs/examples","clean":"git clean -fX .eslintcache docs/build/ lib/ typings/","checks":"npm test && npm run lint","prepare":"npm run --silent build","pretest":"npm run build","refresh":"npm run clean && npm ci","build:docs":"typedoc src/index.ts"},"_npmUser":{"name":"mkrhere","email":"muthukumar@thefeathers.in"},"deprecated":"Switch to 4.9.0 or higher","repository":{"url":"git+ssh://git@github.com/telegraf/telegraf.git","type":"git"},"_npmVersion":"8.8.0","description":"Modern Telegram Bot Framework","directories":{},"_nodeVersion":"18.1.0","dependencies":{"debug":"^4.3.3","minimist":"^1.2.6","typegram":"^3.9.0","p-timeout":"^4.1.0","node-fetch":"^2.6.7","module-alias":"^2.2.2","safe-compare":"^1.1.4","sandwich-stream":"^2.0.2","abort-controller":"^3.0.0"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"ava":"^4.0.1","eslint":"^8.8.0","typedoc":"^0.22.11","prettier":"^2.5.1","typescript":"^4.5.5","@types/node":"^17.0.14","@types/debug":"^4.1.7","@types/node-fetch":"^2.5.12","eslint-plugin-ava":"^13.2.0","eslint-plugin-node":"^11.1.0","@types/safe-compare":"^1.1.0","eslint-plugin-import":"^2.25.4","eslint-plugin-promise":"^6.0.0","eslint-config-prettier":"^8.3.0","eslint-plugin-prettier":"^4.0.0","eslint-plugin-standard":"^5.0.0","@typescript-eslint/parser":"^5.10.2","@typescript-eslint/eslint-plugin":"^5.10.2"},"_npmOperationalInternal":{"tmp":"tmp/telegraf_4.9.0-canary.6_1652649526504_0.02109779265312528","host":"s3://npm-registry-packages"}},"4.9.0-canary.7":{"name":"telegraf","version":"4.9.0-canary.7","keywords":["telegraf","telegram","telegram bot api","bot","botapi","bot framework"],"author":{"name":"Vitaly Domnikov","email":"oss@vitaly.codes"},"license":"MIT","_id":"telegraf@4.9.0-canary.7","maintainers":[{"name":"dotcypress","email":"dotcypress@gmail.com"},{"name":"mkrhere","email":"muthukumar@thefeathers.in"},{"name":"wojpawlik","email":"woj.pawlik@gmail.com"}],"homepage":"https://telegraf.js.org","bugs":{"url":"https://github.com/telegraf/telegraf/issues"},"bin":{"telegraf":"bin/telegraf"},"dist":{"shasum":"28b32716aeeececb8f564560202aeab4830aeb7a","tarball":"https://registry.npmjs.org/telegraf/-/telegraf-4.9.0-canary.7.tgz","fileCount":120,"integrity":"sha512-crRVAueEghNPyr51Z5MpwPnQl47+Cq5ia3YCk2FLGlsp5ZfEvOAurDhCFaf6Lq3J2AFC7Vl3AjoE9fspKhWslQ==","signatures":[{"sig":"MEUCIQCwkbMs0seIzcRjqDe4HvoPlJxWyttd0F6rBP8eHG7g8QIgNLKkVoiwwWMMxeuqjGXCrctNBpB0NE8eZPAgXbvcK2Q=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":480889,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJihUcAACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmpp9Q/8DHUuhpocLcZVqma07YOV19dvw9yv7d67MXhyptndDm4rIG7M\r\nVuj7OqF1zgSbgP4gIXMdPJVsfvtRl/7zSNSpQ8r/YUm7ruwdbpZm+f5ZEVJT\r\nIxY4fDBmARb4+uhs4unhHgU9NUsPgnmrbbrw2s621jK3cuWUJIM1IE144LYw\r\nYX3ZMi8YQ/qhOj9IcpYLLcTusBHDTOmRpqtDGhtHd0xIMnC/+ATBrs9Zy4Rr\r\n3DSFz4Hl4nGSCn+YJ+qrshiYsd8J6W/0ZT0dNLNpEg1smvIvThtPe6DPbYk4\r\nICvdOI+WNrBcq4dnWlsKLHJHD7ZL7DT/UZ4ntCSEXuIGXax6sTyInr73YggI\r\n2u1t3LDpsImY8XVN/YbIH+g7kNomZ9B5gCAfHQfgdnOyg85AJIQwLFj+7UXL\r\nDnGif/IuepyFdoFgdyimSEWPAv2Fb7XvCo2cNGTRILh/EmJQiQCVgYMLJVr9\r\n3LpYRU1l1y5x4p3lab2dQdkGJL+T6pNHXY1zztDhIAat3Tes9iOYUBBof1B1\r\npynnVywQC2nHf9DJXU/idqnNXhmevHkdcnsN/9dn+ztcaoSJMRHpHOVnXFlg\r\nIBN8yLgrXZCVyy3X1a/Gqe3YCxyQpb1mtaK5wWM42qdgrlq5oMPZy8Z0mjPY\r\nBeEXWahPcm/f6GggOZPHPXFXqh7dcz8QHnY=\r\n=AP16\r\n-----END PGP SIGNATURE-----\r\n"},"main":"lib/index.js","type":"commonjs","types":"./typings/index.d.ts","readme":"
\n\"logo\"\n

telegraf.js

\n\nModern Telegram Bot API framework for Node.js\n\n[![Bot API Version](https://img.shields.io/badge/Bot%20API-v6.0-f36caf.svg?style=flat-square)](https://core.telegram.org/bots/api)\n[![install size](https://flat.badgen.net/packagephobia/install/telegraf)](https://packagephobia.com/result?p=telegraf,node-telegram-bot-api)\n[![GitHub top language](https://img.shields.io/github/languages/top/telegraf/telegraf?style=flat-square&logo=github)](https://github.com/telegraf/telegraf)\n[![English chat](https://img.shields.io/badge/English%20chat-grey?style=flat-square&logo=telegram)](https://t.me/TelegrafJSChat)\n
\n\n> Notice: [@MKRhere](https://github.com/MKRhere) has taken over as the new maintainer of Telegraf. Feel free to reach out via the Telegram group.\n\n## For 3.x users\n\n- [3.x docs](https://telegraf.js.org/v3)\n- [4.0 release notes](https://github.com/telegraf/telegraf/releases/tag/v4.0.0)\n\n## Introduction\n\nBots are special [Telegram](https://telegram.org) accounts designed to handle messages automatically. \nUsers can interact with bots by sending them command messages in private or group chats. \nThese accounts serve as an interface for code running somewhere on your server.\n\nTelegraf is a library that makes it simple for you to develop your own Telegram bots using JavaScript or [TypeScript](https://www.typescriptlang.org/).\n\n### Features\n\n- Full [Telegram Bot API 6.0](https://core.telegram.org/bots/api) support\n- [Excellent TypeScript typings](https://github.com/telegraf/telegraf/releases/tag/v4.0.0)\n- [Lightweight](https://packagephobia.com/result?p=telegraf,node-telegram-bot-api)\n- [AWS **λ**](https://docs.aws.amazon.com/lambda/latest/dg/nodejs-prog-model-handler.html)\n / [Firebase](https://firebase.google.com/products/functions/)\n / [Glitch](https://glitch.com/edit/#!/dashing-light)\n / [Heroku](https://devcenter.heroku.com/articles/getting-started-with-nodejs#introduction)\n / Whatever ready\n- `http/https/fastify/Connect.js/express.js` compatible webhooks\n- Extensible\n\n### Example\n \n```js\nconst { Telegraf } = require('telegraf')\n\nconst bot = new Telegraf(process.env.BOT_TOKEN)\nbot.start((ctx) => ctx.reply('Welcome'))\nbot.help((ctx) => ctx.reply('Send me a sticker'))\nbot.on('sticker', (ctx) => ctx.reply('👍'))\nbot.hears('hi', (ctx) => ctx.reply('Hey there'))\nbot.launch()\n\n// Enable graceful stop\nprocess.once('SIGINT', () => bot.stop('SIGINT'))\nprocess.once('SIGTERM', () => bot.stop('SIGTERM'))\n```\n\n```js\nconst { Telegraf } = require('telegraf')\n\nconst bot = new Telegraf(process.env.BOT_TOKEN)\nbot.command('oldschool', (ctx) => ctx.reply('Hello'))\nbot.command('hipster', Telegraf.reply('λ'))\nbot.launch()\n\n// Enable graceful stop\nprocess.once('SIGINT', () => bot.stop('SIGINT'))\nprocess.once('SIGTERM', () => bot.stop('SIGTERM'))\n```\n\nFor additional bot examples see [`examples`](https://github.com/telegraf/telegraf/tree/develop/docs/examples) folder.\n\n### Resources\n\n- [Getting started](#getting-started)\n- [API reference](https://telegraf.js.org/modules.html)\n- Telegram groups (sorted by number of members):\n * [English](https://t.me/TelegrafJSChat)\n * [Uzbek](https://t.me/botjs_uz)\n * [Ethiopian](https://t.me/telegraf_et)\n- [GitHub Discussions](https://github.com/telegraf/telegraf/discussions)\n- [Dependent repositories](https://libraries.io/npm/telegraf/dependent_repositories)\n\n## Getting started\n\n### Telegram token\n\nTo use the [Telegram Bot API](https://core.telegram.org/bots/api), \nyou first have to [get a bot account](https://core.telegram.org/bots) \nby [chatting with BotFather](https://core.telegram.org/bots#6-botfather).\n\nBotFather will give you a *token*, something like `123456789:AbCdfGhIJKlmNoQQRsTUVwxyZ`.\n\n### Installation\n\n```shellscript\n$ npm install telegraf\n```\nor\n```shellscript\n$ yarn add telegraf\n```\nor\n```shellscript\n$ pnpm add telegraf\n```\n\n### `Telegraf` class\n\n[`Telegraf`] instance represents your bot. It's responsible for obtaining updates and passing them to your handlers.\n\nStart by [listening to commands](https://telegraf.js.org/classes/telegraf.html#command) and [launching](https://telegraf.js.org/classes/telegraf.html#launch) your bot.\n\n### `Context` class\n\n`ctx` you can see in every example is a [`Context`] instance.\n[`Telegraf`] creates one for each incoming update and passes it to your middleware.\nIt contains the `update`, `botInfo`, and `telegram` for making arbitrary Bot API requests,\nas well as shorthand methods and getters.\n\nThis is probably the class you'll be using the most.\n\n\n\n\n#### Shorthand methods\n\n```js\nimport { Telegraf } from 'telegraf'\n\nconst bot = new Telegraf(process.env.BOT_TOKEN)\n\nbot.command('quit', (ctx) => {\n // Explicit usage\n ctx.telegram.leaveChat(ctx.message.chat.id)\n\n // Using context shortcut\n ctx.leaveChat()\n})\n\nbot.on('text', (ctx) => {\n // Explicit usage\n ctx.telegram.sendMessage(ctx.message.chat.id, `Hello ${ctx.state.role}`)\n\n // Using context shortcut\n ctx.reply(`Hello ${ctx.state.role}`)\n})\n\nbot.on('callback_query', (ctx) => {\n // Explicit usage\n ctx.telegram.answerCbQuery(ctx.callbackQuery.id)\n\n // Using context shortcut\n ctx.answerCbQuery()\n})\n\nbot.on('inline_query', (ctx) => {\n const result = []\n // Explicit usage\n ctx.telegram.answerInlineQuery(ctx.inlineQuery.id, result)\n\n // Using context shortcut\n ctx.answerInlineQuery(result)\n})\n\nbot.launch()\n\n// Enable graceful stop\nprocess.once('SIGINT', () => bot.stop('SIGINT'))\nprocess.once('SIGTERM', () => bot.stop('SIGTERM'))\n```\n\n## Production\n\n### Webhooks\n\n```js\nconst { Telegraf } = require('telegraf')\nconst fs = require('fs')\nrequire('dotenv')\n\nconst bot = new Telegraf(process.env.BOT_TOKEN)\n\n// TLS options\nconst tlsOptions = {\n key: fs.readFileSync('server-key.pem'),\n cert: fs.readFileSync('server-cert.pem'),\n ca: [\n // This is necessary only if the client uses a self-signed certificate.\n fs.readFileSync('client-cert.pem')\n ]\n}\n\n// Set telegram webhook\n// The second argument is necessary only if the client uses a self-signed\n// certificate. Including it for a verified certificate may cause things to break.\nbot.telegram.setWebhook('https://server.tld:8443/secret-path', {\n certificate: { source: fs.readFileSync('server-cert.pem') }\n})\n\n// Start https webhook\nbot.startWebhook('/secret-path', tlsOptions, 8443)\n\n// Http webhook, for nginx/heroku users.\nbot.startWebhook('/secret-path', null, 5000)\n```\n\nUse `webhookCallback()` if you want to attach Telegraf to an existing http server.\n\n\n\n```js\nrequire('http')\n .createServer(bot.webhookCallback('/secret-path'))\n .listen(3000)\n\nrequire('https')\n .createServer(tlsOptions, bot.webhookCallback('/secret-path'))\n .listen(8443)\n```\n\n- [AWS Lambda example integration](https://github.com/telegraf/telegraf/blob/develop/docs/examples/aws-lambda.js)\n- [`express` example integration](https://github.com/telegraf/telegraf/blob/develop/docs/examples/express-webhook-bot.ts)\n- [`fastify` example integration](https://github.com/telegraf/telegraf/blob/develop/docs/examples/fastify-webhook-bot.js)\n- [Google Cloud Functions example integration](https://github.com/telegraf/telegraf/blob/develop/docs/examples/google-cloud-function.ts)\n- [`koa` example integration](https://github.com/telegraf/telegraf/blob/develop/docs/examples/koa-webhook-bot.js)\n- [NestJS framework integration module](https://github.com/bukhalo/nestjs-telegraf)\n- Use [`bot.handleUpdate`](https://telegraf.js.org/classes/telegraf.html#handleupdate) to write new integrations\n\n### Error handling\n\nIf middleware throws an error or times out, Telegraf calls `bot.handleError`. If it rethrows, update source closes, and then the error is printed to console and process [hopefully](https://nodejs.org/api/cli.html#cli_unhandled_rejections_mode) terminates. If it does not rethrow, the error is swallowed.\n\nDefault `bot.handleError` always rethrows. You can overwrite it using `bot.catch` if you need to.\n\n⚠️ Always rethrow `TimeoutError`!\n\n⚠️ Swallowing unknown errors might leave the process in invalid state!\n\nℹ️ In production, `systemd` or [`pm2`](https://www.npmjs.com/package/pm2) can restart your bot if it exits for any reason.\n\n## Advanced topics\n\n### Working with files\n\nSupported file sources:\n\n- `Existing file_id`\n- `File path`\n- `Url`\n- `Buffer`\n- `ReadStream`\n\nAlso, you can provide an optional name of a file as `filename` when you send the file.\n\n\n\n```js\nbot.on('message', (ctx) => {\n // resend existing file by file_id\n ctx.replyWithSticker('123123jkbhj6b')\n\n // send file\n ctx.replyWithVideo({ source: '/path/to/video.mp4' })\n\n // send stream\n ctx.replyWithVideo({\n source: fs.createReadStream('/path/to/video.mp4')\n })\n\n // send buffer\n ctx.replyWithVoice({\n source: Buffer.alloc()\n })\n\n // send url via Telegram server\n ctx.replyWithPhoto('https://picsum.photos/200/300/')\n\n // pipe url content\n ctx.replyWithPhoto({\n url: 'https://picsum.photos/200/300/?random',\n filename: 'kitten.jpg'\n })\n})\n```\n\n### Middleware\n\nIn addition to `ctx: Context`, each middleware receives `next: () => Promise`.\n\nAs in Koa and some other middleware-based libraries,\n`await next()` will call next middleware and wait for it to finish:\n\n```js\nimport { Telegraf } from 'telegraf'\n\nconst bot = new Telegraf(process.env.BOT_TOKEN)\n\nbot.use(async (ctx, next) => {\n console.time(`Processing update ${ctx.update.update_id}`)\n await next() // runs next middleware\n // runs after next middleware finishes\n console.timeEnd(`Processing update ${ctx.update.update_id}`)\n})\n\nbot.on('text', (ctx) => ctx.reply('Hello World'))\nbot.launch()\n\n// Enable graceful stop\nprocess.once('SIGINT', () => bot.stop('SIGINT'))\nprocess.once('SIGTERM', () => bot.stop('SIGTERM'))\n```\n\nWith this simple ability, you can:\n- extract information from updates and then `await next()` to avoid disrupting other middleware,\n- like [`Composer`] and [`Router`], `await next()` for updates you don't wish to handle,\n- like [`session`] and [`Scenes`], [extend the context](#extending-context) by mutating `ctx` before `await next()`,\n- [intercept API calls](https://github.com/telegraf/telegraf/discussions/1267#discussioncomment-254525),\n- reuse [other people's code](https://www.npmjs.com/search?q=telegraf-),\n- do whatever **you** come up with!\n\n[`Composer`]: https://telegraf.js.org/classes/composer.html\n[`Context`]: https://telegraf.js.org/classes/context.html\n[`Router`]: https://telegraf.js.org/classes/router.html\n[`session`]: https://telegraf.js.org/modules.html#session\n[`Scenes`]: https://telegraf.js.org/modules/scenes.html\n[`Telegraf`]: https://telegraf.js.org/classes/telegraf.html\n\n### Usage with TypeScript\n\nTelegraf is written in TypeScript and therefore ships with declaration files for the entire library.\nMoreover, it includes types for the complete Telegram API via the [`typegram`](https://github.com/KnorpelSenf/typegram) package.\nWhile most types of Telegraf's API surface are self-explanatory, there's some notable things to keep in mind.\n\n#### Extending `Context`\n\nThe exact shape of `ctx` can vary based on the installed middleware.\nSome custom middleware might register properties on the context object that Telegraf is not aware of.\nConsequently, you can change the type of `ctx` to fit your needs in order for you to have proper TypeScript types for your data.\nThis is done through Generics:\n\n```ts\nimport { Context, Telegraf } from 'telegraf'\n\n// Define your own context type\ninterface MyContext extends Context {\n myProp?: string\n myOtherProp?: number\n}\n\n// Create your bot and tell it about your context type\nconst bot = new Telegraf('SECRET TOKEN')\n\n// Register middleware and launch your bot as usual\nbot.use((ctx, next) => {\n // Yay, `myProp` is now available here as `string | undefined`!\n ctx.myProp = ctx.chat?.first_name?.toUpperCase()\n return next()\n})\n// ...\n```\n","engines":{"node":"^12.20.0 || >=14.13.1"},"exports":{".":"./lib/index.js","./types":"./types.js","./future":"./future.js"},"gitHead":"de7fa7fdceba9d4afae91d6607ff2d7deda955c3","scripts":{"lint":"eslint .","test":"ava test/*","build":"tsc --build docs/examples","clean":"git clean -fX .eslintcache docs/build/ lib/ typings/","checks":"npm test && npm run lint","prepare":"npm run --silent build","pretest":"npm run build","refresh":"npm run clean && npm ci","build:docs":"typedoc src/index.ts"},"_npmUser":{"name":"mkrhere","email":"muthukumar@thefeathers.in"},"deprecated":"Switch to 4.9.0 or higher","repository":{"url":"git+ssh://git@github.com/telegraf/telegraf.git","type":"git"},"_npmVersion":"8.5.5","description":"Modern Telegram Bot Framework","directories":{},"_nodeVersion":"16.15.0","dependencies":{"debug":"^4.3.3","minimist":"^1.2.6","typegram":"^3.9.0","p-timeout":"^4.1.0","node-fetch":"^2.6.7","module-alias":"^2.2.2","safe-compare":"^1.1.4","sandwich-stream":"^2.0.2","abort-controller":"^3.0.0"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"ava":"^4.0.1","eslint":"^8.8.0","typedoc":"^0.22.11","prettier":"^2.5.1","typescript":"^4.5.5","@types/node":"^17.0.14","@types/debug":"^4.1.7","@types/node-fetch":"^2.5.12","eslint-plugin-ava":"^13.2.0","eslint-plugin-node":"^11.1.0","@types/safe-compare":"^1.1.0","eslint-plugin-import":"^2.25.4","eslint-plugin-promise":"^6.0.0","eslint-config-prettier":"^8.3.0","eslint-plugin-prettier":"^4.0.0","eslint-plugin-standard":"^5.0.0","@typescript-eslint/parser":"^5.10.2","@typescript-eslint/eslint-plugin":"^5.10.2"},"_npmOperationalInternal":{"tmp":"tmp/telegraf_4.9.0-canary.7_1652901632510_0.8084193573104275","host":"s3://npm-registry-packages"}},"4.9.0-canary.8":{"name":"telegraf","version":"4.9.0-canary.8","keywords":["telegraf","telegram","telegram bot api","bot","botapi","bot framework"],"author":{"name":"Vitaly Domnikov","email":"oss@vitaly.codes"},"license":"MIT","_id":"telegraf@4.9.0-canary.8","maintainers":[{"name":"dotcypress","email":"dotcypress@gmail.com"},{"name":"mkrhere","email":"muthukumar@thefeathers.in"},{"name":"wojpawlik","email":"woj.pawlik@gmail.com"}],"homepage":"https://telegraf.js.org","bugs":{"url":"https://github.com/telegraf/telegraf/issues"},"bin":{"telegraf":"bin/telegraf"},"dist":{"shasum":"76f960b20fa962d8e3ad842f02e51a353b85775e","tarball":"https://registry.npmjs.org/telegraf/-/telegraf-4.9.0-canary.8.tgz","fileCount":120,"integrity":"sha512-aFGeFxWXchuDUr2z0TqXj3QaDpEUP8Sx/RZ8Ry3CpqgKv7BjeTm9YeGx814ygG47koirs/27L3TEsiqEyXQHiQ==","signatures":[{"sig":"MEYCIQCjAxjpVqSe7kH0p67EfpMjpCjAGuhh7IdMlUfbV9ZqQwIhALjB5LZMgfuZV+ywNY0bQM2WY4/r/sSCvZc8F88jjhZT","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":481142,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJihUikACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmolzA//VtjhpqvJnzB7SrNduNkOKZgNKkzoOA7XxDcCrsiRSpLe2zV8\r\nxmEazvSvDdNCcDk0o+UXDh/sp/uyZoRfQqsuiLEoJGwRRz7XHy0nNhTOp0Ik\r\njwgJHdY8r+snEo6X18uGU5skpMcX91Uw2Siu4ICXiGZyh3IHdNmalBpEW2gr\r\nqKwnXBlSpcSFMODvxYqnn8Ape89PzlQ4tf3MqIcsRf68cqDpUETPojjQ4Dft\r\nasQTMB0UuhRYzpeJa+sGluAhvcT61iEDH7RZGepVLXae1xDxu46dibFK3E0L\r\nwUuJTTNZJZFMmO/PzHy0g6aPvCHSriaQfLgX6V9jfGSd+GYh0oo3PyI+mWEW\r\nyQy0HVRpx8ScafDxxt3bOxf82aFgFyKFbUx0uNwVuRTHxuPADax2Xrgr26E5\r\notQps9TW3rri0C9gfVtUsF/tiJU6gq6Cg7sXfOrbwEVH0AgPqBIVP69o+qEP\r\n3THEeU15wqseShesfMcko8Y4fl7f04rWBZM8O0kh+2cJEBckKQ/kHd6LYMBH\r\nKqIM3RWbgz4nJMro0iyTRPttddcWdoeLu8g/zQew+TK+RULv3mhvasAfTdhM\r\n6qYSaFTK5ixKPt6FyCq0wck6FRLgMICCEn+YvUUbSuDlCnzdahWKAbK+UtDI\r\nI+C/PcFHHaE51PpwJVUluk3e04YXVbZSFsA=\r\n=PocE\r\n-----END PGP SIGNATURE-----\r\n"},"main":"lib/index.js","type":"commonjs","types":"./typings/index.d.ts","readme":"
\n\"logo\"\n

telegraf.js

\n\nModern Telegram Bot API framework for Node.js\n\n[![Bot API Version](https://img.shields.io/badge/Bot%20API-v6.0-f36caf.svg?style=flat-square)](https://core.telegram.org/bots/api)\n[![install size](https://flat.badgen.net/packagephobia/install/telegraf)](https://packagephobia.com/result?p=telegraf,node-telegram-bot-api)\n[![GitHub top language](https://img.shields.io/github/languages/top/telegraf/telegraf?style=flat-square&logo=github)](https://github.com/telegraf/telegraf)\n[![English chat](https://img.shields.io/badge/English%20chat-grey?style=flat-square&logo=telegram)](https://t.me/TelegrafJSChat)\n
\n\n> Notice: [@MKRhere](https://github.com/MKRhere) has taken over as the new maintainer of Telegraf. Feel free to reach out via the Telegram group.\n\n## For 3.x users\n\n- [3.x docs](https://telegraf.js.org/v3)\n- [4.0 release notes](https://github.com/telegraf/telegraf/releases/tag/v4.0.0)\n\n## Introduction\n\nBots are special [Telegram](https://telegram.org) accounts designed to handle messages automatically. \nUsers can interact with bots by sending them command messages in private or group chats. \nThese accounts serve as an interface for code running somewhere on your server.\n\nTelegraf is a library that makes it simple for you to develop your own Telegram bots using JavaScript or [TypeScript](https://www.typescriptlang.org/).\n\n### Features\n\n- Full [Telegram Bot API 6.0](https://core.telegram.org/bots/api) support\n- [Excellent TypeScript typings](https://github.com/telegraf/telegraf/releases/tag/v4.0.0)\n- [Lightweight](https://packagephobia.com/result?p=telegraf,node-telegram-bot-api)\n- [AWS **λ**](https://docs.aws.amazon.com/lambda/latest/dg/nodejs-prog-model-handler.html)\n / [Firebase](https://firebase.google.com/products/functions/)\n / [Glitch](https://glitch.com/edit/#!/dashing-light)\n / [Heroku](https://devcenter.heroku.com/articles/getting-started-with-nodejs#introduction)\n / Whatever ready\n- `http/https/fastify/Connect.js/express.js` compatible webhooks\n- Extensible\n\n### Example\n \n```js\nconst { Telegraf } = require('telegraf')\n\nconst bot = new Telegraf(process.env.BOT_TOKEN)\nbot.start((ctx) => ctx.reply('Welcome'))\nbot.help((ctx) => ctx.reply('Send me a sticker'))\nbot.on('sticker', (ctx) => ctx.reply('👍'))\nbot.hears('hi', (ctx) => ctx.reply('Hey there'))\nbot.launch()\n\n// Enable graceful stop\nprocess.once('SIGINT', () => bot.stop('SIGINT'))\nprocess.once('SIGTERM', () => bot.stop('SIGTERM'))\n```\n\n```js\nconst { Telegraf } = require('telegraf')\n\nconst bot = new Telegraf(process.env.BOT_TOKEN)\nbot.command('oldschool', (ctx) => ctx.reply('Hello'))\nbot.command('hipster', Telegraf.reply('λ'))\nbot.launch()\n\n// Enable graceful stop\nprocess.once('SIGINT', () => bot.stop('SIGINT'))\nprocess.once('SIGTERM', () => bot.stop('SIGTERM'))\n```\n\nFor additional bot examples see [`examples`](https://github.com/telegraf/telegraf/tree/develop/docs/examples) folder.\n\n### Resources\n\n- [Getting started](#getting-started)\n- [API reference](https://telegraf.js.org/modules.html)\n- Telegram groups (sorted by number of members):\n * [English](https://t.me/TelegrafJSChat)\n * [Uzbek](https://t.me/botjs_uz)\n * [Ethiopian](https://t.me/telegraf_et)\n- [GitHub Discussions](https://github.com/telegraf/telegraf/discussions)\n- [Dependent repositories](https://libraries.io/npm/telegraf/dependent_repositories)\n\n## Getting started\n\n### Telegram token\n\nTo use the [Telegram Bot API](https://core.telegram.org/bots/api), \nyou first have to [get a bot account](https://core.telegram.org/bots) \nby [chatting with BotFather](https://core.telegram.org/bots#6-botfather).\n\nBotFather will give you a *token*, something like `123456789:AbCdfGhIJKlmNoQQRsTUVwxyZ`.\n\n### Installation\n\n```shellscript\n$ npm install telegraf\n```\nor\n```shellscript\n$ yarn add telegraf\n```\nor\n```shellscript\n$ pnpm add telegraf\n```\n\n### `Telegraf` class\n\n[`Telegraf`] instance represents your bot. It's responsible for obtaining updates and passing them to your handlers.\n\nStart by [listening to commands](https://telegraf.js.org/classes/telegraf.html#command) and [launching](https://telegraf.js.org/classes/telegraf.html#launch) your bot.\n\n### `Context` class\n\n`ctx` you can see in every example is a [`Context`] instance.\n[`Telegraf`] creates one for each incoming update and passes it to your middleware.\nIt contains the `update`, `botInfo`, and `telegram` for making arbitrary Bot API requests,\nas well as shorthand methods and getters.\n\nThis is probably the class you'll be using the most.\n\n\n\n\n#### Shorthand methods\n\n```js\nimport { Telegraf } from 'telegraf'\n\nconst bot = new Telegraf(process.env.BOT_TOKEN)\n\nbot.command('quit', (ctx) => {\n // Explicit usage\n ctx.telegram.leaveChat(ctx.message.chat.id)\n\n // Using context shortcut\n ctx.leaveChat()\n})\n\nbot.on('text', (ctx) => {\n // Explicit usage\n ctx.telegram.sendMessage(ctx.message.chat.id, `Hello ${ctx.state.role}`)\n\n // Using context shortcut\n ctx.reply(`Hello ${ctx.state.role}`)\n})\n\nbot.on('callback_query', (ctx) => {\n // Explicit usage\n ctx.telegram.answerCbQuery(ctx.callbackQuery.id)\n\n // Using context shortcut\n ctx.answerCbQuery()\n})\n\nbot.on('inline_query', (ctx) => {\n const result = []\n // Explicit usage\n ctx.telegram.answerInlineQuery(ctx.inlineQuery.id, result)\n\n // Using context shortcut\n ctx.answerInlineQuery(result)\n})\n\nbot.launch()\n\n// Enable graceful stop\nprocess.once('SIGINT', () => bot.stop('SIGINT'))\nprocess.once('SIGTERM', () => bot.stop('SIGTERM'))\n```\n\n## Production\n\n### Webhooks\n\n```js\nconst { Telegraf } = require('telegraf')\nconst fs = require('fs')\nrequire('dotenv')\n\nconst bot = new Telegraf(process.env.BOT_TOKEN)\n\n// TLS options\nconst tlsOptions = {\n key: fs.readFileSync('server-key.pem'),\n cert: fs.readFileSync('server-cert.pem'),\n ca: [\n // This is necessary only if the client uses a self-signed certificate.\n fs.readFileSync('client-cert.pem')\n ]\n}\n\n// Set telegram webhook\n// The second argument is necessary only if the client uses a self-signed\n// certificate. Including it for a verified certificate may cause things to break.\nbot.telegram.setWebhook('https://server.tld:8443/secret-path', {\n certificate: { source: fs.readFileSync('server-cert.pem') }\n})\n\n// Start https webhook\nbot.startWebhook('/secret-path', tlsOptions, 8443)\n\n// Http webhook, for nginx/heroku users.\nbot.startWebhook('/secret-path', null, 5000)\n```\n\nUse `webhookCallback()` if you want to attach Telegraf to an existing http server.\n\n\n\n```js\nrequire('http')\n .createServer(bot.webhookCallback('/secret-path'))\n .listen(3000)\n\nrequire('https')\n .createServer(tlsOptions, bot.webhookCallback('/secret-path'))\n .listen(8443)\n```\n\n- [AWS Lambda example integration](https://github.com/telegraf/telegraf/blob/develop/docs/examples/aws-lambda.js)\n- [`express` example integration](https://github.com/telegraf/telegraf/blob/develop/docs/examples/express-webhook-bot.ts)\n- [`fastify` example integration](https://github.com/telegraf/telegraf/blob/develop/docs/examples/fastify-webhook-bot.js)\n- [Google Cloud Functions example integration](https://github.com/telegraf/telegraf/blob/develop/docs/examples/google-cloud-function.ts)\n- [`koa` example integration](https://github.com/telegraf/telegraf/blob/develop/docs/examples/koa-webhook-bot.js)\n- [NestJS framework integration module](https://github.com/bukhalo/nestjs-telegraf)\n- Use [`bot.handleUpdate`](https://telegraf.js.org/classes/telegraf.html#handleupdate) to write new integrations\n\n### Error handling\n\nIf middleware throws an error or times out, Telegraf calls `bot.handleError`. If it rethrows, update source closes, and then the error is printed to console and process [hopefully](https://nodejs.org/api/cli.html#cli_unhandled_rejections_mode) terminates. If it does not rethrow, the error is swallowed.\n\nDefault `bot.handleError` always rethrows. You can overwrite it using `bot.catch` if you need to.\n\n⚠️ Always rethrow `TimeoutError`!\n\n⚠️ Swallowing unknown errors might leave the process in invalid state!\n\nℹ️ In production, `systemd` or [`pm2`](https://www.npmjs.com/package/pm2) can restart your bot if it exits for any reason.\n\n## Advanced topics\n\n### Working with files\n\nSupported file sources:\n\n- `Existing file_id`\n- `File path`\n- `Url`\n- `Buffer`\n- `ReadStream`\n\nAlso, you can provide an optional name of a file as `filename` when you send the file.\n\n\n\n```js\nbot.on('message', (ctx) => {\n // resend existing file by file_id\n ctx.replyWithSticker('123123jkbhj6b')\n\n // send file\n ctx.replyWithVideo({ source: '/path/to/video.mp4' })\n\n // send stream\n ctx.replyWithVideo({\n source: fs.createReadStream('/path/to/video.mp4')\n })\n\n // send buffer\n ctx.replyWithVoice({\n source: Buffer.alloc()\n })\n\n // send url via Telegram server\n ctx.replyWithPhoto('https://picsum.photos/200/300/')\n\n // pipe url content\n ctx.replyWithPhoto({\n url: 'https://picsum.photos/200/300/?random',\n filename: 'kitten.jpg'\n })\n})\n```\n\n### Middleware\n\nIn addition to `ctx: Context`, each middleware receives `next: () => Promise`.\n\nAs in Koa and some other middleware-based libraries,\n`await next()` will call next middleware and wait for it to finish:\n\n```js\nimport { Telegraf } from 'telegraf'\n\nconst bot = new Telegraf(process.env.BOT_TOKEN)\n\nbot.use(async (ctx, next) => {\n console.time(`Processing update ${ctx.update.update_id}`)\n await next() // runs next middleware\n // runs after next middleware finishes\n console.timeEnd(`Processing update ${ctx.update.update_id}`)\n})\n\nbot.on('text', (ctx) => ctx.reply('Hello World'))\nbot.launch()\n\n// Enable graceful stop\nprocess.once('SIGINT', () => bot.stop('SIGINT'))\nprocess.once('SIGTERM', () => bot.stop('SIGTERM'))\n```\n\nWith this simple ability, you can:\n- extract information from updates and then `await next()` to avoid disrupting other middleware,\n- like [`Composer`] and [`Router`], `await next()` for updates you don't wish to handle,\n- like [`session`] and [`Scenes`], [extend the context](#extending-context) by mutating `ctx` before `await next()`,\n- [intercept API calls](https://github.com/telegraf/telegraf/discussions/1267#discussioncomment-254525),\n- reuse [other people's code](https://www.npmjs.com/search?q=telegraf-),\n- do whatever **you** come up with!\n\n[`Composer`]: https://telegraf.js.org/classes/composer.html\n[`Context`]: https://telegraf.js.org/classes/context.html\n[`Router`]: https://telegraf.js.org/classes/router.html\n[`session`]: https://telegraf.js.org/modules.html#session\n[`Scenes`]: https://telegraf.js.org/modules/scenes.html\n[`Telegraf`]: https://telegraf.js.org/classes/telegraf.html\n\n### Usage with TypeScript\n\nTelegraf is written in TypeScript and therefore ships with declaration files for the entire library.\nMoreover, it includes types for the complete Telegram API via the [`typegram`](https://github.com/KnorpelSenf/typegram) package.\nWhile most types of Telegraf's API surface are self-explanatory, there's some notable things to keep in mind.\n\n#### Extending `Context`\n\nThe exact shape of `ctx` can vary based on the installed middleware.\nSome custom middleware might register properties on the context object that Telegraf is not aware of.\nConsequently, you can change the type of `ctx` to fit your needs in order for you to have proper TypeScript types for your data.\nThis is done through Generics:\n\n```ts\nimport { Context, Telegraf } from 'telegraf'\n\n// Define your own context type\ninterface MyContext extends Context {\n myProp?: string\n myOtherProp?: number\n}\n\n// Create your bot and tell it about your context type\nconst bot = new Telegraf('SECRET TOKEN')\n\n// Register middleware and launch your bot as usual\nbot.use((ctx, next) => {\n // Yay, `myProp` is now available here as `string | undefined`!\n ctx.myProp = ctx.chat?.first_name?.toUpperCase()\n return next()\n})\n// ...\n```\n","engines":{"node":"^12.20.0 || >=14.13.1"},"exports":{".":"./lib/index.js","./types":"./types.js","./future":"./future.js"},"gitHead":"2c33734ff0986eadb1e06c3a11b31da464acaa58","scripts":{"lint":"eslint .","test":"ava test/*","build":"tsc --build docs/examples","clean":"git clean -fX .eslintcache docs/build/ lib/ typings/","checks":"npm test && npm run lint","prepare":"npm run --silent build","pretest":"npm run build","refresh":"npm run clean && npm ci","build:docs":"typedoc src/index.ts"},"_npmUser":{"name":"mkrhere","email":"muthukumar@thefeathers.in"},"deprecated":"Switch to 4.9.0 or higher","repository":{"url":"git+ssh://git@github.com/telegraf/telegraf.git","type":"git"},"_npmVersion":"8.5.5","description":"Modern Telegram Bot Framework","directories":{},"_nodeVersion":"16.15.0","dependencies":{"debug":"^4.3.3","minimist":"^1.2.6","typegram":"^3.9.0","p-timeout":"^4.1.0","node-fetch":"^2.6.7","module-alias":"^2.2.2","safe-compare":"^1.1.4","sandwich-stream":"^2.0.2","abort-controller":"^3.0.0"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"ava":"^4.0.1","eslint":"^8.8.0","typedoc":"^0.22.11","prettier":"^2.5.1","typescript":"^4.5.5","@types/node":"^17.0.14","@types/debug":"^4.1.7","@types/node-fetch":"^2.5.12","eslint-plugin-ava":"^13.2.0","eslint-plugin-node":"^11.1.0","@types/safe-compare":"^1.1.0","eslint-plugin-import":"^2.25.4","eslint-plugin-promise":"^6.0.0","eslint-config-prettier":"^8.3.0","eslint-plugin-prettier":"^4.0.0","eslint-plugin-standard":"^5.0.0","@typescript-eslint/parser":"^5.10.2","@typescript-eslint/eslint-plugin":"^5.10.2"},"_npmOperationalInternal":{"tmp":"tmp/telegraf_4.9.0-canary.8_1652902052285_0.13698314522245192","host":"s3://npm-registry-packages"}},"4.9.0-canary.9":{"name":"telegraf","version":"4.9.0-canary.9","keywords":["telegraf","telegram","telegram bot api","bot","botapi","bot framework"],"author":{"name":"Vitaly Domnikov","email":"oss@vitaly.codes"},"license":"MIT","_id":"telegraf@4.9.0-canary.9","maintainers":[{"name":"dotcypress","email":"dotcypress@gmail.com"},{"name":"mkrhere","email":"muthukumar@thefeathers.in"},{"name":"wojpawlik","email":"woj.pawlik@gmail.com"}],"homepage":"https://telegraf.js.org","bugs":{"url":"https://github.com/telegraf/telegraf/issues"},"bin":{"telegraf":"bin/telegraf"},"dist":{"shasum":"8cfb72ba59724f3fefa68deaeeb822b754ac2d87","tarball":"https://registry.npmjs.org/telegraf/-/telegraf-4.9.0-canary.9.tgz","fileCount":120,"integrity":"sha512-6qAXDuKsEyfgDigtR77X3y/gT4/bacKXl9Cy1cOhq4jHv6uJEEskEEVkKMdG1SWytwru5kvnWQDgZWpbVQkxYg==","signatures":[{"sig":"MEYCIQCePVwe9pVtbEvWt/+/bH/uugDjTgPbCJXqn9WYxWQlUQIhAKwH5Fnt5fzuBiIrWPcL8yI1vy4+cIsp+d4RMHSYFduk","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":481269,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJihUjXACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmrXhhAApJaWElpUwVMbJHlJG6Ty8xDxUvzjYOLYyv85dMc3XyL57I6V\r\nzr6dys5/eQCwUuH9XG5bW0b+lm7u7EdI5gr3LAqsLfr+4eMBloxy2o8chgie\r\nyjVF0T7ORfQ2HoTM9SBijjnKthGZNAGncFQlbHpmi1wkU2EjUIeH/dmww5oW\r\nB8SOUubXz0EuWvencz9lI09TWDPwE7D0tbiI08Tr8Ulev95LFc3qjYTRRunA\r\nG+NvI3mrEHtM/1MZCHOQP71ECHgQqA2WCJ0jn1RbV8eKpQfTH60fcroV0qm2\r\nisDAwNU1i6fCTux/9KToH5ihVWyiRkpCeKuTbGsjpKGKfMXzaWH/i/244HVg\r\nrbx/gsv8Ced7jTRiCeq1DELFxeMJn+e0YN0YznKvDxBMTAnzeJAqG+tMBr+m\r\n3Rir69+/XhOgHKEtKVdPBXzuH0IdlGSnfeeiKYYKpGDQdWqlAhZk9t1or15s\r\naVRTfOxGXensCJ1OloYLkkK19pU/DSfmUE/C+nDffRnMDcH8be3WF0/eqMre\r\niSKJ7apPyIIcUaOPYFSqGMy3uFkAwzzrR+gLKfMltHjGyhRCWQRzqkHk7Yod\r\n+CxOIZdZxbY1Ae9LSL2DcP/fKPd1jz159t/g5zR/hCdDphTpcMW56WpbTY7D\r\nYu/q8PDt/ffwYsEiC1rmmq4voG4IyzE5MyY=\r\n=vSwk\r\n-----END PGP SIGNATURE-----\r\n"},"main":"lib/index.js","type":"commonjs","types":"./typings/index.d.ts","readme":"
\n\"logo\"\n

telegraf.js

\n\nModern Telegram Bot API framework for Node.js\n\n[![Bot API Version](https://img.shields.io/badge/Bot%20API-v6.0-f36caf.svg?style=flat-square)](https://core.telegram.org/bots/api)\n[![install size](https://flat.badgen.net/packagephobia/install/telegraf)](https://packagephobia.com/result?p=telegraf,node-telegram-bot-api)\n[![GitHub top language](https://img.shields.io/github/languages/top/telegraf/telegraf?style=flat-square&logo=github)](https://github.com/telegraf/telegraf)\n[![English chat](https://img.shields.io/badge/English%20chat-grey?style=flat-square&logo=telegram)](https://t.me/TelegrafJSChat)\n
\n\n> Notice: [@MKRhere](https://github.com/MKRhere) has taken over as the new maintainer of Telegraf. Feel free to reach out via the Telegram group.\n\n## For 3.x users\n\n- [3.x docs](https://telegraf.js.org/v3)\n- [4.0 release notes](https://github.com/telegraf/telegraf/releases/tag/v4.0.0)\n\n## Introduction\n\nBots are special [Telegram](https://telegram.org) accounts designed to handle messages automatically. \nUsers can interact with bots by sending them command messages in private or group chats. \nThese accounts serve as an interface for code running somewhere on your server.\n\nTelegraf is a library that makes it simple for you to develop your own Telegram bots using JavaScript or [TypeScript](https://www.typescriptlang.org/).\n\n### Features\n\n- Full [Telegram Bot API 6.0](https://core.telegram.org/bots/api) support\n- [Excellent TypeScript typings](https://github.com/telegraf/telegraf/releases/tag/v4.0.0)\n- [Lightweight](https://packagephobia.com/result?p=telegraf,node-telegram-bot-api)\n- [AWS **λ**](https://docs.aws.amazon.com/lambda/latest/dg/nodejs-prog-model-handler.html)\n / [Firebase](https://firebase.google.com/products/functions/)\n / [Glitch](https://glitch.com/edit/#!/dashing-light)\n / [Heroku](https://devcenter.heroku.com/articles/getting-started-with-nodejs#introduction)\n / Whatever ready\n- `http/https/fastify/Connect.js/express.js` compatible webhooks\n- Extensible\n\n### Example\n \n```js\nconst { Telegraf } = require('telegraf')\n\nconst bot = new Telegraf(process.env.BOT_TOKEN)\nbot.start((ctx) => ctx.reply('Welcome'))\nbot.help((ctx) => ctx.reply('Send me a sticker'))\nbot.on('sticker', (ctx) => ctx.reply('👍'))\nbot.hears('hi', (ctx) => ctx.reply('Hey there'))\nbot.launch()\n\n// Enable graceful stop\nprocess.once('SIGINT', () => bot.stop('SIGINT'))\nprocess.once('SIGTERM', () => bot.stop('SIGTERM'))\n```\n\n```js\nconst { Telegraf } = require('telegraf')\n\nconst bot = new Telegraf(process.env.BOT_TOKEN)\nbot.command('oldschool', (ctx) => ctx.reply('Hello'))\nbot.command('hipster', Telegraf.reply('λ'))\nbot.launch()\n\n// Enable graceful stop\nprocess.once('SIGINT', () => bot.stop('SIGINT'))\nprocess.once('SIGTERM', () => bot.stop('SIGTERM'))\n```\n\nFor additional bot examples see [`examples`](https://github.com/telegraf/telegraf/tree/develop/docs/examples) folder.\n\n### Resources\n\n- [Getting started](#getting-started)\n- [API reference](https://telegraf.js.org/modules.html)\n- Telegram groups (sorted by number of members):\n * [English](https://t.me/TelegrafJSChat)\n * [Uzbek](https://t.me/botjs_uz)\n * [Ethiopian](https://t.me/telegraf_et)\n- [GitHub Discussions](https://github.com/telegraf/telegraf/discussions)\n- [Dependent repositories](https://libraries.io/npm/telegraf/dependent_repositories)\n\n## Getting started\n\n### Telegram token\n\nTo use the [Telegram Bot API](https://core.telegram.org/bots/api), \nyou first have to [get a bot account](https://core.telegram.org/bots) \nby [chatting with BotFather](https://core.telegram.org/bots#6-botfather).\n\nBotFather will give you a *token*, something like `123456789:AbCdfGhIJKlmNoQQRsTUVwxyZ`.\n\n### Installation\n\n```shellscript\n$ npm install telegraf\n```\nor\n```shellscript\n$ yarn add telegraf\n```\nor\n```shellscript\n$ pnpm add telegraf\n```\n\n### `Telegraf` class\n\n[`Telegraf`] instance represents your bot. It's responsible for obtaining updates and passing them to your handlers.\n\nStart by [listening to commands](https://telegraf.js.org/classes/telegraf.html#command) and [launching](https://telegraf.js.org/classes/telegraf.html#launch) your bot.\n\n### `Context` class\n\n`ctx` you can see in every example is a [`Context`] instance.\n[`Telegraf`] creates one for each incoming update and passes it to your middleware.\nIt contains the `update`, `botInfo`, and `telegram` for making arbitrary Bot API requests,\nas well as shorthand methods and getters.\n\nThis is probably the class you'll be using the most.\n\n\n\n\n#### Shorthand methods\n\n```js\nimport { Telegraf } from 'telegraf'\n\nconst bot = new Telegraf(process.env.BOT_TOKEN)\n\nbot.command('quit', (ctx) => {\n // Explicit usage\n ctx.telegram.leaveChat(ctx.message.chat.id)\n\n // Using context shortcut\n ctx.leaveChat()\n})\n\nbot.on('text', (ctx) => {\n // Explicit usage\n ctx.telegram.sendMessage(ctx.message.chat.id, `Hello ${ctx.state.role}`)\n\n // Using context shortcut\n ctx.reply(`Hello ${ctx.state.role}`)\n})\n\nbot.on('callback_query', (ctx) => {\n // Explicit usage\n ctx.telegram.answerCbQuery(ctx.callbackQuery.id)\n\n // Using context shortcut\n ctx.answerCbQuery()\n})\n\nbot.on('inline_query', (ctx) => {\n const result = []\n // Explicit usage\n ctx.telegram.answerInlineQuery(ctx.inlineQuery.id, result)\n\n // Using context shortcut\n ctx.answerInlineQuery(result)\n})\n\nbot.launch()\n\n// Enable graceful stop\nprocess.once('SIGINT', () => bot.stop('SIGINT'))\nprocess.once('SIGTERM', () => bot.stop('SIGTERM'))\n```\n\n## Production\n\n### Webhooks\n\n```js\nconst { Telegraf } = require('telegraf')\nconst fs = require('fs')\nrequire('dotenv')\n\nconst bot = new Telegraf(process.env.BOT_TOKEN)\n\n// TLS options\nconst tlsOptions = {\n key: fs.readFileSync('server-key.pem'),\n cert: fs.readFileSync('server-cert.pem'),\n ca: [\n // This is necessary only if the client uses a self-signed certificate.\n fs.readFileSync('client-cert.pem')\n ]\n}\n\n// Set telegram webhook\n// The second argument is necessary only if the client uses a self-signed\n// certificate. Including it for a verified certificate may cause things to break.\nbot.telegram.setWebhook('https://server.tld:8443/secret-path', {\n certificate: { source: fs.readFileSync('server-cert.pem') }\n})\n\n// Start https webhook\nbot.startWebhook('/secret-path', tlsOptions, 8443)\n\n// Http webhook, for nginx/heroku users.\nbot.startWebhook('/secret-path', null, 5000)\n```\n\nUse `webhookCallback()` if you want to attach Telegraf to an existing http server.\n\n\n\n```js\nrequire('http')\n .createServer(bot.webhookCallback('/secret-path'))\n .listen(3000)\n\nrequire('https')\n .createServer(tlsOptions, bot.webhookCallback('/secret-path'))\n .listen(8443)\n```\n\n- [AWS Lambda example integration](https://github.com/telegraf/telegraf/blob/develop/docs/examples/aws-lambda.js)\n- [`express` example integration](https://github.com/telegraf/telegraf/blob/develop/docs/examples/express-webhook-bot.ts)\n- [`fastify` example integration](https://github.com/telegraf/telegraf/blob/develop/docs/examples/fastify-webhook-bot.js)\n- [Google Cloud Functions example integration](https://github.com/telegraf/telegraf/blob/develop/docs/examples/google-cloud-function.ts)\n- [`koa` example integration](https://github.com/telegraf/telegraf/blob/develop/docs/examples/koa-webhook-bot.js)\n- [NestJS framework integration module](https://github.com/bukhalo/nestjs-telegraf)\n- Use [`bot.handleUpdate`](https://telegraf.js.org/classes/telegraf.html#handleupdate) to write new integrations\n\n### Error handling\n\nIf middleware throws an error or times out, Telegraf calls `bot.handleError`. If it rethrows, update source closes, and then the error is printed to console and process [hopefully](https://nodejs.org/api/cli.html#cli_unhandled_rejections_mode) terminates. If it does not rethrow, the error is swallowed.\n\nDefault `bot.handleError` always rethrows. You can overwrite it using `bot.catch` if you need to.\n\n⚠️ Always rethrow `TimeoutError`!\n\n⚠️ Swallowing unknown errors might leave the process in invalid state!\n\nℹ️ In production, `systemd` or [`pm2`](https://www.npmjs.com/package/pm2) can restart your bot if it exits for any reason.\n\n## Advanced topics\n\n### Working with files\n\nSupported file sources:\n\n- `Existing file_id`\n- `File path`\n- `Url`\n- `Buffer`\n- `ReadStream`\n\nAlso, you can provide an optional name of a file as `filename` when you send the file.\n\n\n\n```js\nbot.on('message', (ctx) => {\n // resend existing file by file_id\n ctx.replyWithSticker('123123jkbhj6b')\n\n // send file\n ctx.replyWithVideo({ source: '/path/to/video.mp4' })\n\n // send stream\n ctx.replyWithVideo({\n source: fs.createReadStream('/path/to/video.mp4')\n })\n\n // send buffer\n ctx.replyWithVoice({\n source: Buffer.alloc()\n })\n\n // send url via Telegram server\n ctx.replyWithPhoto('https://picsum.photos/200/300/')\n\n // pipe url content\n ctx.replyWithPhoto({\n url: 'https://picsum.photos/200/300/?random',\n filename: 'kitten.jpg'\n })\n})\n```\n\n### Middleware\n\nIn addition to `ctx: Context`, each middleware receives `next: () => Promise`.\n\nAs in Koa and some other middleware-based libraries,\n`await next()` will call next middleware and wait for it to finish:\n\n```js\nimport { Telegraf } from 'telegraf'\n\nconst bot = new Telegraf(process.env.BOT_TOKEN)\n\nbot.use(async (ctx, next) => {\n console.time(`Processing update ${ctx.update.update_id}`)\n await next() // runs next middleware\n // runs after next middleware finishes\n console.timeEnd(`Processing update ${ctx.update.update_id}`)\n})\n\nbot.on('text', (ctx) => ctx.reply('Hello World'))\nbot.launch()\n\n// Enable graceful stop\nprocess.once('SIGINT', () => bot.stop('SIGINT'))\nprocess.once('SIGTERM', () => bot.stop('SIGTERM'))\n```\n\nWith this simple ability, you can:\n- extract information from updates and then `await next()` to avoid disrupting other middleware,\n- like [`Composer`] and [`Router`], `await next()` for updates you don't wish to handle,\n- like [`session`] and [`Scenes`], [extend the context](#extending-context) by mutating `ctx` before `await next()`,\n- [intercept API calls](https://github.com/telegraf/telegraf/discussions/1267#discussioncomment-254525),\n- reuse [other people's code](https://www.npmjs.com/search?q=telegraf-),\n- do whatever **you** come up with!\n\n[`Composer`]: https://telegraf.js.org/classes/composer.html\n[`Context`]: https://telegraf.js.org/classes/context.html\n[`Router`]: https://telegraf.js.org/classes/router.html\n[`session`]: https://telegraf.js.org/modules.html#session\n[`Scenes`]: https://telegraf.js.org/modules/scenes.html\n[`Telegraf`]: https://telegraf.js.org/classes/telegraf.html\n\n### Usage with TypeScript\n\nTelegraf is written in TypeScript and therefore ships with declaration files for the entire library.\nMoreover, it includes types for the complete Telegram API via the [`typegram`](https://github.com/KnorpelSenf/typegram) package.\nWhile most types of Telegraf's API surface are self-explanatory, there's some notable things to keep in mind.\n\n#### Extending `Context`\n\nThe exact shape of `ctx` can vary based on the installed middleware.\nSome custom middleware might register properties on the context object that Telegraf is not aware of.\nConsequently, you can change the type of `ctx` to fit your needs in order for you to have proper TypeScript types for your data.\nThis is done through Generics:\n\n```ts\nimport { Context, Telegraf } from 'telegraf'\n\n// Define your own context type\ninterface MyContext extends Context {\n myProp?: string\n myOtherProp?: number\n}\n\n// Create your bot and tell it about your context type\nconst bot = new Telegraf('SECRET TOKEN')\n\n// Register middleware and launch your bot as usual\nbot.use((ctx, next) => {\n // Yay, `myProp` is now available here as `string | undefined`!\n ctx.myProp = ctx.chat?.first_name?.toUpperCase()\n return next()\n})\n// ...\n```\n","engines":{"node":"^12.20.0 || >=14.13.1"},"exports":{".":"./lib/index.js","./types":"./types.js","./future":"./future.js"},"gitHead":"a64a6a09a28586d86480e7829597244287c7b747","scripts":{"lint":"eslint .","test":"ava test/*","build":"tsc --build docs/examples","clean":"git clean -fX .eslintcache docs/build/ lib/ typings/","checks":"npm test && npm run lint","prepare":"npm run --silent build","pretest":"npm run build","refresh":"npm run clean && npm ci","build:docs":"typedoc src/index.ts"},"_npmUser":{"name":"mkrhere","email":"muthukumar@thefeathers.in"},"deprecated":"Switch to 4.9.0 or higher","repository":{"url":"git+ssh://git@github.com/telegraf/telegraf.git","type":"git"},"_npmVersion":"8.5.5","description":"Modern Telegram Bot Framework","directories":{},"_nodeVersion":"16.15.0","dependencies":{"debug":"^4.3.3","minimist":"^1.2.6","typegram":"^3.9.0","p-timeout":"^4.1.0","node-fetch":"^2.6.7","module-alias":"^2.2.2","safe-compare":"^1.1.4","sandwich-stream":"^2.0.2","abort-controller":"^3.0.0"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"ava":"^4.0.1","eslint":"^8.8.0","typedoc":"^0.22.11","prettier":"^2.5.1","typescript":"^4.5.5","@types/node":"^17.0.14","@types/debug":"^4.1.7","@types/node-fetch":"^2.5.12","eslint-plugin-ava":"^13.2.0","eslint-plugin-node":"^11.1.0","@types/safe-compare":"^1.1.0","eslint-plugin-import":"^2.25.4","eslint-plugin-promise":"^6.0.0","eslint-config-prettier":"^8.3.0","eslint-plugin-prettier":"^4.0.0","eslint-plugin-standard":"^5.0.0","@typescript-eslint/parser":"^5.10.2","@typescript-eslint/eslint-plugin":"^5.10.2"},"_npmOperationalInternal":{"tmp":"tmp/telegraf_4.9.0-canary.9_1652902103112_0.7827212935158172","host":"s3://npm-registry-packages"}},"4.8.3":{"name":"telegraf","version":"4.8.3","keywords":["telegraf","telegram","telegram bot api","bot","botapi","bot framework"],"author":{"name":"Vitaly Domnikov","email":"oss@vitaly.codes"},"license":"MIT","_id":"telegraf@4.8.3","maintainers":[{"name":"dotcypress","email":"dotcypress@gmail.com"},{"name":"mkrhere","email":"muthukumar@thefeathers.in"},{"name":"wojpawlik","email":"woj.pawlik@gmail.com"}],"homepage":"https://telegraf.js.org","bugs":{"url":"https://github.com/telegraf/telegraf/issues"},"bin":{"telegraf":"bin/telegraf"},"dist":{"shasum":"9ae66625dcdb8ffc6a7659a1b6b304ae419b6681","tarball":"https://registry.npmjs.org/telegraf/-/telegraf-4.8.3.tgz","fileCount":110,"integrity":"sha512-B3gcxoYU+ZTzdvmubvTmsOy/ytOWUEzr3VxtSGCODnwuGruWUCgv60NRFIBGmKxk23OT9aSrW+5F5T4OeyCOMQ==","signatures":[{"sig":"MEYCIQDtfgIKyZ7l5fkIOfJbhzMnJwQGNmKQXjEjLKX2Ljyu7QIhAJnEf9p5Sch4X0CahPMA9jLfMNUXNujQL48FiufL72xB","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":448010,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJikxB+ACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmrFFBAAloGe/wdgAQuTXyqt7waBTOGKEi47KEPFCoZwqoRut4WzIfZY\r\nlvNj1fqwHrsJCsTzeE7q9eB69qsvM7apWvBUrA6HLKnGTLj1UDcqxcVGZhOf\r\n8lZB28gx4jBMsDxYEPal29NJip+AtfsJDOqbzBgDQtxM0BnYp3etbtrIk19i\r\ngpTPxHTKOxTjB+rldYlo3nTEPVNIPklS5cR5HXgQR8aiyXaz1dEc+7osfne+\r\nH7LkQNlsviVaaIMki5AhZzf4r6xPktL8dhF3xAff5+Weng+E8BPvL4UiNv6c\r\nXj9mhAr1sZUNA+diMRDbzbba3t7UzQ9qIAVm6LpYuhXwHrVZsxfCZ/bVUcr0\r\nxjvjwKFoUa4SzDhbp5jqFtiqf8utLHtVX9Fo6yM14aCaBJxnOJlxCVjWq0J3\r\nS53iA4bIF6SLfZBdPw1mwNlnGxWrE67NGUGvEnImfbxFnCqKkQXT6iS70QNH\r\nb0jfesIXCp0USbHCQVDmS3tSUyvhspgoTfMcvFCfYls5gb648LZt1tk3ONlE\r\nrUp9JJs5Vj/JCQSGVgJfMMnzWi5Q8iXM3Tfki0z9TKC1MXAle+tlaDJGVLyR\r\nv0Jq8WR85P/XXuWuAszfwEzH2jEK6OlLN/Ta3USZNP42LCvLu02CDXJyKVNO\r\nd9UaGjDVfUjnLsMZAd3jQXBZqE48RBG2/Kw=\r\n=F7X8\r\n-----END PGP SIGNATURE-----\r\n"},"main":"lib/index.js","type":"commonjs","types":"./typings/index.d.ts","engines":{"node":"^12.20.0 || >=14.13.1"},"exports":{".":"./lib/index.js","./types":"./types.js"},"gitHead":"be38a91ae5ab8ead572c4539b21e1fa9451c4a18","scripts":{"lint":"eslint .","test":"ava test/*","build":"tsc --build docs/examples","clean":"git clean -fX .eslintcache docs/build/ lib/ typings/","checks":"npm test && npm run lint","prepare":"npm run --silent build","pretest":"npm run build","refresh":"npm run clean && npm ci","build:docs":"typedoc src/index.ts"},"_npmUser":{"name":"mkrhere","email":"muthukumar@thefeathers.in"},"repository":{"url":"git+ssh://git@github.com/telegraf/telegraf.git","type":"git"},"_npmVersion":"8.5.5","description":"Modern Telegram Bot Framework","directories":{},"_nodeVersion":"16.15.0","dependencies":{"debug":"^4.3.3","minimist":"^1.2.6","typegram":"^3.9.0","p-timeout":"^4.1.0","node-fetch":"^2.6.7","module-alias":"^2.2.2","safe-compare":"^1.1.4","sandwich-stream":"^2.0.2","abort-controller":"^3.0.0"},"_hasShrinkwrap":false,"devDependencies":{"ava":"^4.0.1","eslint":"^8.8.0","typedoc":"^0.22.11","prettier":"^2.5.1","typescript":"^4.5.5","@types/node":"^17.0.14","@types/debug":"^4.1.7","@types/node-fetch":"^2.5.12","eslint-plugin-ava":"^13.2.0","eslint-plugin-node":"^11.1.0","@types/safe-compare":"^1.1.0","eslint-plugin-import":"^2.25.4","eslint-plugin-promise":"^6.0.0","eslint-config-prettier":"^8.3.0","eslint-plugin-prettier":"^4.0.0","eslint-plugin-standard":"^5.0.0","@typescript-eslint/parser":"^5.10.2","@typescript-eslint/eslint-plugin":"^5.10.2"},"_npmOperationalInternal":{"tmp":"tmp/telegraf_4.8.3_1653805181841_0.8497928530750953","host":"s3://npm-registry-packages"}},"4.8.4":{"name":"telegraf","version":"4.8.4","keywords":["telegraf","telegram","telegram bot api","bot","botapi","bot framework"],"author":{"name":"Vitaly Domnikov","email":"oss@vitaly.codes"},"license":"MIT","_id":"telegraf@4.8.4","maintainers":[{"name":"dotcypress","email":"dotcypress@gmail.com"},{"name":"mkrhere","email":"muthukumar@thefeathers.in"},{"name":"wojpawlik","email":"woj.pawlik@gmail.com"}],"homepage":"https://telegraf.js.org","bugs":{"url":"https://github.com/telegraf/telegraf/issues"},"bin":{"telegraf":"bin/telegraf"},"dist":{"shasum":"8843e9e17a60f885bdd5e522d77a4a38ae127158","tarball":"https://registry.npmjs.org/telegraf/-/telegraf-4.8.4.tgz","fileCount":110,"integrity":"sha512-IUpYFsFdgo91K6P3MdzPKMXY5FhgpCyH3klKvbJXjM9E694OYFh8JsNs7wtk+2hO3gERGA0jWJ36jTvMlmau/A==","signatures":[{"sig":"MEQCIDlnBokcaOVEU5/czQkM4AiPgIIh9gNNZx/XopR8tL3PAiALL2AlCVblMDJ1NBwtbSnOQq0XvsVHVcBTylXVMs2M2Q==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":448130,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJin1xaACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmqCEQ/+JtXiKUuiSMw1Asgkf89pe2KMAshQ6nPm4igHpWx1oddumeZf\r\nkprq4z67TdyGKgHUhLTTefVnA9wnVSIYx0d4h2FcTShdkuhBdSNZVMZ39TpC\r\njUeusRVs0nDGWlpFNMGS51gukHedJBNbfNgywbRSwpbibkwjYs+aBOhQMStQ\r\nMmXpMtMiaUFrwCSQHzxhzwY9BkEv9rKuZXlesFCMizLnnwt1vTT0vz2P9A09\r\n886YRrlvLkGPiyOhgcLYqWRyLzvf6lndLCh3SNZekyD2YHrRzoKqxCodIX+k\r\nVZmAwJv5K5mTiz1y7VkSGsqdIux6IPtOmM8sViHei9eYed/kHwW+FEPvFUXi\r\nFSFW/DsWedB0c3z9sv93Rqm+xN/IZZksYPmU6QvS+VWAbDh8Lh7QpLPBDWRm\r\nLSr/kn9JxPNSxQzH0yWPkgSGEqRsAmRl3MYSrInv2H5McBQuiei3NTnew4Ev\r\nLKNYDExZHweBJztngRfFEy9CiTWaz3AuW6uzmbBvNZRcng7Ob6VkTbkTDhFI\r\nXZq+DaIf4pMOP4Af/sCrnk7o+zaPuRM4GXCueBYLZs5exyMLvySlZ9f7Z9QK\r\nQahVygG3IesSxJ1S9OtweAp8FhhthjJkWst2sQZuL6oUxd+toLyz/4IsnnlP\r\nHWO0F6ubzTnfrJOoc4ieOKtd1bv82jbkB/k=\r\n=nbSt\r\n-----END PGP SIGNATURE-----\r\n"},"main":"lib/index.js","type":"commonjs","types":"./typings/index.d.ts","engines":{"node":"^12.20.0 || >=14.13.1"},"exports":{".":{"types":"./typings/index.d.ts","require":"./lib/index.js"},"./types":{"types":"./types.d.ts","require":"./types.js"}},"gitHead":"f03ae82da29d4bff7a68a556a2ccb8bfd47211f6","scripts":{"lint":"eslint .","test":"ava test/*","build":"tsc --build docs/examples","clean":"git clean -fX .eslintcache docs/build/ lib/ typings/","checks":"npm test && npm run lint","prepare":"npm run --silent build","pretest":"npm run build","refresh":"npm run clean && npm ci","build:docs":"typedoc src/index.ts"},"_npmUser":{"name":"mkrhere","email":"muthukumar@thefeathers.in"},"repository":{"url":"git+ssh://git@github.com/telegraf/telegraf.git","type":"git"},"_npmVersion":"8.5.5","description":"Modern Telegram Bot Framework","directories":{},"_nodeVersion":"16.15.0","dependencies":{"debug":"^4.3.3","minimist":"^1.2.6","typegram":"^3.9.0","p-timeout":"^4.1.0","node-fetch":"^2.6.7","module-alias":"^2.2.2","safe-compare":"^1.1.4","sandwich-stream":"^2.0.2","abort-controller":"^3.0.0"},"_hasShrinkwrap":false,"devDependencies":{"ava":"^4.0.1","eslint":"^8.8.0","typedoc":"^0.22.11","prettier":"^2.5.1","typescript":"^4.5.5","@types/node":"^17.0.14","@types/debug":"^4.1.7","@types/node-fetch":"^2.5.12","eslint-plugin-ava":"^13.2.0","eslint-plugin-node":"^11.1.0","@types/safe-compare":"^1.1.0","eslint-plugin-import":"^2.25.4","eslint-plugin-promise":"^6.0.0","eslint-config-prettier":"^8.3.0","eslint-plugin-prettier":"^4.0.0","eslint-plugin-standard":"^5.0.0","@typescript-eslint/parser":"^5.10.2","@typescript-eslint/eslint-plugin":"^5.10.2"},"_npmOperationalInternal":{"tmp":"tmp/telegraf_4.8.4_1654611034633_0.09195401375169343","host":"s3://npm-registry-packages"}},"4.8.5-canary.1":{"name":"telegraf","version":"4.8.5-canary.1","keywords":["telegraf","telegram","telegram bot api","bot","botapi","bot framework"],"author":{"name":"Vitaly Domnikov","email":"oss@vitaly.codes"},"license":"MIT","_id":"telegraf@4.8.5-canary.1","maintainers":[{"name":"dotcypress","email":"dotcypress@gmail.com"},{"name":"mkrhere","email":"muthukumar@thefeathers.in"},{"name":"wojpawlik","email":"woj.pawlik@gmail.com"}],"homepage":"https://telegraf.js.org","bugs":{"url":"https://github.com/telegraf/telegraf/issues"},"bin":{"telegraf":"bin/telegraf"},"dist":{"shasum":"7f1b1df429ea0089d7b0cbae24fd6b7bccdd7116","tarball":"https://registry.npmjs.org/telegraf/-/telegraf-4.8.5-canary.1.tgz","fileCount":116,"integrity":"sha512-b2158XCzvuuII4I4Fq3c2YiwJ7qs9br4g0BekmRJAsZc5fE0Qk3mtlidEeRvDXDJhE3v7lGAy4D4X+HU+Koy5w==","signatures":[{"sig":"MEYCIQDt5xDUrSXoYNNFW+H/IK3tk/lSTu0KbcPLxv/fzspceAIhAIqC/dQKJGJXV1yF3NDvKuXkbJBo95vHxAVxHkDT//s0","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":457297,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJioNIuACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmqmSw//d1GVJOcK3tMv6aMbnOMxedy0zVZ4PDsi34Y8ImxfELTA7KTo\r\nOephoE4l68je9ItXkwZ/0EBZHTFF0wqj1GXnoVlF/x0VWgJ5OtIpQuJLPDTj\r\nvkHjGP7z3x1k59gV3oJTbPHyYFHpfLCAzvmeZE8kLIabCnBOpisVTA00kRXn\r\njUNXgR8RFRXphu0tla5pMBTyq22xpoVFQf4ZOx1k1hKKhbdD2avN/thyaudz\r\nucOWJzsxne3pXWbNSd8FEAdGSQr8a0vay76MYUnQVmC6LWoUUpqUdTpr5jIJ\r\n/fG0Gst3cUVWDyW/ZawXkkJYmD9abbWJiwAFnt/80LHPOilPPJSOlm24ClNG\r\nZ3PQlF3tGwoHflp1kFAoJOTy/KWHRPdaninTLOzv2D9yrJNtovFqsVVnGFeV\r\nIQMA50qtaFvsHltSL+H2iYoOvGwu5OlyZLKP7N9cdiyy7Jyfo9ciUo+pYCDG\r\n/f7/N4PN/5E1bagfzpM/av7GWOenzHWjLLmU2Z/9I/qUxY2LwLr9H9hPSUqO\r\n8Nc8kYVV+nf3Q/A1XrgqzptklS/YqHxoD6IiKXA4EQc2yqwMKq/5Fgx1kZGz\r\nm1Ycz3rU7o3XyPbKR+6nAQ78+sXyguNJyaZZ4o8X3i4H8e2lYnIOfVmoam5b\r\n9ymG2ge3h/ZL/EYtFh6PXmvz5HwUqhR3Qz4=\r\n=XXA8\r\n-----END PGP SIGNATURE-----\r\n"},"main":"lib/index.js","type":"commonjs","types":"./typings/index.d.ts","readme":"
\n\"logo\"\n

telegraf.js

\n\nModern Telegram Bot API framework for Node.js\n\n[![Bot API Version](https://img.shields.io/badge/Bot%20API-v6.0-f36caf.svg?style=flat-square)](https://core.telegram.org/bots/api)\n[![install size](https://flat.badgen.net/packagephobia/install/telegraf)](https://packagephobia.com/result?p=telegraf,node-telegram-bot-api)\n[![GitHub top language](https://img.shields.io/github/languages/top/telegraf/telegraf?style=flat-square&logo=github)](https://github.com/telegraf/telegraf)\n[![English chat](https://img.shields.io/badge/English%20chat-grey?style=flat-square&logo=telegram)](https://t.me/TelegrafJSChat)\n
\n\n> Notice: [@MKRhere](https://github.com/MKRhere) has taken over as the new maintainer of Telegraf. Feel free to reach out via the Telegram group.\n\n## For 3.x users\n\n- [3.x docs](https://telegraf.js.org/v3)\n- [4.0 release notes](https://github.com/telegraf/telegraf/releases/tag/v4.0.0)\n\n## Introduction\n\nBots are special [Telegram](https://telegram.org) accounts designed to handle messages automatically. \nUsers can interact with bots by sending them command messages in private or group chats. \nThese accounts serve as an interface for code running somewhere on your server.\n\nTelegraf is a library that makes it simple for you to develop your own Telegram bots using JavaScript or [TypeScript](https://www.typescriptlang.org/).\n\n### Features\n\n- Full [Telegram Bot API 6.0](https://core.telegram.org/bots/api) support\n- [Excellent TypeScript typings](https://github.com/telegraf/telegraf/releases/tag/v4.0.0)\n- [Lightweight](https://packagephobia.com/result?p=telegraf,node-telegram-bot-api)\n- [AWS **λ**](https://docs.aws.amazon.com/lambda/latest/dg/nodejs-prog-model-handler.html)\n / [Firebase](https://firebase.google.com/products/functions/)\n / [Glitch](https://glitch.com/edit/#!/dashing-light)\n / [Heroku](https://devcenter.heroku.com/articles/getting-started-with-nodejs#introduction)\n / Whatever ready\n- `http/https/fastify/Connect.js/express.js` compatible webhooks\n- Extensible\n\n### Example\n \n```js\nconst { Telegraf } = require('telegraf')\n\nconst bot = new Telegraf(process.env.BOT_TOKEN)\nbot.start((ctx) => ctx.reply('Welcome'))\nbot.help((ctx) => ctx.reply('Send me a sticker'))\nbot.on('sticker', (ctx) => ctx.reply('👍'))\nbot.hears('hi', (ctx) => ctx.reply('Hey there'))\nbot.launch()\n\n// Enable graceful stop\nprocess.once('SIGINT', () => bot.stop('SIGINT'))\nprocess.once('SIGTERM', () => bot.stop('SIGTERM'))\n```\n\n```js\nconst { Telegraf } = require('telegraf')\n\nconst bot = new Telegraf(process.env.BOT_TOKEN)\nbot.command('oldschool', (ctx) => ctx.reply('Hello'))\nbot.command('hipster', Telegraf.reply('λ'))\nbot.launch()\n\n// Enable graceful stop\nprocess.once('SIGINT', () => bot.stop('SIGINT'))\nprocess.once('SIGTERM', () => bot.stop('SIGTERM'))\n```\n\nFor additional bot examples see [`examples`](https://github.com/telegraf/telegraf/tree/develop/docs/examples) folder.\n\n### Resources\n\n- [Getting started](#getting-started)\n- [API reference](https://telegraf.js.org/modules.html)\n- Telegram groups (sorted by number of members):\n * [English](https://t.me/TelegrafJSChat)\n * [Uzbek](https://t.me/botjs_uz)\n * [Ethiopian](https://t.me/telegraf_et)\n- [GitHub Discussions](https://github.com/telegraf/telegraf/discussions)\n- [Dependent repositories](https://libraries.io/npm/telegraf/dependent_repositories)\n\n## Getting started\n\n### Telegram token\n\nTo use the [Telegram Bot API](https://core.telegram.org/bots/api), \nyou first have to [get a bot account](https://core.telegram.org/bots) \nby [chatting with BotFather](https://core.telegram.org/bots#6-botfather).\n\nBotFather will give you a *token*, something like `123456789:AbCdfGhIJKlmNoQQRsTUVwxyZ`.\n\n### Installation\n\n```shellscript\n$ npm install telegraf\n```\nor\n```shellscript\n$ yarn add telegraf\n```\nor\n```shellscript\n$ pnpm add telegraf\n```\n\n### `Telegraf` class\n\n[`Telegraf`] instance represents your bot. It's responsible for obtaining updates and passing them to your handlers.\n\nStart by [listening to commands](https://telegraf.js.org/classes/telegraf.html#command) and [launching](https://telegraf.js.org/classes/telegraf.html#launch) your bot.\n\n### `Context` class\n\n`ctx` you can see in every example is a [`Context`] instance.\n[`Telegraf`] creates one for each incoming update and passes it to your middleware.\nIt contains the `update`, `botInfo`, and `telegram` for making arbitrary Bot API requests,\nas well as shorthand methods and getters.\n\nThis is probably the class you'll be using the most.\n\n\n\n\n#### Shorthand methods\n\n```js\nimport { Telegraf } from 'telegraf'\n\nconst bot = new Telegraf(process.env.BOT_TOKEN)\n\nbot.command('quit', (ctx) => {\n // Explicit usage\n ctx.telegram.leaveChat(ctx.message.chat.id)\n\n // Using context shortcut\n ctx.leaveChat()\n})\n\nbot.on('text', (ctx) => {\n // Explicit usage\n ctx.telegram.sendMessage(ctx.message.chat.id, `Hello ${ctx.state.role}`)\n\n // Using context shortcut\n ctx.reply(`Hello ${ctx.state.role}`)\n})\n\nbot.on('callback_query', (ctx) => {\n // Explicit usage\n ctx.telegram.answerCbQuery(ctx.callbackQuery.id)\n\n // Using context shortcut\n ctx.answerCbQuery()\n})\n\nbot.on('inline_query', (ctx) => {\n const result = []\n // Explicit usage\n ctx.telegram.answerInlineQuery(ctx.inlineQuery.id, result)\n\n // Using context shortcut\n ctx.answerInlineQuery(result)\n})\n\nbot.launch()\n\n// Enable graceful stop\nprocess.once('SIGINT', () => bot.stop('SIGINT'))\nprocess.once('SIGTERM', () => bot.stop('SIGTERM'))\n```\n\n## Production\n\n### Webhooks\n\n```js\nconst { Telegraf } = require('telegraf')\nconst fs = require('fs')\nrequire('dotenv')\n\nconst bot = new Telegraf(process.env.BOT_TOKEN)\n\n// TLS options\nconst tlsOptions = {\n key: fs.readFileSync('server-key.pem'),\n cert: fs.readFileSync('server-cert.pem'),\n ca: [\n // This is necessary only if the client uses a self-signed certificate.\n fs.readFileSync('client-cert.pem')\n ]\n}\n\n// Set telegram webhook\n// The second argument is necessary only if the client uses a self-signed\n// certificate. Including it for a verified certificate may cause things to break.\nbot.telegram.setWebhook('https://server.tld:8443/secret-path', {\n certificate: { source: fs.readFileSync('server-cert.pem') }\n})\n\n// Start https webhook\nbot.startWebhook('/secret-path', tlsOptions, 8443)\n\n// Http webhook, for nginx/heroku users.\nbot.startWebhook('/secret-path', null, 5000)\n```\n\nUse `webhookCallback()` if you want to attach Telegraf to an existing http server.\n\n\n\n```js\nrequire('http')\n .createServer(bot.webhookCallback('/secret-path'))\n .listen(3000)\n\nrequire('https')\n .createServer(tlsOptions, bot.webhookCallback('/secret-path'))\n .listen(8443)\n```\n\n- [AWS Lambda example integration](https://github.com/telegraf/telegraf/blob/develop/docs/examples/aws-lambda.js)\n- [`express` example integration](https://github.com/telegraf/telegraf/blob/develop/docs/examples/express-webhook-bot.ts)\n- [`fastify` example integration](https://github.com/telegraf/telegraf/blob/develop/docs/examples/fastify-webhook-bot.js)\n- [Google Cloud Functions example integration](https://github.com/telegraf/telegraf/blob/develop/docs/examples/google-cloud-function.ts)\n- [`koa` example integration](https://github.com/telegraf/telegraf/blob/develop/docs/examples/koa-webhook-bot.js)\n- [NestJS framework integration module](https://github.com/bukhalo/nestjs-telegraf)\n- Use [`bot.handleUpdate`](https://telegraf.js.org/classes/telegraf.html#handleupdate) to write new integrations\n\n### Error handling\n\nIf middleware throws an error or times out, Telegraf calls `bot.handleError`. If it rethrows, update source closes, and then the error is printed to console and process [hopefully](https://nodejs.org/api/cli.html#cli_unhandled_rejections_mode) terminates. If it does not rethrow, the error is swallowed.\n\nDefault `bot.handleError` always rethrows. You can overwrite it using `bot.catch` if you need to.\n\n⚠️ Always rethrow `TimeoutError`!\n\n⚠️ Swallowing unknown errors might leave the process in invalid state!\n\nℹ️ In production, `systemd` or [`pm2`](https://www.npmjs.com/package/pm2) can restart your bot if it exits for any reason.\n\n## Advanced topics\n\n### Working with files\n\nSupported file sources:\n\n- `Existing file_id`\n- `File path`\n- `Url`\n- `Buffer`\n- `ReadStream`\n\nAlso, you can provide an optional name of a file as `filename` when you send the file.\n\n\n\n```js\nbot.on('message', (ctx) => {\n // resend existing file by file_id\n ctx.replyWithSticker('123123jkbhj6b')\n\n // send file\n ctx.replyWithVideo({ source: '/path/to/video.mp4' })\n\n // send stream\n ctx.replyWithVideo({\n source: fs.createReadStream('/path/to/video.mp4')\n })\n\n // send buffer\n ctx.replyWithVoice({\n source: Buffer.alloc()\n })\n\n // send url via Telegram server\n ctx.replyWithPhoto('https://picsum.photos/200/300/')\n\n // pipe url content\n ctx.replyWithPhoto({\n url: 'https://picsum.photos/200/300/?random',\n filename: 'kitten.jpg'\n })\n})\n```\n\n### Middleware\n\nIn addition to `ctx: Context`, each middleware receives `next: () => Promise`.\n\nAs in Koa and some other middleware-based libraries,\n`await next()` will call next middleware and wait for it to finish:\n\n```js\nimport { Telegraf } from 'telegraf'\n\nconst bot = new Telegraf(process.env.BOT_TOKEN)\n\nbot.use(async (ctx, next) => {\n console.time(`Processing update ${ctx.update.update_id}`)\n await next() // runs next middleware\n // runs after next middleware finishes\n console.timeEnd(`Processing update ${ctx.update.update_id}`)\n})\n\nbot.on('text', (ctx) => ctx.reply('Hello World'))\nbot.launch()\n\n// Enable graceful stop\nprocess.once('SIGINT', () => bot.stop('SIGINT'))\nprocess.once('SIGTERM', () => bot.stop('SIGTERM'))\n```\n\nWith this simple ability, you can:\n- extract information from updates and then `await next()` to avoid disrupting other middleware,\n- like [`Composer`] and [`Router`], `await next()` for updates you don't wish to handle,\n- like [`session`] and [`Scenes`], [extend the context](#extending-context) by mutating `ctx` before `await next()`,\n- [intercept API calls](https://github.com/telegraf/telegraf/discussions/1267#discussioncomment-254525),\n- reuse [other people's code](https://www.npmjs.com/search?q=telegraf-),\n- do whatever **you** come up with!\n\n[`Composer`]: https://telegraf.js.org/classes/composer.html\n[`Context`]: https://telegraf.js.org/classes/context.html\n[`Router`]: https://telegraf.js.org/classes/router.html\n[`session`]: https://telegraf.js.org/modules.html#session\n[`Scenes`]: https://telegraf.js.org/modules/scenes.html\n[`Telegraf`]: https://telegraf.js.org/classes/telegraf.html\n\n### Usage with TypeScript\n\nTelegraf is written in TypeScript and therefore ships with declaration files for the entire library.\nMoreover, it includes types for the complete Telegram API via the [`typegram`](https://github.com/KnorpelSenf/typegram) package.\nWhile most types of Telegraf's API surface are self-explanatory, there's some notable things to keep in mind.\n\n#### Extending `Context`\n\nThe exact shape of `ctx` can vary based on the installed middleware.\nSome custom middleware might register properties on the context object that Telegraf is not aware of.\nConsequently, you can change the type of `ctx` to fit your needs in order for you to have proper TypeScript types for your data.\nThis is done through Generics:\n\n```ts\nimport { Context, Telegraf } from 'telegraf'\n\n// Define your own context type\ninterface MyContext extends Context {\n myProp?: string\n myOtherProp?: number\n}\n\n// Create your bot and tell it about your context type\nconst bot = new Telegraf('SECRET TOKEN')\n\n// Register middleware and launch your bot as usual\nbot.use((ctx, next) => {\n // Yay, `myProp` is now available here as `string | undefined`!\n ctx.myProp = ctx.chat?.first_name?.toUpperCase()\n return next()\n})\n// ...\n```\n","engines":{"node":"^12.20.0 || >=14.13.1"},"exports":{".":{"types":"./typings/index.d.ts","import":"./lib/index.js","require":"./lib/index.js"},"./types":{"types":"./types.d.ts","import":"./types.js","require":"./types.js"}},"gitHead":"f03ae82da29d4bff7a68a556a2ccb8bfd47211f6","scripts":{"lint":"eslint .","test":"ava test/*","build":"tsc --build docs/examples","clean":"git clean -fX .eslintcache docs/build/ lib/ typings/","checks":"npm test && npm run lint","prepare":"npm run --silent build","pretest":"npm run build","refresh":"npm run clean && npm ci","build:docs":"typedoc src/index.ts"},"_npmUser":{"name":"mkrhere","email":"muthukumar@thefeathers.in"},"deprecated":"Switch to 4.9.0 or higher","repository":{"url":"git+ssh://git@github.com/telegraf/telegraf.git","type":"git"},"_npmVersion":"8.5.5","description":"Modern Telegram Bot Framework","directories":{},"_nodeVersion":"16.15.0","dependencies":{"debug":"^4.3.3","minimist":"^1.2.6","typegram":"^3.9.0","p-timeout":"^4.1.0","node-fetch":"^2.6.7","module-alias":"^2.2.2","safe-compare":"^1.1.4","sandwich-stream":"^2.0.2","abort-controller":"^3.0.0"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"ava":"^4.0.1","eslint":"^8.8.0","typedoc":"^0.22.11","prettier":"^2.5.1","typescript":"^4.5.5","@types/node":"^17.0.14","@types/debug":"^4.1.7","@types/node-fetch":"^2.5.12","eslint-plugin-ava":"^13.2.0","eslint-plugin-node":"^11.1.0","@types/safe-compare":"^1.1.0","eslint-plugin-import":"^2.25.4","eslint-plugin-promise":"^6.0.0","eslint-config-prettier":"^8.3.0","eslint-plugin-prettier":"^4.0.0","eslint-plugin-standard":"^5.0.0","@typescript-eslint/parser":"^5.10.2","@typescript-eslint/eslint-plugin":"^5.10.2"},"_npmOperationalInternal":{"tmp":"tmp/telegraf_4.8.5-canary.1_1654706734136_0.7587965567557788","host":"s3://npm-registry-packages"}},"4.8.5":{"name":"telegraf","version":"4.8.5","keywords":["telegraf","telegram","telegram bot api","bot","botapi","bot framework"],"author":{"name":"Vitaly Domnikov","email":"oss@vitaly.codes"},"license":"MIT","_id":"telegraf@4.8.5","maintainers":[{"name":"dotcypress","email":"dotcypress@gmail.com"},{"name":"mkrhere","email":"muthukumar@thefeathers.in"},{"name":"wojpawlik","email":"woj.pawlik@gmail.com"}],"homepage":"https://telegraf.js.org","bugs":{"url":"https://github.com/telegraf/telegraf/issues"},"bin":{"telegraf":"bin/telegraf"},"dist":{"shasum":"0df238ae01e44f98ce28785f5d465127d712151b","tarball":"https://registry.npmjs.org/telegraf/-/telegraf-4.8.5.tgz","fileCount":110,"integrity":"sha512-BTnXBvQ2sRnPCuDvMCvZhMfanJxycWNmAEd+23yBliKXddqt/fFWkj/2OQMD/L3YPD1c1elK5F4WEkJUW3khQQ==","signatures":[{"sig":"MEYCIQD++GcSml1iPTQZ2QxSvcoejqZ1rRLNaGGyE6phSlNlogIhAPLd8UFspECTPNDmIzed89Lvr9Y21h4xaipI2U8S3VFM","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":448194,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJioNdNACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmqOTg/+PT3al/BuG5Em1QAdr9bk9kOVuSD+vgulgDKRZ2HCVMer52ce\r\nJR5DNaL6fNLKyhpxhVFr30xfoLnyiuEM+Mn0M9R98Vu9Lv7zFQft9X2N+AE2\r\nB5RlaDXw+A0n8nYI1BULET04d8DytMAdqzig+ErWXhSWJvBZM6Z9WvHFV+2p\r\nZeqe5ml7Ocwiox8Y2KxReCsP7x0J9S82YGzKbJbWQ3QRW6kMU/hOhsl11aiw\r\n/EYc4wLnTkUsaZbe+672wPaJXJThFHK/dYpPaXPooAQZOaPpuQTbXngGyy3l\r\nBijSLiOP9Pb3xGPGMEMWstsKsIfE0fBeZK9Go1l4ZEBgP1TCtQRi0S9eVdWh\r\nSjWSkJgfmWMfzHhJ4jBWbiBLr/Ngxl0p7/VDA/x4ilox3M04dAU/RvhQGHyS\r\nfGk0NCbfSPTOCfFqH4WK5Tx5UOWF1p5U7mxD1tqX2x2BAKw3RrAQTBpdctGL\r\nqwPTT0vAbjHeLEdnoQi2RZzOrXrM0lo9nl0ykEDmUupDnOwheGvjfD3u1ur+\r\nFqqYtsO6IC8uVR0TIasJndVDrftAx1BsCizZNXN+agu3GW1Vj5nK2aQjoJkj\r\npXE0R71qOM+32HR7Vy+h8SaA15EycEiX/XdRQ6cwzTeYF6nO2SKbeaUiU/Qp\r\ndCLqfl5wTKBDPy4oFS30Q7cQZyKvSiTiUCU=\r\n=Twut\r\n-----END PGP SIGNATURE-----\r\n"},"main":"lib/index.js","type":"commonjs","types":"./typings/index.d.ts","engines":{"node":"^12.20.0 || >=14.13.1"},"exports":{".":{"types":"./typings/index.d.ts","import":"./lib/index.js","require":"./lib/index.js"},"./types":{"types":"./types.d.ts","import":"./types.js","require":"./types.js"}},"gitHead":"87cb1b9ec68774e5f9abafe355bc3513a54c847f","scripts":{"lint":"eslint .","test":"ava test/*","build":"tsc --build docs/examples","clean":"git clean -fX .eslintcache docs/build/ lib/ typings/","checks":"npm test && npm run lint","prepare":"npm run --silent build","pretest":"npm run build","refresh":"npm run clean && npm ci","build:docs":"typedoc src/index.ts"},"_npmUser":{"name":"mkrhere","email":"muthukumar@thefeathers.in"},"repository":{"url":"git+ssh://git@github.com/telegraf/telegraf.git","type":"git"},"_npmVersion":"8.5.5","description":"Modern Telegram Bot Framework","directories":{},"_nodeVersion":"16.15.0","dependencies":{"debug":"^4.3.3","minimist":"^1.2.6","typegram":"^3.9.0","p-timeout":"^4.1.0","node-fetch":"^2.6.7","module-alias":"^2.2.2","safe-compare":"^1.1.4","sandwich-stream":"^2.0.2","abort-controller":"^3.0.0"},"_hasShrinkwrap":false,"devDependencies":{"ava":"^4.0.1","eslint":"^8.8.0","typedoc":"^0.22.11","prettier":"^2.5.1","typescript":"^4.5.5","@types/node":"^17.0.14","@types/debug":"^4.1.7","@types/node-fetch":"^2.5.12","eslint-plugin-ava":"^13.2.0","eslint-plugin-node":"^11.1.0","@types/safe-compare":"^1.1.0","eslint-plugin-import":"^2.25.4","eslint-plugin-promise":"^6.0.0","eslint-config-prettier":"^8.3.0","eslint-plugin-prettier":"^4.0.0","eslint-plugin-standard":"^5.0.0","@typescript-eslint/parser":"^5.10.2","@typescript-eslint/eslint-plugin":"^5.10.2"},"_npmOperationalInternal":{"tmp":"tmp/telegraf_4.8.5_1654708045444_0.7110579683061238","host":"s3://npm-registry-packages"}},"3.40.0":{"name":"telegraf","version":"3.40.0","keywords":["telegraf","telegram","telegram bot api","bot","botapi","bot framework"],"author":{"name":"Vitaly Domnikov","email":"oss@vitaly.codes"},"license":"MIT","_id":"telegraf@3.40.0","maintainers":[{"name":"dotcypress","email":"dotcypress@gmail.com"},{"name":"mkrhere","email":"muthukumar@thefeathers.in"},{"name":"wojpawlik","email":"woj.pawlik@gmail.com"}],"homepage":"https://github.com/telegraf/telegraf#readme","bugs":{"url":"https://github.com/telegraf/telegraf/issues"},"bin":{"telegraf":"bin/telegraf"},"dist":{"shasum":"2234eaf7850b0767b2975976e4d264fe421d8c03","tarball":"https://registry.npmjs.org/telegraf/-/telegraf-3.40.0.tgz","fileCount":33,"integrity":"sha512-wulVjRHrX2zQwbk1/jzg3Ll9Kr0xC7ofXsRPJgcV2yoCFx5oSU41ZaDKNRPsLhjXxW4s9iNM2S2N/ESyiZxTMQ==","signatures":[{"sig":"MEQCIFFyRB3L+DSVur21oyaleF21rzL5tIWzvDhgN68IULAdAiAU6MBVPAukH31qSjKnk6H1Ik27wU1Ivo+j0KWbxaiU+g==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":240278,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJi3mkUACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmoyMg//Zb0IzxMi9t8tX1Aa8SF5yL7HpPRXVGeHc6/cW0zgIkqF05Gf\r\na4lOfneXbwN6bUzKDXpgsbI8b/679qk4qPtJ5/MoJ/J/Gs7zvt+iS7zX4+sl\r\nHYm9goCPa06A4UjS6MFppiF2e/aCRpIFRHudncVYEoig3DD2u051Z4qiH+Qi\r\nYkA9AjhXx99Z69kscLxJcYhHVGkMPAJ+Duf6wlb7vptJV/8zLnw0EVXfL0SN\r\n7We8/DcOo20FtQIO7bPa5reqXwWCvMmiYamAlH1FLVje6/5r5/TzNM3fGNRE\r\n/WaT6Hx4vTceUMd41iTmLstKOCk2U6StidyczyVuzF9WAeDL+YGTadzjm2PE\r\nknE8WTcbyB5JtbxUpXJ+ogcD4ndP7XfSaHITBDCAuHJ7M4tYrPPlEi3D2OQr\r\nGQ71neQtD4U/KxxOlpJ6kA+Md2CkKdqZr9poM8Qty7q/1ryYliHT/eH2oc0J\r\nXxkhY8l2QwL5bS/fykSW/alHitjFrukchp5KqqmRRG2qs/Uk+QGl+eTzcQjd\r\nHxfmxfr6v8nc/D46tOmQbefmi5JI8Q6D0m8PwtCzL8yTs7W8UxVMhz/lwCt0\r\nMTDuVT9PPI6slL1hZ7HWItdoxKjTszg1chmN5baEBIUsyMykPLttwEb8IidT\r\nb4FPJbhVgFGUrA5Dj/KUyFqJ3ldK5Gz+nzs=\r\n=XaiH\r\n-----END PGP SIGNATURE-----\r\n"},"main":"telegraf.js","type":"commonjs","types":"./typings/index.d.ts","engines":{"node":">=10"},"gitHead":"5fc1439d150abb684f1f53a364c8a7f703b119c3","scripts":{"lint":"eslint .","test":"ava test/*","precommit":"npm run lint && npm run typecheck && npm test","typecheck":"tsc"},"_npmUser":{"name":"wojpawlik","email":"woj.pawlik@gmail.com"},"repository":{"url":"git+ssh://git@github.com/telegraf/telegraf.git","type":"git"},"_npmVersion":"8.3.1","description":"Modern Telegram Bot Framework","directories":{},"_nodeVersion":"16.14.0","dependencies":{"debug":"^4.0.1","minimist":"^1.2.0","typegram":"^3.10.0","node-fetch":"^2.2.0","module-alias":"^2.2.2","sandwich-stream":"^2.0.1"},"_hasShrinkwrap":false,"devDependencies":{"ava":"^3.0.0","husky":"^4.2.0","eslint":"^6.2.2","prettier":"^2.0.5","typescript":"^3.0.1","@types/node":"^13.1.0","eslint-plugin-ava":"^10.0.0","eslint-plugin-node":"^11.0.0","eslint-plugin-import":"^2.2.0","eslint-plugin-promise":"^4.0.0","eslint-config-standard":"^14.1.0","eslint-plugin-standard":"^4.0.0"},"_npmOperationalInternal":{"tmp":"tmp/telegraf_3.40.0_1658743060692_0.958937945602206","host":"s3://npm-registry-packages"}},"4.8.6":{"name":"telegraf","version":"4.8.6","keywords":["telegraf","telegram","telegram bot api","bot","botapi","bot framework"],"author":{"name":"Vitaly Domnikov","email":"oss@vitaly.codes"},"license":"MIT","_id":"telegraf@4.8.6","maintainers":[{"name":"dotcypress","email":"dotcypress@gmail.com"},{"name":"mkrhere","email":"muthukumar@thefeathers.in"},{"name":"wojpawlik","email":"woj.pawlik@gmail.com"}],"homepage":"https://telegraf.js.org","bugs":{"url":"https://github.com/telegraf/telegraf/issues"},"bin":{"telegraf":"bin/telegraf"},"dist":{"shasum":"6a127be631469effbd41c782dd7fe699ae07f0c4","tarball":"https://registry.npmjs.org/telegraf/-/telegraf-4.8.6.tgz","fileCount":116,"integrity":"sha512-FixxnJBrS8ECk/Wmo3VXzkTOlY2A1gsdIORJ//cdh3PcVqAL7wgcvLKjkEPI0IyxdFfRqTrWQEOn9h++revQaA==","signatures":[{"sig":"MEYCIQCzixmbnUhqOEBTLFjmVSNJZ8+geLexnHIysszmw5sDhQIhAMZYRmASlzw2M3vnsBWhnXZSBT/Pnxy8lJBmsVPpwdti","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":457626,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJi3msDACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmpArA/+Pc7pXPExilfBd082VXSBTWc1ICcjBh776i5HoN8DktTAz6hc\r\nPyLBDvS/SQDm/nVgjuB12Yh5xAOdTg/AAayTMb2oydnlmpxItLuyLvjH/tyv\r\nF7gckAZRGXoiutebS3bZC+fmz9oPsKRViXaOepjHYBFPA9u/cV080vsRqG6C\r\nhtlO5ZHcBy/+7/TpSx8kUj6FU+rLNUcjjXIsoCPNwPDcF6OaHsu8oobJmPWu\r\n9HZZxdaaB7cAmxxta2FE/nl+pPg/uJr7EqS9jJkY0gr7ylASYiimDeVGLoz1\r\nH7cd3Pj4nKXSwRpXwSUNkNJXpkG5LNvjPxzGEVuU2jDy6KJIfqZjXDo2jUdM\r\nU/egoH0HRnWST1O29YgqNkPvntd+PO6VE3BAAaNlJYn2+4VoaWhsOZcwBCZB\r\nacx/pDmx3Pi0YMLZ7ZjSC8hw567eAK/EUcXDV1yKAWJQ6Cg6aOftuNfe9hCj\r\nxtPe2hprXXwbOcZVerFctTaM0C4OG2HtwDHVV60Gbrf7n7PhErIpiFyKFBoU\r\nz8eWmV++NTuF/dodAUTJ7i2NZitRVl8hicunDu6k4AcaTjaUFHJeuPAIUScG\r\n931fNbVt1jSEiJhjO8Vpjf4pKjJjygjx0w0+y75lsEqfZaIIMXsb4YzlKqVH\r\n6O76tO6YTwUSQy+nlPz+eSogs9ZzZ6tNe3M=\r\n=Oj1L\r\n-----END PGP SIGNATURE-----\r\n"},"main":"lib/index.js","type":"commonjs","types":"./typings/index.d.ts","engines":{"node":"^12.20.0 || >=14.13.1"},"exports":{".":{"types":"./typings/index.d.ts","import":"./lib/index.js","require":"./lib/index.js"},"./types":{"types":"./types.d.ts","import":"./types.js","require":"./types.js"}},"gitHead":"5d175dce1bc4f7721fb7124dbd10ceb1bb8906fd","scripts":{"lint":"eslint .","test":"ava test/*","build":"tsc --build docs/examples","clean":"git clean -fX .eslintcache docs/build/ lib/ typings/","checks":"npm test && npm run lint","prepare":"npm run --silent build","pretest":"npm run build","refresh":"npm run clean && npm ci","build:docs":"typedoc src/index.ts"},"_npmUser":{"name":"mkrhere","email":"muthukumar@thefeathers.in"},"deprecated":"Switch to 4.9.0 or higher","repository":{"url":"git+ssh://git@github.com/telegraf/telegraf.git","type":"git"},"_npmVersion":"8.12.1","description":"Modern Telegram Bot Framework","directories":{},"_nodeVersion":"18.4.0","dependencies":{"debug":"^4.3.3","minimist":"^1.2.6","typegram":"^3.9.0","p-timeout":"^4.1.0","node-fetch":"^2.6.7","module-alias":"^2.2.2","safe-compare":"^1.1.4","sandwich-stream":"^2.0.2","abort-controller":"^3.0.0"},"_hasShrinkwrap":false,"devDependencies":{"ava":"^4.0.1","eslint":"^8.8.0","typedoc":"^0.22.11","prettier":"^2.5.1","typescript":"^4.5.5","@types/node":"^17.0.14","@types/debug":"^4.1.7","@types/node-fetch":"^2.5.12","eslint-plugin-ava":"^13.2.0","eslint-plugin-node":"^11.1.0","@types/safe-compare":"^1.1.0","eslint-plugin-import":"^2.25.4","eslint-plugin-promise":"^6.0.0","eslint-config-prettier":"^8.3.0","eslint-plugin-prettier":"^4.0.0","eslint-plugin-standard":"^5.0.0","@typescript-eslint/parser":"^5.10.2","@typescript-eslint/eslint-plugin":"^5.10.2"},"_npmOperationalInternal":{"tmp":"tmp/telegraf_4.8.6_1658743555120_0.578293575485181","host":"s3://npm-registry-packages"}},"4.9.0-canary.10":{"name":"telegraf","version":"4.9.0-canary.10","keywords":["telegraf","telegram","telegram bot api","bot","botapi","bot framework"],"author":{"name":"Vitaly Domnikov","email":"oss@vitaly.codes"},"license":"MIT","_id":"telegraf@4.9.0-canary.10","maintainers":[{"name":"dotcypress","email":"dotcypress@gmail.com"},{"name":"mkrhere","email":"muthukumar@thefeathers.in"},{"name":"wojpawlik","email":"woj.pawlik@gmail.com"}],"homepage":"https://telegraf.js.org","bugs":{"url":"https://github.com/telegraf/telegraf/issues"},"bin":{"telegraf":"bin/telegraf"},"dist":{"shasum":"17c73efd7c2e9018d5ae103d95b29f59c9167ce8","tarball":"https://registry.npmjs.org/telegraf/-/telegraf-4.9.0-canary.10.tgz","fileCount":110,"integrity":"sha512-xSq59PqKWEKG9G6UKLK0eZkRPv62tcHSyEfTBOY8yCrJwCuEukZrO85z9d71L9ogAJg2IYQ4/jgw/bh574A17g==","signatures":[{"sig":"MEYCIQD2vE/7+IkLFyhp8rel4n0j/6QwCJtrFkAD4n4hjlnyLAIhAI34ZclxDBom8b0PuHWCXlaWulaGP0UbgmXsfXg+r2TA","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":455168,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJi/a0OACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmokIQ/9E7Pl8rgH0Jwh82SYGq/G3ahMa0/6t0Ute6+uwEXE5VfKCuSn\r\nVm1wsRjnTASKquyZTYb/rsEr4jxp7QWaiDJZs7MazC3wFZ5Oj/gZtY0l6f6w\r\n+1hSrGdFQlK6ZP7MKlJ97TK8sKGSKwIaliAzVWTJKk/eaj/wS8ufQfpZXKSD\r\nr3K8n6OnNE24QcOpAbfS1D/V4DbUfLxPeTCj/n1CgSQCpu2bTlDDNsRUZM3E\r\nCIV4Hin3m1d3ixEEHdhTWfQD4yiYkChyHeuGK8AmFC/oIJOav2MccGGyOyWn\r\n/o6+sFC0GDpXGhAWjHlZW4Ux0obsikMSxOgovIrtLyWuvLaWFQrC/e+RJdme\r\nSnDlPA4KQ1IREuNv6HKOdjvzuA4KR1sN3sZuGUmnvfGuDXso2UdvCS1m74Za\r\nRVSmG2YjWc5zYZX+oY1Vhz4i+O9gI02RFW9y+I/gL3wecJ+iNakQoyA9K/8a\r\n6SF2SLcYJ96cQSW2RW2BmClcmdUTPDFAiWNxzfLZgt7Hyf3oJHma/gHoqIC5\r\n1us/NlXUrEI1FLz7OEwmfu/ZdOO6vnAACl1by7szcymSPXeJyf92/1gX+LYV\r\nSuIWQWfJnarbpdGbVXkrF9/gn6KQzHlP3GVbtdWuSBulJ+yHgJcXx3/WV4Vh\r\nCNS6sD3GoDT0o+iMye+yOyIyeOu7QFSHts4=\r\n=+7rD\r\n-----END PGP SIGNATURE-----\r\n"},"main":"lib/index.js","type":"commonjs","types":"./typings/index.d.ts","readme":"
\n\"logo\"\n

telegraf.js

\n\nModern Telegram Bot API framework for Node.js\n\n[![Bot API Version](https://img.shields.io/badge/Bot%20API-v6.0-f36caf.svg?style=flat-square)](https://core.telegram.org/bots/api)\n[![install size](https://flat.badgen.net/packagephobia/install/telegraf)](https://packagephobia.com/result?p=telegraf,node-telegram-bot-api)\n[![GitHub top language](https://img.shields.io/github/languages/top/telegraf/telegraf?style=flat-square&logo=github)](https://github.com/telegraf/telegraf)\n[![English chat](https://img.shields.io/badge/English%20chat-grey?style=flat-square&logo=telegram)](https://t.me/TelegrafJSChat)\n
\n\n> Notice: [@MKRhere](https://github.com/MKRhere) has taken over as the new maintainer of Telegraf. Feel free to reach out via the Telegram group.\n\n## For 3.x users\n\n- [3.x docs](https://telegraf.js.org/v3)\n- [4.0 release notes](https://github.com/telegraf/telegraf/releases/tag/v4.0.0)\n\n## Introduction\n\nBots are special [Telegram](https://telegram.org) accounts designed to handle messages automatically. \nUsers can interact with bots by sending them command messages in private or group chats. \nThese accounts serve as an interface for code running somewhere on your server.\n\nTelegraf is a library that makes it simple for you to develop your own Telegram bots using JavaScript or [TypeScript](https://www.typescriptlang.org/).\n\n### Features\n\n- Full [Telegram Bot API 6.0](https://core.telegram.org/bots/api) support\n- [Excellent TypeScript typings](https://github.com/telegraf/telegraf/releases/tag/v4.0.0)\n- [Lightweight](https://packagephobia.com/result?p=telegraf,node-telegram-bot-api)\n- [AWS **λ**](https://docs.aws.amazon.com/lambda/latest/dg/nodejs-prog-model-handler.html)\n / [Firebase](https://firebase.google.com/products/functions/)\n / [Glitch](https://glitch.com/edit/#!/dashing-light)\n / [Heroku](https://devcenter.heroku.com/articles/getting-started-with-nodejs#introduction)\n / Whatever ready\n- `http/https/fastify/Connect.js/express.js` compatible webhooks\n- Extensible\n\n### Example\n \n```js\nconst { Telegraf } = require('telegraf')\n\nconst bot = new Telegraf(process.env.BOT_TOKEN)\nbot.start((ctx) => ctx.reply('Welcome'))\nbot.help((ctx) => ctx.reply('Send me a sticker'))\nbot.on('sticker', (ctx) => ctx.reply('👍'))\nbot.hears('hi', (ctx) => ctx.reply('Hey there'))\nbot.launch()\n\n// Enable graceful stop\nprocess.once('SIGINT', () => bot.stop('SIGINT'))\nprocess.once('SIGTERM', () => bot.stop('SIGTERM'))\n```\n\n```js\nconst { Telegraf } = require('telegraf')\n\nconst bot = new Telegraf(process.env.BOT_TOKEN)\nbot.command('oldschool', (ctx) => ctx.reply('Hello'))\nbot.command('hipster', Telegraf.reply('λ'))\nbot.launch()\n\n// Enable graceful stop\nprocess.once('SIGINT', () => bot.stop('SIGINT'))\nprocess.once('SIGTERM', () => bot.stop('SIGTERM'))\n```\n\nFor additional bot examples see [`examples`](https://github.com/telegraf/telegraf/tree/develop/docs/examples) folder.\n\n### Resources\n\n- [Getting started](#getting-started)\n- [API reference](https://telegraf.js.org/modules.html)\n- Telegram groups (sorted by number of members):\n * [English](https://t.me/TelegrafJSChat)\n * [Uzbek](https://t.me/botjs_uz)\n * [Ethiopian](https://t.me/telegraf_et)\n * [Russian](https://t.me/telegrafjs_ru)\n- [GitHub Discussions](https://github.com/telegraf/telegraf/discussions)\n- [Dependent repositories](https://libraries.io/npm/telegraf/dependent_repositories)\n\n## Getting started\n\n### Telegram token\n\nTo use the [Telegram Bot API](https://core.telegram.org/bots/api), \nyou first have to [get a bot account](https://core.telegram.org/bots) \nby [chatting with BotFather](https://core.telegram.org/bots#6-botfather).\n\nBotFather will give you a *token*, something like `123456789:AbCdfGhIJKlmNoQQRsTUVwxyZ`.\n\n### Installation\n\n```shellscript\n$ npm install telegraf\n```\nor\n```shellscript\n$ yarn add telegraf\n```\nor\n```shellscript\n$ pnpm add telegraf\n```\n\n### `Telegraf` class\n\n[`Telegraf`] instance represents your bot. It's responsible for obtaining updates and passing them to your handlers.\n\nStart by [listening to commands](https://telegraf.js.org/classes/telegraf.html#command) and [launching](https://telegraf.js.org/classes/telegraf.html#launch) your bot.\n\n### `Context` class\n\n`ctx` you can see in every example is a [`Context`] instance.\n[`Telegraf`] creates one for each incoming update and passes it to your middleware.\nIt contains the `update`, `botInfo`, and `telegram` for making arbitrary Bot API requests,\nas well as shorthand methods and getters.\n\nThis is probably the class you'll be using the most.\n\n\n\n\n#### Shorthand methods\n\n```js\nimport { Telegraf } from 'telegraf'\n\nconst bot = new Telegraf(process.env.BOT_TOKEN)\n\nbot.command('quit', (ctx) => {\n // Explicit usage\n ctx.telegram.leaveChat(ctx.message.chat.id)\n\n // Using context shortcut\n ctx.leaveChat()\n})\n\nbot.on('text', (ctx) => {\n // Explicit usage\n ctx.telegram.sendMessage(ctx.message.chat.id, `Hello ${ctx.state.role}`)\n\n // Using context shortcut\n ctx.reply(`Hello ${ctx.state.role}`)\n})\n\nbot.on('callback_query', (ctx) => {\n // Explicit usage\n ctx.telegram.answerCbQuery(ctx.callbackQuery.id)\n\n // Using context shortcut\n ctx.answerCbQuery()\n})\n\nbot.on('inline_query', (ctx) => {\n const result = []\n // Explicit usage\n ctx.telegram.answerInlineQuery(ctx.inlineQuery.id, result)\n\n // Using context shortcut\n ctx.answerInlineQuery(result)\n})\n\nbot.launch()\n\n// Enable graceful stop\nprocess.once('SIGINT', () => bot.stop('SIGINT'))\nprocess.once('SIGTERM', () => bot.stop('SIGTERM'))\n```\n\n## Production\n\n### Webhooks\n\n```js\nconst { Telegraf } = require('telegraf')\nconst fs = require('fs')\nrequire('dotenv')\n\nconst bot = new Telegraf(process.env.BOT_TOKEN)\n\n// TLS options\nconst tlsOptions = {\n key: fs.readFileSync('server-key.pem'),\n cert: fs.readFileSync('server-cert.pem'),\n ca: [\n // This is necessary only if the client uses a self-signed certificate.\n fs.readFileSync('client-cert.pem')\n ]\n}\n\n// Set telegram webhook\n// The second argument is necessary only if the client uses a self-signed\n// certificate. Including it for a verified certificate may cause things to break.\nbot.telegram.setWebhook('https://server.tld:8443/secret-path', {\n certificate: { source: fs.readFileSync('server-cert.pem') }\n})\n\n// Start https webhook\nbot.startWebhook('/secret-path', tlsOptions, 8443)\n\n// Http webhook, for nginx/heroku users.\nbot.startWebhook('/secret-path', null, 5000)\n```\n\nUse `webhookCallback()` if you want to attach Telegraf to an existing http server.\n\n\n\n```js\nrequire('http')\n .createServer(bot.webhookCallback('/secret-path'))\n .listen(3000)\n\nrequire('https')\n .createServer(tlsOptions, bot.webhookCallback('/secret-path'))\n .listen(8443)\n```\n\n- [AWS Lambda example integration](https://github.com/telegraf/telegraf/blob/develop/docs/examples/aws-lambda.js)\n- [`express` example integration](https://github.com/telegraf/telegraf/blob/develop/docs/examples/express-webhook-bot.ts)\n- [`fastify` example integration](https://github.com/telegraf/telegraf/blob/develop/docs/examples/fastify-webhook-bot.js)\n- [Google Cloud Functions example integration](https://github.com/telegraf/telegraf/blob/develop/docs/examples/google-cloud-function.ts)\n- [`koa` example integration](https://github.com/telegraf/telegraf/blob/develop/docs/examples/koa-webhook-bot.js)\n- [NestJS framework integration module](https://github.com/bukhalo/nestjs-telegraf)\n- [Cloudflare Workers integration module](https://github.com/Tsuk1ko/cfworker-middware-telegraf)\n- Use [`bot.handleUpdate`](https://telegraf.js.org/classes/telegraf.html#handleupdate) to write new integrations\n\n### Error handling\n\nIf middleware throws an error or times out, Telegraf calls `bot.handleError`. If it rethrows, update source closes, and then the error is printed to console and process [hopefully](https://nodejs.org/api/cli.html#cli_unhandled_rejections_mode) terminates. If it does not rethrow, the error is swallowed.\n\nDefault `bot.handleError` always rethrows. You can overwrite it using `bot.catch` if you need to.\n\n⚠️ Always rethrow `TimeoutError`!\n\n⚠️ Swallowing unknown errors might leave the process in invalid state!\n\nℹ️ In production, `systemd` or [`pm2`](https://www.npmjs.com/package/pm2) can restart your bot if it exits for any reason.\n\n## Advanced topics\n\n### Working with files\n\nSupported file sources:\n\n- `Existing file_id`\n- `File path`\n- `Url`\n- `Buffer`\n- `ReadStream`\n\nAlso, you can provide an optional name of a file as `filename` when you send the file.\n\n\n\n```js\nbot.on('message', (ctx) => {\n // resend existing file by file_id\n ctx.replyWithSticker('123123jkbhj6b')\n\n // send file\n ctx.replyWithVideo({ source: '/path/to/video.mp4' })\n\n // send stream\n ctx.replyWithVideo({\n source: fs.createReadStream('/path/to/video.mp4')\n })\n\n // send buffer\n ctx.replyWithVoice({\n source: Buffer.alloc()\n })\n\n // send url via Telegram server\n ctx.replyWithPhoto('https://picsum.photos/200/300/')\n\n // pipe url content\n ctx.replyWithPhoto({\n url: 'https://picsum.photos/200/300/?random',\n filename: 'kitten.jpg'\n })\n})\n```\n\n### Middleware\n\nIn addition to `ctx: Context`, each middleware receives `next: () => Promise`.\n\nAs in Koa and some other middleware-based libraries,\n`await next()` will call next middleware and wait for it to finish:\n\n```js\nimport { Telegraf } from 'telegraf'\n\nconst bot = new Telegraf(process.env.BOT_TOKEN)\n\nbot.use(async (ctx, next) => {\n console.time(`Processing update ${ctx.update.update_id}`)\n await next() // runs next middleware\n // runs after next middleware finishes\n console.timeEnd(`Processing update ${ctx.update.update_id}`)\n})\n\nbot.on('text', (ctx) => ctx.reply('Hello World'))\nbot.launch()\n\n// Enable graceful stop\nprocess.once('SIGINT', () => bot.stop('SIGINT'))\nprocess.once('SIGTERM', () => bot.stop('SIGTERM'))\n```\n\nWith this simple ability, you can:\n- extract information from updates and then `await next()` to avoid disrupting other middleware,\n- like [`Composer`] and [`Router`], `await next()` for updates you don't wish to handle,\n- like [`session`] and [`Scenes`], [extend the context](#extending-context) by mutating `ctx` before `await next()`,\n- [intercept API calls](https://github.com/telegraf/telegraf/discussions/1267#discussioncomment-254525),\n- reuse [other people's code](https://www.npmjs.com/search?q=telegraf-),\n- do whatever **you** come up with!\n\n[`Composer`]: https://telegraf.js.org/classes/composer.html\n[`Context`]: https://telegraf.js.org/classes/context.html\n[`Router`]: https://telegraf.js.org/classes/router.html\n[`session`]: https://telegraf.js.org/modules.html#session\n[`Scenes`]: https://telegraf.js.org/modules/scenes.html\n[`Telegraf`]: https://telegraf.js.org/classes/telegraf.html\n\n### Usage with TypeScript\n\nTelegraf is written in TypeScript and therefore ships with declaration files for the entire library.\nMoreover, it includes types for the complete Telegram API via the [`typegram`](https://github.com/KnorpelSenf/typegram) package.\nWhile most types of Telegraf's API surface are self-explanatory, there's some notable things to keep in mind.\n\n#### Extending `Context`\n\nThe exact shape of `ctx` can vary based on the installed middleware.\nSome custom middleware might register properties on the context object that Telegraf is not aware of.\nConsequently, you can change the type of `ctx` to fit your needs in order for you to have proper TypeScript types for your data.\nThis is done through Generics:\n\n```ts\nimport { Context, Telegraf } from 'telegraf'\n\n// Define your own context type\ninterface MyContext extends Context {\n myProp?: string\n myOtherProp?: number\n}\n\n// Create your bot and tell it about your context type\nconst bot = new Telegraf('SECRET TOKEN')\n\n// Register middleware and launch your bot as usual\nbot.use((ctx, next) => {\n // Yay, `myProp` is now available here as `string | undefined`!\n ctx.myProp = ctx.chat?.first_name?.toUpperCase()\n return next()\n})\n// ...\n```\n","engines":{"node":"^12.20.0 || >=14.13.1"},"exports":{".":{"types":"./typings/index.d.ts","import":"./lib/index.js","require":"./lib/index.js"},"./types":{"types":"./types.d.ts","import":"./types.js","require":"./types.js"}},"gitHead":"3d578b7919a623f6e3d8f781707030077db1c978","scripts":{"lint":"eslint .","test":"ava test/*","build":"tsc --build docs/examples","clean":"git clean -fX .eslintcache docs/build/ lib/ typings/","checks":"npm test && npm run lint","prepare":"npm run --silent build","pretest":"npm run build","refresh":"npm run clean && npm ci","build:docs":"typedoc src/index.ts"},"_npmUser":{"name":"mkrhere","email":"muthukumar@thefeathers.in"},"deprecated":"Switch to 4.9.0 or higher","repository":{"url":"git+ssh://git@github.com/telegraf/telegraf.git","type":"git"},"_npmVersion":"8.12.1","description":"Modern Telegram Bot Framework","directories":{},"_nodeVersion":"18.4.0","dependencies":{"debug":"^4.3.3","minimist":"^1.2.6","typegram":"github:MKRhere/typegram#e2ba9f01f14b96c6dbb1c617e66692a3cc776cf6","p-timeout":"^4.1.0","node-fetch":"^2.6.7","module-alias":"^2.2.2","safe-compare":"^1.1.4","sandwich-stream":"^2.0.2","abort-controller":"^3.0.0"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"ava":"^4.0.1","eslint":"^8.8.0","typedoc":"^0.22.11","prettier":"^2.5.1","typescript":"^4.5.5","@types/node":"^17.0.14","@types/debug":"^4.1.7","@types/node-fetch":"^2.5.12","eslint-plugin-ava":"^13.2.0","eslint-plugin-node":"^11.1.0","@types/safe-compare":"^1.1.0","eslint-plugin-import":"^2.25.4","eslint-plugin-promise":"^6.0.0","eslint-config-prettier":"^8.3.0","eslint-plugin-prettier":"^4.0.0","eslint-plugin-standard":"^5.0.0","@typescript-eslint/parser":"^5.10.2","@typescript-eslint/eslint-plugin":"^5.10.2"},"_npmOperationalInternal":{"tmp":"tmp/telegraf_4.9.0-canary.10_1660792077796_0.8923560419985197","host":"s3://npm-registry-packages"}},"4.9.0-canary.11":{"name":"telegraf","version":"4.9.0-canary.11","keywords":["telegraf","telegram","telegram bot api","bot","botapi","bot framework"],"author":{"name":"Vitaly Domnikov","email":"oss@vitaly.codes"},"license":"MIT","_id":"telegraf@4.9.0-canary.11","maintainers":[{"name":"dotcypress","email":"dotcypress@gmail.com"},{"name":"mkrhere","email":"muthukumar@thefeathers.in"},{"name":"wojpawlik","email":"woj.pawlik@gmail.com"}],"homepage":"https://telegraf.js.org","bugs":{"url":"https://github.com/telegraf/telegraf/issues"},"bin":{"telegraf":"bin/telegraf.mjs"},"dist":{"shasum":"e7fba66e47e661c8153d091d9aa07389654f391d","tarball":"https://registry.npmjs.org/telegraf/-/telegraf-4.9.0-canary.11.tgz","fileCount":112,"integrity":"sha512-ObyFeQosmpC4Nt1nfp2etd8yPh6pgepADOl4uKvmwdHy6gQCF4sbZ32chYmQtCDExxbInJ18w+fQRFVF3CsB2w==","signatures":[{"sig":"MEYCIQDiYd6O+vCl1nm6kslKmNcX2bx++QainbKwzMxVoj8enQIhAL39L86F36FExImPqnJzjGHLZLwO1xEvkR+3Eon+oBZ3","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":462075,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjBiFmACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmqHUA/+MLRF9eRrrLvyCIOm70qhiW0MTBuEm1RWb1Ga2y/RZ8jO6TYF\r\nrAskjmVpb187D3/dn7152KSjCEtccgnW1OPkdetjR/YWWU2dVkwr19Jx+HqI\r\nTY11wMifwZdO1CczZSalwH76AdG+76lVNs/bGdwX0RimXqGQs4OezEjNHvAP\r\nbWaP2QWLSBX2Y9mYRsAkgOPlriqZNwIYKY+3CgVA25pZbrHYz7CPhRiolw6e\r\nr34XjWA13Hngt/uN/f822JMbVeAyhYPWX89MRz/TGVkqyQXb8RtjLrD2036V\r\nPh+B7NpWCe5CifeDXUqPAaHQmKUFIEGZrNmvjLBIrAnpivDN9uqhZXpAppRZ\r\nSwTyRWPw9NX4HFqzjKY4tsFeR9zGEDD0cj6yrC4xzETkQTpbt0TtNXYUJITM\r\n5GYdm2oCC3VY7Dbq4rhEhHI9mVkOcc8s+DSnohXOIZlhKl+V2Gh5/a5Um+uz\r\nfVs9PuFkafeIzsqb3BnkwV+7V6emX3eEKCM3eJTx5Zes0u9fJ3I3K6LtbeJN\r\nl0+NIQNuo0d4Nhqc2W2WfYYFyNvQ8QKnO8XWFsfH6qkwIPbV8IFOkr9yKw/7\r\nMfKZnw3oyos8L9Nb98JVi42GwZgx3sbCWiNJW0KNxLw10LDcXzIBh8oSPC1P\r\n85e5nj0zpG5gRGdj3Yld3zpm+nCMR8ezkyQ=\r\n=UvRN\r\n-----END PGP SIGNATURE-----\r\n"},"main":"lib/index.js","type":"commonjs","types":"./typings/index.d.ts","readme":"
\n\"logo\"\n

telegraf.js

\n\nModern Telegram Bot API framework for Node.js\n\n[![Bot API Version](https://img.shields.io/badge/Bot%20API-v6.2-f36caf.svg?style=flat-square)](https://core.telegram.org/bots/api)\n[![install size](https://flat.badgen.net/packagephobia/install/telegraf)](https://packagephobia.com/result?p=telegraf,node-telegram-bot-api)\n[![GitHub top language](https://img.shields.io/github/languages/top/telegraf/telegraf?style=flat-square&logo=github)](https://github.com/telegraf/telegraf)\n[![English chat](https://img.shields.io/badge/English%20chat-grey?style=flat-square&logo=telegram)](https://t.me/TelegrafJSChat)\n
\n\n## For 3.x users\n\n- [3.x docs](https://telegraf.js.org/v3)\n- [4.0 release notes](https://github.com/telegraf/telegraf/releases/tag/v4.0.0)\n\n## Introduction\n\nBots are special [Telegram](https://telegram.org) accounts designed to handle messages automatically. \nUsers can interact with bots by sending them command messages in private or group chats. \nThese accounts serve as an interface for code running somewhere on your server.\n\nTelegraf is a library that makes it simple for you to develop your own Telegram bots using JavaScript or [TypeScript](https://www.typescriptlang.org/).\n\n### Features\n\n- Full [Telegram Bot API 6.2](https://core.telegram.org/bots/api) support\n- [Excellent TypeScript typings](https://github.com/telegraf/telegraf/releases/tag/v4.0.0)\n- [Lightweight](https://packagephobia.com/result?p=telegraf,node-telegram-bot-api)\n- [AWS **λ**](https://docs.aws.amazon.com/lambda/latest/dg/nodejs-prog-model-handler.html)\n / [Firebase](https://firebase.google.com/products/functions/)\n / [Glitch](https://glitch.com/edit/#!/dashing-light)\n / [Heroku](https://devcenter.heroku.com/articles/getting-started-with-nodejs#introduction)\n / Whatever ready\n- `http/https/fastify/Connect.js/express.js` compatible webhooks\n- Extensible\n\n### Example\n \n```js\nconst { Telegraf } = require('telegraf');\n\nconst bot = new Telegraf(process.env.BOT_TOKEN);\nbot.start((ctx) => ctx.reply('Welcome'));\nbot.help((ctx) => ctx.reply('Send me a sticker'));\nbot.on('sticker', (ctx) => ctx.reply('👍'));\nbot.hears('hi', (ctx) => ctx.reply('Hey there'));\nbot.launch();\n\n// Enable graceful stop\nprocess.once('SIGINT', () => bot.stop('SIGINT'));\nprocess.once('SIGTERM', () => bot.stop('SIGTERM'));\n```\n\n```js\nconst { Telegraf } = require('telegraf');\n\nconst bot = new Telegraf(process.env.BOT_TOKEN);\nbot.command('oldschool', (ctx) => ctx.reply('Hello'));\nbot.command('hipster', Telegraf.reply('λ'));\nbot.launch();\n\n// Enable graceful stop\nprocess.once('SIGINT', () => bot.stop('SIGINT'));\nprocess.once('SIGTERM', () => bot.stop('SIGTERM'));\n```\n\nFor additional bot examples see the new [`docs repo`](https://github.com/feathers-studio/telegraf-docs/).\n\n### Resources\n\n- [Getting started](#getting-started)\n- [API reference](https://telegraf.js.org/modules.html)\n- Telegram groups (sorted by number of members):\n * [English](https://t.me/TelegrafJSChat)\n * [Uzbek](https://t.me/botjs_uz)\n * [Ethiopian](https://t.me/telegraf_et)\n * [Russian](https://t.me/telegrafjs_ru)\n- [GitHub Discussions](https://github.com/telegraf/telegraf/discussions)\n- [Dependent repositories](https://libraries.io/npm/telegraf/dependent_repositories)\n\n## Getting started\n\n### Telegram token\n\nTo use the [Telegram Bot API](https://core.telegram.org/bots/api), \nyou first have to [get a bot account](https://core.telegram.org/bots) \nby [chatting with BotFather](https://core.telegram.org/bots#6-botfather).\n\nBotFather will give you a *token*, something like `123456789:AbCdfGhIJKlmNoQQRsTUVwxyZ`.\n\n### Installation\n\n```shellscript\n$ npm install telegraf\n```\nor\n```shellscript\n$ yarn add telegraf\n```\nor\n```shellscript\n$ pnpm add telegraf\n```\n\n### `Telegraf` class\n\n[`Telegraf`] instance represents your bot. It's responsible for obtaining updates and passing them to your handlers.\n\nStart by [listening to commands](https://telegraf.js.org/classes/Telegraf-1.html#command) and [launching](https://telegraf.js.org/classes/Telegraf-1.html#launch) your bot.\n\n### `Context` class\n\n`ctx` you can see in every example is a [`Context`] instance.\n[`Telegraf`] creates one for each incoming update and passes it to your middleware.\nIt contains the `update`, `botInfo`, and `telegram` for making arbitrary Bot API requests,\nas well as shorthand methods and getters.\n\nThis is probably the class you'll be using the most.\n\n\n\n\n#### Shorthand methods\n\n```js\nimport { Telegraf } from 'telegraf';\n\nconst bot = new Telegraf(process.env.BOT_TOKEN);\n\nbot.command('quit', (ctx) => {\n // Explicit usage\n ctx.telegram.leaveChat(ctx.message.chat.id);\n\n // Using context shortcut\n ctx.leaveChat();\n});\n\nbot.on('text', (ctx) => {\n // Explicit usage\n ctx.telegram.sendMessage(ctx.message.chat.id, `Hello ${ctx.state.role}`);\n\n // Using context shortcut\n ctx.reply(`Hello ${ctx.state.role}`);\n});\n\nbot.on('callback_query', (ctx) => {\n // Explicit usage\n ctx.telegram.answerCbQuery(ctx.callbackQuery.id);\n\n // Using context shortcut\n ctx.answerCbQuery();\n});\n\nbot.on('inline_query', (ctx) => {\n const result = [];\n // Explicit usage\n ctx.telegram.answerInlineQuery(ctx.inlineQuery.id, result);\n\n // Using context shortcut\n ctx.answerInlineQuery(result);\n});\n\nbot.launch();\n\n// Enable graceful stop\nprocess.once('SIGINT', () => bot.stop('SIGINT'));\nprocess.once('SIGTERM', () => bot.stop('SIGTERM'));\n```\n\n## Production\n\n### Webhooks\n\n```TS\nimport { Telegraf } from \"telegraf\";\n\nconst bot = new Telegraf(token);\n\nbot.on(\"text\", ctx => ctx.reply(\"Hello\"));\n\n// Start webhook via launch method (preferred)\nbot.launch({ webhook: { domain: webhookDomain, port: port } });\n```\n\nUse `webhookCallback()` if you want to attach Telegraf to an existing http server.\n\n\n\n```TS\nconst { createServer } from \"http\";\n\ncreateServer(await bot.createWebhook({ domain: \"example.com\", path: \"/secret-path\" })).listen(3000);\n```\n\n```TS\nconst { createServer } from \"https\";\n\ncreateServer(tlsOptions, await bot.createWebhook({ domain: \"example.com\", path: \"/secret-path\" })).listen(8443);\n```\n\n- [AWS Lambda example integration](https://github.com/feathers-studio/telegraf-docs/tree/master/examples/functions/aws-lambda)\n- [Google Cloud Functions example integration](https://github.com/feathers-studio/telegraf-docs/blob/master/examples/functions/google-cloud-function.ts)\n- [`express` example integration](https://github.com/feathers-studio/telegraf-docs/blob/master/examples/webhook/express.ts)\n- [`fastify` example integration](https://github.com/feathers-studio/telegraf-docs/blob/master/examples/webhook/fastify.ts)\n- [`koa` example integration](https://github.com/feathers-studio/telegraf-docs/blob/master/examples/webhook/fastify.ts)\n- [NestJS framework integration module](https://github.com/bukhalo/nestjs-telegraf)\n- [Cloudflare Workers integration module](https://github.com/Tsuk1ko/cfworker-middware-telegraf)\n- Use [`bot.handleUpdate`](https://telegraf.js.org/classes/Telegraf-1.html#handleupdate) to write new integrations\n\n### Error handling\n\nIf middleware throws an error or times out, Telegraf calls `bot.handleError`. If it rethrows, update source closes, and then the error is printed to console and process [hopefully](https://nodejs.org/api/cli.html#cli_unhandled_rejections_mode) terminates. If it does not rethrow, the error is swallowed.\n\nDefault `bot.handleError` always rethrows. You can overwrite it using `bot.catch` if you need to.\n\n⚠️ Always rethrow `TimeoutError`!\n\n⚠️ Swallowing unknown errors might leave the process in invalid state!\n\nℹ️ In production, `systemd` or [`pm2`](https://www.npmjs.com/package/pm2) can restart your bot if it exits for any reason.\n\n## Advanced topics\n\n### Working with files\n\nSupported file sources:\n\n- `Existing file_id`\n- `File path`\n- `Url`\n- `Buffer`\n- `ReadStream`\n\nAlso, you can provide an optional name of a file as `filename` when you send the file.\n\n\n\n```js\nbot.on('message', (ctx) => {\n // resend existing file by file_id\n ctx.replyWithSticker('123123jkbhj6b');\n\n // send file\n ctx.replyWithVideo({ source: '/path/to/video.mp4' });\n\n // send stream\n ctx.replyWithVideo({\n source: fs.createReadStream('/path/to/video.mp4')\n });\n\n // send buffer\n ctx.replyWithVoice({\n source: Buffer.alloc()\n });\n\n // send url via Telegram server\n ctx.replyWithPhoto('https://picsum.photos/200/300/');\n\n // pipe url content\n ctx.replyWithPhoto({\n url: 'https://picsum.photos/200/300/?random',\n filename: 'kitten.jpg'\n });\n})\n```\n\n### Middleware\n\nIn addition to `ctx: Context`, each middleware receives `next: () => Promise`.\n\nAs in Koa and some other middleware-based libraries,\n`await next()` will call next middleware and wait for it to finish:\n\n```TS\nimport { Telegraf } from 'telegraf';\n\nconst bot = new Telegraf(process.env.BOT_TOKEN);\n\nbot.use(async (ctx, next) => {\n console.time(`Processing update ${ctx.update.update_id}`);\n await next() // runs next middleware\n // runs after next middleware finishes\n console.timeEnd(`Processing update ${ctx.update.update_id}`);\n})\n\nbot.on('text', (ctx) => ctx.reply('Hello World'));\nbot.launch();\n\n// Enable graceful stop\nprocess.once('SIGINT', () => bot.stop('SIGINT'));\nprocess.once('SIGTERM', () => bot.stop('SIGTERM'));\n```\n\nWith this simple ability, you can:\n- extract information from updates and then `await next()` to avoid disrupting other middleware,\n- like [`Composer`] and [`Router`], `await next()` for updates you don't wish to handle,\n- like [`session`] and [`Scenes`], [extend the context](#extending-context) by mutating `ctx` before `await next()`,\n- [intercept API calls](https://github.com/telegraf/telegraf/discussions/1267#discussioncomment-254525),\n- reuse [other people's code](https://www.npmjs.com/search?q=telegraf-),\n- do whatever **you** come up with!\n\n[`Composer`]: https://telegraf.js.org/classes/composer.html\n[`Context`]: https://telegraf.js.org/classes/context.html\n[`Router`]: https://telegraf.js.org/classes/router.html\n[`session`]: https://telegraf.js.org/modules.html#session\n[`Scenes`]: https://telegraf.js.org/modules/scenes.html\n[`Telegraf`]: https://telegraf.js.org/classes/Telegraf-1.html\n\n### Usage with TypeScript\n\nTelegraf is written in TypeScript and therefore ships with declaration files for the entire library.\nMoreover, it includes types for the complete Telegram API via the [`typegram`](https://github.com/KnorpelSenf/typegram) package.\nWhile most types of Telegraf's API surface are self-explanatory, there's some notable things to keep in mind.\n\n#### Extending `Context`\n\nThe exact shape of `ctx` can vary based on the installed middleware.\nSome custom middleware might register properties on the context object that Telegraf is not aware of.\nConsequently, you can change the type of `ctx` to fit your needs in order for you to have proper TypeScript types for your data.\nThis is done through Generics:\n\n```ts\nimport { Context, Telegraf } from 'telegraf';\n\n// Define your own context type\ninterface MyContext extends Context {\n myProp?: string\n myOtherProp?: number\n}\n\n// Create your bot and tell it about your context type\nconst bot = new Telegraf('SECRET TOKEN');\n\n// Register middleware and launch your bot as usual\nbot.use((ctx, next) => {\n // Yay, `myProp` is now available here as `string | undefined`!\n ctx.myProp = ctx.chat?.first_name?.toUpperCase();\n return next();\n});\n// ...\n```\n","engines":{"node":"^12.20.0 || >=14.13.1"},"exports":{".":{"types":"./typings/index.d.ts","import":"./lib/index.js","require":"./lib/index.js"},"./types":{"types":"./types.d.ts","import":"./types.js","require":"./types.js"}},"gitHead":"883bd6d832b6e8612ef0e8ca954fc2f4d20cd163","scripts":{"lint":"eslint .","test":"ava test/*","build":"tsc && tsc -p bin/tsconfig.json","clean":"git clean -fX .eslintcache docs/build/ lib/ typings/","checks":"npm test && npm run lint","prepare":"npm run --silent build","pretest":"npm run build","refresh":"npm run clean && npm ci","build:docs":"typedoc src/index.ts"},"_npmUser":{"name":"mkrhere","email":"muthukumar@thefeathers.in"},"deprecated":"Switch to 4.9.0 or higher","repository":{"url":"git+ssh://git@github.com/telegraf/telegraf.git","type":"git"},"_npmVersion":"8.12.1","description":"Modern Telegram Bot Framework","directories":{},"_nodeVersion":"18.4.0","dependencies":{"debug":"^4.3.3","es-main":"^1.2.0","minimist":"^1.2.6","typegram":"github:MKRhere/typegram#e2ba9f01f14b96c6dbb1c617e66692a3cc776cf6","p-timeout":"^4.1.0","node-fetch":"^2.6.7","module-alias":"^2.2.2","safe-compare":"^1.1.4","sandwich-stream":"^2.0.2","abort-controller":"^3.0.0"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"ava":"^4.0.1","eslint":"^8.8.0","typedoc":"^0.23.10","prettier":"^2.5.1","typescript":"^4.7.4","@types/node":"^17.0.14","@types/debug":"^4.1.7","@types/minimist":"^1.2.2","@types/node-fetch":"^2.5.12","eslint-plugin-ava":"^13.2.0","eslint-plugin-node":"^11.1.0","@types/module-alias":"^2.0.1","@types/safe-compare":"^1.1.0","eslint-plugin-import":"^2.25.4","eslint-plugin-promise":"^6.0.0","eslint-config-prettier":"^8.3.0","eslint-plugin-prettier":"^4.0.0","eslint-plugin-standard":"^5.0.0","@typescript-eslint/parser":"^5.10.2","@typescript-eslint/eslint-plugin":"^5.10.2"},"_npmOperationalInternal":{"tmp":"tmp/telegraf_4.9.0-canary.11_1661346150590_0.5457765481660584","host":"s3://npm-registry-packages"}},"4.9.0-canary.12":{"name":"telegraf","version":"4.9.0-canary.12","keywords":["telegraf","telegram","telegram bot api","bot","botapi","bot framework"],"author":{"name":"Vitaly Domnikov","email":"oss@vitaly.codes"},"license":"MIT","_id":"telegraf@4.9.0-canary.12","maintainers":[{"name":"dotcypress","email":"dotcypress@gmail.com"},{"name":"mkrhere","email":"muthukumar@thefeathers.in"},{"name":"wojpawlik","email":"woj.pawlik@gmail.com"}],"homepage":"https://telegraf.js.org","bugs":{"url":"https://github.com/telegraf/telegraf/issues"},"bin":{"telegraf":"bin/telegraf.mjs"},"dist":{"shasum":"805ab8a295dc4ad2d061857cc040ad8d985633d3","tarball":"https://registry.npmjs.org/telegraf/-/telegraf-4.9.0-canary.12.tgz","fileCount":122,"integrity":"sha512-4rEuS6hS6g+wG4uAeb9lm/EUqI7KYGaq4z9UIyHcZJpoYla68bxHDlgiGnoOsp0xbLE14ll598P1LF0s7d0oyQ==","signatures":[{"sig":"MEUCIHuKjYdZXF0FXpPLHq5uiPPDDWt082msM5yuP2QQyD0XAiEA9y/7uc0xrOSmG/4UgSXRdh/4XkyfeF71JZHCwQ1hD5o=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":494721,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjBiUmACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmqvog/9E1x9OaanXBOn/9CIwC0ZoAfUWgwe/nq7c7h16BXKBUKg84vL\r\nWo8rLeXe9u2KNyOjBKQcMw0c0T6Xerdxlgu+G7xxLmCXDoOSIwBhqU/lg4jC\r\nWP/ngu0p1rGTwu+2gfwopvPp+aRb+r/7iffCF/HX7RDcKsxKQL04OjyV+uKR\r\nm2G9mMlYL/8kEZ3bPCBdzCWXjvxr+TpFcJwQ3w3KS8DwDWuUr4DrouNhyn0o\r\nCBaOMNTWeTjUmjoMclz4TRfoCK6W1Qmb5AHCEqfoAW+jNDrdAP3XCMYqikKd\r\n8dxh4x8kj8L6TUaGtMG2ZZ7rvksUypHZnvSjWVirA4IBbzrbVJc3ZIbVGVQW\r\nNw3U5/RLw105ayDbqkEmZHQt6gRuLPm8ekMl2bMmNIBLXOxN0cjIOI6qu2ke\r\niHifY5F8wlobeFNMvdJFOEjaY8tSnF9bC03eCv8MIjuRjoA0GQrHEDqfG7bK\r\nsEeKRji3SOshVneabu0BH6lRTrEgnwB5Ozbmvj01sd6SrXDbzvHFwGqoqzP8\r\nqqQG7GrRjTkvxlty5iZl5AT0TRjt/03xN49IEVVXM77PET8+j6gRdyOuskVU\r\njbCdqPxn2WGifos84zfEU5cBkY5dYXmTfO/5gB5c0SKqxk3IqWWj8Wku3Amz\r\nDFpXlPGDCHKtlRg0PTWPOD262jAhhsuvhuY=\r\n=hneB\r\n-----END PGP SIGNATURE-----\r\n"},"main":"lib/index.js","type":"commonjs","types":"./typings/index.d.ts","readme":"
\n\"logo\"\n

telegraf.js

\n\nModern Telegram Bot API framework for Node.js\n\n[![Bot API Version](https://img.shields.io/badge/Bot%20API-v6.2-f36caf.svg?style=flat-square)](https://core.telegram.org/bots/api)\n[![install size](https://flat.badgen.net/packagephobia/install/telegraf)](https://packagephobia.com/result?p=telegraf,node-telegram-bot-api)\n[![GitHub top language](https://img.shields.io/github/languages/top/telegraf/telegraf?style=flat-square&logo=github)](https://github.com/telegraf/telegraf)\n[![English chat](https://img.shields.io/badge/English%20chat-grey?style=flat-square&logo=telegram)](https://t.me/TelegrafJSChat)\n
\n\n## For 3.x users\n\n- [3.x docs](https://telegraf.js.org/v3)\n- [4.0 release notes](https://github.com/telegraf/telegraf/releases/tag/v4.0.0)\n\n## Introduction\n\nBots are special [Telegram](https://telegram.org) accounts designed to handle messages automatically. \nUsers can interact with bots by sending them command messages in private or group chats. \nThese accounts serve as an interface for code running somewhere on your server.\n\nTelegraf is a library that makes it simple for you to develop your own Telegram bots using JavaScript or [TypeScript](https://www.typescriptlang.org/).\n\n### Features\n\n- Full [Telegram Bot API 6.2](https://core.telegram.org/bots/api) support\n- [Excellent TypeScript typings](https://github.com/telegraf/telegraf/releases/tag/v4.0.0)\n- [Lightweight](https://packagephobia.com/result?p=telegraf,node-telegram-bot-api)\n- [AWS **λ**](https://docs.aws.amazon.com/lambda/latest/dg/nodejs-prog-model-handler.html)\n / [Firebase](https://firebase.google.com/products/functions/)\n / [Glitch](https://glitch.com/edit/#!/dashing-light)\n / [Heroku](https://devcenter.heroku.com/articles/getting-started-with-nodejs#introduction)\n / Whatever ready\n- `http/https/fastify/Connect.js/express.js` compatible webhooks\n- Extensible\n\n### Example\n \n```js\nconst { Telegraf } = require('telegraf');\n\nconst bot = new Telegraf(process.env.BOT_TOKEN);\nbot.start((ctx) => ctx.reply('Welcome'));\nbot.help((ctx) => ctx.reply('Send me a sticker'));\nbot.on('sticker', (ctx) => ctx.reply('👍'));\nbot.hears('hi', (ctx) => ctx.reply('Hey there'));\nbot.launch();\n\n// Enable graceful stop\nprocess.once('SIGINT', () => bot.stop('SIGINT'));\nprocess.once('SIGTERM', () => bot.stop('SIGTERM'));\n```\n\n```js\nconst { Telegraf } = require('telegraf');\n\nconst bot = new Telegraf(process.env.BOT_TOKEN);\nbot.command('oldschool', (ctx) => ctx.reply('Hello'));\nbot.command('hipster', Telegraf.reply('λ'));\nbot.launch();\n\n// Enable graceful stop\nprocess.once('SIGINT', () => bot.stop('SIGINT'));\nprocess.once('SIGTERM', () => bot.stop('SIGTERM'));\n```\n\nFor additional bot examples see the new [`docs repo`](https://github.com/feathers-studio/telegraf-docs/).\n\n### Resources\n\n- [Getting started](#getting-started)\n- [API reference](https://telegraf.js.org/modules.html)\n- Telegram groups (sorted by number of members):\n * [English](https://t.me/TelegrafJSChat)\n * [Uzbek](https://t.me/botjs_uz)\n * [Ethiopian](https://t.me/telegraf_et)\n * [Russian](https://t.me/telegrafjs_ru)\n- [GitHub Discussions](https://github.com/telegraf/telegraf/discussions)\n- [Dependent repositories](https://libraries.io/npm/telegraf/dependent_repositories)\n\n## Getting started\n\n### Telegram token\n\nTo use the [Telegram Bot API](https://core.telegram.org/bots/api), \nyou first have to [get a bot account](https://core.telegram.org/bots) \nby [chatting with BotFather](https://core.telegram.org/bots#6-botfather).\n\nBotFather will give you a *token*, something like `123456789:AbCdfGhIJKlmNoQQRsTUVwxyZ`.\n\n### Installation\n\n```shellscript\n$ npm install telegraf\n```\nor\n```shellscript\n$ yarn add telegraf\n```\nor\n```shellscript\n$ pnpm add telegraf\n```\n\n### `Telegraf` class\n\n[`Telegraf`] instance represents your bot. It's responsible for obtaining updates and passing them to your handlers.\n\nStart by [listening to commands](https://telegraf.js.org/classes/Telegraf-1.html#command) and [launching](https://telegraf.js.org/classes/Telegraf-1.html#launch) your bot.\n\n### `Context` class\n\n`ctx` you can see in every example is a [`Context`] instance.\n[`Telegraf`] creates one for each incoming update and passes it to your middleware.\nIt contains the `update`, `botInfo`, and `telegram` for making arbitrary Bot API requests,\nas well as shorthand methods and getters.\n\nThis is probably the class you'll be using the most.\n\n\n\n\n#### Shorthand methods\n\n```js\nimport { Telegraf } from 'telegraf';\n\nconst bot = new Telegraf(process.env.BOT_TOKEN);\n\nbot.command('quit', (ctx) => {\n // Explicit usage\n ctx.telegram.leaveChat(ctx.message.chat.id);\n\n // Using context shortcut\n ctx.leaveChat();\n});\n\nbot.on('text', (ctx) => {\n // Explicit usage\n ctx.telegram.sendMessage(ctx.message.chat.id, `Hello ${ctx.state.role}`);\n\n // Using context shortcut\n ctx.reply(`Hello ${ctx.state.role}`);\n});\n\nbot.on('callback_query', (ctx) => {\n // Explicit usage\n ctx.telegram.answerCbQuery(ctx.callbackQuery.id);\n\n // Using context shortcut\n ctx.answerCbQuery();\n});\n\nbot.on('inline_query', (ctx) => {\n const result = [];\n // Explicit usage\n ctx.telegram.answerInlineQuery(ctx.inlineQuery.id, result);\n\n // Using context shortcut\n ctx.answerInlineQuery(result);\n});\n\nbot.launch();\n\n// Enable graceful stop\nprocess.once('SIGINT', () => bot.stop('SIGINT'));\nprocess.once('SIGTERM', () => bot.stop('SIGTERM'));\n```\n\n## Production\n\n### Webhooks\n\n```TS\nimport { Telegraf } from \"telegraf\";\n\nconst bot = new Telegraf(token);\n\nbot.on(\"text\", ctx => ctx.reply(\"Hello\"));\n\n// Start webhook via launch method (preferred)\nbot.launch({ webhook: { domain: webhookDomain, port: port } });\n```\n\nUse `webhookCallback()` if you want to attach Telegraf to an existing http server.\n\n\n\n```TS\nconst { createServer } from \"http\";\n\ncreateServer(await bot.createWebhook({ domain: \"example.com\", path: \"/secret-path\" })).listen(3000);\n```\n\n```TS\nconst { createServer } from \"https\";\n\ncreateServer(tlsOptions, await bot.createWebhook({ domain: \"example.com\", path: \"/secret-path\" })).listen(8443);\n```\n\n- [AWS Lambda example integration](https://github.com/feathers-studio/telegraf-docs/tree/master/examples/functions/aws-lambda)\n- [Google Cloud Functions example integration](https://github.com/feathers-studio/telegraf-docs/blob/master/examples/functions/google-cloud-function.ts)\n- [`express` example integration](https://github.com/feathers-studio/telegraf-docs/blob/master/examples/webhook/express.ts)\n- [`fastify` example integration](https://github.com/feathers-studio/telegraf-docs/blob/master/examples/webhook/fastify.ts)\n- [`koa` example integration](https://github.com/feathers-studio/telegraf-docs/blob/master/examples/webhook/fastify.ts)\n- [NestJS framework integration module](https://github.com/bukhalo/nestjs-telegraf)\n- [Cloudflare Workers integration module](https://github.com/Tsuk1ko/cfworker-middware-telegraf)\n- Use [`bot.handleUpdate`](https://telegraf.js.org/classes/Telegraf-1.html#handleupdate) to write new integrations\n\n### Error handling\n\nIf middleware throws an error or times out, Telegraf calls `bot.handleError`. If it rethrows, update source closes, and then the error is printed to console and process [hopefully](https://nodejs.org/api/cli.html#cli_unhandled_rejections_mode) terminates. If it does not rethrow, the error is swallowed.\n\nDefault `bot.handleError` always rethrows. You can overwrite it using `bot.catch` if you need to.\n\n⚠️ Always rethrow `TimeoutError`!\n\n⚠️ Swallowing unknown errors might leave the process in invalid state!\n\nℹ️ In production, `systemd` or [`pm2`](https://www.npmjs.com/package/pm2) can restart your bot if it exits for any reason.\n\n## Advanced topics\n\n### Working with files\n\nSupported file sources:\n\n- `Existing file_id`\n- `File path`\n- `Url`\n- `Buffer`\n- `ReadStream`\n\nAlso, you can provide an optional name of a file as `filename` when you send the file.\n\n\n\n```js\nbot.on('message', (ctx) => {\n // resend existing file by file_id\n ctx.replyWithSticker('123123jkbhj6b');\n\n // send file\n ctx.replyWithVideo({ source: '/path/to/video.mp4' });\n\n // send stream\n ctx.replyWithVideo({\n source: fs.createReadStream('/path/to/video.mp4')\n });\n\n // send buffer\n ctx.replyWithVoice({\n source: Buffer.alloc()\n });\n\n // send url via Telegram server\n ctx.replyWithPhoto('https://picsum.photos/200/300/');\n\n // pipe url content\n ctx.replyWithPhoto({\n url: 'https://picsum.photos/200/300/?random',\n filename: 'kitten.jpg'\n });\n})\n```\n\n### Middleware\n\nIn addition to `ctx: Context`, each middleware receives `next: () => Promise`.\n\nAs in Koa and some other middleware-based libraries,\n`await next()` will call next middleware and wait for it to finish:\n\n```TS\nimport { Telegraf } from 'telegraf';\n\nconst bot = new Telegraf(process.env.BOT_TOKEN);\n\nbot.use(async (ctx, next) => {\n console.time(`Processing update ${ctx.update.update_id}`);\n await next() // runs next middleware\n // runs after next middleware finishes\n console.timeEnd(`Processing update ${ctx.update.update_id}`);\n})\n\nbot.on('text', (ctx) => ctx.reply('Hello World'));\nbot.launch();\n\n// Enable graceful stop\nprocess.once('SIGINT', () => bot.stop('SIGINT'));\nprocess.once('SIGTERM', () => bot.stop('SIGTERM'));\n```\n\nWith this simple ability, you can:\n- extract information from updates and then `await next()` to avoid disrupting other middleware,\n- like [`Composer`] and [`Router`], `await next()` for updates you don't wish to handle,\n- like [`session`] and [`Scenes`], [extend the context](#extending-context) by mutating `ctx` before `await next()`,\n- [intercept API calls](https://github.com/telegraf/telegraf/discussions/1267#discussioncomment-254525),\n- reuse [other people's code](https://www.npmjs.com/search?q=telegraf-),\n- do whatever **you** come up with!\n\n[`Composer`]: https://telegraf.js.org/classes/composer.html\n[`Context`]: https://telegraf.js.org/classes/context.html\n[`Router`]: https://telegraf.js.org/classes/router.html\n[`session`]: https://telegraf.js.org/modules.html#session\n[`Scenes`]: https://telegraf.js.org/modules/scenes.html\n[`Telegraf`]: https://telegraf.js.org/classes/Telegraf-1.html\n\n### Usage with TypeScript\n\nTelegraf is written in TypeScript and therefore ships with declaration files for the entire library.\nMoreover, it includes types for the complete Telegram API via the [`typegram`](https://github.com/KnorpelSenf/typegram) package.\nWhile most types of Telegraf's API surface are self-explanatory, there's some notable things to keep in mind.\n\n#### Extending `Context`\n\nThe exact shape of `ctx` can vary based on the installed middleware.\nSome custom middleware might register properties on the context object that Telegraf is not aware of.\nConsequently, you can change the type of `ctx` to fit your needs in order for you to have proper TypeScript types for your data.\nThis is done through Generics:\n\n```ts\nimport { Context, Telegraf } from 'telegraf';\n\n// Define your own context type\ninterface MyContext extends Context {\n myProp?: string\n myOtherProp?: number\n}\n\n// Create your bot and tell it about your context type\nconst bot = new Telegraf('SECRET TOKEN');\n\n// Register middleware and launch your bot as usual\nbot.use((ctx, next) => {\n // Yay, `myProp` is now available here as `string | undefined`!\n ctx.myProp = ctx.chat?.first_name?.toUpperCase();\n return next();\n});\n// ...\n```\n","engines":{"node":"^12.20.0 || >=14.13.1"},"exports":{".":{"types":"./typings/index.d.ts","import":"./lib/index.js","require":"./lib/index.js"},"./types":{"types":"./types.d.ts","import":"./types.js","require":"./types.js"},"./future":{"types":"./future.d.ts","import":"./future.js","require":"./future.js"}},"gitHead":"4b52522e0c29ecae6bd432938cb7a54ba12da3c6","scripts":{"lint":"eslint .","test":"ava test/*","build":"tsc && tsc -p bin/tsconfig.json","clean":"git clean -fX .eslintcache docs/build/ lib/ typings/","checks":"npm test && npm run lint","prepare":"npm run --silent build","pretest":"npm run build","refresh":"npm run clean && npm ci","build:docs":"typedoc src/index.ts"},"_npmUser":{"name":"mkrhere","email":"muthukumar@thefeathers.in"},"deprecated":"Switch to 4.9.0 or higher","repository":{"url":"git+ssh://git@github.com/telegraf/telegraf.git","type":"git"},"_npmVersion":"8.12.1","description":"Modern Telegram Bot Framework","directories":{},"_nodeVersion":"18.4.0","dependencies":{"debug":"^4.3.3","es-main":"^1.2.0","minimist":"^1.2.6","typegram":"github:MKRhere/typegram#e2ba9f01f14b96c6dbb1c617e66692a3cc776cf6","p-timeout":"^4.1.0","node-fetch":"^2.6.7","module-alias":"^2.2.2","safe-compare":"^1.1.4","sandwich-stream":"^2.0.2","abort-controller":"^3.0.0"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"ava":"^4.0.1","eslint":"^8.8.0","typedoc":"^0.23.10","prettier":"^2.5.1","typescript":"^4.7.4","@types/node":"^17.0.14","@types/debug":"^4.1.7","@types/minimist":"^1.2.2","@types/node-fetch":"^2.5.12","eslint-plugin-ava":"^13.2.0","eslint-plugin-node":"^11.1.0","@types/module-alias":"^2.0.1","@types/safe-compare":"^1.1.0","eslint-plugin-import":"^2.25.4","eslint-plugin-promise":"^6.0.0","eslint-config-prettier":"^8.3.0","eslint-plugin-prettier":"^4.0.0","eslint-plugin-standard":"^5.0.0","@typescript-eslint/parser":"^5.10.2","@typescript-eslint/eslint-plugin":"^5.10.2"},"_npmOperationalInternal":{"tmp":"tmp/telegraf_4.9.0-canary.12_1661347110703_0.4631395951261581","host":"s3://npm-registry-packages"}},"4.9.0":{"name":"telegraf","version":"4.9.0","keywords":["telegraf","telegram","telegram bot api","bot","botapi","bot framework"],"author":{"name":"Vitaly Domnikov","email":"oss@vitaly.codes"},"license":"MIT","_id":"telegraf@4.9.0","maintainers":[{"name":"dotcypress","email":"dotcypress@gmail.com"},{"name":"mkrhere","email":"muthukumar@thefeathers.in"},{"name":"wojpawlik","email":"woj.pawlik@gmail.com"}],"homepage":"https://telegraf.js.org","bugs":{"url":"https://github.com/telegraf/telegraf/issues"},"bin":{"telegraf":"bin/telegraf.mjs"},"dist":{"shasum":"30997bf6cbc941bff0bb698b13154647fc918032","tarball":"https://registry.npmjs.org/telegraf/-/telegraf-4.9.0.tgz","fileCount":122,"integrity":"sha512-fL+KLaYRElo4aNtrqAHmFdVsAMHHOHbmdTsAAzMJafhXJu1oYKTRMNipJ/YUvwNd5DnZY+zmGMgVVe1M/dkN4w==","signatures":[{"sig":"MEUCID4VNanfdBVa02/9VG8GzSA+pkepmJlitQ8tdi5Y0hj+AiEA3K7nuYBzuXce32zQzk+GINxNVTdgy0QTvJOLXPuPCTg=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":494835,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjCGx/ACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmougg/6AtSJRt1ydAAv2h7Q9U8ueT/CxA6mE6oTxiTIPooqRnlA2Qx3\r\n7rhG9qoljFDlmDieeJf88ez9dcXAEi7eXQLRqdxW4ZmOeueIe4u6PpvRelhO\r\nJBBqeLJw7C0amaaK+MyqK7iR4ElZl8MYFfFoe8yHKV/UlBHC0pXUrcrYjLpR\r\nhMdhonp7nsS8T4GbURt4GjLu5mZ8N4Zx1LpxdOwpaJo4YNFeYHV7b4C6LdVW\r\n1PKL34s8OzV27x0KKrqylv+DHdqWjfbCQAlqYrfGTgWU82TVfanQ+jefvw+t\r\nDkw12dUOfAaW/+MPEOweeYsGMJRSdE8ZYZYt6Bt+C85Z13wkuHodfIqFmkOo\r\nysvu1P2V/vqv8TqKl6CCksZ9JBdGyNtK9a4AmPfBLf88ERoWaVkBFPuHuxOQ\r\nKw9zU+FuIQTgBKiUQLyk0lEGlAhdIO4O5zLnYZXgHIQAYGLASICWMmTN2/ET\r\nF0wyQr5CimOpM+QmvdQayqSEUEBszRIC5gJOSVfBDkFIPHNI9at6/MBjApg5\r\ni1HH81HuCb3ILvhvgR7lnkTz/i7H+xqEmZbSrch1bYm1vvIDJ2fVGFRGZUzw\r\n397ndlzBQz/bSrq329SKRT0wX7cWLt3KfQHIguEsh3puKL1ZJ60J0cl5qu3w\r\nZIrAAh1V8OA0Hc6CVU+FMEAnrjUXgMNt6AQ=\r\n=G5RN\r\n-----END PGP SIGNATURE-----\r\n"},"main":"lib/index.js","type":"commonjs","types":"./typings/index.d.ts","engines":{"node":"^12.20.0 || >=14.13.1"},"exports":{".":{"types":"./typings/index.d.ts","import":"./lib/index.js","require":"./lib/index.js"},"./types":{"types":"./types.d.ts","import":"./types.js","require":"./types.js"},"./future":{"types":"./future.d.ts","import":"./future.js","require":"./future.js"}},"gitHead":"0a114c69df76705a3a470f513149fa031fcbf94f","scripts":{"lint":"eslint .","test":"ava test/*","build":"tsc && tsc -p bin/tsconfig.json","clean":"git clean -fX .eslintcache docs/build/ lib/ typings/","checks":"npm test && npm run lint","prepare":"npm run --silent build","pretest":"npm run build","refresh":"npm run clean && npm ci","build:docs":"typedoc src/index.ts"},"_npmUser":{"name":"mkrhere","email":"muthukumar@thefeathers.in"},"repository":{"url":"git+ssh://git@github.com/telegraf/telegraf.git","type":"git"},"_npmVersion":"8.15.0","description":"Modern Telegram Bot Framework","directories":{},"_nodeVersion":"16.17.0","dependencies":{"debug":"^4.3.3","es-main":"^1.2.0","minimist":"^1.2.6","typegram":"github:MKRhere/typegram#e2ba9f01f14b96c6dbb1c617e66692a3cc776cf6","p-timeout":"^4.1.0","node-fetch":"^2.6.7","module-alias":"^2.2.2","safe-compare":"^1.1.4","sandwich-stream":"^2.0.2","abort-controller":"^3.0.0"},"_hasShrinkwrap":false,"devDependencies":{"ava":"^4.0.1","eslint":"^8.8.0","typedoc":"^0.23.10","prettier":"^2.5.1","typescript":"^4.7.4","@types/node":"^17.0.14","@types/debug":"^4.1.7","@types/minimist":"^1.2.2","@types/node-fetch":"^2.5.12","eslint-plugin-ava":"^13.2.0","eslint-plugin-node":"^11.1.0","@types/module-alias":"^2.0.1","@types/safe-compare":"^1.1.0","eslint-plugin-import":"^2.25.4","eslint-plugin-promise":"^6.0.0","eslint-config-prettier":"^8.3.0","eslint-plugin-prettier":"^4.0.0","eslint-plugin-standard":"^5.0.0","@typescript-eslint/parser":"^5.10.2","@typescript-eslint/eslint-plugin":"^5.10.2"},"_npmOperationalInternal":{"tmp":"tmp/telegraf_4.9.0_1661496447236_0.33698034663555076","host":"s3://npm-registry-packages"}},"4.9.1":{"name":"telegraf","version":"4.9.1","keywords":["telegraf","telegram","telegram bot api","bot","botapi","bot framework"],"author":{"name":"Vitaly Domnikov","email":"oss@vitaly.codes"},"license":"MIT","_id":"telegraf@4.9.1","maintainers":[{"name":"dotcypress","email":"dotcypress@gmail.com"},{"name":"mkrhere","email":"muthukumar@thefeathers.in"},{"name":"wojpawlik","email":"woj.pawlik@gmail.com"}],"homepage":"https://telegraf.js.org","bugs":{"url":"https://github.com/telegraf/telegraf/issues"},"bin":{"telegraf":"lib/cli.mjs"},"dist":{"shasum":"bc12e98ea75f2aaf72c5c4a8a0d49c68837bf0b7","tarball":"https://registry.npmjs.org/telegraf/-/telegraf-4.9.1.tgz","fileCount":120,"integrity":"sha512-MukWpKvAZ6/HpT3yHXz+jwUf2HsPa9TcsqPLQjJ+kHNGUS2PLgaNX690ExdWmWPuxjVjC4wNHmZ9JetO3C/tVA==","signatures":[{"sig":"MEYCIQDxLC9MrnWxaN9tw3h+9iM6a53B7gnlN7C86kSoA1NNQQIhAKAUc7ooq4pGpNgai7/lqqZ7YYcA7BcEhAMibyIgMIjL","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":497404,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjDK5KACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmp6Aw//VUX9tW81K5EmS2RoUFVxNNz1WlZuiT8cZ8Nm0Lmg4hGr0/Rz\r\neC+H+2EGc5hfOO4b5TJeHrOhK1UxvZTl8Pdw0FCz3LulL7/JHSQuenG4tz0i\r\nqfmlVpCVlWqy7/xo4EF6iMiPQ5OcLfE9m81VqwAWwQnpGkYRoGWJZvZgS1un\r\n5qb/n6RurbTwVg5hzuy39VO7V/lITDOnP/r5ztp3YDThz+kHEqMmKZ1EBK2H\r\nMNYnEH/hE+Xng3qkOGinHVsK6lD/wgMvA7uCm7RFWqqsFrcVdWUerFM5cgH/\r\ngiOLH8ZRO+Ygih/qLSoAv/itnBOH/oYte6eQ030bZd0ZAUl4dJYizgbv0OCD\r\njP//49uDm0rtudeD7Tx5zW6+f3tIoMl/bVyqYp7R2bgaabBhDFaHjcQrjuEB\r\nA8igway9LkjkFVcEYtMlKVDJQHXNUxLIEMSP9BnFKU8RXzheJTWcUgjWy416\r\nTf3Cl7EYvlKwjeJNBfqEtNj7QUAzHeiVdv8WCgn34LtsImdOhMwRnS9icMfg\r\nzH8Z0gWLvL/3CRJXw0AmAzYdInpDf8UODh8s8ukp1IKkUoEPfEGKUeiIubO4\r\nhwe0hImgDBjqUBMKcjtaOihl67cKS/oF3fKXHuxm1XuptnB+NBA3WjqmnrhQ\r\nijjlIJssUIcxI0DLdR1rWEgKW3RJE79XyZI=\r\n=K6VC\r\n-----END PGP SIGNATURE-----\r\n"},"main":"lib/index.js","type":"commonjs","types":"./typings/index.d.ts","engines":{"node":"^12.20.0 || >=14.13.1"},"exports":{".":{"types":"./typings/index.d.ts","import":"./lib/index.js","require":"./lib/index.js"},"./types":{"types":"./types.d.ts","import":"./types.js","require":"./types.js"},"./future":{"types":"./future.d.ts","import":"./future.js","require":"./future.js"}},"gitHead":"52defa01a9d11ef86f99090857215e8e08c06b33","scripts":{"lint":"eslint .","test":"ava test/*","build":"tsc","clean":"git clean -fX .eslintcache docs/build/ lib/ typings/","checks":"npm test && npm run lint","prepare":"npm run --silent build","pretest":"npm run build","refresh":"npm run clean && npm ci","build:docs":"typedoc src/index.ts"},"_npmUser":{"name":"mkrhere","email":"muthukumar@thefeathers.in"},"repository":{"url":"git+ssh://git@github.com/telegraf/telegraf.git","type":"git"},"_npmVersion":"8.15.0","description":"Modern Telegram Bot Framework","directories":{},"_nodeVersion":"16.17.0","dependencies":{"mri":"^1.2.0","debug":"^4.3.3","typegram":"^3.11.0","p-timeout":"^4.1.0","node-fetch":"^2.6.7","safe-compare":"^1.1.4","sandwich-stream":"^2.0.2","abort-controller":"^3.0.0"},"_hasShrinkwrap":false,"devDependencies":{"ava":"^4.0.1","eslint":"^8.8.0","typedoc":"^0.23.10","prettier":"^2.5.1","typescript":"^4.7.4","@types/node":"^17.0.14","@types/debug":"^4.1.7","@types/node-fetch":"^2.5.12","eslint-plugin-ava":"^13.2.0","eslint-plugin-node":"^11.1.0","@types/safe-compare":"^1.1.0","eslint-plugin-import":"^2.25.4","eslint-plugin-promise":"^6.0.0","eslint-config-prettier":"^8.3.0","eslint-plugin-prettier":"^4.0.0","@typescript-eslint/parser":"^5.10.2","@typescript-eslint/eslint-plugin":"^5.10.2"},"_npmOperationalInternal":{"tmp":"tmp/telegraf_4.9.1_1661775434726_0.6688702370810207","host":"s3://npm-registry-packages"}},"4.9.2":{"name":"telegraf","version":"4.9.2","keywords":["telegraf","telegram","telegram bot api","bot","botapi","bot framework"],"author":{"name":"Vitaly Domnikov","email":"oss@vitaly.codes"},"license":"MIT","_id":"telegraf@4.9.2","maintainers":[{"name":"dotcypress","email":"dotcypress@gmail.com"},{"name":"mkrhere","email":"muthukumar@thefeathers.in"},{"name":"wojpawlik","email":"woj.pawlik@gmail.com"}],"homepage":"https://telegraf.js.org","bugs":{"url":"https://github.com/telegraf/telegraf/issues"},"bin":{"telegraf":"lib/cli.mjs"},"dist":{"shasum":"48f51319b605f58d55c191d7b46646f53b2a2a48","tarball":"https://registry.npmjs.org/telegraf/-/telegraf-4.9.2.tgz","fileCount":120,"integrity":"sha512-NONBwsIWAX4d6kq81IhvA9mfCe9RlElGmDTryKXRDSQ1r1u1ZPgTTeBfzOvzKF4Uc/f3AcH746wj2dIjAVt4HA==","signatures":[{"sig":"MEUCIQCh2FSk0o+Qn2hDSkXysFXXQ8eQtCb9QZVUKcO8Bk2gUAIga27QFI7da/pxuxGSHuCJ7/W2At0CEyhBSPPXKTuiOXc=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":497672,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjIMoJACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmpMJg/+IJ6cOxeyS/kZWdixs6nL/UaV/j+GwbRdvcobxvSgUk1pRvvE\r\ng3rcNty5ZN/To8q1IuCx6q2UAQTupPMy5tbBY2DiagnQYwy3VCtheQBAbsIi\r\nem9QwojVlrMyiZOpWGfOvs8UCsbOhPYKJKJuaA+w21cxsZAU1inBzQ1QhpPc\r\nsRQCAFA0Fyj2TUVL5J+pSZxqg3rLHb0wgLwHfmkNTr/qLqTs1u3klG+bv5Jf\r\noZnjecJOQRMZYXsdhLEgt0z4uuut50NbahNFgQP23T3+NoxiD77aNUYZ81qj\r\nEz62yNubfv+9HRJbdDgoK4D6Y5weEfkwEYKdFZHIA1XCW3XPGAmh36SmHKH3\r\n/MccKrU7AlzwsGKI5n2AQJfDiUVCQKqap6D/rwdSrjG9+Has2CswN68Bi8g7\r\n4gsHu4+mwJxczcdWhP6plaFviNwwu9CgPrfy6KbUfgykaEIFBv+OK3c9NV/W\r\nw2GKpPvjib7k8VPRPogXkXFKXmRWkczCqpxeoZ3xRmQ5k4Ms47ZGiQA2EX7h\r\nlHGhmuqC0OR7w/STwQEuXXbgu4KoKUt8nDYVf2SVsbQy+Zmp0tSduVpB+QS8\r\nvfTU+yHWDY0/h5rM/lirQcPMbNV2YnHEJMklD6KjQmQNIkfxzhUAd65KgH8v\r\n5qNigoPFi9FJSd8WDXSzr25+ySl6EYQVPJ4=\r\n=wuqS\r\n-----END PGP SIGNATURE-----\r\n"},"main":"lib/index.js","type":"commonjs","types":"./typings/index.d.ts","engines":{"node":"^12.20.0 || >=14.13.1"},"exports":{".":{"types":"./typings/index.d.ts","import":"./lib/index.js","require":"./lib/index.js"},"./types":{"types":"./types.d.ts","import":"./types.js","require":"./types.js"},"./future":{"types":"./future.d.ts","import":"./future.js","require":"./future.js"}},"gitHead":"8ade0985e73f42be6bbbdfd2a5e11b398efad29c","scripts":{"lint":"eslint .","test":"ava test/*","build":"tsc","clean":"git clean -fX .eslintcache docs/build/ lib/ typings/","checks":"npm test && npm run lint","prepare":"npm run --silent build","pretest":"npm run build","refresh":"npm run clean && npm ci","build:docs":"typedoc src/index.ts"},"_npmUser":{"name":"mkrhere","email":"muthukumar@thefeathers.in"},"repository":{"url":"git+ssh://git@github.com/telegraf/telegraf.git","type":"git"},"_npmVersion":"8.15.0","description":"Modern Telegram Bot Framework","directories":{},"_nodeVersion":"16.17.0","dependencies":{"mri":"^1.2.0","debug":"^4.3.3","typegram":"^3.11.0","p-timeout":"^4.1.0","node-fetch":"^2.6.7","safe-compare":"^1.1.4","sandwich-stream":"^2.0.2","abort-controller":"^3.0.0"},"_hasShrinkwrap":false,"devDependencies":{"ava":"^4.0.1","eslint":"^8.8.0","typedoc":"^0.23.10","prettier":"^2.5.1","typescript":"^4.7.4","@types/node":"^17.0.14","@types/debug":"^4.1.7","@types/node-fetch":"^2.5.12","eslint-plugin-ava":"^13.2.0","eslint-plugin-node":"^11.1.0","@types/safe-compare":"^1.1.0","eslint-plugin-import":"^2.25.4","eslint-plugin-promise":"^6.0.0","eslint-config-prettier":"^8.3.0","eslint-plugin-prettier":"^4.0.0","@typescript-eslint/parser":"^5.10.2","@typescript-eslint/eslint-plugin":"^5.10.2"},"_npmOperationalInternal":{"tmp":"tmp/telegraf_4.9.2_1663093257161_0.12121024132214053","host":"s3://npm-registry-packages"}},"4.10.0":{"name":"telegraf","version":"4.10.0","keywords":["telegraf","telegram","telegram bot api","bot","botapi","bot framework"],"author":{"name":"Vitaly Domnikov","email":"oss@vitaly.codes"},"license":"MIT","_id":"telegraf@4.10.0","maintainers":[{"name":"dotcypress","email":"dotcypress@gmail.com"},{"name":"mkrhere","email":"muthukumar@thefeathers.in"},{"name":"wojpawlik","email":"woj.pawlik@gmail.com"}],"homepage":"https://telegraf.js.org","bugs":{"url":"https://github.com/telegraf/telegraf/issues"},"bin":{"telegraf":"lib/cli.mjs"},"dist":{"shasum":"1e42f8c244b16f114fbc3710308fe5b347ca7ef2","tarball":"https://registry.npmjs.org/telegraf/-/telegraf-4.10.0.tgz","fileCount":134,"integrity":"sha512-dOlkC2s+f29jXEYN/R20gGQQ/2BCLmRaGkMKCnSZsLB7+7QZKxROu7PWkAB/kKj9Eedt3UpfqAv6bNhmeL9XGA==","signatures":[{"sig":"MEYCIQDt+V+T8HFg4vTP3hn118QPCt9vh7IYZa9osj8trArDEgIhAJcafGiVwOCQmMv/vCwwenGU3wCv/yvoIEYEK4raflr7","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":523319,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjODJ3ACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmq0YxAAoz1gXYqiOGitLXDGOOA528D0dILffZ0ZKOYupfjS++43kJPe\r\nyNwWFTGkbKtLFycALcsj/70E4Hy/5gw7y7ikG08Ym6KZZviY8pjvz1URkzR8\r\n63oNW0L+t9iDEKOhgVkMhmb2r9nFBREyy3XoMjVu28WxYJqhFddiuIx1Q3eg\r\nbnET3TJvar1994D0317BRkK231PaNziUL/nIcmgg2t4wqYizAm+odTNYirY8\r\nQuJjwiLC9WBIqtgKO1yB3snV5ZeZSVaT2uJp4hoBkD2oxq/wxQXy/q+RHazZ\r\noZ28i7s7jr46ItO8tmBkOneoDyNhYJsbMFFOoNRLNptKLgd19yLYVyXBZX/z\r\nldPsyAt6iKKZu8BsEIRjTYzUws+3ci2Z62lY472uJINzifcqMyBIV0jQA2EN\r\neYeSATYrUoHUP92GZJYR/BmWn/eG+ruvKmimY1fTByshNGjNEpe7U4KD2BsL\r\n/AI97gCCpHocnF3byBKL8ngKnF/yDs6hJI7cb5RTl8edeO8x4/fZ9SHTyTje\r\nH9mjLki68UGJhO4Qftwo+nQ8DnibJyhXMm5BBMHpgzZXnoofjunVR3pdrLLk\r\njszd9cwTGcjhvuWHlLS7bdtJWr/JHwyd0MQCJ2GwoXjH9a5BDQe32naJs6g0\r\nSxYDnpqE1T0K9Dczz06F2HyLyp37v6XS/QE=\r\n=r+WX\r\n-----END PGP SIGNATURE-----\r\n"},"main":"lib/index.js","type":"commonjs","types":"./typings/index.d.ts","engines":{"node":"^12.20.0 || >=14.13.1"},"exports":{".":{"types":"./typings/index.d.ts","import":"./lib/index.js","require":"./lib/index.js"},"./types":{"types":"./types.d.ts","import":"./types.js","require":"./types.js"},"./format":{"types":"./format.d.ts","import":"./format.js","require":"./format.js"},"./future":{"types":"./future.d.ts","import":"./future.js","require":"./future.js"}},"gitHead":"3cbcd8e8476d26152667b0c6549b074d0349eb62","scripts":{"lint":"eslint .","test":"ava test/*","build":"tsc","clean":"git clean -fX .eslintcache docs/build/ lib/ typings/","checks":"npm test && npm run lint","prepare":"npm run --silent build","pretest":"npm run build","refresh":"npm run clean && npm ci","build:docs":"typedoc src/index.ts"},"_npmUser":{"name":"mkrhere","email":"muthukumar@thefeathers.in"},"repository":{"url":"git+ssh://git@github.com/telegraf/telegraf.git","type":"git"},"_npmVersion":"8.15.0","description":"Modern Telegram Bot Framework","directories":{},"_nodeVersion":"16.17.0","dependencies":{"mri":"^1.2.0","debug":"^4.3.3","typegram":"^3.11.0","p-timeout":"^4.1.0","node-fetch":"^2.6.7","safe-compare":"^1.1.4","sandwich-stream":"^2.0.2","abort-controller":"^3.0.0"},"_hasShrinkwrap":false,"devDependencies":{"ava":"^4.0.1","eslint":"^8.8.0","typedoc":"^0.23.10","prettier":"^2.5.1","typescript":"^4.7.4","@types/node":"^17.0.14","@types/debug":"^4.1.7","@types/node-fetch":"^2.5.12","eslint-plugin-ava":"^13.2.0","eslint-plugin-node":"^11.1.0","@types/safe-compare":"^1.1.0","eslint-plugin-import":"^2.25.4","eslint-plugin-promise":"^6.0.0","eslint-config-prettier":"^8.3.0","eslint-plugin-prettier":"^4.0.0","@typescript-eslint/parser":"^5.10.2","@typescript-eslint/eslint-plugin":"^5.10.2"},"_npmOperationalInternal":{"tmp":"tmp/telegraf_4.10.0_1664627319723_0.06934171491696528","host":"s3://npm-registry-packages"}},"4.11.0-canary.1":{"name":"telegraf","version":"4.11.0-canary.1","keywords":["telegraf","telegram","telegram bot api","bot","botapi","bot framework"],"author":{"name":"Vitaly Domnikov","email":"oss@vitaly.codes"},"license":"MIT","_id":"telegraf@4.11.0-canary.1","maintainers":[{"name":"dotcypress","email":"dotcypress@gmail.com"},{"name":"mkrhere","email":"muthukumar@thefeathers.in"},{"name":"wojpawlik","email":"woj.pawlik@gmail.com"}],"homepage":"https://telegraf.js.org","bugs":{"url":"https://github.com/telegraf/telegraf/issues"},"bin":{"telegraf":"lib/cli.mjs"},"dist":{"shasum":"5c91f1569df05cbf99616754b53bf27701183163","tarball":"https://registry.npmjs.org/telegraf/-/telegraf-4.11.0-canary.1.tgz","fileCount":147,"integrity":"sha512-ZvCaAf0IkjqjQSYU8/ykW0JmacsU6yFuhFrHuV5OxDIzJV4IsVfQOlv5k4h+iFd8XC8GOlbaddu5SLN86QjjcA==","signatures":[{"sig":"MEUCIQDxbf88BoEJIBrh+65pB3cwXmSV/jIR1JmczF/P2ho2oAIgWxScajCcgSkusQZFxztZnGvjRHnr/4GWOKv4FsK3XtM=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":590308,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjcB2vACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmqlQA/9Ggn5n0AD9TLwb3ipbwfwm7SvNJ5PxVVloC3/urJM0Ga1ml0o\r\nVbkCxmXdyMWJUMdD0iy80z0cL28pJxqrPUEwCwwJKTP4pEpAMeIjetLypG9X\r\nDEETd1b5AB1sBy709E/QueW1CpTbE9d99wG/0/wle4veWHb/KiCNp05aveBl\r\nT+R/gaFOTQsdJFcCfJEjvf5OZ7ueJrJc46DffFh27NfsGHnktIfSelajML+T\r\nsAxrnJ7bH12sVhtoM3Igd7h0ospTplf3aa+AJraTThn8nP+hD+oU2oMKZsAf\r\niaSqWRrInVgPRQbdNOBD9pPnQAQTZhy8Ykn6fYeDH40p5QRGZgMSLoIGgFwm\r\noyQNuCXlNWv6B4NFNZhZacTk0+NV/iK9j3A4ByGlmIF6E+D1cMVwJbwNiPVk\r\nfVi+NUXfK0exedsZHAzin5bbdiZbsi6pW4uS3mbCocw0/hvnvye1ODlSFCTi\r\nOSySY77qmtaD5UYjSJNULpKlMLT98Ob9tDud5rAvy7I5U7Od6wgRIl2ZnRBU\r\nWsLBfcmcuvJswZtSPhEovATqzoscXMcWBDop6IM2QiwubK2sDkWd8lKb+3ri\r\nrzrMGt2nn2QWCZZ/lRsWkoPQ7D79P3bKVVtgG4AJabnj49r+4m6b7m/y+kVz\r\nWAFTCcPywAAOezQAF5Yr9Dgbnp1mIT2nMBM=\r\n=Oxke\r\n-----END PGP SIGNATURE-----\r\n"},"main":"lib/index.js","type":"commonjs","types":"./typings/index.d.ts","readme":"
\n\n
\n\"logo\"\n

telegraf.js

\n\n

Modern Telegram Bot API framework for Node.js

\n\n\n\t\"Bot\n\n\n\t\"install\n\n\n\t\"GitHub\n\n\n\t\"English\n\n
\n\n
\n\n## For 3.x users\n\n- [3.x docs](https://telegraf.js.org/v3)\n- [4.0 release notes](https://github.com/telegraf/telegraf/releases/tag/v4.0.0)\n\n## Introduction\n\nBots are special [Telegram](https://telegram.org) accounts designed to handle messages automatically. \nUsers can interact with bots by sending them command messages in private or group chats. \nThese accounts serve as an interface for code running somewhere on your server.\n\nTelegraf is a library that makes it simple for you to develop your own Telegram bots using JavaScript or [TypeScript](https://www.typescriptlang.org/).\n\n### Features\n\n- Full [Telegram Bot API 6.2](https://core.telegram.org/bots/api) support\n- [Excellent TypeScript typings](https://github.com/telegraf/telegraf/releases/tag/v4.0.0)\n- [Lightweight](https://packagephobia.com/result?p=telegraf,node-telegram-bot-api)\n- [AWS **λ**](https://docs.aws.amazon.com/lambda/latest/dg/nodejs-prog-model-handler.html)\n / [Firebase](https://firebase.google.com/products/functions/)\n / [Glitch](https://glitch.com/edit/#!/dashing-light)\n / [Fly.io](https://fly.io/docs/languages-and-frameworks/node)\n / Whatever ready\n- `http/https/fastify/Connect.js/express.js` compatible webhooks\n- Extensible\n\n### Example\n \n```js\nconst { Telegraf } = require('telegraf');\n\nconst bot = new Telegraf(process.env.BOT_TOKEN);\nbot.start((ctx) => ctx.reply('Welcome'));\nbot.help((ctx) => ctx.reply('Send me a sticker'));\nbot.on('sticker', (ctx) => ctx.reply('👍'));\nbot.hears('hi', (ctx) => ctx.reply('Hey there'));\nbot.launch();\n\n// Enable graceful stop\nprocess.once('SIGINT', () => bot.stop('SIGINT'));\nprocess.once('SIGTERM', () => bot.stop('SIGTERM'));\n```\n\n```js\nconst { Telegraf } = require('telegraf');\n\nconst bot = new Telegraf(process.env.BOT_TOKEN);\nbot.command('oldschool', (ctx) => ctx.reply('Hello'));\nbot.command('hipster', Telegraf.reply('λ'));\nbot.launch();\n\n// Enable graceful stop\nprocess.once('SIGINT', () => bot.stop('SIGINT'));\nprocess.once('SIGTERM', () => bot.stop('SIGTERM'));\n```\n\nFor additional bot examples see the new [`docs repo`](https://github.com/feathers-studio/telegraf-docs/).\n\n### Resources\n\n- [Getting started](#getting-started)\n- [API reference](https://telegraf.js.org/modules.html)\n- Telegram groups (sorted by number of members):\n * [English](https://t.me/TelegrafJSChat)\n * [Uzbek](https://t.me/botjs_uz)\n * [Ethiopian](https://t.me/telegraf_et)\n * [Russian](https://t.me/telegrafjs_ru)\n- [GitHub Discussions](https://github.com/telegraf/telegraf/discussions)\n- [Dependent repositories](https://libraries.io/npm/telegraf/dependent_repositories)\n\n## Getting started\n\n### Telegram token\n\nTo use the [Telegram Bot API](https://core.telegram.org/bots/api), \nyou first have to [get a bot account](https://core.telegram.org/bots) \nby [chatting with BotFather](https://core.telegram.org/bots#6-botfather).\n\nBotFather will give you a *token*, something like `123456789:AbCdefGhIJKlmNoPQRsTUVwxyZ`.\n\n### Installation\n\n```shellscript\n$ npm install telegraf\n```\nor\n```shellscript\n$ yarn add telegraf\n```\nor\n```shellscript\n$ pnpm add telegraf\n```\n\n### `Telegraf` class\n\n[`Telegraf`] instance represents your bot. It's responsible for obtaining updates and passing them to your handlers.\n\nStart by [listening to commands](https://telegraf.js.org/classes/Telegraf-1.html#command) and [launching](https://telegraf.js.org/classes/Telegraf-1.html#launch) your bot.\n\n### `Context` class\n\n`ctx` you can see in every example is a [`Context`] instance.\n[`Telegraf`] creates one for each incoming update and passes it to your middleware.\nIt contains the `update`, `botInfo`, and `telegram` for making arbitrary Bot API requests,\nas well as shorthand methods and getters.\n\nThis is probably the class you'll be using the most.\n\n\n\n\n#### Shorthand methods\n\n```js\nimport { Telegraf } from 'telegraf';\n\nconst bot = new Telegraf(process.env.BOT_TOKEN);\n\nbot.command('quit', async (ctx) => {\n // Explicit usage\n await ctx.telegram.leaveChat(ctx.message.chat.id);\n\n // Using context shortcut\n await ctx.leaveChat();\n});\n\nbot.on('text', async (ctx) => {\n // Explicit usage\n await ctx.telegram.sendMessage(ctx.message.chat.id, `Hello ${ctx.state.role}`);\n\n // Using context shortcut\n await ctx.reply(`Hello ${ctx.state.role}`);\n});\n\nbot.on('callback_query', async (ctx) => {\n // Explicit usage\n await ctx.telegram.answerCbQuery(ctx.callbackQuery.id);\n\n // Using context shortcut\n await ctx.answerCbQuery();\n});\n\nbot.on('inline_query', async (ctx) => {\n const result = [];\n // Explicit usage\n await ctx.telegram.answerInlineQuery(ctx.inlineQuery.id, result);\n\n // Using context shortcut\n await ctx.answerInlineQuery(result);\n});\n\nbot.launch();\n\n// Enable graceful stop\nprocess.once('SIGINT', () => bot.stop('SIGINT'));\nprocess.once('SIGTERM', () => bot.stop('SIGTERM'));\n```\n\n## Production\n\n### Webhooks\n\n```TS\nimport { Telegraf } from \"telegraf\";\n\nconst bot = new Telegraf(token);\n\nbot.on(\"text\", ctx => ctx.reply(\"Hello\"));\n\n// Start webhook via launch method (preferred)\nbot.launch({\n webhook: {\n // Public domain for webhook; e.g.: example.com\n domain: webhookDomain,\n\n // Port to listen on; e.g.: 8080\n port: port,\n\n // Optional path to listen for.\n // `bot.secretPathComponent()` will be used by default\n hookPath: webhookPath,\n\n // Optional secret to be sent back in a header for security.\n // e.g.: `crypto.randomBytes(64).toString(\"hex\")`\n secretToken: randomAlphaNumericString,\n },\n});\n```\n\nUse `createWebhook()` if you want to attach Telegraf to an existing http server.\n\n\n\n```TS\nconst { createServer } from \"http\";\n\ncreateServer(await bot.createWebhook({ domain: \"example.com\" })).listen(3000);\n```\n\n```TS\nconst { createServer } from \"https\";\n\ncreateServer(tlsOptions, await bot.createWebhook({ domain: \"example.com\" })).listen(8443);\n```\n\n- [AWS Lambda example integration](https://github.com/feathers-studio/telegraf-docs/tree/master/examples/functions/aws-lambda)\n- [Google Cloud Functions example integration](https://github.com/feathers-studio/telegraf-docs/blob/master/examples/functions/google-cloud-function.ts)\n- [`express` example integration](https://github.com/feathers-studio/telegraf-docs/blob/master/examples/webhook/express.ts)\n- [`fastify` example integration](https://github.com/feathers-studio/telegraf-docs/blob/master/examples/webhook/fastify.ts)\n- [`koa` example integration](https://github.com/feathers-studio/telegraf-docs/blob/master/examples/webhook/koa.ts)\n- [NestJS framework integration module](https://github.com/bukhalo/nestjs-telegraf)\n- [Cloudflare Workers integration module](https://github.com/Tsuk1ko/cfworker-middware-telegraf)\n- Use [`bot.handleUpdate`](https://telegraf.js.org/classes/Telegraf-1.html#handleupdate) to write new integrations\n\n### Error handling\n\nIf middleware throws an error or times out, Telegraf calls `bot.handleError`. If it rethrows, update source closes, and then the error is printed to console and process [hopefully](https://nodejs.org/api/cli.html#cli_unhandled_rejections_mode) terminates. If it does not rethrow, the error is swallowed.\n\nDefault `bot.handleError` always rethrows. You can overwrite it using `bot.catch` if you need to.\n\n⚠️ Always rethrow `TimeoutError`!\n\n⚠️ Swallowing unknown errors might leave the process in invalid state!\n\nℹ️ In production, `systemd` or [`pm2`](https://www.npmjs.com/package/pm2) can restart your bot if it exits for any reason.\n\n## Advanced topics\n\n### Working with files\n\nSupported file sources:\n\n- `Existing file_id`\n- `File path`\n- `Url`\n- `Buffer`\n- `ReadStream`\n\nAlso, you can provide an optional name of a file as `filename` when you send the file.\n\n\n\n```js\nbot.on('message', async (ctx) => {\n // resend existing file by file_id\n await ctx.replyWithSticker('123123jkbhj6b');\n\n // send file\n await ctx.replyWithVideo({ source: '/path/to/video.mp4' });\n\n // send stream\n await ctx.replyWithVideo({\n source: fs.createReadStream('/path/to/video.mp4')\n });\n\n // send buffer\n await ctx.replyWithVoice({\n source: Buffer.alloc()\n });\n\n // send url via Telegram server\n await ctx.replyWithPhoto('https://picsum.photos/200/300/');\n\n // pipe url content\n await ctx.replyWithPhoto({\n url: 'https://picsum.photos/200/300/?random',\n filename: 'kitten.jpg'\n });\n})\n```\n\n### Middleware\n\nIn addition to `ctx: Context`, each middleware receives `next: () => Promise`.\n\nAs in Koa and some other middleware-based libraries,\n`await next()` will call next middleware and wait for it to finish:\n\n```TS\nimport { Telegraf } from 'telegraf';\n\nconst bot = new Telegraf(process.env.BOT_TOKEN);\n\nbot.use(async (ctx, next) => {\n console.time(`Processing update ${ctx.update.update_id}`);\n await next() // runs next middleware\n // runs after next middleware finishes\n console.timeEnd(`Processing update ${ctx.update.update_id}`);\n})\n\nbot.on('text', (ctx) => ctx.reply('Hello World'));\nbot.launch();\n\n// Enable graceful stop\nprocess.once('SIGINT', () => bot.stop('SIGINT'));\nprocess.once('SIGTERM', () => bot.stop('SIGTERM'));\n```\n\nWith this simple ability, you can:\n- extract information from updates and then `await next()` to avoid disrupting other middleware,\n- like [`Composer`] and [`Router`], `await next()` for updates you don't wish to handle,\n- like [`session`] and [`Scenes`], [extend the context](#extending-context) by mutating `ctx` before `await next()`,\n- [intercept API calls](https://github.com/telegraf/telegraf/discussions/1267#discussioncomment-254525),\n- reuse [other people's code](https://www.npmjs.com/search?q=telegraf-),\n- do whatever **you** come up with!\n\n[`Telegraf`]: https://telegraf.js.org/classes/Telegraf-1.html\n[`Composer`]: https://telegraf.js.org/classes/Composer.html\n[`Context`]: https://telegraf.js.org/classes/Context.html\n[`Router`]: https://telegraf.js.org/classes/Router.html\n[`session`]: https://telegraf.js.org/modules.html#session\n[`Scenes`]: https://telegraf.js.org/modules/Scenes.html\n\n### Usage with TypeScript\n\nTelegraf is written in TypeScript and therefore ships with declaration files for the entire library.\nMoreover, it includes types for the complete Telegram API via the [`typegram`](https://github.com/KnorpelSenf/typegram) package.\nWhile most types of Telegraf's API surface are self-explanatory, there's some notable things to keep in mind.\n\n#### Extending `Context`\n\nThe exact shape of `ctx` can vary based on the installed middleware.\nSome custom middleware might register properties on the context object that Telegraf is not aware of.\nConsequently, you can change the type of `ctx` to fit your needs in order for you to have proper TypeScript types for your data.\nThis is done through Generics:\n\n```ts\nimport { Context, Telegraf } from 'telegraf';\n\n// Define your own context type\ninterface MyContext extends Context {\n myProp?: string\n myOtherProp?: number\n}\n\n// Create your bot and tell it about your context type\nconst bot = new Telegraf('SECRET TOKEN');\n\n// Register middleware and launch your bot as usual\nbot.use((ctx, next) => {\n // Yay, `myProp` is now available here as `string | undefined`!\n ctx.myProp = ctx.chat?.first_name?.toUpperCase();\n return next();\n});\n// ...\n```\n","engines":{"node":"^12.20.0 || >=14.13.1"},"exports":{".":{"types":"./typings/index.d.ts","import":"./lib/index.js","require":"./lib/index.js"},"./types":{"types":"./types.d.ts","import":"./types.js","require":"./types.js"},"./format":{"types":"./format.d.ts","import":"./format.js","require":"./format.js"},"./future":{"types":"./future.d.ts","import":"./future.js","require":"./future.js"},"./scenes":{"types":"./typings/scenes/index.d.ts","default":"./lib/scenes/index.js"},"./filters":{"types":"./typings/filters.d.ts","default":"./lib/filters.js"}},"gitHead":"8b2c047557ea10d6550f9db479e124d267b0f0c9","scripts":{"lint":"eslint .","test":"ava test/*","build":"tsc","clean":"git clean -fX .eslintcache docs/build/ lib/ typings/","checks":"npm test && npm run lint","prepare":"npm run --silent build","pretest":"npm run build","refresh":"npm run clean && npm ci","build:docs":"typedoc src/index.ts"},"_npmUser":{"name":"mkrhere","email":"muthukumar@thefeathers.in"},"deprecated":"Changes landed in stable","repository":{"url":"git+ssh://git@github.com/telegraf/telegraf.git","type":"git"},"_npmVersion":"8.19.2","description":"Modern Telegram Bot Framework","directories":{},"_nodeVersion":"18.12.0","dependencies":{"mri":"^1.2.0","debug":"^4.3.4","typegram":"^4.1.0","p-timeout":"^4.1.0","node-fetch":"^2.6.7","safe-compare":"^1.1.4","sandwich-stream":"^2.0.2","abort-controller":"^3.0.0"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"ava":"^4.0.1","eslint":"^8.27.0","typedoc":"^0.23.20","prettier":"^2.7.1","typescript":"^4.8.4","@types/node":"^18.11.9","@types/debug":"^4.1.7","@types/node-fetch":"^2.5.12","eslint-plugin-ava":"^13.2.0","eslint-plugin-node":"^11.1.0","@types/safe-compare":"^1.1.0","eslint-plugin-import":"^2.26.0","eslint-plugin-promise":"^6.1.1","eslint-config-prettier":"^8.3.0","eslint-plugin-prettier":"^4.2.1","@typescript-eslint/parser":"^5.42.1","@typescript-eslint/eslint-plugin":"^5.42.1"},"_npmOperationalInternal":{"tmp":"tmp/telegraf_4.11.0-canary.1_1668292015697_0.7826517427950204","host":"s3://npm-registry-packages"}},"4.11.0":{"name":"telegraf","version":"4.11.0","keywords":["telegraf","telegram","telegram bot api","bot","botapi","bot framework"],"author":{"name":"Vitaly Domnikov","email":"oss@vitaly.codes"},"license":"MIT","_id":"telegraf@4.11.0","maintainers":[{"name":"dotcypress","email":"dotcypress@gmail.com"},{"name":"mkrhere","email":"muthukumar@thefeathers.in"},{"name":"wojpawlik","email":"woj.pawlik@gmail.com"}],"homepage":"https://telegraf.js.org","bugs":{"url":"https://github.com/telegraf/telegraf/issues"},"bin":{"telegraf":"lib/cli.mjs"},"dist":{"shasum":"a28066e1b31eb727181b093d3374a773fb1a15ed","tarball":"https://registry.npmjs.org/telegraf/-/telegraf-4.11.0.tgz","fileCount":138,"integrity":"sha512-zsX5mK880Bf7/I9R+Q3oAHaQLqfGKvAb/9XRiRV4FhcnWdWFs3V+Fn+KDo+q0COrmvcjFanXAc7I47w2OFWpTQ==","signatures":[{"sig":"MEYCIQDnvHONtCYn2BptLWXZKhXTAJxdfbJn1em1HM8yuSD+0AIhAInetIjyaGEqszEQXjpAqKnhjjhJwf+fyBymivnueFJX","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":572552,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjeArHACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmp8Tw//U9MYsAr4vc+vOQzzPZs6pYxHpEUlkbxwG5b27jVcOkaIRIyp\r\n0r/UAlVLKx0CJuAmYwxLVcjr1rO+ELXnWZnU8aeXFdnX/pS1+kI9Dq0o8clW\r\nLevVsNkRWuPooeZbnUK6bLku4gHVD94KC9110egu/8Cx6OczBKGCji+xxwCN\r\nppcuGGyzk0jDRNIRbHWhvnO4eaT2ujWjG+o5Yt2aZcKRt+5wCrJsO5uiAz+F\r\nUPdWeEZEc/BWk3r4QKCxfTMVzGKrEHc759KO4NE64SzB8qHkKx16bAI6jVmU\r\nyjZf3hfqBbT21Ov5NxNRcijrfE/AMYqbKhO6NubdXVBsgmHBTzsPo4ZbQWC8\r\n2DTrN9tHwgkpQqMiSGgBmU/dt05jrNAvKGOvOSl7H19KrP8IHMzZzOMD0hv4\r\npkjSzPoArv2+SlOUFdXo0aYfJB+SalbJDy+Gh8kH8FzWH/BIUN+YaY1PnpTF\r\nRM+VAuxnxOM8pPDizUQPEUJdvfR2alIw2Vp2fNOS60zwddpA39fR9dmMRwll\r\nTU0P2GZoI41zifXpyPfzoBbcAEMwaw9waLMN48cpo8UxBVcur0eVE2XbZ+q/\r\n72Lsdt/Snl6KL8FSA+pKCoxpm5zkC91n2ZAbpovuOX8tkN2lVYgUn72irmWQ\r\n1UqA0HOFREZrbXomzv3iPZY1qfxq0nCZlPE=\r\n=Umd/\r\n-----END PGP SIGNATURE-----\r\n"},"main":"lib/index.js","type":"commonjs","types":"./typings/index.d.ts","engines":{"node":"^12.20.0 || >=14.13.1"},"exports":{".":{"types":"./typings/index.d.ts","import":"./lib/index.js","require":"./lib/index.js"},"./types":{"types":"./types.d.ts","import":"./types.js","require":"./types.js"},"./format":{"types":"./format.d.ts","import":"./format.js","require":"./format.js"},"./future":{"types":"./future.d.ts","import":"./future.js","require":"./future.js"},"./scenes":{"types":"./typings/scenes/index.d.ts","default":"./lib/scenes/index.js"},"./filters":{"types":"./typings/filters.d.ts","default":"./lib/filters.js"}},"gitHead":"e5f3dbc569d94449440749818b62083b61313ccb","scripts":{"lint":"eslint .","test":"ava test/*","build":"tsc","clean":"git clean -fX .eslintcache docs/build/ lib/ typings/","checks":"npm test && npm run lint","prepare":"npm run --silent build","pretest":"npm run build","refresh":"npm run clean && npm ci","build:docs":"typedoc src/index.ts"},"_npmUser":{"name":"mkrhere","email":"muthukumar@thefeathers.in"},"repository":{"url":"git+ssh://git@github.com/telegraf/telegraf.git","type":"git"},"_npmVersion":"8.19.2","description":"Modern Telegram Bot Framework","directories":{},"_nodeVersion":"16.18.0","dependencies":{"mri":"^1.2.0","debug":"^4.3.4","typegram":"^4.1.0","p-timeout":"^4.1.0","node-fetch":"^2.6.7","safe-compare":"^1.1.4","sandwich-stream":"^2.0.2","abort-controller":"^3.0.0"},"_hasShrinkwrap":false,"devDependencies":{"ava":"^4.0.1","eslint":"^8.27.0","typedoc":"^0.23.20","prettier":"^2.7.1","typescript":"^4.8.4","@types/node":"^18.11.9","@types/debug":"^4.1.7","@types/node-fetch":"^2.5.12","eslint-plugin-ava":"^13.2.0","eslint-plugin-node":"^11.1.0","@types/safe-compare":"^1.1.0","eslint-plugin-import":"^2.26.0","eslint-plugin-promise":"^6.1.1","eslint-config-prettier":"^8.3.0","eslint-plugin-prettier":"^4.2.1","@typescript-eslint/parser":"^5.42.1","@typescript-eslint/eslint-plugin":"^5.42.1"},"_npmOperationalInternal":{"tmp":"tmp/telegraf_4.11.0_1668811463699_0.8891908299670614","host":"s3://npm-registry-packages"}},"4.11.1-canary.1":{"name":"telegraf","version":"4.11.1-canary.1","keywords":["telegraf","telegram","telegram bot api","bot","botapi","bot framework"],"author":{"name":"Vitaly Domnikov","email":"oss@vitaly.codes"},"license":"MIT","_id":"telegraf@4.11.1-canary.1","maintainers":[{"name":"dotcypress","email":"dotcypress@gmail.com"},{"name":"mkrhere","email":"muthukumar@thefeathers.in"},{"name":"wojpawlik","email":"woj.pawlik@gmail.com"}],"homepage":"https://telegraf.js.org","bugs":{"url":"https://github.com/telegraf/telegraf/issues"},"bin":{"telegraf":"lib/cli.mjs"},"dist":{"shasum":"ae89efcccc52535cdea9e1b985aff143076f850b","tarball":"https://registry.npmjs.org/telegraf/-/telegraf-4.11.1-canary.1.tgz","fileCount":147,"integrity":"sha512-mygoT4WsOqoJJuf1GgO2xQWY936I1M31F0R+bxM/tevRwBqDvdKIKKv7alDsAM5ACmewVevXw9BNUxaBr40FSw==","signatures":[{"sig":"MEUCIQDPZsIUaPIA7ANJwP0UQ4pTPxK2Xkg9/IWSeHoACgzcvwIgCeWWMUJofJB1QfydvQSdWw+61z2r8sbsLRSPLyNH7UI=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":590513,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjeRadACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmouQg//UX2BUF5NT2Ojlxu2h0ggzhQdQ2rXC0DS+o3F8AHorskCRhI4\r\nP9+Q3U/Fu6RvOoWrN/0OJEGUTMDOR0kQtfTZagLgkrALyTny7JDCzO5XhvD/\r\nhqH7/ylfW/zeRqPwSs6ehDghXPdBILePi3u+gfL9j4khTnTHbgAmTAK5RDG+\r\nI2CL634Fwb/Vq/gkjaSh8VQ7YyqKCbWAWKbOosPxTOZqPSYV7V0Z3L2UhrBP\r\nBNcAfZjMWq2vHOXzbPCg9cDdLlc0gtpUD9QOyhxuaswI6mZv0RYkRjX1Es0b\r\nbMmfUXD2Q17cCIwsNJRII7eG7Qd5BqFzObnCsgv07BQsNBkqLFtUrUh9OKdr\r\ntw0BWlaMyCQzA78fCYSu9CqQSU/htt73QaFD8561U69Y+s3J5dgUF4UtzON9\r\n3yEiiPxpRTDUReFhXC7os4ppqtrFei5hvnRqcKP5Lju6ft7W60muBODWZFeK\r\ntf6LXV4HsDuUz2OEoBDIVP3/7U06llrjdEzr11TPGWhD5rbc4BOt2LfOWA5Z\r\nEXLWwfHRYM/bJzvAizmGUtIW6kgmCQ9pkiMsrFCNrm4l52wi49vIaQJ6b1qT\r\nZKqt3ET2KgtGKSCOqOWLfPPD/k1lqvnLhMEP4O1ATm9FL4BW28AadKdAevl/\r\nozfWSj0bu05Ogx6swHFx9RfXt34plxnalj4=\r\n=pRKW\r\n-----END PGP SIGNATURE-----\r\n"},"main":"lib/index.js","type":"commonjs","types":"./typings/index.d.ts","readme":"
\n\n
\n\"logo\"\n

telegraf.js

\n\n

Modern Telegram Bot API framework for Node.js

\n\n\n\t\"Bot\n\n\n\t\"install\n\n\n\t\"GitHub\n\n\n\t\"English\n\n
\n\n
\n\n## For 3.x users\n\n- [3.x docs](https://telegraf.js.org/v3)\n- [4.0 release notes](https://github.com/telegraf/telegraf/releases/tag/v4.0.0)\n\n## Introduction\n\nBots are special [Telegram](https://telegram.org) accounts designed to handle messages automatically. \nUsers can interact with bots by sending them command messages in private or group chats. \nThese accounts serve as an interface for code running somewhere on your server.\n\nTelegraf is a library that makes it simple for you to develop your own Telegram bots using JavaScript or [TypeScript](https://www.typescriptlang.org/).\n\n### Features\n\n- Full [Telegram Bot API 6.2](https://core.telegram.org/bots/api) support\n- [Excellent TypeScript typings](https://github.com/telegraf/telegraf/releases/tag/v4.0.0)\n- [Lightweight](https://packagephobia.com/result?p=telegraf,node-telegram-bot-api)\n- [AWS **λ**](https://docs.aws.amazon.com/lambda/latest/dg/nodejs-prog-model-handler.html)\n / [Firebase](https://firebase.google.com/products/functions/)\n / [Glitch](https://glitch.com/edit/#!/dashing-light)\n / [Fly.io](https://fly.io/docs/languages-and-frameworks/node)\n / Whatever ready\n- `http/https/fastify/Connect.js/express.js` compatible webhooks\n- Extensible\n\n### Example\n \n```js\nconst { Telegraf } = require('telegraf');\n\nconst bot = new Telegraf(process.env.BOT_TOKEN);\nbot.start((ctx) => ctx.reply('Welcome'));\nbot.help((ctx) => ctx.reply('Send me a sticker'));\nbot.on('sticker', (ctx) => ctx.reply('👍'));\nbot.hears('hi', (ctx) => ctx.reply('Hey there'));\nbot.launch();\n\n// Enable graceful stop\nprocess.once('SIGINT', () => bot.stop('SIGINT'));\nprocess.once('SIGTERM', () => bot.stop('SIGTERM'));\n```\n\n```js\nconst { Telegraf } = require('telegraf');\n\nconst bot = new Telegraf(process.env.BOT_TOKEN);\nbot.command('oldschool', (ctx) => ctx.reply('Hello'));\nbot.command('hipster', Telegraf.reply('λ'));\nbot.launch();\n\n// Enable graceful stop\nprocess.once('SIGINT', () => bot.stop('SIGINT'));\nprocess.once('SIGTERM', () => bot.stop('SIGTERM'));\n```\n\nFor additional bot examples see the new [`docs repo`](https://github.com/feathers-studio/telegraf-docs/).\n\n### Resources\n\n- [Getting started](#getting-started)\n- [API reference](https://telegraf.js.org/modules.html)\n- Telegram groups (sorted by number of members):\n * [English](https://t.me/TelegrafJSChat)\n * [Uzbek](https://t.me/botjs_uz)\n * [Ethiopian](https://t.me/telegraf_et)\n * [Russian](https://t.me/telegrafjs_ru)\n- [GitHub Discussions](https://github.com/telegraf/telegraf/discussions)\n- [Dependent repositories](https://libraries.io/npm/telegraf/dependent_repositories)\n\n## Getting started\n\n### Telegram token\n\nTo use the [Telegram Bot API](https://core.telegram.org/bots/api), \nyou first have to [get a bot account](https://core.telegram.org/bots) \nby [chatting with BotFather](https://core.telegram.org/bots#6-botfather).\n\nBotFather will give you a *token*, something like `123456789:AbCdefGhIJKlmNoPQRsTUVwxyZ`.\n\n### Installation\n\n```shellscript\n$ npm install telegraf\n```\nor\n```shellscript\n$ yarn add telegraf\n```\nor\n```shellscript\n$ pnpm add telegraf\n```\n\n### `Telegraf` class\n\n[`Telegraf`] instance represents your bot. It's responsible for obtaining updates and passing them to your handlers.\n\nStart by [listening to commands](https://telegraf.js.org/classes/Telegraf-1.html#command) and [launching](https://telegraf.js.org/classes/Telegraf-1.html#launch) your bot.\n\n### `Context` class\n\n`ctx` you can see in every example is a [`Context`] instance.\n[`Telegraf`] creates one for each incoming update and passes it to your middleware.\nIt contains the `update`, `botInfo`, and `telegram` for making arbitrary Bot API requests,\nas well as shorthand methods and getters.\n\nThis is probably the class you'll be using the most.\n\n\n\n\n#### Shorthand methods\n\n```js\nimport { Telegraf } from 'telegraf';\n\nconst bot = new Telegraf(process.env.BOT_TOKEN);\n\nbot.command('quit', async (ctx) => {\n // Explicit usage\n await ctx.telegram.leaveChat(ctx.message.chat.id);\n\n // Using context shortcut\n await ctx.leaveChat();\n});\n\nbot.on('text', async (ctx) => {\n // Explicit usage\n await ctx.telegram.sendMessage(ctx.message.chat.id, `Hello ${ctx.state.role}`);\n\n // Using context shortcut\n await ctx.reply(`Hello ${ctx.state.role}`);\n});\n\nbot.on('callback_query', async (ctx) => {\n // Explicit usage\n await ctx.telegram.answerCbQuery(ctx.callbackQuery.id);\n\n // Using context shortcut\n await ctx.answerCbQuery();\n});\n\nbot.on('inline_query', async (ctx) => {\n const result = [];\n // Explicit usage\n await ctx.telegram.answerInlineQuery(ctx.inlineQuery.id, result);\n\n // Using context shortcut\n await ctx.answerInlineQuery(result);\n});\n\nbot.launch();\n\n// Enable graceful stop\nprocess.once('SIGINT', () => bot.stop('SIGINT'));\nprocess.once('SIGTERM', () => bot.stop('SIGTERM'));\n```\n\n## Production\n\n### Webhooks\n\n```TS\nimport { Telegraf } from \"telegraf\";\n\nconst bot = new Telegraf(token);\n\nbot.on(\"text\", ctx => ctx.reply(\"Hello\"));\n\n// Start webhook via launch method (preferred)\nbot.launch({\n webhook: {\n // Public domain for webhook; e.g.: example.com\n domain: webhookDomain,\n\n // Port to listen on; e.g.: 8080\n port: port,\n\n // Optional path to listen for.\n // `bot.secretPathComponent()` will be used by default\n hookPath: webhookPath,\n\n // Optional secret to be sent back in a header for security.\n // e.g.: `crypto.randomBytes(64).toString(\"hex\")`\n secretToken: randomAlphaNumericString,\n },\n});\n```\n\nUse `createWebhook()` if you want to attach Telegraf to an existing http server.\n\n\n\n```TS\nconst { createServer } from \"http\";\n\ncreateServer(await bot.createWebhook({ domain: \"example.com\" })).listen(3000);\n```\n\n```TS\nconst { createServer } from \"https\";\n\ncreateServer(tlsOptions, await bot.createWebhook({ domain: \"example.com\" })).listen(8443);\n```\n\n- [AWS Lambda example integration](https://github.com/feathers-studio/telegraf-docs/tree/master/examples/functions/aws-lambda)\n- [Google Cloud Functions example integration](https://github.com/feathers-studio/telegraf-docs/blob/master/examples/functions/google-cloud-function.ts)\n- [`express` example integration](https://github.com/feathers-studio/telegraf-docs/blob/master/examples/webhook/express.ts)\n- [`fastify` example integration](https://github.com/feathers-studio/telegraf-docs/blob/master/examples/webhook/fastify.ts)\n- [`koa` example integration](https://github.com/feathers-studio/telegraf-docs/blob/master/examples/webhook/koa.ts)\n- [NestJS framework integration module](https://github.com/bukhalo/nestjs-telegraf)\n- [Cloudflare Workers integration module](https://github.com/Tsuk1ko/cfworker-middware-telegraf)\n- Use [`bot.handleUpdate`](https://telegraf.js.org/classes/Telegraf-1.html#handleupdate) to write new integrations\n\n### Error handling\n\nIf middleware throws an error or times out, Telegraf calls `bot.handleError`. If it rethrows, update source closes, and then the error is printed to console and process [hopefully](https://nodejs.org/api/cli.html#cli_unhandled_rejections_mode) terminates. If it does not rethrow, the error is swallowed.\n\nDefault `bot.handleError` always rethrows. You can overwrite it using `bot.catch` if you need to.\n\n⚠️ Always rethrow `TimeoutError`!\n\n⚠️ Swallowing unknown errors might leave the process in invalid state!\n\nℹ️ In production, `systemd` or [`pm2`](https://www.npmjs.com/package/pm2) can restart your bot if it exits for any reason.\n\n## Advanced topics\n\n### Working with files\n\nSupported file sources:\n\n- `Existing file_id`\n- `File path`\n- `Url`\n- `Buffer`\n- `ReadStream`\n\nAlso, you can provide an optional name of a file as `filename` when you send the file.\n\n\n\n```js\nbot.on('message', async (ctx) => {\n // resend existing file by file_id\n await ctx.replyWithSticker('123123jkbhj6b');\n\n // send file\n await ctx.replyWithVideo({ source: '/path/to/video.mp4' });\n\n // send stream\n await ctx.replyWithVideo({\n source: fs.createReadStream('/path/to/video.mp4')\n });\n\n // send buffer\n await ctx.replyWithVoice({\n source: Buffer.alloc()\n });\n\n // send url via Telegram server\n await ctx.replyWithPhoto('https://picsum.photos/200/300/');\n\n // pipe url content\n await ctx.replyWithPhoto({\n url: 'https://picsum.photos/200/300/?random',\n filename: 'kitten.jpg'\n });\n})\n```\n\n### Middleware\n\nIn addition to `ctx: Context`, each middleware receives `next: () => Promise`.\n\nAs in Koa and some other middleware-based libraries,\n`await next()` will call next middleware and wait for it to finish:\n\n```TS\nimport { Telegraf } from 'telegraf';\n\nconst bot = new Telegraf(process.env.BOT_TOKEN);\n\nbot.use(async (ctx, next) => {\n console.time(`Processing update ${ctx.update.update_id}`);\n await next() // runs next middleware\n // runs after next middleware finishes\n console.timeEnd(`Processing update ${ctx.update.update_id}`);\n})\n\nbot.on('text', (ctx) => ctx.reply('Hello World'));\nbot.launch();\n\n// Enable graceful stop\nprocess.once('SIGINT', () => bot.stop('SIGINT'));\nprocess.once('SIGTERM', () => bot.stop('SIGTERM'));\n```\n\nWith this simple ability, you can:\n- extract information from updates and then `await next()` to avoid disrupting other middleware,\n- like [`Composer`] and [`Router`], `await next()` for updates you don't wish to handle,\n- like [`session`] and [`Scenes`], [extend the context](#extending-context) by mutating `ctx` before `await next()`,\n- [intercept API calls](https://github.com/telegraf/telegraf/discussions/1267#discussioncomment-254525),\n- reuse [other people's code](https://www.npmjs.com/search?q=telegraf-),\n- do whatever **you** come up with!\n\n[`Telegraf`]: https://telegraf.js.org/classes/Telegraf-1.html\n[`Composer`]: https://telegraf.js.org/classes/Composer.html\n[`Context`]: https://telegraf.js.org/classes/Context.html\n[`Router`]: https://telegraf.js.org/classes/Router.html\n[`session`]: https://telegraf.js.org/modules.html#session\n[`Scenes`]: https://telegraf.js.org/modules/Scenes.html\n\n### Usage with TypeScript\n\nTelegraf is written in TypeScript and therefore ships with declaration files for the entire library.\nMoreover, it includes types for the complete Telegram API via the [`typegram`](https://github.com/KnorpelSenf/typegram) package.\nWhile most types of Telegraf's API surface are self-explanatory, there's some notable things to keep in mind.\n\n#### Extending `Context`\n\nThe exact shape of `ctx` can vary based on the installed middleware.\nSome custom middleware might register properties on the context object that Telegraf is not aware of.\nConsequently, you can change the type of `ctx` to fit your needs in order for you to have proper TypeScript types for your data.\nThis is done through Generics:\n\n```ts\nimport { Context, Telegraf } from 'telegraf';\n\n// Define your own context type\ninterface MyContext extends Context {\n myProp?: string\n myOtherProp?: number\n}\n\n// Create your bot and tell it about your context type\nconst bot = new Telegraf('SECRET TOKEN');\n\n// Register middleware and launch your bot as usual\nbot.use((ctx, next) => {\n // Yay, `myProp` is now available here as `string | undefined`!\n ctx.myProp = ctx.chat?.first_name?.toUpperCase();\n return next();\n});\n// ...\n```\n","engines":{"node":"^12.20.0 || >=14.13.1"},"exports":{".":{"types":"./typings/index.d.ts","import":"./lib/index.js","require":"./lib/index.js"},"./types":{"types":"./types.d.ts","import":"./types.js","require":"./types.js"},"./format":{"types":"./format.d.ts","import":"./format.js","require":"./format.js"},"./future":{"types":"./future.d.ts","import":"./future.js","require":"./future.js"},"./scenes":{"types":"./typings/scenes/index.d.ts","default":"./lib/scenes/index.js"},"./filters":{"types":"./filters.d.ts","default":"./filters.js"}},"gitHead":"e5f3dbc569d94449440749818b62083b61313ccb","scripts":{"lint":"eslint .","test":"ava test/*","build":"tsc","clean":"git clean -fX .eslintcache docs/build/ lib/ typings/","checks":"npm test && npm run lint","prepare":"npm run --silent build","pretest":"npm run build","refresh":"npm run clean && npm ci","build:docs":"typedoc src/index.ts"},"_npmUser":{"name":"mkrhere","email":"muthukumar@thefeathers.in"},"deprecated":"Changes landed in stable","repository":{"url":"git+ssh://git@github.com/telegraf/telegraf.git","type":"git"},"_npmVersion":"8.19.2","description":"Modern Telegram Bot Framework","directories":{},"_nodeVersion":"18.12.0","dependencies":{"mri":"^1.2.0","debug":"^4.3.4","typegram":"^4.1.0","p-timeout":"^4.1.0","node-fetch":"^2.6.7","safe-compare":"^1.1.4","sandwich-stream":"^2.0.2","abort-controller":"^3.0.0"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"ava":"^4.0.1","eslint":"^8.27.0","typedoc":"^0.23.20","prettier":"^2.7.1","typescript":"^4.8.4","@types/node":"^18.11.9","@types/debug":"^4.1.7","@types/node-fetch":"^2.5.12","eslint-plugin-ava":"^13.2.0","eslint-plugin-node":"^11.1.0","@types/safe-compare":"^1.1.0","eslint-plugin-import":"^2.26.0","eslint-plugin-promise":"^6.1.1","eslint-config-prettier":"^8.3.0","eslint-plugin-prettier":"^4.2.1","@typescript-eslint/parser":"^5.42.1","@typescript-eslint/eslint-plugin":"^5.42.1"},"_npmOperationalInternal":{"tmp":"tmp/telegraf_4.11.1-canary.1_1668880029206_0.7376484593408916","host":"s3://npm-registry-packages"}},"4.11.1-canary.2":{"name":"telegraf","version":"4.11.1-canary.2","keywords":["telegraf","telegram","telegram bot api","bot","botapi","bot framework"],"author":{"name":"Vitaly Domnikov","email":"oss@vitaly.codes"},"license":"MIT","_id":"telegraf@4.11.1-canary.2","maintainers":[{"name":"dotcypress","email":"dotcypress@gmail.com"},{"name":"mkrhere","email":"muthukumar@thefeathers.in"},{"name":"wojpawlik","email":"woj.pawlik@gmail.com"}],"homepage":"https://telegraf.js.org","bugs":{"url":"https://github.com/telegraf/telegraf/issues"},"bin":{"telegraf":"lib/cli.mjs"},"dist":{"shasum":"b95317c9a64d3781f846d7ac83b463cf12c657c4","tarball":"https://registry.npmjs.org/telegraf/-/telegraf-4.11.1-canary.2.tgz","fileCount":140,"integrity":"sha512-S3D49ou6t9l298tOm60qTvNm5ifZ2P4Cw5Zg7PLhgVkQ8Z6ZSJPfUuWqjQUs0RpZQH+6ZNf5WIeJtEI9zWR0BA==","signatures":[{"sig":"MEUCIQD+RxerX2a2KO93CIYIHdZt+xQQBtpkRsdA1nxZtQCbWgIgOp3yoeUUetQsCZ9u8BI9oV75MDwI4vqjW+hnMrQjyH0=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":572642,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjeRclACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmqPhA//Sg3Dg0JmH4pGKB2V6CVmdOR6NaNyGq6HfwdWTuEe1X7lbR1M\r\nnYLZT0tJfJ09j/i28Ch0LlwxwRA80k/iVWKgUD+6UOp7WNGG3hSHuAKNXl5L\r\nNfi18fFTq99Goob3NeuJOKIiYyYeJfVow0mbKFfroZkhUAzyamCPX17KP+Px\r\nAoDg/qAtUOuRIsFkXmchuwgbJhCtGu2Wxjnzg4fUtQfB6Xequ9aBrrj/rnaN\r\nlG9uTftyy65ynu/7MgnGr5nlV/MJKxUF6EdrPc8EqkM0fAtZWpYEN3O2jxWX\r\ne6Ng7FdxITqx3atxdFWLt9RJBHmBf1CQmCsFO5UmHD3acpaEtBIsO02Px8yC\r\ng5dWnfSazf3C1r0lDtc0ol+jtDfM99nYwWaS8d8oOgRKyGo8n6Lqury0nz4o\r\n8vXcEQXz1+7XQIsqPzGl4Zc9DQt5rS4kGlBkduHsvWQldzipCsMW/XHkfE+i\r\n0cZmLTeXdObg5Y9qIZaCTtNRVXpBJenvZrivB0jl1s+XC4Zf+tTQ3WmmsQT2\r\n+YHGxB4rApziUT/D7TBJOf44MQr5p8UzmnMaBmz8HFLZwgeWx5ZLJdAIrDiT\r\n9OcpV4cqJncCJNSTsjseihrlUtYaFsQSRU66Q6NRX2x+4qPSGBHadZoCz4II\r\nUA9O3vBGXBuWiNHt1ekPS1T+b7law0/6RsE=\r\n=BEFs\r\n-----END PGP SIGNATURE-----\r\n"},"main":"lib/index.js","type":"commonjs","types":"./typings/index.d.ts","readme":"
\n\n
\n\"logo\"\n

telegraf.js

\n\n

Modern Telegram Bot API framework for Node.js

\n\n\n\t\"Bot\n\n\n\t\"install\n\n\n\t\"GitHub\n\n\n\t\"English\n\n
\n\n
\n\n## For 3.x users\n\n- [3.x docs](https://telegraf.js.org/v3)\n- [4.0 release notes](https://github.com/telegraf/telegraf/releases/tag/v4.0.0)\n\n## Introduction\n\nBots are special [Telegram](https://telegram.org) accounts designed to handle messages automatically. \nUsers can interact with bots by sending them command messages in private or group chats. \nThese accounts serve as an interface for code running somewhere on your server.\n\nTelegraf is a library that makes it simple for you to develop your own Telegram bots using JavaScript or [TypeScript](https://www.typescriptlang.org/).\n\n### Features\n\n- Full [Telegram Bot API 6.2](https://core.telegram.org/bots/api) support\n- [Excellent TypeScript typings](https://github.com/telegraf/telegraf/releases/tag/v4.0.0)\n- [Lightweight](https://packagephobia.com/result?p=telegraf,node-telegram-bot-api)\n- [AWS **λ**](https://docs.aws.amazon.com/lambda/latest/dg/nodejs-prog-model-handler.html)\n / [Firebase](https://firebase.google.com/products/functions/)\n / [Glitch](https://glitch.com/edit/#!/dashing-light)\n / [Fly.io](https://fly.io/docs/languages-and-frameworks/node)\n / Whatever ready\n- `http/https/fastify/Connect.js/express.js` compatible webhooks\n- Extensible\n\n### Example\n \n```js\nconst { Telegraf } = require('telegraf');\n\nconst bot = new Telegraf(process.env.BOT_TOKEN);\nbot.start((ctx) => ctx.reply('Welcome'));\nbot.help((ctx) => ctx.reply('Send me a sticker'));\nbot.on('sticker', (ctx) => ctx.reply('👍'));\nbot.hears('hi', (ctx) => ctx.reply('Hey there'));\nbot.launch();\n\n// Enable graceful stop\nprocess.once('SIGINT', () => bot.stop('SIGINT'));\nprocess.once('SIGTERM', () => bot.stop('SIGTERM'));\n```\n\n```js\nconst { Telegraf } = require('telegraf');\n\nconst bot = new Telegraf(process.env.BOT_TOKEN);\nbot.command('oldschool', (ctx) => ctx.reply('Hello'));\nbot.command('hipster', Telegraf.reply('λ'));\nbot.launch();\n\n// Enable graceful stop\nprocess.once('SIGINT', () => bot.stop('SIGINT'));\nprocess.once('SIGTERM', () => bot.stop('SIGTERM'));\n```\n\nFor additional bot examples see the new [`docs repo`](https://github.com/feathers-studio/telegraf-docs/).\n\n### Resources\n\n- [Getting started](#getting-started)\n- [API reference](https://telegraf.js.org/modules.html)\n- Telegram groups (sorted by number of members):\n * [English](https://t.me/TelegrafJSChat)\n * [Uzbek](https://t.me/botjs_uz)\n * [Ethiopian](https://t.me/telegraf_et)\n * [Russian](https://t.me/telegrafjs_ru)\n- [GitHub Discussions](https://github.com/telegraf/telegraf/discussions)\n- [Dependent repositories](https://libraries.io/npm/telegraf/dependent_repositories)\n\n## Getting started\n\n### Telegram token\n\nTo use the [Telegram Bot API](https://core.telegram.org/bots/api), \nyou first have to [get a bot account](https://core.telegram.org/bots) \nby [chatting with BotFather](https://core.telegram.org/bots#6-botfather).\n\nBotFather will give you a *token*, something like `123456789:AbCdefGhIJKlmNoPQRsTUVwxyZ`.\n\n### Installation\n\n```shellscript\n$ npm install telegraf\n```\nor\n```shellscript\n$ yarn add telegraf\n```\nor\n```shellscript\n$ pnpm add telegraf\n```\n\n### `Telegraf` class\n\n[`Telegraf`] instance represents your bot. It's responsible for obtaining updates and passing them to your handlers.\n\nStart by [listening to commands](https://telegraf.js.org/classes/Telegraf-1.html#command) and [launching](https://telegraf.js.org/classes/Telegraf-1.html#launch) your bot.\n\n### `Context` class\n\n`ctx` you can see in every example is a [`Context`] instance.\n[`Telegraf`] creates one for each incoming update and passes it to your middleware.\nIt contains the `update`, `botInfo`, and `telegram` for making arbitrary Bot API requests,\nas well as shorthand methods and getters.\n\nThis is probably the class you'll be using the most.\n\n\n\n\n#### Shorthand methods\n\n```js\nimport { Telegraf } from 'telegraf';\n\nconst bot = new Telegraf(process.env.BOT_TOKEN);\n\nbot.command('quit', async (ctx) => {\n // Explicit usage\n await ctx.telegram.leaveChat(ctx.message.chat.id);\n\n // Using context shortcut\n await ctx.leaveChat();\n});\n\nbot.on('text', async (ctx) => {\n // Explicit usage\n await ctx.telegram.sendMessage(ctx.message.chat.id, `Hello ${ctx.state.role}`);\n\n // Using context shortcut\n await ctx.reply(`Hello ${ctx.state.role}`);\n});\n\nbot.on('callback_query', async (ctx) => {\n // Explicit usage\n await ctx.telegram.answerCbQuery(ctx.callbackQuery.id);\n\n // Using context shortcut\n await ctx.answerCbQuery();\n});\n\nbot.on('inline_query', async (ctx) => {\n const result = [];\n // Explicit usage\n await ctx.telegram.answerInlineQuery(ctx.inlineQuery.id, result);\n\n // Using context shortcut\n await ctx.answerInlineQuery(result);\n});\n\nbot.launch();\n\n// Enable graceful stop\nprocess.once('SIGINT', () => bot.stop('SIGINT'));\nprocess.once('SIGTERM', () => bot.stop('SIGTERM'));\n```\n\n## Production\n\n### Webhooks\n\n```TS\nimport { Telegraf } from \"telegraf\";\n\nconst bot = new Telegraf(token);\n\nbot.on(\"text\", ctx => ctx.reply(\"Hello\"));\n\n// Start webhook via launch method (preferred)\nbot.launch({\n webhook: {\n // Public domain for webhook; e.g.: example.com\n domain: webhookDomain,\n\n // Port to listen on; e.g.: 8080\n port: port,\n\n // Optional path to listen for.\n // `bot.secretPathComponent()` will be used by default\n hookPath: webhookPath,\n\n // Optional secret to be sent back in a header for security.\n // e.g.: `crypto.randomBytes(64).toString(\"hex\")`\n secretToken: randomAlphaNumericString,\n },\n});\n```\n\nUse `createWebhook()` if you want to attach Telegraf to an existing http server.\n\n\n\n```TS\nconst { createServer } from \"http\";\n\ncreateServer(await bot.createWebhook({ domain: \"example.com\" })).listen(3000);\n```\n\n```TS\nconst { createServer } from \"https\";\n\ncreateServer(tlsOptions, await bot.createWebhook({ domain: \"example.com\" })).listen(8443);\n```\n\n- [AWS Lambda example integration](https://github.com/feathers-studio/telegraf-docs/tree/master/examples/functions/aws-lambda)\n- [Google Cloud Functions example integration](https://github.com/feathers-studio/telegraf-docs/blob/master/examples/functions/google-cloud-function.ts)\n- [`express` example integration](https://github.com/feathers-studio/telegraf-docs/blob/master/examples/webhook/express.ts)\n- [`fastify` example integration](https://github.com/feathers-studio/telegraf-docs/blob/master/examples/webhook/fastify.ts)\n- [`koa` example integration](https://github.com/feathers-studio/telegraf-docs/blob/master/examples/webhook/koa.ts)\n- [NestJS framework integration module](https://github.com/bukhalo/nestjs-telegraf)\n- [Cloudflare Workers integration module](https://github.com/Tsuk1ko/cfworker-middware-telegraf)\n- Use [`bot.handleUpdate`](https://telegraf.js.org/classes/Telegraf-1.html#handleupdate) to write new integrations\n\n### Error handling\n\nIf middleware throws an error or times out, Telegraf calls `bot.handleError`. If it rethrows, update source closes, and then the error is printed to console and process [hopefully](https://nodejs.org/api/cli.html#cli_unhandled_rejections_mode) terminates. If it does not rethrow, the error is swallowed.\n\nDefault `bot.handleError` always rethrows. You can overwrite it using `bot.catch` if you need to.\n\n⚠️ Always rethrow `TimeoutError`!\n\n⚠️ Swallowing unknown errors might leave the process in invalid state!\n\nℹ️ In production, `systemd` or [`pm2`](https://www.npmjs.com/package/pm2) can restart your bot if it exits for any reason.\n\n## Advanced topics\n\n### Working with files\n\nSupported file sources:\n\n- `Existing file_id`\n- `File path`\n- `Url`\n- `Buffer`\n- `ReadStream`\n\nAlso, you can provide an optional name of a file as `filename` when you send the file.\n\n\n\n```js\nbot.on('message', async (ctx) => {\n // resend existing file by file_id\n await ctx.replyWithSticker('123123jkbhj6b');\n\n // send file\n await ctx.replyWithVideo({ source: '/path/to/video.mp4' });\n\n // send stream\n await ctx.replyWithVideo({\n source: fs.createReadStream('/path/to/video.mp4')\n });\n\n // send buffer\n await ctx.replyWithVoice({\n source: Buffer.alloc()\n });\n\n // send url via Telegram server\n await ctx.replyWithPhoto('https://picsum.photos/200/300/');\n\n // pipe url content\n await ctx.replyWithPhoto({\n url: 'https://picsum.photos/200/300/?random',\n filename: 'kitten.jpg'\n });\n})\n```\n\n### Middleware\n\nIn addition to `ctx: Context`, each middleware receives `next: () => Promise`.\n\nAs in Koa and some other middleware-based libraries,\n`await next()` will call next middleware and wait for it to finish:\n\n```TS\nimport { Telegraf } from 'telegraf';\n\nconst bot = new Telegraf(process.env.BOT_TOKEN);\n\nbot.use(async (ctx, next) => {\n console.time(`Processing update ${ctx.update.update_id}`);\n await next() // runs next middleware\n // runs after next middleware finishes\n console.timeEnd(`Processing update ${ctx.update.update_id}`);\n})\n\nbot.on('text', (ctx) => ctx.reply('Hello World'));\nbot.launch();\n\n// Enable graceful stop\nprocess.once('SIGINT', () => bot.stop('SIGINT'));\nprocess.once('SIGTERM', () => bot.stop('SIGTERM'));\n```\n\nWith this simple ability, you can:\n- extract information from updates and then `await next()` to avoid disrupting other middleware,\n- like [`Composer`] and [`Router`], `await next()` for updates you don't wish to handle,\n- like [`session`] and [`Scenes`], [extend the context](#extending-context) by mutating `ctx` before `await next()`,\n- [intercept API calls](https://github.com/telegraf/telegraf/discussions/1267#discussioncomment-254525),\n- reuse [other people's code](https://www.npmjs.com/search?q=telegraf-),\n- do whatever **you** come up with!\n\n[`Telegraf`]: https://telegraf.js.org/classes/Telegraf-1.html\n[`Composer`]: https://telegraf.js.org/classes/Composer.html\n[`Context`]: https://telegraf.js.org/classes/Context.html\n[`Router`]: https://telegraf.js.org/classes/Router.html\n[`session`]: https://telegraf.js.org/modules.html#session\n[`Scenes`]: https://telegraf.js.org/modules/Scenes.html\n\n### Usage with TypeScript\n\nTelegraf is written in TypeScript and therefore ships with declaration files for the entire library.\nMoreover, it includes types for the complete Telegram API via the [`typegram`](https://github.com/KnorpelSenf/typegram) package.\nWhile most types of Telegraf's API surface are self-explanatory, there's some notable things to keep in mind.\n\n#### Extending `Context`\n\nThe exact shape of `ctx` can vary based on the installed middleware.\nSome custom middleware might register properties on the context object that Telegraf is not aware of.\nConsequently, you can change the type of `ctx` to fit your needs in order for you to have proper TypeScript types for your data.\nThis is done through Generics:\n\n```ts\nimport { Context, Telegraf } from 'telegraf';\n\n// Define your own context type\ninterface MyContext extends Context {\n myProp?: string\n myOtherProp?: number\n}\n\n// Create your bot and tell it about your context type\nconst bot = new Telegraf('SECRET TOKEN');\n\n// Register middleware and launch your bot as usual\nbot.use((ctx, next) => {\n // Yay, `myProp` is now available here as `string | undefined`!\n ctx.myProp = ctx.chat?.first_name?.toUpperCase();\n return next();\n});\n// ...\n```\n","engines":{"node":"^12.20.0 || >=14.13.1"},"exports":{".":{"types":"./typings/index.d.ts","import":"./lib/index.js","require":"./lib/index.js"},"./types":{"types":"./types.d.ts","import":"./types.js","require":"./types.js"},"./format":{"types":"./format.d.ts","import":"./format.js","require":"./format.js"},"./future":{"types":"./future.d.ts","import":"./future.js","require":"./future.js"},"./scenes":{"types":"./typings/scenes/index.d.ts","default":"./lib/scenes/index.js"},"./filters":{"types":"./filters.d.ts","default":"./filters.js"}},"gitHead":"e5f3dbc569d94449440749818b62083b61313ccb","scripts":{"lint":"eslint .","test":"ava test/*","build":"tsc","clean":"git clean -fX .eslintcache docs/build/ lib/ typings/","checks":"npm test && npm run lint","prepare":"npm run --silent build","pretest":"npm run build","refresh":"npm run clean && npm ci","build:docs":"typedoc src/index.ts"},"_npmUser":{"name":"mkrhere","email":"muthukumar@thefeathers.in"},"deprecated":"Changes landed in stable","repository":{"url":"git+ssh://git@github.com/telegraf/telegraf.git","type":"git"},"_npmVersion":"8.19.2","description":"Modern Telegram Bot Framework","directories":{},"_nodeVersion":"18.12.0","dependencies":{"mri":"^1.2.0","debug":"^4.3.4","typegram":"^4.1.0","p-timeout":"^4.1.0","node-fetch":"^2.6.7","safe-compare":"^1.1.4","sandwich-stream":"^2.0.2","abort-controller":"^3.0.0"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"ava":"^4.0.1","eslint":"^8.27.0","typedoc":"^0.23.20","prettier":"^2.7.1","typescript":"^4.8.4","@types/node":"^18.11.9","@types/debug":"^4.1.7","@types/node-fetch":"^2.5.12","eslint-plugin-ava":"^13.2.0","eslint-plugin-node":"^11.1.0","@types/safe-compare":"^1.1.0","eslint-plugin-import":"^2.26.0","eslint-plugin-promise":"^6.1.1","eslint-config-prettier":"^8.3.0","eslint-plugin-prettier":"^4.2.1","@typescript-eslint/parser":"^5.42.1","@typescript-eslint/eslint-plugin":"^5.42.1"},"_npmOperationalInternal":{"tmp":"tmp/telegraf_4.11.1-canary.2_1668880164973_0.6520507700236733","host":"s3://npm-registry-packages"}},"4.11.1":{"name":"telegraf","version":"4.11.1","keywords":["telegraf","telegram","telegram bot api","bot","botapi","bot framework"],"author":{"name":"Vitaly Domnikov","email":"oss@vitaly.codes"},"license":"MIT","_id":"telegraf@4.11.1","maintainers":[{"name":"dotcypress","email":"dotcypress@gmail.com"},{"name":"mkrhere","email":"muthukumar@thefeathers.in"},{"name":"wojpawlik","email":"woj.pawlik@gmail.com"}],"homepage":"https://telegraf.js.org","bugs":{"url":"https://github.com/telegraf/telegraf/issues"},"bin":{"telegraf":"lib/cli.mjs"},"dist":{"shasum":"f0cabad6af3e6cde1046b70b1f59fd5baef5979a","tarball":"https://registry.npmjs.org/telegraf/-/telegraf-4.11.1.tgz","fileCount":140,"integrity":"sha512-ZzAzumE7HxEmUmuG0tk2IRWrzpvvqgNoIXl5buFSXC4Ntn8/bTUtYGG/Ztt+qLiznrx1dP7isOXZEM8JG9SHjw==","signatures":[{"sig":"MEUCIQCq/RgRSuRt6r6HGM6z8kdJq6Rc1J3S+ZoVn83ph9pNcAIgFPszIVWaOub6NW1oRycx4TI5P/H7KM5EUvu38GuiMdE=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":572507,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjeRhWACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmpGdQ//T6GQMC6YrbWWz7EQjqJF9ylf8ok6tmEdAlqmNH8EuA7xmNO+\r\nEXMRQ7cWdt2Xf3LlXjx67aQawd5RVz3ubrjRP1jrr75iLIYQ3S8jdbXkvmDI\r\nmDYaq+vpPEa1blV7PCBDrplRrUdFTfTUI63CkrjmiEkN8r1oogeFQYMJV2r6\r\nv890H2+6VjtqfVCFfHXvyYqiQbHydOxsC1CWLcbb4qLscmtWiFpZDZ7PqjfC\r\nrFb2pS+cTql2YqA4Z5eJeU8deMjkJ6GfTr45wduyNf7s7clTp96PLEDxnrpk\r\n/ka7TQAF5ozbRLhJ0ig6aRXv5k2hG9JGRDz+WyeNEnfaSgDCAZubc9/mmeC9\r\n7keq8lWky4GJb2IKrpGgOlz/SuQI4jQDB2TpPKWA3UZN5o532u76DKZE6KT/\r\nXa+HUwoekcUVqDkdn5E/G6LxmM5EeplAK2dDklrauJpJsNStjVnS2j7k1lHn\r\nbLwYVECmBjw1ILPIM0dlv/8lSHwQKpzhUDZKIujJ1pHSpw11OFMc5tb6uRl1\r\ngiXcX+CLbJFAkAt141meJnFJcU6iENL2QAYbuJC4aqT3B3GLQ5vpBwjA7/Xw\r\nAb6+NimkyckENTfdlzT7LgUhWiartSNleu1a0d46ywLBnqQ8ohnVFCD7tPAf\r\nwGsm6HbWZFyrbN/uhZaqSHUZvhmnfOIoGsY=\r\n=1K8C\r\n-----END PGP SIGNATURE-----\r\n"},"main":"lib/index.js","type":"commonjs","types":"./typings/index.d.ts","engines":{"node":"^12.20.0 || >=14.13.1"},"exports":{".":{"types":"./typings/index.d.ts","default":"./lib/index.js"},"./types":{"types":"./types.d.ts","default":"./types.js"},"./format":{"types":"./format.d.ts","default":"./format.js"},"./future":{"types":"./future.d.ts","default":"./future.js"},"./scenes":{"types":"./typings/scenes/index.d.ts","default":"./lib/scenes/index.js"},"./filters":{"types":"./filters.d.ts","default":"./filters.js"}},"gitHead":"a14104c7e4310c83e28bbc5410efb9bc76bc19b4","scripts":{"lint":"eslint .","test":"ava test/*","build":"tsc","clean":"git clean -fX .eslintcache docs/build/ lib/ typings/","checks":"npm test && npm run lint","prepare":"npm run --silent build","pretest":"npm run build","refresh":"npm run clean && npm ci","build:docs":"typedoc src/index.ts"},"_npmUser":{"name":"mkrhere","email":"muthukumar@thefeathers.in"},"repository":{"url":"git+ssh://git@github.com/telegraf/telegraf.git","type":"git"},"_npmVersion":"8.19.2","description":"Modern Telegram Bot Framework","directories":{},"_nodeVersion":"16.18.0","dependencies":{"mri":"^1.2.0","debug":"^4.3.4","typegram":"^4.1.0","p-timeout":"^4.1.0","node-fetch":"^2.6.7","safe-compare":"^1.1.4","sandwich-stream":"^2.0.2","abort-controller":"^3.0.0"},"_hasShrinkwrap":false,"devDependencies":{"ava":"^4.0.1","eslint":"^8.27.0","typedoc":"^0.23.20","prettier":"^2.7.1","typescript":"^4.8.4","@types/node":"^18.11.9","@types/debug":"^4.1.7","@types/node-fetch":"^2.5.12","eslint-plugin-ava":"^13.2.0","eslint-plugin-node":"^11.1.0","@types/safe-compare":"^1.1.0","eslint-plugin-import":"^2.26.0","eslint-plugin-promise":"^6.1.1","eslint-config-prettier":"^8.3.0","eslint-plugin-prettier":"^4.2.1","@typescript-eslint/parser":"^5.42.1","@typescript-eslint/eslint-plugin":"^5.42.1"},"_npmOperationalInternal":{"tmp":"tmp/telegraf_4.11.1_1668880470095_0.7145125443878328","host":"s3://npm-registry-packages"}},"4.11.2":{"name":"telegraf","version":"4.11.2","keywords":["telegraf","telegram","telegram bot api","bot","botapi","bot framework"],"author":{"name":"Vitaly Domnikov","email":"oss@vitaly.codes"},"license":"MIT","_id":"telegraf@4.11.2","maintainers":[{"name":"dotcypress","email":"dotcypress@gmail.com"},{"name":"mkrhere","email":"muthukumar@thefeathers.in"},{"name":"wojpawlik","email":"woj.pawlik@gmail.com"}],"homepage":"https://telegraf.js.org","bugs":{"url":"https://github.com/telegraf/telegraf/issues"},"bin":{"telegraf":"lib/cli.mjs"},"dist":{"shasum":"1cf4e74418b4fb6eaddd11a74cc50b0971c06c35","tarball":"https://registry.npmjs.org/telegraf/-/telegraf-4.11.2.tgz","fileCount":140,"integrity":"sha512-RGEh+NXkHbq1KcSSbJeVYhHMrEN4rymd9DSe3SoIV0886bJPBHLzYCNrOqnk9aeZE2Idwh5uK0X/xbR6jScQKQ==","signatures":[{"sig":"MEUCIQDJWTASBarlfHDPbtc2dpYB/ZIgFeyrdWuhgoO9xwVLBQIgfM3WHYOd7jwVElUR2Wlw8gUCS/z009krLmMrYDwYheo=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":571640,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjeTUiACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmp90g/7BUQyXYSCYv20nA0JGykRWJ7LYKAufzbOxAQGX1fSoE/FKGUA\r\nn5vwpn7aLLBZ72KGVpLdXMqmf2KgnduxsP0ZLyETmItn6/AUyE4Ic4V0jE/T\r\n5t+4zHhIrrbakGuhuK216l4NG5vCeFz6BvtUBV1yLZtW/xy4H717ZDGVxa8W\r\nROI52b58HH/0xFoBJ1eHWZdlaxDZra03Lym//v0b7yVkLI+NVwdk93PGXEzY\r\nfBsPKwb7UNIE2abX4EETxC3S9OdWCrca6HCLq6AhQ39nRln+J2KoeK7VUzZH\r\nG0ockOtGg6hKnCtRBWAK3H8Ee31cvbiW+ShVOdTrj5UzHKjX/JSsDIe+nf4M\r\nlMTVad8JKtTVLA1J/x0COL9hZ6kDJCzarnrJSr0N9IjUFAjH/Jm8jQjoEtGf\r\ntVMU10E/V7FGWVXPXpRnGYR1CWwpYVtFnmO4p3FiCSHC3wK43cs/c+jRUhq6\r\nuWeDDzfAuB1iNYMaV3jJjx7J/9xf6/tb8jGak+58EWpgYW+Chpf/jsetweln\r\npI1UtX8e/RdZtqVXlj1ZsJFX/hRskULDUXjWEfHa2jIl8HkWT1t+P+xYDQxe\r\nhPsUQcfOuXS1/aCWlEJPffIe9L8j3L9uT6SblgIgGlMe1eWCDkRZce4cNfJw\r\nIu/Z4w1iwBCiVe7EwATipCykDy1xV9SdGSM=\r\n=JAc8\r\n-----END PGP SIGNATURE-----\r\n"},"main":"lib/index.js","type":"commonjs","types":"./typings/index.d.ts","engines":{"node":"^12.20.0 || >=14.13.1"},"exports":{".":{"types":"./typings/index.d.ts","default":"./lib/index.js"},"./types":{"types":"./types.d.ts","default":"./types.js"},"./format":{"types":"./format.d.ts","default":"./format.js"},"./future":{"types":"./future.d.ts","default":"./future.js"},"./scenes":{"types":"./typings/scenes/index.d.ts","default":"./lib/scenes/index.js"},"./filters":{"types":"./filters.d.ts","default":"./filters.js"}},"gitHead":"0fb95cd5039e874fc3a97da3d8abb845e6affa9b","scripts":{"lint":"eslint .","test":"ava test/*","build":"tsc","clean":"git clean -fX .eslintcache docs/build/ lib/ typings/","checks":"npm test && npm run lint","prepare":"npm run --silent build","pretest":"npm run build","refresh":"npm run clean && npm ci","build:docs":"typedoc src/index.ts"},"_npmUser":{"name":"mkrhere","email":"muthukumar@thefeathers.in"},"repository":{"url":"git+ssh://git@github.com/telegraf/telegraf.git","type":"git"},"_npmVersion":"8.19.2","description":"Modern Telegram Bot Framework","directories":{},"_nodeVersion":"16.18.0","dependencies":{"mri":"^1.2.0","debug":"^4.3.4","typegram":"^4.1.0","p-timeout":"^4.1.0","node-fetch":"^2.6.7","safe-compare":"^1.1.4","sandwich-stream":"^2.0.2","abort-controller":"^3.0.0"},"_hasShrinkwrap":false,"devDependencies":{"ava":"^4.0.1","eslint":"^8.27.0","typedoc":"^0.23.20","prettier":"^2.7.1","typescript":"^4.8.4","@types/node":"^18.11.9","@types/debug":"^4.1.7","@types/node-fetch":"^2.5.12","eslint-plugin-ava":"^13.2.0","eslint-plugin-node":"^11.1.0","@types/safe-compare":"^1.1.0","eslint-plugin-import":"^2.26.0","eslint-plugin-promise":"^6.1.1","eslint-config-prettier":"^8.3.0","eslint-plugin-prettier":"^4.2.1","@typescript-eslint/parser":"^5.42.1","@typescript-eslint/eslint-plugin":"^5.42.1"},"_npmOperationalInternal":{"tmp":"tmp/telegraf_4.11.2_1668887842240_0.09931289194507453","host":"s3://npm-registry-packages"}},"4.12.0":{"name":"telegraf","version":"4.12.0","keywords":["telegraf","telegram","telegram bot api","bot","botapi","bot framework"],"author":{"name":"Vitaly Domnikov","email":"oss@vitaly.codes"},"license":"MIT","_id":"telegraf@4.12.0","maintainers":[{"name":"dotcypress","email":"dotcypress@gmail.com"},{"name":"mkrhere","email":"muthukumar@thefeathers.in"},{"name":"wojpawlik","email":"woj.pawlik@gmail.com"}],"homepage":"https://telegraf.js.org","bugs":{"url":"https://github.com/telegraf/telegraf/issues"},"ava":{"files":["test/*","!test/_*"]},"bin":{"telegraf":"lib/cli.mjs"},"dist":{"shasum":"e7dd69863dd94de49dd4cbb3bb4589bd1ed8fb97","tarball":"https://registry.npmjs.org/telegraf/-/telegraf-4.12.0.tgz","fileCount":140,"integrity":"sha512-6ObIzuvEjtUcrPqvnVkaaysvmMcvu9WChtJ1dkv3lkz7nKRTWxWVJZ6oUI2uUDgcCEd1zroseU/qGpddqGfrgg==","signatures":[{"sig":"MEYCIQDHOGrLKL8YYjbYLUefdhPShnwBC+SYrVqHSAJYOCR0AQIhAMmEN9afjzmoDeg62hn6A0IMfhQPBkkgxbOU/GocTspk","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":597486,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJkBJaCACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmqSCQ/9ErYPqs0Ys5cR9/zNoKlcNXXtDJuh56ev9uINCv4owOd+VWf2\r\nLb/pu4QI5aaSBXztIxMCqyt43osqloY1e1hYwKSW6M4XiP3ORuTwKsXU/nly\r\nm5Hnno6ULaYKCccs8NHcYNfRCr5HQusMrezMbrO5oG+f15hygYOP019Rmf6i\r\ntM7kIpK6Fswzsa+a1hebXDtU0czmcNvHFfzOPBXmpL+IbSpNlC5opXDt32XU\r\nl9z5mXvaHS803RWvWInnCVDDkxgLSmThmHouuGrGrTuWhKhWdCFi5m3jLqj7\r\nG+fQDhBkqyj1ysHixjeYYaPGPiNdabSJWGpBF/25UKI93sT/MYGdki8rVBSf\r\ns+De88oOemZzhbiOWC62dP843zpg1Y6p3FOvbAcJOHXY23apvABhPESacuOD\r\npOf+TzGPq+bsNp9DuDjpcrq0OHL5byaaH16EPxqUh9ceiSzKOLqoUuQIse8H\r\n2NZ4p3aT4VHs8zfvjW8xiuqHUEuY2FqjGiHsZwPIJ0lTqXEX3Y6Blo6zGU3k\r\nIa8d8xmUMsGYA85ktmIIAQQO6RwSUDBjAuvfg5i3riQMTKuAFSYiOG2exbTM\r\nufydsMBR7yVxzIJ7nAKGqNRrOw1ea98D5reREp/010pw4JR3YbmOH+USbHKU\r\ndl9rVKG3GXTm/lNGxyCAR5esmX4hb6MmOxo=\r\n=ETFj\r\n-----END PGP SIGNATURE-----\r\n"},"main":"lib/index.js","type":"commonjs","types":"./typings/index.d.ts","engines":{"node":"^12.20.0 || >=14.13.1"},"exports":{".":{"types":"./typings/index.d.ts","default":"./lib/index.js"},"./types":{"types":"./types.d.ts","default":"./types.js"},"./format":{"types":"./format.d.ts","default":"./format.js"},"./future":{"types":"./future.d.ts","default":"./future.js"},"./scenes":{"types":"./typings/scenes/index.d.ts","default":"./lib/scenes/index.js"},"./filters":{"types":"./filters.d.ts","default":"./filters.js"}},"gitHead":"361b6664b0be7e231c4ee14fec6f63f1a7a43892","scripts":{"lint":"eslint .","test":"ava","build":"tsc","clean":"git clean -fX .eslintcache docs/build/ lib/ typings/","checks":"npm test && npm run lint","prepare":"npm run --silent build","pretest":"npm run build","refresh":"npm run clean && npm ci","build:docs":"typedoc src/index.ts"},"_npmUser":{"name":"mkrhere","email":"muthukumar@thefeathers.in"},"repository":{"url":"git+ssh://git@github.com/telegraf/telegraf.git","type":"git"},"_npmVersion":"9.5.0","description":"Modern Telegram Bot Framework","directories":{},"_nodeVersion":"18.14.2","dependencies":{"mri":"^1.2.0","debug":"^4.3.4","typegram":"^4.3.0","p-timeout":"^4.1.0","node-fetch":"^2.6.8","safe-compare":"^1.1.4","sandwich-stream":"^2.0.2","abort-controller":"^3.0.0"},"_hasShrinkwrap":false,"devDependencies":{"ava":"^4.3.3","eslint":"^8.33.0","typedoc":"^0.23.24","prettier":"^2.8.3","typescript":"^4.9.4","@types/node":"^18.11.18","@types/debug":"^4.1.7","@types/node-fetch":"^2.6.2","eslint-plugin-ava":"^13.2.0","eslint-plugin-node":"^11.1.0","@types/safe-compare":"^1.1.0","eslint-plugin-import":"^2.27.5","eslint-plugin-promise":"^6.1.1","eslint-config-prettier":"^8.6.0","eslint-plugin-prettier":"^4.2.1","@typescript-eslint/parser":"^5.49.0","@typescript-eslint/eslint-plugin":"^5.49.0"},"_npmOperationalInternal":{"tmp":"tmp/telegraf_4.12.0_1678022274582_0.14431363876177405","host":"s3://npm-registry-packages"}},"4.12.1":{"name":"telegraf","version":"4.12.1","keywords":["telegraf","telegram","telegram bot api","bot","botapi","bot framework"],"author":{"name":"Vitaly Domnikov","email":"oss@vitaly.codes"},"license":"MIT","_id":"telegraf@4.12.1","maintainers":[{"name":"dotcypress","email":"dotcypress@gmail.com"},{"name":"mkrhere","email":"muthukumar@thefeathers.in"},{"name":"wojpawlik","email":"woj.pawlik@gmail.com"}],"homepage":"https://telegraf.js.org","bugs":{"url":"https://github.com/telegraf/telegraf/issues"},"ava":{"files":["test/*","!test/_*"]},"bin":{"telegraf":"lib/cli.mjs"},"dist":{"shasum":"be76ccd64f7a98bf8b6c56320ed9e70887fca1da","tarball":"https://registry.npmjs.org/telegraf/-/telegraf-4.12.1.tgz","fileCount":140,"integrity":"sha512-c+NJ776tsNsdJnDJs7zyLA1vTZl90UaVuvTdoJJE9HJ6CnPxCfmpTzqGAaDvZhPI2vD/B4+fBVD/raU+JL8OdQ==","signatures":[{"sig":"MEUCID1rNvhzQNRZD3fTdvx6OolDVG/ydPOBeQr4Cuit99lbAiEA7nTh7VOhmJQI+3Zk6/O1iiK4dV6aUeLcHsVSzWG6lZw=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":597514,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJkBtD4ACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmp09w/8ClxA60jlmWhqfJNRHnGMidzaEaG/wp2d2M5rCps7lBjroMA3\r\nyAdLHVwMC7aprFXqmdLC3aBwArQ0Idero8jhLBoe/fIgcrY2XxqcM1x2vXZS\r\nf5gb0ysxgPG61/jwCDv+AjgUA7uDicIsxuCtNSGKWiHI8KqzLsP8rn/z7eoH\r\nwmZO34AOu7kx9VJH1NeoyVMKYhzfaf58eM66X141qMTa2wATOpQlu4rPYCj/\r\nRdxmTn75LGOtcF58BXhjkYpp0Fox7fUSAtJFetRruBAwgHlt64JFMtcAUzuf\r\n5ig0ATL0u9Aw7K6AQ9gQqEVQNUaCML7iZroZxoXfk8dksRse5ntt0HW+U0am\r\n0WYuOg22aibt2jxQk/jC8LCvn1HpxEwmLotsDVhnS353OhY3K6nwRbyXw1C9\r\nS7P5gi9CTB53IDVzojIkF8pmNn4bSNoHG5yFrfdFFouDCS94OfbK+5CcXxmE\r\nK8znUvh1osBFYC6vjbui/oviuDzuZITxztr5GwqALWtv5sDutK67odxTA5jm\r\nxHND5KkKb8Ajzbr/rUIw4fQHCxeXKQ20MchlwS1ZAICbDTYs4FPDhF79bdFG\r\naO82541xVbdj1votwRbkt51905p38Cmo898yRFxMkmz+R0JmJyv5FuSXtTC6\r\n3Sj2yUuE9jANexjdPHxybc+aRydXbFRHgHM=\r\n=17R2\r\n-----END PGP SIGNATURE-----\r\n"},"main":"lib/index.js","type":"commonjs","types":"./typings/index.d.ts","engines":{"node":"^12.20.0 || >=14.13.1"},"exports":{".":{"types":"./typings/index.d.ts","default":"./lib/index.js"},"./types":{"types":"./types.d.ts","default":"./types.js"},"./format":{"types":"./format.d.ts","default":"./format.js"},"./future":{"types":"./future.d.ts","default":"./future.js"},"./scenes":{"types":"./typings/scenes/index.d.ts","default":"./lib/scenes/index.js"},"./filters":{"types":"./filters.d.ts","default":"./filters.js"}},"gitHead":"7a44903cda6ad1df935eb333ccaf18ab9ee144c3","scripts":{"lint":"eslint .","test":"ava","build":"tsc","clean":"git clean -fX .eslintcache docs/build/ lib/ typings/","checks":"npm test && npm run lint","prepare":"npm run --silent build","pretest":"npm run build","refresh":"npm run clean && npm ci","build:docs":"typedoc src/index.ts"},"_npmUser":{"name":"mkrhere","email":"muthukumar@thefeathers.in"},"repository":{"url":"git+ssh://git@github.com/telegraf/telegraf.git","type":"git"},"_npmVersion":"9.5.0","description":"Modern Telegram Bot Framework","directories":{},"_nodeVersion":"18.14.2","dependencies":{"mri":"^1.2.0","debug":"^4.3.4","typegram":"^4.3.0","p-timeout":"^4.1.0","node-fetch":"^2.6.8","safe-compare":"^1.1.4","sandwich-stream":"^2.0.2","abort-controller":"^3.0.0"},"_hasShrinkwrap":false,"devDependencies":{"ava":"^4.3.3","eslint":"^8.33.0","typedoc":"^0.23.24","prettier":"^2.8.3","typescript":"^4.9.4","@types/node":"^18.11.18","@types/debug":"^4.1.7","@types/node-fetch":"^2.6.2","eslint-plugin-ava":"^13.2.0","eslint-plugin-node":"^11.1.0","@types/safe-compare":"^1.1.0","eslint-plugin-import":"^2.27.5","eslint-plugin-promise":"^6.1.1","eslint-config-prettier":"^8.6.0","eslint-plugin-prettier":"^4.2.1","@typescript-eslint/parser":"^5.49.0","@typescript-eslint/eslint-plugin":"^5.49.0"},"_npmOperationalInternal":{"tmp":"tmp/telegraf_4.12.1_1678168312303_0.5123233207856883","host":"s3://npm-registry-packages"}},"4.12.2":{"name":"telegraf","version":"4.12.2","keywords":["telegraf","telegram","telegram bot api","bot","botapi","bot framework"],"author":{"name":"Vitaly Domnikov","email":"oss@vitaly.codes"},"license":"MIT","_id":"telegraf@4.12.2","maintainers":[{"name":"dotcypress","email":"dotcypress@gmail.com"},{"name":"mkrhere","email":"muthukumar@thefeathers.in"},{"name":"wojpawlik","email":"woj.pawlik@gmail.com"}],"homepage":"https://telegraf.js.org","bugs":{"url":"https://github.com/telegraf/telegraf/issues"},"ava":{"files":["test/*","!test/_*"]},"bin":{"telegraf":"lib/cli.mjs"},"dist":{"shasum":"1cf4f38c275e04416f1282f3581833994870f0bc","tarball":"https://registry.npmjs.org/telegraf/-/telegraf-4.12.2.tgz","fileCount":140,"integrity":"sha512-PgwqI4wD86cMqVfFtEM9JkGGnMHgvgLJbReZMmwW4z35QeOi4DvbdItONld4bPnYn3A1jcO0SRKs0BXmR+x+Ew==","signatures":[{"sig":"MEUCIQCKCyOkUCjZZaXWQ5xF8TXEzPMqrmxu+eCdpkjJXilqjwIgGkFQ0wxc8sAzVigBwsIejEMFlAHjOiuQlqGHlSAANOk=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":597514,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJkCetZACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmqb0g//SBNPQbI+lvhPIMAlbZicpcud9OIoZ9jxaMWJQwn6HiVfcpsa\r\nl/LLSh8POeBEUZjJk95HDaTEDJRh1zvP4GwrwFc1qmqPZhcC/7U6MDiQxBF7\r\n48s4QcmwUaWmJsv9MNjc/fG99P98EOzBEw5l+kzpxUBS0BOlV2Zm0wkkX05n\r\nUSmPrBWZ5xqaRVd2SLlloNorT6MC1BXFHzhoHi7eK7xGOovd3ZKhyFyfuC2r\r\nrLZNW633oi8k6FcYnIu9HML6OE/zet77YcwGq747wt1uqUm9YHs8qvBiIXg2\r\nE1sKQjqScrti2DRFT0Frukp4F/ZPsuO/9kG5dWobZyPO8JHqmjh9BSpXVUi2\r\nO/nB/NeU5pct59TnFv8UZprjQjujwntFt/fi1gbB2FbZmSLWAxf8fz0E+Vix\r\ngT98AJezbhN8ryXmZgcVCGBLMqNiXMKaCgYuv7Xlhvgoaa7WHvQXZ7u0qxP4\r\n7eqlxykxLTcFNFLc5nIOMGIv5K9fiRBEnguKTloRHkAZVWm54HjIvpFWKmZ9\r\nKBfQ/kiohernM8fefWckrU+8E2qtnfJ3VlC+qlgUf2nvKYz1ypQ8bnEBF8b5\r\nOFJRS0XL+Pm3HyspY479nrvarjCcJaKsrcv6CXxAmf6+psILDQEuj4YQaaqU\r\nNP95WVvThg19cW+DmaCut28ZfiXhUei2YAo=\r\n=upow\r\n-----END PGP SIGNATURE-----\r\n"},"main":"lib/index.js","type":"commonjs","types":"./typings/index.d.ts","engines":{"node":"^12.20.0 || >=14.13.1"},"exports":{".":{"types":"./typings/index.d.ts","default":"./lib/index.js"},"./types":{"types":"./types.d.ts","default":"./types.js"},"./format":{"types":"./format.d.ts","default":"./format.js"},"./future":{"types":"./future.d.ts","default":"./future.js"},"./scenes":{"types":"./typings/scenes/index.d.ts","default":"./lib/scenes/index.js"},"./filters":{"types":"./filters.d.ts","default":"./filters.js"}},"gitHead":"6b1e3ceca4d3750f9bdc78bb876808f87dc2db2d","scripts":{"lint":"eslint .","test":"ava","build":"tsc","clean":"git clean -fX .eslintcache docs/build/ lib/ typings/","checks":"npm test && npm run lint","prepare":"npm run --silent build","pretest":"npm run build","refresh":"npm run clean && npm ci","build:docs":"typedoc src/index.ts"},"_npmUser":{"name":"mkrhere","email":"muthukumar@thefeathers.in"},"repository":{"url":"git+ssh://git@github.com/telegraf/telegraf.git","type":"git"},"_npmVersion":"9.5.0","description":"Modern Telegram Bot Framework","directories":{},"_nodeVersion":"18.14.2","dependencies":{"mri":"^1.2.0","debug":"^4.3.4","typegram":"^4.3.0","p-timeout":"^4.1.0","node-fetch":"^2.6.8","safe-compare":"^1.1.4","sandwich-stream":"^2.0.2","abort-controller":"^3.0.0"},"_hasShrinkwrap":false,"devDependencies":{"ava":"^4.3.3","eslint":"^8.33.0","typedoc":"^0.23.24","prettier":"^2.8.3","typescript":"^4.9.4","@types/node":"^18.11.18","@types/debug":"^4.1.7","@types/node-fetch":"^2.6.2","eslint-plugin-ava":"^13.2.0","eslint-plugin-node":"^11.1.0","@types/safe-compare":"^1.1.0","eslint-plugin-import":"^2.27.5","eslint-plugin-promise":"^6.1.1","eslint-config-prettier":"^8.6.0","eslint-plugin-prettier":"^4.2.1","@typescript-eslint/parser":"^5.49.0","@typescript-eslint/eslint-plugin":"^5.49.0"},"_npmOperationalInternal":{"tmp":"tmp/telegraf_4.12.2_1678371673004_0.9782219500124396","host":"s3://npm-registry-packages"}},"4.12.3-canary.1":{"name":"telegraf","version":"4.12.3-canary.1","keywords":["telegraf","telegram","telegram bot api","bot","botapi","bot framework"],"author":{"name":"Vitaly Domnikov","email":"oss@vitaly.codes"},"license":"MIT","_id":"telegraf@4.12.3-canary.1","maintainers":[{"name":"dotcypress","email":"dotcypress@gmail.com"},{"name":"mkrhere","email":"muthukumar@thefeathers.in"},{"name":"wojpawlik","email":"woj.pawlik@gmail.com"}],"homepage":"https://telegraf.js.org","bugs":{"url":"https://github.com/telegraf/telegraf/issues"},"ava":{"files":["test/*","!test/_*"]},"bin":{"telegraf":"lib/cli.mjs"},"dist":{"shasum":"01ac0ecb0b73721bbeb1052b91c036a5120727b7","tarball":"https://registry.npmjs.org/telegraf/-/telegraf-4.12.3-canary.1.tgz","fileCount":155,"integrity":"sha512-U+NUALfpFhkMoCvZrx2llaZyoJRsY8EL9zu8rg1aZn4YX3lNbsIGC3GeXRDq+vyotyxnnC9xm5EDXs7znppuMw==","signatures":[{"sig":"MEUCIFnM3USbZ8WHo3yaG9jmB94dw9N3YHBBm1sDtzBD2kKWAiEA/t9UN+sKK9IofWJENzhN/qXzNxA8fZknMgATzlBcePQ=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":629674,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJkKIzUACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmrQEA/9Hp8kcXfpXlhaIulrYhkv2i2x4utwgSuLAxCmLIs/0yfB0d2n\r\nMM8glVd38yiuDwoYrySZ4DA0WfuusXZAYCFdbDnkrZKCdp+q+YrryqlwL9A+\r\nZRlDRHIlBVQOKWwPEP0n37Lqe5LnVzY8nefSo0DnKy77niBF59xT19/lZxFm\r\nMQkG7kWiglLkDsIoaM1bdCYIMh0Sx/1SdJ+HyNbICHdmpyUe9UB4SBeTLb69\r\n6BIcLJky8jPy7VypF+XFEuvKHK5U1IyF9XHSiQwY6dGn2R/q/mQmk4+xXiTn\r\nlaSETEts5zEft3+0426g46dS7rTk+tTMBh3iyLRoU6J29/dVF8k/pOyEUwy+\r\nmg2xDlueD/TWHK12jFNj41fnObSYfVjWZrEC2y2C30UP/TvxalOUolYaZ/em\r\nKFQXPrDcHXXkonebfb6kWs960u+F13UKPOpO5sh+e1LnQ0jdwxM0NPI0EHqJ\r\nt1IXDjVEytW2GlFUOgUjCDRxK7xQPH3WV1G81kW1+NgGAa5o2s/E8wvdgUjn\r\nKX/ZEQ2o56GLj1tV30AWxCezPLqxLnmM6SFgAYQGvfq7ly2SAyLZokvRutJK\r\nn6qatS3xW9F6cb5dHG+JTeDfF+uU/QQectp3zofM7Pxm196NxNWOKQTimLg/\r\nlSab+LpUbc5fZte/0Ow1hWFJgKxQboWHdLY=\r\n=QkRO\r\n-----END PGP SIGNATURE-----\r\n"},"main":"lib/index.js","type":"commonjs","types":"./typings/index.d.ts","engines":{"node":"^12.20.0 || >=14.13.1"},"exports":{".":{"types":"./typings/index.d.ts","default":"./lib/index.js"},"./types":{"types":"./types.d.ts","default":"./types.js"},"./format":{"types":"./format.d.ts","default":"./format.js"},"./future":{"types":"./future.d.ts","default":"./future.js"},"./scenes":{"types":"./typings/scenes/index.d.ts","default":"./lib/scenes/index.js"},"./filters":{"types":"./filters.d.ts","default":"./filters.js"}},"gitHead":"d12da76bcbac3c6b60c0d0082db942b8d2b69c94","scripts":{"lint":"eslint .","test":"ava","build":"tsc","clean":"git clean -fX .eslintcache docs/build/ lib/ typings/","checks":"npm test && npm run lint","prepare":"npm run --silent build","pretest":"npm run build","refresh":"npm run clean && npm ci","build:docs":"typedoc src/index.ts"},"_npmUser":{"name":"mkrhere","email":"muthukumar@thefeathers.in"},"repository":{"url":"git+ssh://git@github.com/telegraf/telegraf.git","type":"git"},"_npmVersion":"9.6.2","description":"Modern Telegram Bot Framework","directories":{},"_nodeVersion":"18.14.1","dependencies":{"mri":"^1.2.0","debug":"^4.3.4","typegram":"^4.3.0","p-timeout":"^4.1.0","node-fetch":"^2.6.8","safe-compare":"^1.1.4","sandwich-stream":"^2.0.2","abort-controller":"^3.0.0"},"_hasShrinkwrap":false,"devDependencies":{"ava":"^4.3.3","eslint":"^8.33.0","typedoc":"^0.23.24","prettier":"^2.8.3","typescript":"^4.9.4","@types/node":"^18.11.18","@types/debug":"^4.1.7","@types/node-fetch":"^2.6.2","eslint-plugin-ava":"^13.2.0","eslint-plugin-node":"^11.1.0","@types/safe-compare":"^1.1.0","eslint-plugin-import":"^2.27.5","eslint-plugin-promise":"^6.1.1","eslint-config-prettier":"^8.6.0","eslint-plugin-prettier":"^4.2.1","@typescript-eslint/parser":"^5.49.0","@typescript-eslint/eslint-plugin":"^5.49.0"},"_npmOperationalInternal":{"tmp":"tmp/telegraf_4.12.3-canary.1_1680379092156_0.22553509730490795","host":"s3://npm-registry-packages"}},"4.13.0":{"name":"telegraf","version":"4.13.0","keywords":["telegraf","telegram","telegram bot api","bot","botapi","bot framework"],"author":{"name":"Vitaly Domnikov","email":"oss@vitaly.codes"},"license":"MIT","_id":"telegraf@4.13.0","maintainers":[{"name":"dotcypress","email":"dotcypress@gmail.com"},{"name":"mkrhere","email":"muthukumar@thefeathers.in"},{"name":"wojpawlik","email":"woj.pawlik@gmail.com"}],"homepage":"https://telegraf.js.org","bugs":{"url":"https://github.com/telegraf/telegraf/issues"},"ava":{"files":["test/*","!test/_*"]},"bin":{"telegraf":"lib/cli.mjs"},"dist":{"shasum":"c10a54b68e338caaed8172176bb5cbd9d9d90f1b","tarball":"https://registry.npmjs.org/telegraf/-/telegraf-4.13.0.tgz","fileCount":148,"integrity":"sha512-mpFxCm5fTBR8RoCQBFjAe8YALu/s6AQye+dEz4gLljT+YvOqcp5VusTRCaTYIpKwjZHoLKd1Eq7diB9CVfTnOA==","signatures":[{"sig":"MEUCICk/DQ3HArak8YQdycp5kziST8mhQ/NhH4mFlKXvzxQkAiEA22wxlbXGBkKl4jG4rSHIO7yCc2kl/PuGpUrrQgXsSyk=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":633014},"main":"lib/index.js","type":"commonjs","types":"./typings/index.d.ts","engines":{"node":"^12.20.0 || >=14.13.1"},"exports":{".":{"types":"./typings/index.d.ts","default":"./lib/index.js"},"./types":{"types":"./types.d.ts","default":"./types.js"},"./utils":{"types":"./typings/utils.d.ts","default":"./lib/utils.d.ts"},"./format":{"types":"./format.d.ts","default":"./format.js"},"./future":{"types":"./future.d.ts","default":"./future.js"},"./scenes":{"types":"./typings/scenes/index.d.ts","default":"./lib/scenes/index.js"},"./filters":{"types":"./filters.d.ts","default":"./filters.js"}},"gitHead":"c38d89b87d4838650d11a8cf770bd06c6f8b8668","scripts":{"lint":"eslint .","test":"ava","build":"tsc","clean":"git clean -fX .eslintcache docs/build/ lib/ typings/","checks":"npm test && npm run lint","prepare":"npm run --silent build","pretest":"npm run build","refresh":"npm run clean && npm ci","build:docs":"typedoc src/index.ts"},"_npmUser":{"name":"mkrhere","email":"muthukumar@thefeathers.in"},"repository":{"url":"git+ssh://git@github.com/telegraf/telegraf.git","type":"git"},"_npmVersion":"9.6.7","description":"Modern Telegram Bot Framework","directories":{},"_nodeVersion":"18.17.1","dependencies":{"mri":"^1.2.0","debug":"^4.3.4","p-timeout":"^4.1.0","node-fetch":"^2.6.8","safe-compare":"^1.1.4","@telegraf/types":"^6.8.1","sandwich-stream":"^2.0.2","abort-controller":"^3.0.0"},"_hasShrinkwrap":false,"devDependencies":{"ava":"^5.3.1","eslint":"^8.45.0","typedoc":"^0.25.0","prettier":"^3.0.3","fast-check":"^3.12.0","typescript":"^5.2.2","@types/node":"^20.4.2","@types/debug":"^4.1.8","@types/node-fetch":"^2.6.2","eslint-plugin-ava":"^14.0.0","eslint-plugin-node":"^11.1.0","@types/safe-compare":"^1.1.0","eslint-plugin-import":"^2.27.5","eslint-plugin-promise":"^6.1.1","eslint-config-prettier":"^9.0.0","eslint-plugin-prettier":"^5.0.0","@typescript-eslint/parser":"^6.1.0","@typescript-eslint/eslint-plugin":"^6.1.0"},"_npmOperationalInternal":{"tmp":"tmp/telegraf_4.13.0_1693652685265_0.9084988147338018","host":"s3://npm-registry-packages"}},"4.13.1":{"name":"telegraf","version":"4.13.1","keywords":["telegraf","telegram","telegram bot api","bot","botapi","bot framework"],"author":{"name":"Vitaly Domnikov","email":"oss@vitaly.codes"},"license":"MIT","_id":"telegraf@4.13.1","maintainers":[{"name":"dotcypress","email":"dotcypress@gmail.com"},{"name":"mkrhere","email":"muthukumar@thefeathers.in"},{"name":"wojpawlik","email":"woj.pawlik@gmail.com"}],"homepage":"https://telegraf.js.org","bugs":{"url":"https://github.com/telegraf/telegraf/issues"},"ava":{"files":["test/*","!test/_*"]},"bin":{"telegraf":"lib/cli.mjs"},"dist":{"shasum":"ad0b6df452aa133bf6561b4a182bdedb558046b6","tarball":"https://registry.npmjs.org/telegraf/-/telegraf-4.13.1.tgz","fileCount":148,"integrity":"sha512-WXITwqE3ivqDqjHFxj94xaQhHddldBZdE2g/hRJXyCMTkwZYw69q9I7La7nsDpsHLn5ADSQlGv0KAbwFkFpmlA==","signatures":[{"sig":"MEUCIHu7ljvghfPh/yymm4XkZGRmNe2lvczBduKw8U+veZqzAiEAxp68MG9NGogrGoYC/CAdPN0JU170SElrep+yWxbyGUg=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":632987},"main":"lib/index.js","type":"commonjs","types":"./typings/index.d.ts","engines":{"node":"^12.20.0 || >=14.13.1"},"exports":{".":{"types":"./typings/index.d.ts","default":"./lib/index.js"},"./types":{"types":"./types.d.ts","default":"./types.js"},"./utils":{"types":"./typings/utils.d.ts","default":"./lib/utils.d.ts"},"./format":{"types":"./format.d.ts","default":"./format.js"},"./future":{"types":"./future.d.ts","default":"./future.js"},"./scenes":{"types":"./typings/scenes/index.d.ts","default":"./lib/scenes/index.js"},"./filters":{"types":"./filters.d.ts","default":"./filters.js"}},"gitHead":"0ce050b29cb32612570420024eb4ab907a4a901f","scripts":{"lint":"eslint .","test":"ava","build":"tsc","clean":"git clean -fX .eslintcache docs/build/ lib/ typings/","checks":"npm test && npm run lint","prepare":"npm run --silent build","pretest":"npm run build","refresh":"npm run clean && npm ci","build:docs":"typedoc src/index.ts"},"_npmUser":{"name":"mkrhere","email":"muthukumar@thefeathers.in"},"repository":{"url":"git+ssh://git@github.com/telegraf/telegraf.git","type":"git"},"_npmVersion":"9.6.7","description":"Modern Telegram Bot Framework","directories":{},"_nodeVersion":"18.17.1","dependencies":{"mri":"^1.2.0","debug":"^4.3.4","p-timeout":"^4.1.0","node-fetch":"^2.6.8","safe-compare":"^1.1.4","@telegraf/types":"^6.8.1","sandwich-stream":"^2.0.2","abort-controller":"^3.0.0"},"_hasShrinkwrap":false,"devDependencies":{"ava":"^5.3.1","eslint":"^8.45.0","typedoc":"^0.25.0","prettier":"^3.0.3","fast-check":"^3.12.0","typescript":"^5.2.2","@types/node":"^20.4.2","@types/debug":"^4.1.8","@types/node-fetch":"^2.6.2","eslint-plugin-ava":"^14.0.0","eslint-plugin-node":"^11.1.0","@types/safe-compare":"^1.1.0","eslint-plugin-import":"^2.27.5","eslint-plugin-promise":"^6.1.1","eslint-config-prettier":"^9.0.0","eslint-plugin-prettier":"^5.0.0","@typescript-eslint/parser":"^6.1.0","@typescript-eslint/eslint-plugin":"^6.1.0"},"_npmOperationalInternal":{"tmp":"tmp/telegraf_4.13.1_1693653660662_0.08464654132507277","host":"s3://npm-registry-packages"}},"4.14.0":{"name":"telegraf","version":"4.14.0","keywords":["telegraf","telegram","telegram bot api","bot","botapi","bot framework"],"author":{"name":"The Telegraf Contributors"},"license":"MIT","_id":"telegraf@4.14.0","maintainers":[{"name":"dotcypress","email":"dotcypress@gmail.com"},{"name":"mkrhere","email":"muthukumar@thefeathers.in"},{"name":"wojpawlik","email":"woj.pawlik@gmail.com"}],"homepage":"https://telegraf.js.org","bugs":{"url":"https://github.com/telegraf/telegraf/issues"},"ava":{"files":["test/*","!test/_*"]},"bin":{"telegraf":"lib/cli.mjs"},"dist":{"shasum":"4cba12ea79e52e6e288e40801d663c9b04319966","tarball":"https://registry.npmjs.org/telegraf/-/telegraf-4.14.0.tgz","fileCount":148,"integrity":"sha512-Nn2EBsuar/Mf3SD6O9tHmJ0FyJWnwAi4rewkJMmzd/O1xWYKglEuzSnCuHHRY7oD5NJ6WNPsavta5DbED8tG3w==","signatures":[{"sig":"MEYCIQDESddTocA9O/vYjqMAvhs3daaWhGqbBDFvVdehOZMYBwIhAOfQeJPq2f0ClGkyaH0wefBeD+cMVEAoS/nmSYLp/dq1","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":633609},"main":"lib/index.js","type":"commonjs","types":"./typings/index.d.ts","engines":{"node":"^12.20.0 || >=14.13.1"},"exports":{".":{"types":"./typings/index.d.ts","default":"./lib/index.js"},"./types":{"types":"./types.d.ts","default":"./types.js"},"./utils":{"types":"./typings/utils.d.ts","default":"./lib/utils.d.ts"},"./format":{"types":"./format.d.ts","default":"./format.js"},"./future":{"types":"./future.d.ts","default":"./future.js"},"./scenes":{"types":"./typings/scenes/index.d.ts","default":"./lib/scenes/index.js"},"./filters":{"types":"./filters.d.ts","default":"./filters.js"}},"gitHead":"3d3af98a22f9e5591dfd5b71d046833dbc776554","scripts":{"lint":"eslint .","test":"ava","build":"tsc","clean":"git clean -fX .eslintcache docs/build/ lib/ typings/","checks":"npm test && npm run lint","prepare":"npm run --silent build","pretest":"npm run build","refresh":"npm run clean && npm ci","build:docs":"typedoc src/index.ts"},"_npmUser":{"name":"mkrhere","email":"muthukumar@thefeathers.in"},"repository":{"url":"git+ssh://git@github.com/telegraf/telegraf.git","type":"git"},"_npmVersion":"9.6.7","description":"Modern Telegram Bot Framework","directories":{},"_nodeVersion":"18.17.1","dependencies":{"mri":"^1.2.0","debug":"^4.3.4","p-timeout":"^4.1.0","node-fetch":"^2.6.8","safe-compare":"^1.1.4","@telegraf/types":"^6.9.0","sandwich-stream":"^2.0.2","abort-controller":"^3.0.0"},"_hasShrinkwrap":false,"devDependencies":{"ava":"^5.3.1","eslint":"^8.45.0","typedoc":"^0.25.0","prettier":"^3.0.3","fast-check":"^3.12.0","typescript":"^5.2.2","@types/node":"^20.4.2","@types/debug":"^4.1.8","@types/node-fetch":"^2.6.2","eslint-plugin-ava":"^14.0.0","eslint-plugin-node":"^11.1.0","@types/safe-compare":"^1.1.0","eslint-plugin-import":"^2.27.5","eslint-plugin-promise":"^6.1.1","eslint-config-prettier":"^9.0.0","eslint-plugin-prettier":"^5.0.0","@typescript-eslint/parser":"^6.1.0","@typescript-eslint/eslint-plugin":"^6.1.0"},"_npmOperationalInternal":{"tmp":"tmp/telegraf_4.14.0_1695400105806_0.8365143030001707","host":"s3://npm-registry-packages"}},"4.15.0":{"name":"telegraf","version":"4.15.0","keywords":["telegraf","telegram","telegram bot api","bot","botapi","bot framework"],"author":{"name":"The Telegraf Contributors"},"license":"MIT","_id":"telegraf@4.15.0","maintainers":[{"name":"dotcypress","email":"dotcypress@gmail.com"},{"name":"mkrhere","email":"muthukumar@thefeathers.in"},{"name":"wojpawlik","email":"woj.pawlik@gmail.com"}],"homepage":"https://telegraf.js.org","bugs":{"url":"https://github.com/telegraf/telegraf/issues"},"ava":{"files":["test/*","!test/_*"]},"bin":{"telegraf":"lib/cli.mjs"},"dist":{"shasum":"37863ecb37b8e487170073f76e45e1fbcb9a4cbf","tarball":"https://registry.npmjs.org/telegraf/-/telegraf-4.15.0.tgz","fileCount":148,"integrity":"sha512-jOQhpMZxZ7gTD1/pIQkXHv0BNVRMfn0xtRHnxHv6GQdeISMErzzAe82rMm78ZPSwwKCS4vVu3n/c2LMY8UFiKg==","signatures":[{"sig":"MEUCIGPMsDKqRDBw+BpC01HZ2a3y1xEi4eDkoyu2/Cu/qFaFAiEA4LPZd5QvT/zucmrr7KTqmVcyrTRk3TuyaPJR/K6iZew=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":636097},"main":"lib/index.js","type":"commonjs","types":"./typings/index.d.ts","engines":{"node":"^12.20.0 || >=14.13.1"},"exports":{".":{"types":"./typings/index.d.ts","default":"./lib/index.js"},"./types":{"types":"./types.d.ts","default":"./types.js"},"./utils":{"types":"./typings/utils.d.ts","default":"./lib/utils.d.ts"},"./format":{"types":"./format.d.ts","default":"./format.js"},"./future":{"types":"./future.d.ts","default":"./future.js"},"./scenes":{"types":"./typings/scenes/index.d.ts","default":"./lib/scenes/index.js"},"./filters":{"types":"./filters.d.ts","default":"./filters.js"}},"gitHead":"e5c34fa9a86732bdc6c51f682b69cba6092bf030","scripts":{"lint":"eslint .","test":"ava","build":"tsc","clean":"git clean -fX .eslintcache docs/build/ lib/ typings/","checks":"npm test && npm run lint","prepare":"npm run --silent build","pretest":"npm run build","refresh":"npm run clean && npm ci","build:docs":"typedoc src/index.ts"},"_npmUser":{"name":"mkrhere","email":"muthukumar@thefeathers.in"},"repository":{"url":"git+ssh://git@github.com/telegraf/telegraf.git","type":"git"},"_npmVersion":"9.8.1","description":"Modern Telegram Bot Framework","directories":{},"_nodeVersion":"18.18.2","dependencies":{"mri":"^1.2.0","debug":"^4.3.4","p-timeout":"^4.1.0","node-fetch":"^2.6.8","safe-compare":"^1.1.4","@telegraf/types":"^6.9.1","sandwich-stream":"^2.0.2","abort-controller":"^3.0.0"},"_hasShrinkwrap":false,"devDependencies":{"ava":"^5.3.1","eslint":"^8.45.0","typedoc":"^0.25.0","prettier":"^3.0.3","fast-check":"^3.12.0","typescript":"^5.2.2","@types/node":"^20.4.2","@types/debug":"^4.1.8","@types/node-fetch":"^2.6.2","eslint-plugin-ava":"^14.0.0","eslint-plugin-node":"^11.1.0","@types/safe-compare":"^1.1.0","eslint-plugin-import":"^2.27.5","eslint-plugin-promise":"^6.1.1","eslint-config-prettier":"^9.0.0","eslint-plugin-prettier":"^5.0.0","@typescript-eslint/parser":"^6.1.0","@typescript-eslint/eslint-plugin":"^6.1.0"},"_npmOperationalInternal":{"tmp":"tmp/telegraf_4.15.0_1698080001914_0.06941704788197045","host":"s3://npm-registry-packages"}},"4.15.1":{"name":"telegraf","version":"4.15.1","keywords":["telegraf","telegram","telegram bot api","bot","botapi","bot framework"],"author":{"name":"The Telegraf Contributors"},"license":"MIT","_id":"telegraf@4.15.1","maintainers":[{"name":"dotcypress","email":"dotcypress@gmail.com"},{"name":"mkrhere","email":"muthukumar@thefeathers.in"},{"name":"wojpawlik","email":"woj.pawlik@gmail.com"}],"homepage":"https://telegraf.js.org","bugs":{"url":"https://github.com/telegraf/telegraf/issues"},"ava":{"files":["test/*","!test/_*"]},"bin":{"telegraf":"lib/cli.mjs"},"dist":{"shasum":"2b72a7a8a0f83aa660c0f855d2c5879eda1a10cd","tarball":"https://registry.npmjs.org/telegraf/-/telegraf-4.15.1.tgz","fileCount":148,"integrity":"sha512-XbQUPvi/YqqSSD8EHswfoaq5rq3i51hZp26J49lZRGVA4msySgPSUSCAZwIOzCZTjPZyxsBxd4DM4bHLHF/oUw==","signatures":[{"sig":"MEUCIQCjuPRkmONcgSSu2inm4nBdeGzUVFlWjCUDbBiAvsdHmAIgYx1j4JVbn6N9k7R+0HUE8QcZm9OqQp3nUnMsPfisiGU=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":637249},"main":"lib/index.js","type":"commonjs","types":"./typings/index.d.ts","engines":{"node":"^12.20.0 || >=14.13.1"},"exports":{".":{"types":"./typings/index.d.ts","default":"./lib/index.js"},"./types":{"types":"./types.d.ts","default":"./types.js"},"./utils":{"types":"./typings/utils.d.ts","default":"./lib/utils.d.ts"},"./format":{"types":"./format.d.ts","default":"./format.js"},"./future":{"types":"./future.d.ts","default":"./future.js"},"./scenes":{"types":"./typings/scenes/index.d.ts","default":"./lib/scenes/index.js"},"./filters":{"types":"./filters.d.ts","default":"./filters.js"}},"gitHead":"e026766557cb6ce277ba707c0420a93e5f00cb8f","scripts":{"lint":"eslint .","test":"ava","build":"tsc","clean":"git clean -fX .eslintcache docs/build/ lib/ typings/","checks":"npm test && npm run lint","prepare":"npm run --silent build","pretest":"npm run build","refresh":"npm run clean && npm ci","build:docs":"typedoc src/index.ts"},"_npmUser":{"name":"mkrhere","email":"muthukumar@thefeathers.in"},"repository":{"url":"git+ssh://git@github.com/telegraf/telegraf.git","type":"git"},"_npmVersion":"9.8.1","description":"Modern Telegram Bot Framework","directories":{},"_nodeVersion":"18.18.2","dependencies":{"mri":"^1.2.0","debug":"^4.3.4","p-timeout":"^4.1.0","node-fetch":"^2.6.8","safe-compare":"^1.1.4","@telegraf/types":"^6.9.1","sandwich-stream":"^2.0.2","abort-controller":"^3.0.0"},"_hasShrinkwrap":false,"devDependencies":{"ava":"^5.3.1","eslint":"^8.45.0","typedoc":"^0.25.0","prettier":"^3.0.3","fast-check":"^3.12.0","typescript":"^5.2.2","@types/node":"^20.4.2","@types/debug":"^4.1.8","@types/node-fetch":"^2.6.2","eslint-plugin-ava":"^14.0.0","eslint-plugin-node":"^11.1.0","@types/safe-compare":"^1.1.0","eslint-plugin-import":"^2.27.5","eslint-plugin-promise":"^6.1.1","eslint-config-prettier":"^9.0.0","eslint-plugin-prettier":"^5.0.0","@typescript-eslint/parser":"^6.1.0","@typescript-eslint/eslint-plugin":"^6.1.0"},"_npmOperationalInternal":{"tmp":"tmp/telegraf_4.15.1_1701290070164_0.011046509828319007","host":"s3://npm-registry-packages"}},"4.15.2":{"name":"telegraf","version":"4.15.2","keywords":["telegraf","telegram","telegram bot api","bot","botapi","bot framework"],"author":{"name":"The Telegraf Contributors"},"license":"MIT","_id":"telegraf@4.15.2","maintainers":[{"name":"dotcypress","email":"dotcypress@gmail.com"},{"name":"mkrhere","email":"muthukumar@thefeathers.in"},{"name":"wojpawlik","email":"woj.pawlik@gmail.com"}],"homepage":"https://telegraf.js.org","bugs":{"url":"https://github.com/telegraf/telegraf/issues"},"ava":{"files":["test/*","!test/_*"]},"bin":{"telegraf":"lib/cli.mjs"},"dist":{"shasum":"fb8d6714665c859361393f2ae906881b4135341b","tarball":"https://registry.npmjs.org/telegraf/-/telegraf-4.15.2.tgz","fileCount":148,"integrity":"sha512-HNsf4NFx9h5RAeNiAVmZUCor4Y+IKjysekfIpk10CO0jhVUo0eYKrJ91lDBw70g0skWKsu11gZTMAwbXorcnwQ==","signatures":[{"sig":"MEQCIGf9jXzifibUXAS/moHmbChEGXaR0AJYJtFW3C3zOkDWAiAxdpuC8Ourait4U5Bg7Y21W2EnL9HKX1c6aTOPLQeTHg==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":637340},"main":"lib/index.js","type":"commonjs","types":"./typings/index.d.ts","engines":{"node":"^12.20.0 || >=14.13.1"},"exports":{".":{"types":"./typings/index.d.ts","default":"./lib/index.js"},"./types":{"types":"./types.d.ts","default":"./types.js"},"./utils":{"types":"./typings/utils.d.ts","default":"./lib/utils.d.ts"},"./format":{"types":"./format.d.ts","default":"./format.js"},"./future":{"types":"./future.d.ts","default":"./future.js"},"./scenes":{"types":"./typings/scenes/index.d.ts","default":"./lib/scenes/index.js"},"./filters":{"types":"./filters.d.ts","default":"./filters.js"}},"gitHead":"865915893620db70506d61b40d99d52bca4cf8ce","scripts":{"lint":"eslint .","test":"ava","build":"tsc","clean":"git clean -fX .eslintcache docs/build/ lib/ typings/","checks":"npm test && npm run lint","prepare":"npm run --silent build","pretest":"npm run build","refresh":"npm run clean && npm ci","build:docs":"typedoc src/index.ts"},"_npmUser":{"name":"mkrhere","email":"muthukumar@thefeathers.in"},"repository":{"url":"git+ssh://git@github.com/telegraf/telegraf.git","type":"git"},"_npmVersion":"9.8.1","description":"Modern Telegram Bot Framework","directories":{},"_nodeVersion":"18.18.2","dependencies":{"mri":"^1.2.0","debug":"^4.3.4","p-timeout":"^4.1.0","node-fetch":"^2.6.8","safe-compare":"^1.1.4","@telegraf/types":"^6.9.1","sandwich-stream":"^2.0.2","abort-controller":"^3.0.0"},"_hasShrinkwrap":false,"devDependencies":{"ava":"^5.3.1","eslint":"^8.45.0","typedoc":"^0.25.0","prettier":"^3.0.3","fast-check":"^3.12.0","typescript":"^5.2.2","@types/node":"^20.4.2","@types/debug":"^4.1.8","@types/node-fetch":"^2.6.2","eslint-plugin-ava":"^14.0.0","eslint-plugin-node":"^11.1.0","@types/safe-compare":"^1.1.0","eslint-plugin-import":"^2.27.5","eslint-plugin-promise":"^6.1.1","eslint-config-prettier":"^9.0.0","eslint-plugin-prettier":"^5.0.0","@typescript-eslint/parser":"^6.1.0","@typescript-eslint/eslint-plugin":"^6.1.0"},"_npmOperationalInternal":{"tmp":"tmp/telegraf_4.15.2_1701325047488_0.31246871125385955","host":"s3://npm-registry-packages"}},"4.15.3":{"name":"telegraf","version":"4.15.3","keywords":["telegraf","telegram","telegram bot api","bot","botapi","bot framework"],"author":{"name":"The Telegraf Contributors"},"license":"MIT","_id":"telegraf@4.15.3","maintainers":[{"name":"dotcypress","email":"dotcypress@gmail.com"},{"name":"mkrhere","email":"muthukumar@thefeathers.in"},{"name":"wojpawlik","email":"woj.pawlik@gmail.com"}],"homepage":"https://telegraf.js.org","bugs":{"url":"https://github.com/telegraf/telegraf/issues"},"ava":{"files":["test/*","!test/_*"]},"bin":{"telegraf":"lib/cli.mjs"},"dist":{"shasum":"72e28e62c3cc7f97b88b5f1b04a0e0700a7df251","tarball":"https://registry.npmjs.org/telegraf/-/telegraf-4.15.3.tgz","fileCount":148,"integrity":"sha512-pm2ZQAisd0YlUvnq6xdymDfoQR++8wTalw0nfw7Tjy0va+V/0HaBLzM8kMNid8pbbt7GHTU29lEyA5CAAr8AqA==","signatures":[{"sig":"MEQCIH9dd+WpbjPJSa6ee4uIZaTMluXmAgJ9XyFsHues7yJEAiBif23rh/lUShwBYqaPAabAMFkcygWNS20Yuz50vzh1Vg==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":637725},"main":"lib/index.js","type":"commonjs","types":"./typings/index.d.ts","engines":{"node":"^12.20.0 || >=14.13.1"},"exports":{".":{"types":"./typings/index.d.ts","default":"./lib/index.js"},"./types":{"types":"./types.d.ts","default":"./types.js"},"./utils":{"types":"./typings/utils.d.ts","default":"./lib/utils.d.ts"},"./format":{"types":"./format.d.ts","default":"./format.js"},"./future":{"types":"./future.d.ts","default":"./future.js"},"./scenes":{"types":"./typings/scenes/index.d.ts","default":"./lib/scenes/index.js"},"./filters":{"types":"./filters.d.ts","default":"./filters.js"}},"gitHead":"bff1bd6500e554a153d0b1f48a5eef3b6713ac4a","scripts":{"lint":"eslint .","test":"ava","build":"tsc","clean":"git clean -fX .eslintcache docs/build/ lib/ typings/","checks":"npm test && npm run lint","prepare":"npm run --silent build","pretest":"npm run build","refresh":"npm run clean && npm ci","build:docs":"typedoc src/index.ts"},"_npmUser":{"name":"mkrhere","email":"muthukumar@thefeathers.in"},"repository":{"url":"git+ssh://git@github.com/telegraf/telegraf.git","type":"git"},"_npmVersion":"9.8.1","description":"Modern Telegram Bot Framework","directories":{},"_nodeVersion":"18.18.2","dependencies":{"mri":"^1.2.0","debug":"^4.3.4","p-timeout":"^4.1.0","node-fetch":"^2.6.8","safe-compare":"^1.1.4","@telegraf/types":"^6.9.1","sandwich-stream":"^2.0.2","abort-controller":"^3.0.0"},"_hasShrinkwrap":false,"devDependencies":{"ava":"^5.3.1","eslint":"^8.45.0","typedoc":"^0.25.0","prettier":"^3.0.3","fast-check":"^3.12.0","typescript":"^5.2.2","@types/node":"^20.4.2","@types/debug":"^4.1.8","@types/node-fetch":"^2.6.2","eslint-plugin-ava":"^14.0.0","eslint-plugin-node":"^11.1.0","@types/safe-compare":"^1.1.0","eslint-plugin-import":"^2.27.5","eslint-plugin-promise":"^6.1.1","eslint-config-prettier":"^9.0.0","eslint-plugin-prettier":"^5.0.0","@typescript-eslint/parser":"^6.1.0","@typescript-eslint/eslint-plugin":"^6.1.0"},"_npmOperationalInternal":{"tmp":"tmp/telegraf_4.15.3_1701609155221_0.7180870296461537","host":"s3://npm-registry-packages"}},"4.16.0-rc.1":{"name":"telegraf","version":"4.16.0-rc.1","keywords":["telegraf","telegram","telegram bot api","bot","botapi","bot framework"],"author":{"name":"The Telegraf Contributors"},"license":"MIT","_id":"telegraf@4.16.0-rc.1","maintainers":[{"name":"dotcypress","email":"dotcypress@gmail.com"},{"name":"mkrhere","email":"muthukumar@thefeathers.in"},{"name":"wojpawlik","email":"woj.pawlik@gmail.com"}],"homepage":"https://telegraf.js.org","bugs":{"url":"https://github.com/telegraf/telegraf/issues"},"ava":{"files":["test/*","!test/_*"]},"bin":{"telegraf":"lib/cli.mjs"},"dist":{"shasum":"6ea712447bdb3c35ac58dc420b64c2b4056fef18","tarball":"https://registry.npmjs.org/telegraf/-/telegraf-4.16.0-rc.1.tgz","fileCount":220,"integrity":"sha512-xDrIS+zlMEjEkdKKRrktQ2YVSdAHAgDC2Q15iH1kWGccKu+vF8l2xiX8xK7dy9pyfBbEYqlDiS4DGCAccmoPCA==","signatures":[{"sig":"MEQCIBSea6RcWBFA7ny2sN+K9GRK3vQTgZnea5DKPAbuYqVmAiBXOMaKDWKVnRWNvzSHFDXH/8hE1BmNZtWbmMR3q/CSsQ==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":741127},"main":"lib/index.js","type":"commonjs","types":"./typings/index.d.ts","engines":{"node":"^12.20.0 || >=14.13.1"},"exports":{".":{"types":"./typings/index.d.ts","default":"./lib/index.js"},"./types":{"types":"./types.d.ts","default":"./types.js"},"./utils":{"types":"./utils.d.ts","default":"./utils.js"},"./format":{"types":"./format.d.ts","default":"./format.js"},"./future":{"types":"./future.d.ts","default":"./future.js"},"./markup":{"types":"./markup.d.ts","default":"./markup.js"},"./scenes":{"types":"./scenes.d.ts","default":"./scenes.js"},"./filters":{"types":"./filters.d.ts","default":"./filters.js"},"./session":{"types":"./session.d.ts","default":"./session.js"}},"gitHead":"f7df5238c8c3a732424c9e3edb65b08eb9b3e8d4","scripts":{"lint":"eslint .","test":"ava","build":"tsc && npm run expose","clean":"git clean -fX .eslintcache docs/build/ lib/ typings/","checks":"npm test && npm run lint","expose":"tsx build/expose.ts types scenes filters format future utils markup session","prepare":"npm run --silent build","pretest":"npm run build","refresh":"npm run clean && npm ci","build:docs":"typedoc src/index.ts"},"_npmUser":{"name":"mkrhere","email":"muthukumar@thefeathers.in"},"repository":{"url":"git+ssh://git@github.com/telegraf/telegraf.git","type":"git"},"_npmVersion":"10.2.3","description":"Modern Telegram Bot Framework","directories":{},"_nodeVersion":"20.10.0","dependencies":{"mri":"^1.2.0","debug":"^4.3.4","p-timeout":"^4.1.0","node-fetch":"^2.7.0","safe-compare":"^1.1.4","@telegraf/types":"^7.1.0","sandwich-stream":"^2.0.2","abort-controller":"^3.0.0"},"_hasShrinkwrap":false,"devDependencies":{"ava":"^5.3.1","tsx":"^4.7.1","eslint":"^8.45.0","typedoc":"^0.25.0","prettier":"^3.0.3","fast-check":"^3.12.0","typescript":"^5.2.2","@types/node":"^20.4.2","@types/debug":"^4.1.8","@types/node-fetch":"^2.6.2","eslint-plugin-ava":"^14.0.0","eslint-plugin-node":"^11.1.0","@types/safe-compare":"^1.1.0","eslint-plugin-import":"^2.27.5","eslint-plugin-promise":"^6.1.1","eslint-config-prettier":"^9.0.0","eslint-plugin-prettier":"^5.0.0","@typescript-eslint/parser":"^6.1.0","@typescript-eslint/eslint-plugin":"^6.1.0"},"_npmOperationalInternal":{"tmp":"tmp/telegraf_4.16.0-rc.1_1708533849945_0.09837461908697298","host":"s3://npm-registry-packages"}},"4.16.0-rc.2":{"name":"telegraf","version":"4.16.0-rc.2","keywords":["telegraf","telegram","telegram bot api","bot","botapi","bot framework"],"author":{"name":"The Telegraf Contributors"},"license":"MIT","_id":"telegraf@4.16.0-rc.2","maintainers":[{"name":"dotcypress","email":"dotcypress@gmail.com"},{"name":"mkrhere","email":"muthukumar@thefeathers.in"},{"name":"wojpawlik","email":"woj.pawlik@gmail.com"}],"homepage":"https://telegraf.js.org","bugs":{"url":"https://github.com/telegraf/telegraf/issues"},"ava":{"files":["test/*","!test/_*"]},"bin":{"telegraf":"lib/cli.mjs"},"dist":{"shasum":"e5db8b6015aff5dc5c8bd23786f3181f971dd3a9","tarball":"https://registry.npmjs.org/telegraf/-/telegraf-4.16.0-rc.2.tgz","fileCount":168,"integrity":"sha512-aB/SoJ+QsfGFc/YLl8XQY54o7xdZW9Em75KUnr9onqMZhKqXHXkc+c35yDkrPnKHZKKYi1OeTdHOs0R0xVBnXw==","signatures":[{"sig":"MEYCIQD828PFIsX+cqC7jWguOvJ8aA7nXD38yqz+5j/elFZFSAIhAPQY5HnOmbmYpxaLkifxJsSGAp0hfjFYFeh7js69egxV","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":688527},"main":"lib/index.js","type":"commonjs","types":"./typings/index.d.ts","readme":"
\n\n
\n\"logo\"\n

telegraf.js

\n\n

Modern Telegram Bot API framework for Node.js

\n\n\n\t\"Bot\n\n\n\t\"install\n\n\n\t\"GitHub\n\n\n\t\"English\n\n
\n\n
\n\n## For 3.x users\n\n- [3.x docs](https://telegraf.js.org/v3)\n- [4.0 release notes](https://github.com/telegraf/telegraf/releases/tag/v4.0.0)\n\n## Introduction\n\nBots are special [Telegram](https://telegram.org) accounts designed to handle messages automatically.\nUsers can interact with bots by sending them command messages in private or group chats.\nThese accounts serve as an interface for code running somewhere on your server.\n\nTelegraf is a library that makes it simple for you to develop your own Telegram bots using JavaScript or [TypeScript](https://www.typescriptlang.org/).\n\n### Features\n\n- Full [Telegram Bot API 7.1](https://core.telegram.org/bots/api) support\n- [Excellent TypeScript typings](https://github.com/telegraf/telegraf/releases/tag/v4.0.0)\n- [Lightweight](https://packagephobia.com/result?p=telegraf,node-telegram-bot-api)\n- [AWS **λ**](https://docs.aws.amazon.com/lambda/latest/dg/nodejs-prog-model-handler.html)\n / [Firebase](https://firebase.google.com/products/functions/)\n / [Glitch](https://glitch.com/edit/#!/dashing-light)\n / [Fly.io](https://fly.io/docs/languages-and-frameworks/node)\n / Whatever ready\n- `http/https/fastify/Connect.js/express.js` compatible webhooks\n- Extensible\n\n### Example\n\n```js\nconst { Telegraf } = require('telegraf')\nconst { message } = require('telegraf/filters')\n\nconst bot = new Telegraf(process.env.BOT_TOKEN)\nbot.start((ctx) => ctx.reply('Welcome'))\nbot.help((ctx) => ctx.reply('Send me a sticker'))\nbot.on(message('sticker'), (ctx) => ctx.reply('👍'))\nbot.hears('hi', (ctx) => ctx.reply('Hey there'))\nbot.launch()\n\n// Enable graceful stop\nprocess.once('SIGINT', () => bot.stop('SIGINT'))\nprocess.once('SIGTERM', () => bot.stop('SIGTERM'))\n```\n\n```js\nconst { Telegraf } = require('telegraf')\n\nconst bot = new Telegraf(process.env.BOT_TOKEN)\nbot.command('oldschool', (ctx) => ctx.reply('Hello'))\nbot.command('hipster', Telegraf.reply('λ'))\nbot.launch()\n\n// Enable graceful stop\nprocess.once('SIGINT', () => bot.stop('SIGINT'))\nprocess.once('SIGTERM', () => bot.stop('SIGTERM'))\n```\n\nFor additional bot examples see the new [`docs repo`](https://github.com/feathers-studio/telegraf-docs/).\n\n### Resources\n\n- [Getting started](#getting-started)\n- [API reference](https://telegraf.js.org/modules.html)\n- Telegram groups (sorted by number of members):\n - [English](https://t.me/TelegrafJSChat)\n - [Russian](https://t.me/telegrafjs_ru)\n - [Uzbek](https://t.me/botjs_uz)\n - [Ethiopian](https://t.me/telegraf_et)\n- [GitHub Discussions](https://github.com/telegraf/telegraf/discussions)\n- [Dependent repositories](https://libraries.io/npm/telegraf/dependent_repositories)\n\n## Getting started\n\n### Telegram token\n\nTo use the [Telegram Bot API](https://core.telegram.org/bots/api),\nyou first have to [get a bot account](https://core.telegram.org/bots)\nby [chatting with BotFather](https://core.telegram.org/bots#6-botfather).\n\nBotFather will give you a _token_, something like `123456789:AbCdefGhIJKlmNoPQRsTUVwxyZ`.\n\n### Installation\n\n```shellscript\n$ npm install telegraf\n```\n\nor\n\n```shellscript\n$ yarn add telegraf\n```\n\nor\n\n```shellscript\n$ pnpm add telegraf\n```\n\n### `Telegraf` class\n\n[`Telegraf`] instance represents your bot. It's responsible for obtaining updates and passing them to your handlers.\n\nStart by [listening to commands](https://telegraf.js.org/classes/Telegraf-1.html#command) and [launching](https://telegraf.js.org/classes/Telegraf-1.html#launch) your bot.\n\n### `Context` class\n\n`ctx` you can see in every example is a [`Context`] instance.\n[`Telegraf`] creates one for each incoming update and passes it to your middleware.\nIt contains the `update`, `botInfo`, and `telegram` for making arbitrary Bot API requests,\nas well as shorthand methods and getters.\n\nThis is probably the class you'll be using the most.\n\n\n\n#### Shorthand methods\n\n```js\nimport { Telegraf } from 'telegraf'\nimport { message } from 'telegraf/filters'\n\nconst bot = new Telegraf(process.env.BOT_TOKEN)\n\nbot.command('quit', async (ctx) => {\n // Explicit usage\n await ctx.telegram.leaveChat(ctx.message.chat.id)\n\n // Using context shortcut\n await ctx.leaveChat()\n})\n\nbot.on(message('text'), async (ctx) => {\n // Explicit usage\n await ctx.telegram.sendMessage(ctx.message.chat.id, `Hello ${ctx.state.role}`)\n\n // Using context shortcut\n await ctx.reply(`Hello ${ctx.state.role}`)\n})\n\nbot.on('callback_query', async (ctx) => {\n // Explicit usage\n await ctx.telegram.answerCbQuery(ctx.callbackQuery.id)\n\n // Using context shortcut\n await ctx.answerCbQuery()\n})\n\nbot.on('inline_query', async (ctx) => {\n const result = []\n // Explicit usage\n await ctx.telegram.answerInlineQuery(ctx.inlineQuery.id, result)\n\n // Using context shortcut\n await ctx.answerInlineQuery(result)\n})\n\nbot.launch()\n\n// Enable graceful stop\nprocess.once('SIGINT', () => bot.stop('SIGINT'))\nprocess.once('SIGTERM', () => bot.stop('SIGTERM'))\n```\n\n## Production\n\n### Webhooks\n\n```TS\nimport { Telegraf } from \"telegraf\";\nimport { message } from 'telegraf/filters';\n\nconst bot = new Telegraf(token);\n\nbot.on(message(\"text\"), ctx => ctx.reply(\"Hello\"));\n\n// Start webhook via launch method (preferred)\nbot.launch({\n webhook: {\n // Public domain for webhook; e.g.: example.com\n domain: webhookDomain,\n\n // Port to listen on; e.g.: 8080\n port: port,\n\n // Optional path to listen for.\n // `bot.secretPathComponent()` will be used by default\n path: webhookPath,\n\n // Optional secret to be sent back in a header for security.\n // e.g.: `crypto.randomBytes(64).toString(\"hex\")`\n secretToken: randomAlphaNumericString,\n },\n});\n```\n\nUse `createWebhook()` if you want to attach Telegraf to an existing http server.\n\n\n\n```TS\nimport { createServer } from \"http\";\n\ncreateServer(await bot.createWebhook({ domain: \"example.com\" })).listen(3000);\n```\n\n```TS\nimport { createServer } from \"https\";\n\ncreateServer(tlsOptions, await bot.createWebhook({ domain: \"example.com\" })).listen(8443);\n```\n\n- [AWS Lambda example integration](https://github.com/feathers-studio/telegraf-docs/tree/master/examples/functions/aws-lambda)\n- [Google Cloud Functions example integration](https://github.com/feathers-studio/telegraf-docs/blob/master/examples/functions/google-cloud-function.ts)\n- [`express` example integration](https://github.com/feathers-studio/telegraf-docs/blob/master/examples/webhook/express.ts)\n- [`fastify` example integration](https://github.com/feathers-studio/telegraf-docs/blob/master/examples/webhook/fastify.ts)\n- [`koa` example integration](https://github.com/feathers-studio/telegraf-docs/blob/master/examples/webhook/koa.ts)\n- [NestJS framework integration module](https://github.com/bukhalo/nestjs-telegraf)\n- [Cloudflare Workers integration module](https://github.com/Tsuk1ko/cfworker-middware-telegraf)\n- Use [`bot.handleUpdate`](https://telegraf.js.org/classes/Telegraf-1.html#handleupdate) to write new integrations\n\n### Error handling\n\nIf middleware throws an error or times out, Telegraf calls `bot.handleError`. If it rethrows, update source closes, and then the error is printed to console and process terminates. If it does not rethrow, the error is swallowed.\n\nDefault `bot.handleError` always rethrows. You can overwrite it using `bot.catch` if you need to.\n\n⚠️ Swallowing unknown errors might leave the process in invalid state!\n\nℹ️ In production, `systemd` or [`pm2`](https://www.npmjs.com/package/pm2) can restart your bot if it exits for any reason.\n\n## Advanced topics\n\n### Working with files\n\nSupported file sources:\n\n- `Existing file_id`\n- `File path`\n- `Url`\n- `Buffer`\n- `ReadStream`\n\nAlso, you can provide an optional name of a file as `filename` when you send the file.\n\n\n\n```js\nbot.on('message', async (ctx) => {\n // resend existing file by file_id\n await ctx.replyWithSticker('123123jkbhj6b')\n\n // send file\n await ctx.replyWithVideo(Input.fromLocalFile('/path/to/video.mp4'))\n\n // send stream\n await ctx.replyWithVideo(\n Input.fromReadableStream(fs.createReadStream('/path/to/video.mp4'))\n )\n\n // send buffer\n await ctx.replyWithVoice(Input.fromBuffer(Buffer.alloc()))\n\n // send url via Telegram server\n await ctx.replyWithPhoto(Input.fromURL('https://picsum.photos/200/300/'))\n\n // pipe url content\n await ctx.replyWithPhoto(\n Input.fromURLStream('https://picsum.photos/200/300/?random', 'kitten.jpg')\n )\n})\n```\n\n### Middleware\n\nIn addition to `ctx: Context`, each middleware receives `next: () => Promise`.\n\nAs in Koa and some other middleware-based libraries,\n`await next()` will call next middleware and wait for it to finish:\n\n```TS\nimport { Telegraf } from 'telegraf';\nimport { message } from 'telegraf/filters';\n\nconst bot = new Telegraf(process.env.BOT_TOKEN);\n\nbot.use(async (ctx, next) => {\n console.time(`Processing update ${ctx.update.update_id}`);\n await next() // runs next middleware\n // runs after next middleware finishes\n console.timeEnd(`Processing update ${ctx.update.update_id}`);\n})\n\nbot.on(message('text'), (ctx) => ctx.reply('Hello World'));\nbot.launch();\n\n// Enable graceful stop\nprocess.once('SIGINT', () => bot.stop('SIGINT'));\nprocess.once('SIGTERM', () => bot.stop('SIGTERM'));\n```\n\nWith this simple ability, you can:\n\n- extract information from updates and then `await next()` to avoid disrupting other middleware,\n- like [`Composer`] and [`Router`], `await next()` for updates you don't wish to handle,\n- like [`session`] and [`Scenes`], [extend the context](#extending-context) by mutating `ctx` before `await next()`,\n- [intercept API calls](https://github.com/telegraf/telegraf/discussions/1267#discussioncomment-254525),\n- reuse [other people's code](https://www.npmjs.com/search?q=telegraf-),\n- do whatever **you** come up with!\n\n[`Telegraf`]: https://telegraf.js.org/classes/Telegraf-1.html\n[`Composer`]: https://telegraf.js.org/classes/Composer.html\n[`Context`]: https://telegraf.js.org/classes/Context.html\n[`Router`]: https://telegraf.js.org/classes/Router.html\n[`session`]: https://telegraf.js.org/modules.html#session\n[`Scenes`]: https://telegraf.js.org/modules/Scenes.html\n\n### Usage with TypeScript\n\nTelegraf is written in TypeScript and therefore ships with declaration files for the entire library.\nMoreover, it includes types for the complete Telegram API via the [`typegram`](https://github.com/KnorpelSenf/typegram) package.\nWhile most types of Telegraf's API surface are self-explanatory, there's some notable things to keep in mind.\n\n#### Extending `Context`\n\nThe exact shape of `ctx` can vary based on the installed middleware.\nSome custom middleware might register properties on the context object that Telegraf is not aware of.\nConsequently, you can change the type of `ctx` to fit your needs in order for you to have proper TypeScript types for your data.\nThis is done through Generics:\n\n```ts\nimport { Context, Telegraf } from 'telegraf'\n\n// Define your own context type\ninterface MyContext extends Context {\n myProp?: string\n myOtherProp?: number\n}\n\n// Create your bot and tell it about your context type\nconst bot = new Telegraf('SECRET TOKEN')\n\n// Register middleware and launch your bot as usual\nbot.use((ctx, next) => {\n // Yay, `myProp` is now available here as `string | undefined`!\n ctx.myProp = ctx.chat?.first_name?.toUpperCase()\n return next()\n})\n// ...\n```\n","engines":{"node":"^12.20.0 || >=14.13.1"},"exports":{".":{"types":"./typings/index.d.ts","default":"./lib/index.js"},"./types":{"types":"./types.d.ts","default":"./types.js"},"./utils":{"types":"./utils.d.ts","default":"./utils.js"},"./format":{"types":"./format.d.ts","default":"./format.js"},"./future":{"types":"./future.d.ts","default":"./future.js"},"./markup":{"types":"./markup.d.ts","default":"./markup.js"},"./scenes":{"types":"./scenes.d.ts","default":"./scenes.js"},"./filters":{"types":"./filters.d.ts","default":"./filters.js"},"./session":{"types":"./session.d.ts","default":"./session.js"}},"gitHead":"3e2b5dfb4c4da812b17ba2558db27b1175e0fb6d","scripts":{"lint":"eslint .","test":"ava","build":"tsc && npm run expose","clean":"git clean -fX .eslintcache docs/build/ lib/ typings/","checks":"npm test && npm run lint","expose":"tsx build/expose.ts types scenes filters format future utils markup session","prepare":"npm run --silent build","pretest":"npm run build","refresh":"npm run clean && npm ci","build:docs":"typedoc src/index.ts"},"_npmUser":{"name":"mkrhere","email":"muthukumar@thefeathers.in"},"repository":{"url":"git+ssh://git@github.com/telegraf/telegraf.git","type":"git"},"_npmVersion":"10.2.3","description":"Modern Telegram Bot Framework","directories":{},"_nodeVersion":"20.10.0","dependencies":{"mri":"^1.2.0","debug":"^4.3.4","p-timeout":"^4.1.0","node-fetch":"^2.7.0","safe-compare":"^1.1.4","@telegraf/types":"^7.1.0","sandwich-stream":"^2.0.2","abort-controller":"^3.0.0"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"ava":"^5.3.1","tsx":"^4.7.1","eslint":"^8.45.0","typedoc":"^0.25.0","prettier":"^3.0.3","fast-check":"^3.12.0","typescript":"^5.2.2","@types/node":"^20.4.2","@types/debug":"^4.1.8","@types/node-fetch":"^2.6.2","eslint-plugin-ava":"^14.0.0","eslint-plugin-node":"^11.1.0","@types/safe-compare":"^1.1.0","eslint-plugin-import":"^2.27.5","eslint-plugin-promise":"^6.1.1","eslint-config-prettier":"^9.0.0","eslint-plugin-prettier":"^5.0.0","@typescript-eslint/parser":"^6.1.0","@typescript-eslint/eslint-plugin":"^6.1.0"},"_npmOperationalInternal":{"tmp":"tmp/telegraf_4.16.0-rc.2_1708549849896_0.9721841833093556","host":"s3://npm-registry-packages"}},"4.16.0":{"name":"telegraf","version":"4.16.0","keywords":["telegraf","telegram","telegram bot api","bot","botapi","bot framework"],"author":{"name":"The Telegraf Contributors"},"license":"MIT","_id":"telegraf@4.16.0","maintainers":[{"name":"dotcypress","email":"dotcypress@gmail.com"},{"name":"mkrhere","email":"muthukumar@thefeathers.in"},{"name":"wojpawlik","email":"woj.pawlik@gmail.com"}],"homepage":"https://telegraf.js.org","bugs":{"url":"https://github.com/telegraf/telegraf/issues"},"ava":{"files":["test/*","!test/_*"]},"bin":{"telegraf":"lib/cli.mjs"},"dist":{"shasum":"aa627d326b6ffcbfa14dc604a1032e8fe6b4117c","tarball":"https://registry.npmjs.org/telegraf/-/telegraf-4.16.0.tgz","fileCount":168,"integrity":"sha512-axT7hhILaX3SywUJlpUPUgiO2Cxzv52aXvHXwAVAgHAPMlwthnjRRJ8V1ZLDfN0lZ4muw7KY9gWW6+FE5yDeqg==","signatures":[{"sig":"MEYCIQCOoqheUpw5CRmKLLrIILYrfPP0EtHu96UiX3uFEYmqzQIhAKEPLpljPC5Um+/4mCrwffn7VJ8BKuDrenl3+svZbvur","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":688682},"main":"lib/index.js","type":"commonjs","types":"./typings/index.d.ts","engines":{"node":"^12.20.0 || >=14.13.1"},"exports":{".":{"types":"./typings/index.d.ts","default":"./lib/index.js"},"./types":{"types":"./types.d.ts","default":"./types.js"},"./utils":{"types":"./utils.d.ts","default":"./utils.js"},"./format":{"types":"./format.d.ts","default":"./format.js"},"./future":{"types":"./future.d.ts","default":"./future.js"},"./markup":{"types":"./markup.d.ts","default":"./markup.js"},"./scenes":{"types":"./scenes.d.ts","default":"./scenes.js"},"./filters":{"types":"./filters.d.ts","default":"./filters.js"},"./session":{"types":"./session.d.ts","default":"./session.js"}},"gitHead":"096dd015ad973355e9774095156f039956f96a01","scripts":{"lint":"eslint .","test":"ava","build":"tsc && npm run expose","clean":"git clean -fX .eslintcache docs/build/ lib/ typings/","checks":"npm test && npm run lint","expose":"tsx build/expose.ts types scenes filters format future utils markup session","prepare":"npm run --silent build","pretest":"npm run build","refresh":"npm run clean && npm ci","build:docs":"typedoc src/index.ts"},"_npmUser":{"name":"mkrhere","email":"muthukumar@thefeathers.in"},"repository":{"url":"git+ssh://git@github.com/telegraf/telegraf.git","type":"git"},"_npmVersion":"10.2.4","description":"Modern Telegram Bot Framework","directories":{},"_nodeVersion":"18.19.1","dependencies":{"mri":"^1.2.0","debug":"^4.3.4","p-timeout":"^4.1.0","node-fetch":"^2.7.0","safe-compare":"^1.1.4","@telegraf/types":"^7.1.0","sandwich-stream":"^2.0.2","abort-controller":"^3.0.0"},"_hasShrinkwrap":false,"devDependencies":{"ava":"^5.3.1","tsx":"^4.7.1","eslint":"^8.45.0","typedoc":"^0.25.0","prettier":"^3.0.3","fast-check":"^3.12.0","typescript":"^5.2.2","@types/node":"^20.4.2","@types/debug":"^4.1.8","@types/node-fetch":"^2.6.2","eslint-plugin-ava":"^14.0.0","eslint-plugin-node":"^11.1.0","@types/safe-compare":"^1.1.0","eslint-plugin-import":"^2.27.5","eslint-plugin-promise":"^6.1.1","eslint-config-prettier":"^9.0.0","eslint-plugin-prettier":"^5.0.0","@typescript-eslint/parser":"^6.1.0","@typescript-eslint/eslint-plugin":"^6.1.0"},"_npmOperationalInternal":{"tmp":"tmp/telegraf_4.16.0_1708820335032_0.5148219215495593","host":"s3://npm-registry-packages"}},"4.16.1":{"name":"telegraf","version":"4.16.1","keywords":["telegraf","telegram","telegram bot api","bot","botapi","bot framework"],"author":{"name":"The Telegraf Contributors"},"license":"MIT","_id":"telegraf@4.16.1","maintainers":[{"name":"dotcypress","email":"dotcypress@gmail.com"},{"name":"mkrhere","email":"muthukumar@thefeathers.in"},{"name":"wojpawlik","email":"woj.pawlik@gmail.com"}],"homepage":"https://telegraf.js.org","bugs":{"url":"https://github.com/telegraf/telegraf/issues"},"ava":{"files":["test/*","!test/_*"]},"bin":{"telegraf":"lib/cli.mjs"},"dist":{"shasum":"093a13dffdcb09cb0ee866b1b227f5a43f7a6063","tarball":"https://registry.npmjs.org/telegraf/-/telegraf-4.16.1.tgz","fileCount":168,"integrity":"sha512-F2uORMHE7ZYB7SojdPwFj+ly3XgMbK8Hf6X0Fct7Kj8r2U12JeRlaeNvG7eDsFIOBgl5ECFVqTKBXZakft+BAg==","signatures":[{"sig":"MEUCICPJ3JC+XtnPfSwbnZCTrx/PnPLtntUECOwmtglZbr1vAiEAzEhA8I2eBKVrkPi1zfSSwYbrr2J0a2JT1jpHfeDxO8Q=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":688715},"main":"lib/index.js","type":"commonjs","types":"./typings/index.d.ts","engines":{"node":"^12.20.0 || >=14.13.1"},"exports":{".":{"types":"./typings/index.d.ts","default":"./lib/index.js"},"./types":{"types":"./types.d.ts","default":"./types.js"},"./utils":{"types":"./utils.d.ts","default":"./utils.js"},"./format":{"types":"./format.d.ts","default":"./format.js"},"./future":{"types":"./future.d.ts","default":"./future.js"},"./markup":{"types":"./markup.d.ts","default":"./markup.js"},"./scenes":{"types":"./scenes.d.ts","default":"./scenes.js"},"./filters":{"types":"./filters.d.ts","default":"./filters.js"},"./session":{"types":"./session.d.ts","default":"./session.js"}},"gitHead":"d180036d0b058561f8d7fff4216184b38a3ab632","scripts":{"lint":"eslint .","test":"ava","build":"tsc && npm run expose","clean":"git clean -fX .eslintcache docs/build/ lib/ typings/","checks":"npm test && npm run lint","expose":"tsx build/expose.ts types scenes filters format future utils markup session","prepare":"npm run --silent build","pretest":"npm run build","refresh":"npm run clean && npm ci","build:docs":"typedoc src/index.ts"},"_npmUser":{"name":"mkrhere","email":"muthukumar@thefeathers.in"},"repository":{"url":"git+ssh://git@github.com/telegraf/telegraf.git","type":"git"},"_npmVersion":"10.2.4","description":"Modern Telegram Bot Framework","directories":{},"_nodeVersion":"18.19.1","dependencies":{"mri":"^1.2.0","debug":"^4.3.4","p-timeout":"^4.1.0","node-fetch":"^2.7.0","safe-compare":"^1.1.4","@telegraf/types":"^7.1.0","sandwich-stream":"^2.0.2","abort-controller":"^3.0.0"},"_hasShrinkwrap":false,"devDependencies":{"ava":"^5.3.1","tsx":"^4.7.1","eslint":"^8.45.0","typedoc":"^0.25.0","prettier":"^3.0.3","fast-check":"^3.12.0","typescript":"^5.2.2","@types/node":"^20.4.2","@types/debug":"^4.1.8","@types/node-fetch":"^2.6.2","eslint-plugin-ava":"^14.0.0","eslint-plugin-node":"^11.1.0","@types/safe-compare":"^1.1.0","eslint-plugin-import":"^2.27.5","eslint-plugin-promise":"^6.1.1","eslint-config-prettier":"^9.0.0","eslint-plugin-prettier":"^5.0.0","@typescript-eslint/parser":"^6.1.0","@typescript-eslint/eslint-plugin":"^6.1.0"},"_npmOperationalInternal":{"tmp":"tmp/telegraf_4.16.1_1708880960778_0.6841343577506798","host":"s3://npm-registry-packages"}},"4.16.2":{"name":"telegraf","version":"4.16.2","keywords":["telegraf","telegram","telegram bot api","bot","botapi","bot framework"],"author":{"name":"The Telegraf Contributors"},"license":"MIT","_id":"telegraf@4.16.2","maintainers":[{"name":"dotcypress","email":"dotcypress@gmail.com"},{"name":"mkrhere","email":"muthukumar@thefeathers.in"},{"name":"wojpawlik","email":"woj.pawlik@gmail.com"}],"homepage":"https://telegraf.js.org","bugs":{"url":"https://github.com/telegraf/telegraf/issues"},"ava":{"files":["test/*","!test/_*"]},"bin":{"telegraf":"lib/cli.mjs"},"dist":{"shasum":"06ad04fa26c6de6c385f6826cec12477c56ff69c","tarball":"https://registry.npmjs.org/telegraf/-/telegraf-4.16.2.tgz","fileCount":168,"integrity":"sha512-d+/XMTBMW8DfQFhYkpyU2f58HMIPygkzClEE03c0LPoEKPGlY9da+9pOVSO7jq9Ar8RRT4OrfwW38sgF/o/x0w==","signatures":[{"sig":"MEYCIQCm97r6cuBL3HBxwUDEDygAGFuwZ0np+F5H5JaDchV3UAIhAOxuZglqonU++FdXa4h5oQUDZBoPwcZVGqfkr8DUqE0x","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":688689},"main":"lib/index.js","type":"commonjs","types":"./typings/index.d.ts","engines":{"node":"^12.20.0 || >=14.13.1"},"exports":{".":{"types":"./typings/index.d.ts","default":"./lib/index.js"},"./types":{"types":"./types.d.ts","default":"./types.js"},"./utils":{"types":"./utils.d.ts","default":"./utils.js"},"./format":{"types":"./format.d.ts","default":"./format.js"},"./future":{"types":"./future.d.ts","default":"./future.js"},"./markup":{"types":"./markup.d.ts","default":"./markup.js"},"./scenes":{"types":"./scenes.d.ts","default":"./scenes.js"},"./filters":{"types":"./filters.d.ts","default":"./filters.js"},"./session":{"types":"./session.d.ts","default":"./session.js"}},"gitHead":"e881fa6fb5933dadf1a57c7261fadf79274287ee","scripts":{"lint":"eslint .","test":"ava","build":"tsc && npm run expose","clean":"git clean -fX .eslintcache docs/build/ lib/ typings/","checks":"npm test && npm run lint","expose":"tsx build/expose.ts types scenes filters format future utils markup session","prepare":"npm run --silent build","pretest":"npm run build","refresh":"npm run clean && npm ci","build:docs":"typedoc src/index.ts"},"_npmUser":{"name":"mkrhere","email":"muthukumar@thefeathers.in"},"repository":{"url":"git+ssh://git@github.com/telegraf/telegraf.git","type":"git"},"_npmVersion":"10.2.4","description":"Modern Telegram Bot Framework","directories":{},"_nodeVersion":"18.19.1","dependencies":{"mri":"^1.2.0","debug":"^4.3.4","p-timeout":"^4.1.0","node-fetch":"^2.7.0","safe-compare":"^1.1.4","@telegraf/types":"^7.1.0","sandwich-stream":"^2.0.2","abort-controller":"^3.0.0"},"_hasShrinkwrap":false,"devDependencies":{"ava":"^5.3.1","tsx":"^4.7.1","eslint":"^8.45.0","typedoc":"^0.25.0","prettier":"^3.0.3","fast-check":"^3.12.0","typescript":"^5.2.2","@types/node":"^20.4.2","@types/debug":"^4.1.8","@types/node-fetch":"^2.6.2","eslint-plugin-ava":"^14.0.0","eslint-plugin-node":"^11.1.0","@types/safe-compare":"^1.1.0","eslint-plugin-import":"^2.27.5","eslint-plugin-promise":"^6.1.1","eslint-config-prettier":"^9.0.0","eslint-plugin-prettier":"^5.0.0","@typescript-eslint/parser":"^6.1.0","@typescript-eslint/eslint-plugin":"^6.1.0"},"_npmOperationalInternal":{"tmp":"tmp/telegraf_4.16.2_1708941868997_0.08041306483994104","host":"s3://npm-registry-packages"}},"4.16.3":{"name":"telegraf","version":"4.16.3","keywords":["telegraf","telegram","telegram bot api","bot","botapi","bot framework"],"author":{"name":"The Telegraf Contributors"},"license":"MIT","_id":"telegraf@4.16.3","maintainers":[{"name":"dotcypress","email":"dotcypress@gmail.com"},{"name":"mkrhere","email":"muthukumar@thefeathers.in"},{"name":"wojpawlik","email":"woj.pawlik@gmail.com"}],"homepage":"https://telegraf.js.org","bugs":{"url":"https://github.com/telegraf/telegraf/issues"},"ava":{"files":["test/*","!test/_*"]},"bin":{"telegraf":"lib/cli.mjs"},"dist":{"shasum":"f03fa30482b540a7f9895af8f13ec8f432840a66","tarball":"https://registry.npmjs.org/telegraf/-/telegraf-4.16.3.tgz","fileCount":168,"integrity":"sha512-yjEu2NwkHlXu0OARWoNhJlIjX09dRktiMQFsM678BAH/PEPVwctzL67+tvXqLCRQQvm3SDtki2saGO9hLlz68w==","signatures":[{"sig":"MEUCIQDdv0sdNEzDBOdih0LidHbf/4DI4+JrXj4eFVwPWEpwsgIgJsIJOHK5u7LumUMjOXJnPiY3SlDdjGCFQ2FqEZ/tiEc=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":689218},"main":"lib/index.js","type":"commonjs","types":"./typings/index.d.ts","engines":{"node":"^12.20.0 || >=14.13.1"},"exports":{".":{"types":"./typings/index.d.ts","default":"./lib/index.js"},"./types":{"types":"./types.d.ts","default":"./types.js"},"./utils":{"types":"./utils.d.ts","default":"./utils.js"},"./format":{"types":"./format.d.ts","default":"./format.js"},"./future":{"types":"./future.d.ts","default":"./future.js"},"./markup":{"types":"./markup.d.ts","default":"./markup.js"},"./scenes":{"types":"./scenes.d.ts","default":"./scenes.js"},"./filters":{"types":"./filters.d.ts","default":"./filters.js"},"./session":{"types":"./session.d.ts","default":"./session.js"}},"gitHead":"a0f65f42c5b603ecd50e8af839e584daadccbcfd","scripts":{"lint":"eslint .","test":"ava","build":"tsc && npm run expose","clean":"git clean -fX .eslintcache docs/build/ lib/ typings/","checks":"npm test && npm run lint","expose":"tsx build/expose.ts types scenes filters format future utils markup session","prepare":"npm run --silent build","pretest":"npm run build","refresh":"npm run clean && npm ci","build:docs":"typedoc src/index.ts"},"_npmUser":{"name":"mkrhere","email":"muthukumar@thefeathers.in"},"repository":{"url":"git+ssh://git@github.com/telegraf/telegraf.git","type":"git"},"_npmVersion":"10.2.4","description":"Modern Telegram Bot Framework","directories":{},"_nodeVersion":"18.19.1","dependencies":{"mri":"^1.2.0","debug":"^4.3.4","p-timeout":"^4.1.0","node-fetch":"^2.7.0","safe-compare":"^1.1.4","@telegraf/types":"^7.1.0","sandwich-stream":"^2.0.2","abort-controller":"^3.0.0"},"_hasShrinkwrap":false,"devDependencies":{"ava":"^5.3.1","tsx":"^4.7.1","eslint":"^8.45.0","typedoc":"^0.25.0","prettier":"^3.0.3","fast-check":"^3.12.0","typescript":"^5.2.2","@types/node":"^20.4.2","@types/debug":"^4.1.8","@types/node-fetch":"^2.6.2","eslint-plugin-ava":"^14.0.0","eslint-plugin-node":"^11.1.0","@types/safe-compare":"^1.1.0","eslint-plugin-import":"^2.27.5","eslint-plugin-promise":"^6.1.1","eslint-config-prettier":"^9.0.0","eslint-plugin-prettier":"^5.0.0","@typescript-eslint/parser":"^6.1.0","@typescript-eslint/eslint-plugin":"^6.1.0"},"_npmOperationalInternal":{"tmp":"tmp/telegraf_4.16.3_1709192970190_0.10779117031120089","host":"s3://npm-registry-packages"}}},"time":{"created":"2016-04-15T22:56:47.573Z","modified":"2026-03-06T07:15:48.288Z","0.0.0":"2016-04-15T22:56:47.573Z","0.0.1":"2016-04-16T19:23:13.442Z","0.1.0":"2016-04-19T01:36:38.202Z","0.1.1":"2016-04-20T03:43:46.779Z","0.2.0":"2016-04-21T01:31:38.866Z","0.3.0":"2016-04-21T01:40:50.216Z","0.3.1":"2016-04-25T15:18:19.356Z","0.3.2":"2016-04-29T02:44:00.978Z","0.4.0":"2016-04-29T03:36:26.291Z","0.4.1":"2016-04-29T03:39:25.661Z","0.4.2":"2016-04-29T04:20:46.332Z","0.4.3":"2016-05-03T04:05:46.748Z","0.4.4":"2016-05-05T06:58:31.190Z","0.5.0":"2016-05-07T22:22:56.315Z","0.6.0":"2016-05-08T21:27:58.260Z","0.6.1":"2016-05-08T21:42:59.749Z","0.6.2":"2016-05-10T05:22:23.549Z","0.6.3":"2016-05-10T05:28:54.272Z","0.7.0":"2016-05-13T23:00:22.179Z","0.8.0":"2016-05-22T08:49:03.981Z","0.9.0":"2016-05-22T09:39:03.738Z","0.9.1":"2016-05-22T09:48:44.729Z","0.9.2":"2016-05-22T09:51:45.155Z","0.9.3":"2016-05-22T12:44:40.584Z","0.9.4":"2016-05-22T13:23:26.103Z","0.9.5":"2016-05-22T13:52:05.533Z","0.9.6":"2016-05-24T05:21:33.526Z","0.9.7":"2016-05-24T07:49:07.320Z","1.0.0":"2016-05-24T21:33:38.837Z","1.1.0":"2016-05-30T04:18:40.527Z","1.1.1":"2016-05-30T05:56:45.028Z","1.1.2":"2016-06-10T05:55:02.762Z","2.0.0-alpha.0":"2016-06-14T04:57:38.587Z","2.0.0":"2016-06-14T05:35:30.151Z","2.0.1":"2016-06-15T07:48:09.803Z","2.0.2":"2016-06-15T21:04:58.035Z","2.0.3":"2016-06-15T21:07:36.526Z","2.1.0":"2016-06-18T19:35:35.477Z","2.1.1":"2016-06-20T01:01:40.206Z","2.2.0":"2016-06-22T23:14:51.655Z","2.2.1":"2016-06-23T02:17:20.559Z","2.2.2":"2016-06-26T19:06:43.829Z","2.3.0":"2016-06-28T06:12:50.981Z","2.3.2":"2016-06-28T09:16:02.617Z","2.3.3":"2016-06-28T22:28:06.405Z","2.4.0":"2016-07-08T04:14:02.052Z","2.4.1":"2016-07-11T23:32:00.060Z","2.4.2":"2016-07-13T02:31:02.958Z","2.4.3":"2016-07-13T03:21:21.220Z","2.5.0":"2016-07-20T04:41:18.468Z","2.5.1":"2016-07-22T05:42:07.597Z","2.5.2":"2016-07-24T22:19:08.876Z","2.6.0":"2016-08-03T22:13:42.160Z","2.6.1":"2016-08-05T03:56:16.680Z","2.6.2":"2016-08-08T01:17:15.623Z","2.6.3":"2016-08-11T02:35:31.565Z","2.6.4":"2016-08-14T22:32:10.517Z","2.6.5":"2016-08-15T01:41:43.551Z","2.7.0":"2016-08-17T00:14:24.304Z","2.7.1":"2016-08-19T00:53:23.455Z","2.7.2":"2016-08-22T04:48:56.343Z","2.7.3":"2016-08-26T00:57:38.273Z","2.8.0":"2016-08-27T19:30:40.760Z","2.8.1":"2016-09-12T23:36:20.836Z","2.9.0":"2016-09-17T02:22:08.983Z","2.9.1":"2016-09-23T00:40:55.598Z","2.9.2":"2016-09-23T23:48:17.784Z","3.0.0":"2016-10-03T19:29:22.206Z","3.0.1":"2016-10-05T22:02:34.750Z","3.0.2":"2016-10-08T00:56:03.049Z","3.1.0":"2016-10-08T18:23:36.474Z","3.2.0":"2016-10-11T19:17:57.339Z","3.2.1":"2016-10-13T03:31:04.117Z","3.2.2":"2016-10-14T02:56:18.966Z","3.2.3":"2016-10-20T22:01:14.784Z","3.3.0":"2016-10-24T17:14:59.124Z","3.3.1":"2016-11-08T04:55:00.678Z","3.4.0":"2016-11-16T19:55:37.680Z","3.5.0":"2016-11-21T10:46:07.109Z","3.5.1":"2016-11-22T09:33:06.165Z","3.5.2":"2016-11-23T18:28:23.493Z","3.6.0":"2016-12-04T02:23:06.999Z","3.6.1":"2016-12-04T17:43:10.809Z","3.6.2":"2016-12-19T06:24:28.421Z","3.6.3":"2016-12-22T00:57:14.383Z","3.6.4":"2016-12-28T21:15:57.559Z","3.6.5":"2017-01-27T17:16:51.214Z","3.6.6":"2017-02-11T00:39:50.607Z","3.6.7":"2017-03-02T17:26:32.750Z","3.6.8":"2017-05-03T01:51:47.765Z","3.6.9":"2017-05-04T09:11:37.023Z","3.6.10":"2017-05-05T16:36:17.673Z","3.7.0":"2017-05-18T21:09:21.619Z","3.7.1":"2017-05-19T06:52:51.757Z","3.7.2":"2017-05-31T06:43:38.570Z","3.7.3":"2017-06-02T02:38:58.355Z","3.7.4":"2017-06-18T18:37:16.653Z","3.8.0":"2017-06-30T18:11:50.480Z","3.8.1":"2017-07-16T20:16:31.961Z","3.8.2":"2017-07-17T18:41:13.182Z","3.9.0":"2017-07-21T17:56:27.620Z","3.9.1":"2017-08-17T23:28:06.313Z","3.10.0":"2017-08-17T23:35:11.378Z","3.10.1":"2017-08-23T16:37:03.455Z","3.11.1":"2017-09-19T02:58:15.487Z","3.12.0":"2017-09-28T16:10:21.937Z","3.12.1":"2017-09-30T16:51:54.457Z","3.13.0":"2017-10-11T18:29:11.667Z","3.14.0":"2017-10-14T01:05:01.549Z","3.14.1":"2017-10-31T22:24:39.878Z","3.14.3":"2017-11-03T20:19:17.803Z","3.15.0":"2017-11-04T07:08:32.760Z","3.15.1":"2017-11-04T07:16:31.222Z","3.15.2":"2017-11-04T08:06:30.024Z","3.15.3":"2017-11-04T09:06:45.079Z","3.16.3":"2017-11-20T21:46:01.453Z","3.16.0":"2017-11-20T21:55:03.846Z","3.16.4":"2017-11-25T02:54:55.800Z","3.17.0":"2017-12-02T02:09:23.695Z","3.17.1":"2017-12-06T17:38:42.259Z","3.17.2":"2017-12-10T18:56:32.806Z","3.17.3":"2018-01-05T00:59:56.158Z","3.17.4":"2018-01-18T08:25:47.775Z","3.17.5":"2018-01-18T15:38:11.825Z","3.17.6":"2018-02-02T22:18:45.584Z","3.17.7":"2018-02-03T22:44:54.421Z","3.17.8":"2018-02-10T19:11:35.050Z","3.18.0":"2018-02-14T18:05:26.382Z","3.19.0":"2018-02-28T19:10:33.045Z","3.20.0":"2018-03-23T04:59:01.615Z","3.21.0":"2018-05-04T22:10:09.064Z","3.21.1":"2018-05-13T16:22:19.068Z","3.21.2":"2018-05-25T23:29:23.032Z","3.22.0":"2018-07-26T18:37:56.782Z","3.22.1":"2018-07-26T18:55:56.001Z","3.22.2":"2018-08-07T19:02:32.759Z","3.23.0":"2018-08-31T03:45:12.621Z","3.23.1":"2018-09-11T18:14:52.214Z","3.24.0":"2018-09-21T16:45:08.793Z","3.24.1":"2018-10-07T16:31:32.001Z","3.25.0":"2018-10-30T03:35:44.902Z","3.25.1":"2018-12-05T05:57:58.239Z","3.25.2":"2018-12-05T18:25:10.688Z","3.25.3":"2018-12-05T18:31:26.711Z","3.25.4":"2018-12-05T18:44:48.855Z","3.25.5":"2018-12-05T19:13:33.744Z","3.26.0":"2019-01-11T02:53:39.194Z","3.27.0":"2019-01-30T20:38:46.460Z","3.27.1":"2019-02-06T04:07:49.856Z","3.28.0":"2019-03-30T08:17:37.310Z","3.29.0":"2019-04-14T17:42:37.838Z","3.30.0":"2019-05-31T23:07:03.347Z","3.30.1":"2019-05-31T23:17:44.343Z","3.32.0":"2019-07-29T22:50:46.411Z","3.33.0":"2019-10-16T17:35:31.154Z","3.33.1":"2019-10-30T00:14:36.225Z","3.33.2":"2019-10-30T01:16:19.175Z","3.33.3":"2019-10-30T19:19:03.018Z","3.34.0-beta.0":"2019-11-28T20:54:52.512Z","3.34.0-beta.1":"2019-11-28T20:57:50.790Z","3.34.0-beta.2":"2019-11-28T21:28:11.374Z","3.34.0":"2019-11-28T21:33:17.956Z","3.34.1":"2019-11-29T02:40:24.961Z","3.35.0":"2019-12-31T15:59:38.620Z","3.36.0":"2020-01-23T18:41:21.829Z","3.37.0":"2020-03-31T03:37:38.900Z","3.38.0":"2020-04-24T16:17:02.582Z","4.0.0":"2021-01-10T21:54:57.507Z","4.0.1":"2021-01-13T23:21:46.102Z","4.0.2":"2021-01-28T17:12:54.161Z","4.0.3":"2021-02-07T19:07:51.075Z","4.1.0":"2021-02-20T21:53:51.167Z","4.1.1":"2021-02-24T20:52:51.680Z","4.1.2":"2021-03-02T16:51:51.841Z","4.2.0":"2021-03-09T19:36:20.493Z","4.2.1":"2021-03-10T12:14:36.026Z","4.3.0":"2021-03-17T14:31:16.362Z","4.4.0":"2021-07-01T15:15:36.801Z","3.39.0":"2021-07-04T13:22:46.233Z","4.4.1":"2021-07-23T17:04:11.045Z","4.4.2":"2021-09-12T03:09:19.261Z","4.5.1":"2021-12-07T20:59:14.890Z","4.5.2":"2021-12-08T05:41:17.541Z","4.6.0":"2022-01-15T06:21:17.431Z","4.7.0-canary.1":"2022-02-04T19:41:09.699Z","4.7.0":"2022-02-05T06:02:01.946Z","4.8.0-canary.1":"2022-04-28T21:51:15.208Z","4.8.0-canary.2":"2022-04-28T22:35:30.025Z","4.8.0-canary.3":"2022-04-28T22:48:34.114Z","4.8.0-canary.4":"2022-04-28T23:17:54.095Z","4.8.0-canary.5":"2022-04-28T23:19:47.851Z","4.8.0":"2022-04-29T14:20:48.655Z","4.8.0-canary.6":"2022-04-29T15:24:12.131Z","4.8.0-canary.7":"2022-04-29T15:31:01.776Z","4.8.0-canary.8":"2022-04-29T15:44:56.458Z","4.8.1":"2022-04-29T15:51:02.270Z","4.8.2":"2022-05-13T04:30:50.859Z","4.9.0-canary.1":"2022-05-15T00:45:12.784Z","4.9.0-canary.2":"2022-05-15T05:04:50.807Z","4.9.0-canary.3":"2022-05-15T06:18:43.162Z","4.9.0-canary.4":"2022-05-15T06:26:32.657Z","4.9.0-canary.5":"2022-05-15T06:26:51.605Z","4.9.0-canary.6":"2022-05-15T21:18:46.632Z","4.9.0-canary.7":"2022-05-18T19:20:32.706Z","4.9.0-canary.8":"2022-05-18T19:27:32.475Z","4.9.0-canary.9":"2022-05-18T19:28:23.485Z","4.8.3":"2022-05-29T06:19:42.067Z","4.8.4":"2022-06-07T14:10:34.789Z","4.8.5-canary.1":"2022-06-08T16:45:34.300Z","4.8.5":"2022-06-08T17:07:25.668Z","3.40.0":"2022-07-25T09:57:40.923Z","4.8.6":"2022-07-25T10:05:55.248Z","4.9.0-canary.10":"2022-08-18T03:07:57.995Z","4.9.0-canary.11":"2022-08-24T13:02:30.767Z","4.9.0-canary.12":"2022-08-24T13:18:30.847Z","4.9.0":"2022-08-26T06:47:27.503Z","4.9.1":"2022-08-29T12:17:14.898Z","4.9.2":"2022-09-13T18:20:57.402Z","4.10.0":"2022-10-01T12:28:39.897Z","4.11.0-canary.1":"2022-11-12T22:26:55.912Z","4.11.0":"2022-11-18T22:44:23.843Z","4.11.1-canary.1":"2022-11-19T17:47:09.457Z","4.11.1-canary.2":"2022-11-19T17:49:25.147Z","4.11.1":"2022-11-19T17:54:30.275Z","4.11.2":"2022-11-19T19:57:22.507Z","4.12.0":"2023-03-05T13:17:54.745Z","4.12.1":"2023-03-07T05:51:52.479Z","4.12.2":"2023-03-09T14:21:13.219Z","4.12.3-canary.1":"2023-04-01T19:58:12.326Z","4.13.0":"2023-09-02T11:04:45.420Z","4.13.1":"2023-09-02T11:21:00.877Z","4.14.0":"2023-09-22T16:28:26.035Z","4.15.0":"2023-10-23T16:53:22.129Z","4.15.1":"2023-11-29T20:34:30.525Z","4.15.2":"2023-11-30T06:17:27.784Z","4.15.3":"2023-12-03T13:12:35.440Z","4.16.0-rc.1":"2024-02-21T16:44:10.325Z","4.16.0-rc.2":"2024-02-21T21:10:50.141Z","4.16.0":"2024-02-25T00:18:55.319Z","4.16.1":"2024-02-25T17:09:21.042Z","4.16.2":"2024-02-26T10:04:29.208Z","4.16.3":"2024-02-29T07:49:30.428Z"},"bugs":{"url":"https://github.com/telegraf/telegraf/issues"},"author":{"name":"The Telegraf Contributors"},"license":"MIT","homepage":"https://telegraf.js.org","keywords":["telegraf","telegram","telegram bot api","bot","botapi","bot framework"],"repository":{"url":"git+ssh://git@github.com/telegraf/telegraf.git","type":"git"},"description":"Modern Telegram Bot Framework","maintainers":[{"name":"dotcypress","email":"dotcypress@gmail.com"},{"name":"mkrhere","email":"muthukumar@thefeathers.in"},{"name":"wojpawlik","email":"woj.pawlik@gmail.com"}],"readme":"
\n\n
\n\"logo\"\n

telegraf.js

\n\n

Modern Telegram Bot API framework for Node.js

\n\n\n\t\"Bot\n\n\n\t\"install\n\n\n\t\"GitHub\n\n\n\t\"English\n\n
\n\n
\n\n## For 3.x users\n\n- [3.x docs](https://telegraf.js.org/v3)\n- [4.0 release notes](https://github.com/telegraf/telegraf/releases/tag/v4.0.0)\n\n## Introduction\n\nBots are special [Telegram](https://telegram.org) accounts designed to handle messages automatically.\nUsers can interact with bots by sending them command messages in private or group chats.\nThese accounts serve as an interface for code running somewhere on your server.\n\nTelegraf is a library that makes it simple for you to develop your own Telegram bots using JavaScript or [TypeScript](https://www.typescriptlang.org/).\n\n### Features\n\n- Full [Telegram Bot API 7.1](https://core.telegram.org/bots/api) support\n- [Excellent TypeScript typings](https://github.com/telegraf/telegraf/releases/tag/v4.0.0)\n- [Lightweight](https://packagephobia.com/result?p=telegraf,node-telegram-bot-api)\n- [AWS **λ**](https://docs.aws.amazon.com/lambda/latest/dg/nodejs-prog-model-handler.html)\n / [Firebase](https://firebase.google.com/products/functions/)\n / [Glitch](https://glitch.com/edit/#!/dashing-light)\n / [Fly.io](https://fly.io/docs/languages-and-frameworks/node)\n / Whatever ready\n- `http/https/fastify/Connect.js/express.js` compatible webhooks\n- Extensible\n\n### Example\n\n```js\nconst { Telegraf } = require('telegraf')\nconst { message } = require('telegraf/filters')\n\nconst bot = new Telegraf(process.env.BOT_TOKEN)\nbot.start((ctx) => ctx.reply('Welcome'))\nbot.help((ctx) => ctx.reply('Send me a sticker'))\nbot.on(message('sticker'), (ctx) => ctx.reply('👍'))\nbot.hears('hi', (ctx) => ctx.reply('Hey there'))\nbot.launch()\n\n// Enable graceful stop\nprocess.once('SIGINT', () => bot.stop('SIGINT'))\nprocess.once('SIGTERM', () => bot.stop('SIGTERM'))\n```\n\n```js\nconst { Telegraf } = require('telegraf')\n\nconst bot = new Telegraf(process.env.BOT_TOKEN)\nbot.command('oldschool', (ctx) => ctx.reply('Hello'))\nbot.command('hipster', Telegraf.reply('λ'))\nbot.launch()\n\n// Enable graceful stop\nprocess.once('SIGINT', () => bot.stop('SIGINT'))\nprocess.once('SIGTERM', () => bot.stop('SIGTERM'))\n```\n\nFor additional bot examples see the new [`docs repo`](https://github.com/feathers-studio/telegraf-docs/).\n\n### Resources\n\n- [Getting started](#getting-started)\n- [API reference](https://telegraf.js.org/modules.html)\n- Telegram groups (sorted by number of members):\n - [English](https://t.me/TelegrafJSChat)\n - [Russian](https://t.me/telegrafjs_ru)\n - [Uzbek](https://t.me/botjs_uz)\n - [Ethiopian](https://t.me/telegraf_et)\n- [GitHub Discussions](https://github.com/telegraf/telegraf/discussions)\n- [Dependent repositories](https://libraries.io/npm/telegraf/dependent_repositories)\n\n## Getting started\n\n### Telegram token\n\nTo use the [Telegram Bot API](https://core.telegram.org/bots/api),\nyou first have to [get a bot account](https://core.telegram.org/bots)\nby [chatting with BotFather](https://core.telegram.org/bots#6-botfather).\n\nBotFather will give you a _token_, something like `123456789:AbCdefGhIJKlmNoPQRsTUVwxyZ`.\n\n### Installation\n\n```shellscript\n$ npm install telegraf\n```\n\nor\n\n```shellscript\n$ yarn add telegraf\n```\n\nor\n\n```shellscript\n$ pnpm add telegraf\n```\n\n### `Telegraf` class\n\n[`Telegraf`] instance represents your bot. It's responsible for obtaining updates and passing them to your handlers.\n\nStart by [listening to commands](https://telegraf.js.org/classes/Telegraf-1.html#command) and [launching](https://telegraf.js.org/classes/Telegraf-1.html#launch) your bot.\n\n### `Context` class\n\n`ctx` you can see in every example is a [`Context`] instance.\n[`Telegraf`] creates one for each incoming update and passes it to your middleware.\nIt contains the `update`, `botInfo`, and `telegram` for making arbitrary Bot API requests,\nas well as shorthand methods and getters.\n\nThis is probably the class you'll be using the most.\n\n\n\n#### Shorthand methods\n\n```js\nimport { Telegraf } from 'telegraf'\nimport { message } from 'telegraf/filters'\n\nconst bot = new Telegraf(process.env.BOT_TOKEN)\n\nbot.command('quit', async (ctx) => {\n // Explicit usage\n await ctx.telegram.leaveChat(ctx.message.chat.id)\n\n // Using context shortcut\n await ctx.leaveChat()\n})\n\nbot.on(message('text'), async (ctx) => {\n // Explicit usage\n await ctx.telegram.sendMessage(ctx.message.chat.id, `Hello ${ctx.state.role}`)\n\n // Using context shortcut\n await ctx.reply(`Hello ${ctx.state.role}`)\n})\n\nbot.on('callback_query', async (ctx) => {\n // Explicit usage\n await ctx.telegram.answerCbQuery(ctx.callbackQuery.id)\n\n // Using context shortcut\n await ctx.answerCbQuery()\n})\n\nbot.on('inline_query', async (ctx) => {\n const result = []\n // Explicit usage\n await ctx.telegram.answerInlineQuery(ctx.inlineQuery.id, result)\n\n // Using context shortcut\n await ctx.answerInlineQuery(result)\n})\n\nbot.launch()\n\n// Enable graceful stop\nprocess.once('SIGINT', () => bot.stop('SIGINT'))\nprocess.once('SIGTERM', () => bot.stop('SIGTERM'))\n```\n\n## Production\n\n### Webhooks\n\n```TS\nimport { Telegraf } from \"telegraf\";\nimport { message } from 'telegraf/filters';\n\nconst bot = new Telegraf(token);\n\nbot.on(message(\"text\"), ctx => ctx.reply(\"Hello\"));\n\n// Start webhook via launch method (preferred)\nbot.launch({\n webhook: {\n // Public domain for webhook; e.g.: example.com\n domain: webhookDomain,\n\n // Port to listen on; e.g.: 8080\n port: port,\n\n // Optional path to listen for.\n // `bot.secretPathComponent()` will be used by default\n path: webhookPath,\n\n // Optional secret to be sent back in a header for security.\n // e.g.: `crypto.randomBytes(64).toString(\"hex\")`\n secretToken: randomAlphaNumericString,\n },\n});\n```\n\nUse `createWebhook()` if you want to attach Telegraf to an existing http server.\n\n\n\n```TS\nimport { createServer } from \"http\";\n\ncreateServer(await bot.createWebhook({ domain: \"example.com\" })).listen(3000);\n```\n\n```TS\nimport { createServer } from \"https\";\n\ncreateServer(tlsOptions, await bot.createWebhook({ domain: \"example.com\" })).listen(8443);\n```\n\n- [AWS Lambda example integration](https://github.com/feathers-studio/telegraf-docs/tree/master/examples/functions/aws-lambda)\n- [Google Cloud Functions example integration](https://github.com/feathers-studio/telegraf-docs/blob/master/examples/functions/google-cloud-function.ts)\n- [`express` example integration](https://github.com/feathers-studio/telegraf-docs/blob/master/examples/webhook/express.ts)\n- [`fastify` example integration](https://github.com/feathers-studio/telegraf-docs/blob/master/examples/webhook/fastify.ts)\n- [`koa` example integration](https://github.com/feathers-studio/telegraf-docs/blob/master/examples/webhook/koa.ts)\n- [NestJS framework integration module](https://github.com/bukhalo/nestjs-telegraf)\n- [Cloudflare Workers integration module](https://github.com/Tsuk1ko/cfworker-middware-telegraf)\n- Use [`bot.handleUpdate`](https://telegraf.js.org/classes/Telegraf-1.html#handleupdate) to write new integrations\n\n### Error handling\n\nIf middleware throws an error or times out, Telegraf calls `bot.handleError`. If it rethrows, update source closes, and then the error is printed to console and process terminates. If it does not rethrow, the error is swallowed.\n\nDefault `bot.handleError` always rethrows. You can overwrite it using `bot.catch` if you need to.\n\n⚠️ Swallowing unknown errors might leave the process in invalid state!\n\nℹ️ In production, `systemd` or [`pm2`](https://www.npmjs.com/package/pm2) can restart your bot if it exits for any reason.\n\n## Advanced topics\n\n### Working with files\n\nSupported file sources:\n\n- `Existing file_id`\n- `File path`\n- `Url`\n- `Buffer`\n- `ReadStream`\n\nAlso, you can provide an optional name of a file as `filename` when you send the file.\n\n\n\n```js\nbot.on('message', async (ctx) => {\n // resend existing file by file_id\n await ctx.replyWithSticker('123123jkbhj6b')\n\n // send file\n await ctx.replyWithVideo(Input.fromLocalFile('/path/to/video.mp4'))\n\n // send stream\n await ctx.replyWithVideo(\n Input.fromReadableStream(fs.createReadStream('/path/to/video.mp4'))\n )\n\n // send buffer\n await ctx.replyWithVoice(Input.fromBuffer(Buffer.alloc()))\n\n // send url via Telegram server\n await ctx.replyWithPhoto(Input.fromURL('https://picsum.photos/200/300/'))\n\n // pipe url content\n await ctx.replyWithPhoto(\n Input.fromURLStream('https://picsum.photos/200/300/?random', 'kitten.jpg')\n )\n})\n```\n\n### Middleware\n\nIn addition to `ctx: Context`, each middleware receives `next: () => Promise`.\n\nAs in Koa and some other middleware-based libraries,\n`await next()` will call next middleware and wait for it to finish:\n\n```TS\nimport { Telegraf } from 'telegraf';\nimport { message } from 'telegraf/filters';\n\nconst bot = new Telegraf(process.env.BOT_TOKEN);\n\nbot.use(async (ctx, next) => {\n console.time(`Processing update ${ctx.update.update_id}`);\n await next() // runs next middleware\n // runs after next middleware finishes\n console.timeEnd(`Processing update ${ctx.update.update_id}`);\n})\n\nbot.on(message('text'), (ctx) => ctx.reply('Hello World'));\nbot.launch();\n\n// Enable graceful stop\nprocess.once('SIGINT', () => bot.stop('SIGINT'));\nprocess.once('SIGTERM', () => bot.stop('SIGTERM'));\n```\n\nWith this simple ability, you can:\n\n- extract information from updates and then `await next()` to avoid disrupting other middleware,\n- like [`Composer`] and [`Router`], `await next()` for updates you don't wish to handle,\n- like [`session`] and [`Scenes`], [extend the context](#extending-context) by mutating `ctx` before `await next()`,\n- [intercept API calls](https://github.com/telegraf/telegraf/discussions/1267#discussioncomment-254525),\n- reuse [other people's code](https://www.npmjs.com/search?q=telegraf-),\n- do whatever **you** come up with!\n\n[`Telegraf`]: https://telegraf.js.org/classes/Telegraf-1.html\n[`Composer`]: https://telegraf.js.org/classes/Composer.html\n[`Context`]: https://telegraf.js.org/classes/Context.html\n[`Router`]: https://telegraf.js.org/classes/Router.html\n[`session`]: https://telegraf.js.org/modules.html#session\n[`Scenes`]: https://telegraf.js.org/modules/Scenes.html\n\n### Usage with TypeScript\n\nTelegraf is written in TypeScript and therefore ships with declaration files for the entire library.\nMoreover, it includes types for the complete Telegram API via the [`typegram`](https://github.com/KnorpelSenf/typegram) package.\nWhile most types of Telegraf's API surface are self-explanatory, there's some notable things to keep in mind.\n\n#### Extending `Context`\n\nThe exact shape of `ctx` can vary based on the installed middleware.\nSome custom middleware might register properties on the context object that Telegraf is not aware of.\nConsequently, you can change the type of `ctx` to fit your needs in order for you to have proper TypeScript types for your data.\nThis is done through Generics:\n\n```ts\nimport { Context, Telegraf } from 'telegraf'\n\n// Define your own context type\ninterface MyContext extends Context {\n myProp?: string\n myOtherProp?: number\n}\n\n// Create your bot and tell it about your context type\nconst bot = new Telegraf('SECRET TOKEN')\n\n// Register middleware and launch your bot as usual\nbot.use((ctx, next) => {\n // Yay, `myProp` is now available here as `string | undefined`!\n ctx.myProp = ctx.chat?.first_name?.toUpperCase()\n return next()\n})\n// ...\n```\n","readmeFilename":"README.md","users":{"d3ck":true,"fm-96":true,"stavz":true,"felegz":true,"fend25":true,"sitnin":true,"kaashin":true,"nogirev":true,"foxwoods":true,"g33ktony":true,"dotcypress":true,"rocket0191":true,"intelight-its":true}}