{"_id":"@telegraf/types","_rev":"18-9f2b59e73b4b26e8fb5e2a65f4d778cc","name":"@telegraf/types","dist-tags":{"latest":"10.3.0"},"versions":{"6.7.0":{"name":"@telegraf/types","version":"6.7.0","keywords":["telegram","grammy","telegraf","bot","api","types","typings"],"author":{"name":"Telegraf contributors"},"license":"MIT","_id":"@telegraf/types@6.7.0","maintainers":[{"name":"mkrhere","email":"muthukumar@thefeathers.in"},{"name":"telegraf-owner","email":"ejnshtein@dsgstng.com"},{"name":"ejnshtein","email":"ejnshtein@gmail.com"},{"name":"wojpawlik","email":"woj.pawlik@gmail.com"}],"homepage":"https://github.com/telegraf/types#readme","bugs":{"url":"https://github.com/telegraf/types/issues"},"dist":{"shasum":"1d134218cf899a677a0a63a4a8c1d3c56edfab48","tarball":"https://registry.npmjs.org/@telegraf/types/-/types-6.7.0.tgz","fileCount":16,"integrity":"sha512-hZ28dW+HYQdJ1qs1eoekgWbI0xYjJtb5kpzeP+Z3WKWub+nD6FtS8BttfHX0zdV+rJ6o4rCsZKKqfkcRPcdXyA==","signatures":[{"sig":"MEUCIQDBwHz5p5bCf3WE2B1HcaQ739FtOrgdWbx2s+YF+l3yFgIgUChLlXV/v40SFVEzMlkLknOXJhs4FLFONQHoZ2BFmvE=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":285671},"main":"mod.js","types":"mod.d.ts","gitHead":"8dbdd783267e75a0f4897a8309005dbbd9b309e0","private":false,"scripts":{"prepare":"deno task backport"},"_npmUser":{"name":"mkrhere","email":"muthukumar@thefeathers.in"},"repository":{"url":"git+https://github.com/telegraf/types.git","type":"git"},"_npmVersion":"9.6.7","description":"Type declarations for the Telegram API","directories":{},"_nodeVersion":"18.17.0","_hasShrinkwrap":false,"devDependencies":{"deno-bin":"^1.31.1"},"_npmOperationalInternal":{"tmp":"tmp/types_6.7.0_1691062526348_0.27573411685834026","host":"s3://npm-registry-packages"}},"6.8.0":{"name":"@telegraf/types","version":"6.8.0","keywords":["telegram","grammy","telegraf","bot","api","types","typings"],"author":{"name":"Telegraf contributors"},"license":"MIT","_id":"@telegraf/types@6.8.0","maintainers":[{"name":"mkrhere","email":"muthukumar@thefeathers.in"},{"name":"telegraf-owner","email":"ejnshtein@dsgstng.com"},{"name":"ejnshtein","email":"ejnshtein@gmail.com"},{"name":"wojpawlik","email":"woj.pawlik@gmail.com"}],"homepage":"https://github.com/telegraf/types#readme","bugs":{"url":"https://github.com/telegraf/types/issues"},"dist":{"shasum":"b73a1506722967d679e8671a36c989d5479e71c6","tarball":"https://registry.npmjs.org/@telegraf/types/-/types-6.8.0.tgz","fileCount":16,"integrity":"sha512-Frf4rMdf444TGZ7shF11kr0jNFyo8H6VnsQGoCvJ6L3vTC1DrrI4y2GLn56hJRvJLT8+Fg7FKlCyQMZeWwL06A==","signatures":[{"sig":"MEUCIQDNuz5f8aLGWk6VhQtQzWpnSUXIRDUZ9PyBeipV7J/nzwIgHuT96UyJfFWb/D0IYbkJfvVfGSQdviRvzeAKP+AMubM=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":286578},"main":"mod.js","types":"mod.d.ts","gitHead":"024a88a3b687b53c4c50412488942642917f4790","private":false,"scripts":{"prepare":"deno task backport"},"_npmUser":{"name":"mkrhere","email":"muthukumar@thefeathers.in"},"repository":{"url":"git+https://github.com/telegraf/types.git","type":"git"},"_npmVersion":"9.6.7","description":"Type declarations for the Telegram API","directories":{},"_nodeVersion":"18.17.1","_hasShrinkwrap":false,"devDependencies":{"deno-bin":"^1.31.1"},"_npmOperationalInternal":{"tmp":"tmp/types_6.8.0_1693099999987_0.31405165755211617","host":"s3://npm-registry-packages"}},"6.8.1":{"name":"@telegraf/types","version":"6.8.1","keywords":["telegram","grammy","telegraf","bot","api","types","typings"],"author":{"name":"Telegraf contributors"},"license":"MIT","_id":"@telegraf/types@6.8.1","maintainers":[{"name":"mkrhere","email":"muthukumar@thefeathers.in"},{"name":"telegraf-owner","email":"ejnshtein@dsgstng.com"},{"name":"ejnshtein","email":"ejnshtein@gmail.com"},{"name":"wojpawlik","email":"woj.pawlik@gmail.com"}],"homepage":"https://github.com/telegraf/types#readme","bugs":{"url":"https://github.com/telegraf/types/issues"},"dist":{"shasum":"c9c567e8ba4fb3c656494f3901a7dfb22cb7d676","tarball":"https://registry.npmjs.org/@telegraf/types/-/types-6.8.1.tgz","fileCount":16,"integrity":"sha512-JCRQuPPDCreYQaAeOwnqIlWrs8pJVvaNEUWBVNvdK3oJoTUKyBV+3TsPrIcnGqLeapptznuTk5s4udTlZPvGTA==","signatures":[{"sig":"MEYCIQCI16O5aCfAMC7MHnZX6Uy6mx9VCyXeuSGDRf1TcpSyrQIhAM+upFgPmn+sVwF5FTnchi3Hj9mYP1seLFRVUiqk6mSR","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":286600},"main":"mod.js","types":"mod.d.ts","gitHead":"d10561adf4df6c170755612cff489283a6735c4a","private":false,"scripts":{"prepare":"deno task backport"},"_npmUser":{"name":"mkrhere","email":"muthukumar@thefeathers.in"},"repository":{"url":"git+https://github.com/telegraf/types.git","type":"git"},"_npmVersion":"9.6.7","description":"Type declarations for the Telegram API","directories":{},"_nodeVersion":"18.17.1","_hasShrinkwrap":false,"devDependencies":{"deno-bin":"^1.31.1"},"_npmOperationalInternal":{"tmp":"tmp/types_6.8.1_1693156952784_0.26001307257949513","host":"s3://npm-registry-packages"}},"6.9.0":{"name":"@telegraf/types","version":"6.9.0","keywords":["telegram","grammy","telegraf","bot","api","types","typings"],"author":{"name":"Telegraf contributors"},"license":"MIT","_id":"@telegraf/types@6.9.0","maintainers":[{"name":"mkrhere","email":"muthukumar@thefeathers.in"},{"name":"telegraf-owner","email":"ejnshtein@dsgstng.com"},{"name":"ejnshtein","email":"ejnshtein@gmail.com"},{"name":"wojpawlik","email":"woj.pawlik@gmail.com"}],"homepage":"https://github.com/telegraf/types#readme","bugs":{"url":"https://github.com/telegraf/types/issues"},"dist":{"shasum":"a97225577d99693d881a1c8b49610a30af9173e3","tarball":"https://registry.npmjs.org/@telegraf/types/-/types-6.9.0.tgz","fileCount":15,"integrity":"sha512-k0Hv0G6rT+pVcN4bV6Zek4WBlh7fMdX0fC+wsr/SC18xIbVxxr1vGoucPGkYsImvBqYQsZTIoxKYHxm4EzBvJw==","signatures":[{"sig":"MEYCIQD15Gz8+pevjLQf7dgVWQVtnOGM+ji/bzGC8ezUoIATfQIhAKuoHflpKLwE0RaRTPYULi6oy7X1teX7z/MKC1Ozpbmz","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":288940},"main":"index.js","types":"index.d.ts","gitHead":"e56939e86025d3e8215a6014f590c1667a4e41b2","private":false,"scripts":{"prepare":"deno task backport"},"_npmUser":{"name":"mkrhere","email":"muthukumar@thefeathers.in"},"repository":{"url":"git+https://github.com/telegraf/types.git","type":"git"},"_npmVersion":"9.6.7","description":"Type declarations for the Telegram API","directories":{},"_nodeVersion":"18.17.1","_hasShrinkwrap":false,"devDependencies":{"deno-bin":"^1.31.1"},"_npmOperationalInternal":{"tmp":"tmp/types_6.9.0_1695398097653_0.11606837423927496","host":"s3://npm-registry-packages"}},"6.9.1":{"name":"@telegraf/types","version":"6.9.1","keywords":["telegram","grammy","telegraf","bot","api","types","typings"],"author":{"name":"Telegraf contributors"},"license":"MIT","_id":"@telegraf/types@6.9.1","maintainers":[{"name":"mkrhere","email":"muthukumar@thefeathers.in"},{"name":"telegraf-owner","email":"ejnshtein@dsgstng.com"},{"name":"ejnshtein","email":"ejnshtein@gmail.com"},{"name":"wojpawlik","email":"woj.pawlik@gmail.com"}],"homepage":"https://github.com/telegraf/types#readme","bugs":{"url":"https://github.com/telegraf/types/issues"},"dist":{"shasum":"ee2d335164f582db55337d77cc440c1faeadd510","tarball":"https://registry.npmjs.org/@telegraf/types/-/types-6.9.1.tgz","fileCount":15,"integrity":"sha512-bzqwhicZq401T0e09tu8b1KvGfJObPmzKU/iKCT5V466AsAZZWQrBYQ5edbmD1VZuHLEwopoOVY5wPP4HaLtug==","signatures":[{"sig":"MEUCIQD9RK9VledIU2hXIwbYE5K93Z1i3TF6tDJ2CF2hLbDa0QIgacgLOfHvPscdbsBCxLVxub7PLVZqOTKDjKIY4tfT9TI=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":289089},"main":"index.js","types":"index.d.ts","gitHead":"5dabe7deac120f926f3cd7cb90bb31c719b58a90","private":false,"scripts":{"prepare":"deno task backport"},"_npmUser":{"name":"mkrhere","email":"muthukumar@thefeathers.in"},"repository":{"url":"git+https://github.com/telegraf/types.git","type":"git"},"_npmVersion":"9.6.7","description":"Type declarations for the Telegram API","directories":{},"_nodeVersion":"18.17.1","_hasShrinkwrap":false,"devDependencies":{"deno-bin":"^1.31.1"},"_npmOperationalInternal":{"tmp":"tmp/types_6.9.1_1695401356066_0.41271176395952636","host":"s3://npm-registry-packages"}},"7.0.0":{"name":"@telegraf/types","version":"7.0.0","keywords":["telegram","grammy","telegraf","bot","api","types","typings"],"author":{"name":"Telegraf contributors"},"license":"MIT","_id":"@telegraf/types@7.0.0","maintainers":[{"name":"mkrhere","email":"muthukumar@thefeathers.in"},{"name":"telegraf-owner","email":"ejnshtein@dsgstng.com"},{"name":"ejnshtein","email":"ejnshtein@gmail.com"},{"name":"wojpawlik","email":"woj.pawlik@gmail.com"}],"homepage":"https://github.com/telegraf/types#readme","bugs":{"url":"https://github.com/telegraf/types/issues"},"dist":{"shasum":"b2248a2760a891bd04586e90572ba4f705967293","tarball":"https://registry.npmjs.org/@telegraf/types/-/types-7.0.0.tgz","fileCount":15,"integrity":"sha512-hdlt9ZmdoK8D232VECMk1w5sD4OsypdDJIIFZebO/MSnGWWmVyTAHAlfzFDzKpUQUtPbhr8l2yK5Pg/cyvjJEQ==","signatures":[{"sig":"MEUCIQCcLjvVYXgXiLffjt7jJJ2ClQae5r8lnSQXwOjLgwi99wIgd+hNmVSyQw4VYshWiNaKM8i1MoJ6IDiktFlc5zNelaM=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":310914},"main":"index.js","types":"index.d.ts","gitHead":"4e700ab06466fc8de1c28dca2d45dd22b2fca3af","private":false,"scripts":{"prepare":"deno task backport"},"_npmUser":{"name":"mkrhere","email":"muthukumar@thefeathers.in"},"repository":{"url":"git+https://github.com/telegraf/types.git","type":"git"},"_npmVersion":"10.2.3","description":"Type declarations for the Telegram API","directories":{},"_nodeVersion":"18.19.0","_hasShrinkwrap":false,"devDependencies":{"deno-bin":"^1.31.1"},"_npmOperationalInternal":{"tmp":"tmp/types_7.0.0_1707377015955_0.8817390829808802","host":"s3://npm-registry-packages"}},"7.0.1":{"name":"@telegraf/types","version":"7.0.1","keywords":["telegram","telegraf","bot","api","types","typings"],"author":{"name":"Telegraf contributors"},"license":"MIT","_id":"@telegraf/types@7.0.1","maintainers":[{"name":"mkrhere","email":"muthukumar@thefeathers.in"},{"name":"telegraf-owner","email":"ejnshtein@dsgstng.com"},{"name":"ejnshtein","email":"ejnshtein@gmail.com"},{"name":"wojpawlik","email":"woj.pawlik@gmail.com"}],"homepage":"https://github.com/telegraf/types#readme","bugs":{"url":"https://github.com/telegraf/types/issues"},"dist":{"shasum":"6e1d6253b2339cd130a55b5dcac3b6b18ccba8f2","tarball":"https://registry.npmjs.org/@telegraf/types/-/types-7.0.1.tgz","fileCount":15,"integrity":"sha512-fuNxs3Ms7ETe3E+INGHBFZ8D6WpJkgB8fHJzpwb4CBC+MBuMhkyPlfxkRtHPFfASWBYH1JCuty4MJnIYhzSj5A==","signatures":[{"sig":"MEUCIQC8jNWytQ4co5OqB3Le5E6Ogq+hPdZRH7mx62gJPK2n6QIgddsww7VXmW2Sffq/qetn/zhyL75gNQFa7qG0pfzJAKY=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":311003},"main":"index.js","types":"index.d.ts","gitHead":"ca62fb37f49ddb87a63a2ae94b7310d1379ec39b","private":false,"scripts":{"prepare":"deno task backport"},"_npmUser":{"name":"mkrhere","email":"muthukumar@thefeathers.in"},"repository":{"url":"git+https://github.com/telegraf/types.git","type":"git"},"_npmVersion":"10.2.3","description":"Type declarations for the Telegram API","directories":{},"_nodeVersion":"18.19.0","_hasShrinkwrap":false,"devDependencies":{"deno-bin":"^1.40.4"},"_npmOperationalInternal":{"tmp":"tmp/types_7.0.1_1707665450936_0.9472496906428873","host":"s3://npm-registry-packages"}},"7.1.0":{"name":"@telegraf/types","version":"7.1.0","keywords":["telegram","telegraf","bot","api","types","typings"],"author":{"name":"Telegraf contributors"},"license":"MIT","_id":"@telegraf/types@7.1.0","maintainers":[{"name":"mkrhere","email":"muthukumar@thefeathers.in"},{"name":"telegraf-owner","email":"ejnshtein@dsgstng.com"},{"name":"ejnshtein","email":"ejnshtein@gmail.com"},{"name":"wojpawlik","email":"woj.pawlik@gmail.com"}],"homepage":"https://github.com/telegraf/types#readme","bugs":{"url":"https://github.com/telegraf/types/issues"},"dist":{"shasum":"d8bd9b2f5070b4de46971416e890338cd89fc23d","tarball":"https://registry.npmjs.org/@telegraf/types/-/types-7.1.0.tgz","fileCount":15,"integrity":"sha512-kGevOIbpMcIlCDeorKGpwZmdH7kHbqlk/Yj6dEpJMKEQw5lk0KVQY0OLXaCswy8GqlIVLd5625OB+rAntP9xVw==","signatures":[{"sig":"MEQCIBaVcO+Qn5Gmh34+4RaxmUVdcVk6xkL7voAX5D2OSPnDAiBgjifzM+gMiwvqSr5A1e0t7xQoNBfaAl6xcBNOzFKCjQ==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":311975},"main":"index.js","types":"index.d.ts","gitHead":"7e3ecbf68b2ab99f2fd6bce510c72db0732cb502","private":false,"scripts":{"prepare":"deno task backport"},"_npmUser":{"name":"mkrhere","email":"muthukumar@thefeathers.in"},"repository":{"url":"git+https://github.com/telegraf/types.git","type":"git"},"_npmVersion":"10.2.3","description":"Type declarations for the Telegram API","directories":{},"_nodeVersion":"18.19.0","_hasShrinkwrap":false,"devDependencies":{"deno-bin":"^1.40.4"},"_npmOperationalInternal":{"tmp":"tmp/types_7.1.0_1708339341057_0.6948605410463835","host":"s3://npm-registry-packages"}},"8.2.0":{"name":"@telegraf/types","version":"8.2.0","keywords":["telegram","telegraf","bot","api","types","typings"],"author":{"name":"Telegraf contributors"},"license":"MIT","_id":"@telegraf/types@8.2.0","maintainers":[{"name":"telegraf-owner","email":"ejnshtein@dsgstng.com"},{"name":"ejnshtein","email":"ejnshtein@gmail.com"},{"name":"wojpawlik","email":"woj.pawlik@gmail.com"},{"name":"mkrhere","email":"muthukumar@thefeathers.in"}],"homepage":"https://github.com/telegraf/types#readme","bugs":{"url":"https://github.com/telegraf/types/issues"},"dist":{"shasum":"e0350a41722eff7d961cd845f1e31f64e2cff89e","tarball":"https://registry.npmjs.org/@telegraf/types/-/types-8.2.0.tgz","fileCount":15,"integrity":"sha512-h4jW/ukQqNtw2I84URaIr4EhoztQhBsDZvIyLsIwBGaVWPfQX+LpIvSX5tYvjNXy/XBupxcdpMWW4seYsyLAvw==","signatures":[{"sig":"MEQCIAGWnlA2hkCJllookAs1YjJfhCEoUJcdqpfm1apRfQjmAiBgfZHmnuW4Mcu15HEyIhd2IxGEWW4pvejD4DINLzUifw==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":375843},"main":"index.js","types":"index.d.ts","gitHead":"ee8ca947c219cddfeaff8431d7900738f3eb0c83","private":false,"scripts":{"prepare":"deno task backport"},"_npmUser":{"name":"mkrhere","email":"muthukumar@thefeathers.in"},"repository":{"url":"git+https://github.com/telegraf/types.git","type":"git"},"_npmVersion":"10.9.2","description":"Type declarations for the Telegram API","directories":{},"_nodeVersion":"23.5.0","_hasShrinkwrap":false,"devDependencies":{"deno-bin":"^2.1.6"},"_npmOperationalInternal":{"tmp":"tmp/types_8.2.0_1737472489510_0.3570031453139406","host":"s3://npm-registry-packages-npm-production"}},"8.3.0":{"name":"@telegraf/types","version":"8.3.0","keywords":["telegram","telegraf","bot","api","types","typings"],"author":{"name":"Telegraf contributors"},"license":"MIT","_id":"@telegraf/types@8.3.0","maintainers":[{"name":"telegraf-owner","email":"ejnshtein@dsgstng.com"},{"name":"ejnshtein","email":"ejnshtein@gmail.com"},{"name":"wojpawlik","email":"woj.pawlik@gmail.com"},{"name":"mkrhere","email":"muthukumar@thefeathers.in"}],"homepage":"https://github.com/telegraf/types#readme","bugs":{"url":"https://github.com/telegraf/types/issues"},"dist":{"shasum":"7e6b20d93943c22d7b92e8eb3f2ea25bf6f14cb1","tarball":"https://registry.npmjs.org/@telegraf/types/-/types-8.3.0.tgz","fileCount":15,"integrity":"sha512-hakXGSrlxYUJsPuHJ4bAIrPU/aZjC4jilaZpJatyCBWv8BI4WTx0Le9ZMPdvNMYPNm0R075Qp9KSpqDJnmrdpQ==","signatures":[{"sig":"MEUCIQDILUC4pAEW6waayPqRT4cm7r12CWZ0SXX4VSY7gtS3hwIgNgX6mkjpWJK7eTNYeMRGhnG9nuO4bUawdnig++Lp9do=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":377503},"main":"index.js","types":"index.d.ts","gitHead":"4a0a112e83a52a01fa9117c9706ac99fee8680ed","private":false,"scripts":{"prepare":"deno task backport"},"_npmUser":{"name":"mkrhere","email":"muthukumar@thefeathers.in"},"repository":{"url":"git+https://github.com/telegraf/types.git","type":"git"},"_npmVersion":"10.8.2","description":"Type declarations for the Telegram API","directories":{},"_nodeVersion":"20.18.2","_hasShrinkwrap":false,"devDependencies":{"deno-bin":"^2.1.6"},"_npmOperationalInternal":{"tmp":"tmp/types_8.3.0_1739453624185_0.10140713311443594","host":"s3://npm-registry-packages-npm-production"}},"8.3.1":{"name":"@telegraf/types","version":"8.3.1","keywords":["telegram","telegraf","bot","api","types","typings"],"author":{"name":"Telegraf contributors"},"license":"MIT","_id":"@telegraf/types@8.3.1","maintainers":[{"name":"telegraf-owner","email":"ejnshtein@dsgstng.com"},{"name":"ejnshtein","email":"ejnshtein@gmail.com"},{"name":"wojpawlik","email":"woj.pawlik@gmail.com"},{"name":"mkrhere","email":"muthukumar@thefeathers.in"}],"homepage":"https://github.com/telegraf/types#readme","bugs":{"url":"https://github.com/telegraf/types/issues"},"dist":{"shasum":"c26b3b83018fd8b55ad730bc789629450271d34b","tarball":"https://registry.npmjs.org/@telegraf/types/-/types-8.3.1.tgz","fileCount":15,"integrity":"sha512-17RBlU04nwiERnrm6X32C/tr0/bYjXWAujS+zeK1C94pcnqetCk2IdqvfXLK9GluSMcyY6iMV5Kt0oAEZ7NF8w==","signatures":[{"sig":"MEUCIQClZ4LP4Yt3nW/j8ffnHOgT0Jxnkj7G92M+1Phzybkt8QIgZLA3w6fPK62GpZ74UxEEijBmIXPib2fipbNt0YEUmZI=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":378509},"main":"index.js","types":"index.d.ts","gitHead":"5a6ec01573d2ae15a2e98ea0177189cffdfb9876","private":false,"scripts":{"prepare":"deno task backport"},"_npmUser":{"name":"mkrhere","email":"muthukumar@thefeathers.in"},"repository":{"url":"git+https://github.com/telegraf/types.git","type":"git"},"_npmVersion":"10.8.2","description":"Type declarations for the Telegram API","directories":{},"_nodeVersion":"20.18.2","_hasShrinkwrap":false,"devDependencies":{"deno-bin":"^2.1.6"},"_npmOperationalInternal":{"tmp":"tmp/types_8.3.1_1739998786569_0.7948671536272163","host":"s3://npm-registry-packages-npm-production"}},"9.0.0":{"name":"@telegraf/types","version":"9.0.0","keywords":["telegram","telegraf","bot","api","types","typings"],"author":{"name":"Telegraf contributors"},"license":"MIT","_id":"@telegraf/types@9.0.0","maintainers":[{"name":"telegraf-owner","email":"ejnshtein@dsgstng.com"},{"name":"ejnshtein","email":"ejnshtein@gmail.com"},{"name":"wojpawlik","email":"woj.pawlik@gmail.com"},{"name":"mkrhere","email":"muthukumar@thefeathers.in"}],"homepage":"https://github.com/telegraf/types#readme","bugs":{"url":"https://github.com/telegraf/types/issues"},"dist":{"shasum":"a782a745a7723b52a67b2d17249dddd7aaf03513","tarball":"https://registry.npmjs.org/@telegraf/types/-/types-9.0.0.tgz","fileCount":15,"integrity":"sha512-K1sVcjEyKPmoqNDPTqoy+Vcpq8pRuy0ZirYmB9ZSexgpeo9f+7ndTrJ6IHCYvh0UOCGuosqYPGWS0O2DbJNnaA==","signatures":[{"sig":"MEQCICo1VnKohSH9wE5MOPbRXch/3Ay3DXoBj2l/AIv2fX6lAiALtkMU2jLF3+XUiBc5gUqfJOg6++mE3c6W3trlJs3hQw==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":411368},"main":"index.js","types":"index.d.ts","gitHead":"7f358ea529e66eea4efad8f245349f97ff4d9e40","private":false,"scripts":{"prepare":"deno task backport"},"_npmUser":{"name":"mkrhere","email":"muthukumar@thefeathers.in"},"repository":{"url":"git+https://github.com/telegraf/types.git","type":"git"},"_npmVersion":"10.8.2","description":"Type declarations for the Telegram API","directories":{},"_nodeVersion":"20.19.4","_hasShrinkwrap":false,"devDependencies":{"deno-bin":"^2.1.6"},"_npmOperationalInternal":{"tmp":"tmp/types_9.0.0_1755159418368_0.5019023461295538","host":"s3://npm-registry-packages-npm-production"}},"9.2.0":{"name":"@telegraf/types","version":"9.2.0","keywords":["telegram","telegraf","bot","api","types","typings"],"author":{"name":"Telegraf contributors"},"license":"MIT","_id":"@telegraf/types@9.2.0","maintainers":[{"name":"telegraf-owner","email":"ejnshtein@dsgstng.com"},{"name":"ejnshtein","email":"ejnshtein@gmail.com"},{"name":"wojpawlik","email":"woj.pawlik@gmail.com"},{"name":"mkrhere","email":"muthukumar@thefeathers.in"}],"homepage":"https://github.com/telegraf/types#readme","bugs":{"url":"https://github.com/telegraf/types/issues"},"dist":{"shasum":"c3b544bff788ce61a22771e4b4210943f8338b2d","tarball":"https://registry.npmjs.org/@telegraf/types/-/types-9.2.0.tgz","fileCount":15,"integrity":"sha512-Ohg7/u9elDx2J4u6pXsLO4uhvfOVGMx1FcURwvR1nE0AyDhWgmPzLd4R7fQtpI/h20zrtKTulLWorOv/w0fH/Q==","signatures":[{"sig":"MEUCIQCF49EABzap12Xz+L57ir1fORiCuXwK6osDTHnWvKFhAgIgd3kiSEdOm46ASlYgFv8tGF43GHq8x+wQnTuL6GsMwV0=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":436662},"main":"index.js","types":"index.d.ts","gitHead":"53eceabaf2d2865d4731e7bf4120505f4d2561de","private":false,"scripts":{"prepare":"deno task backport"},"_npmUser":{"name":"mkrhere","email":"muthukumar@thefeathers.in"},"repository":{"url":"git+https://github.com/telegraf/types.git","type":"git"},"_npmVersion":"10.8.2","description":"Type declarations for the Telegram API","directories":{},"_nodeVersion":"20.19.5","_hasShrinkwrap":false,"devDependencies":{"deno-bin":"^2.1.6"},"_npmOperationalInternal":{"tmp":"tmp/types_9.2.0_1758469259927_0.9606829399303509","host":"s3://npm-registry-packages-npm-production"}},"9.2.1":{"name":"@telegraf/types","version":"9.2.1","keywords":["telegram","telegraf","bot","api","types","typings"],"author":{"name":"Telegraf contributors"},"license":"MIT","_id":"@telegraf/types@9.2.1","maintainers":[{"name":"telegraf-owner","email":"ejnshtein@dsgstng.com"},{"name":"ejnshtein","email":"ejnshtein@gmail.com"},{"name":"wojpawlik","email":"woj.pawlik@gmail.com"},{"name":"mkrhere","email":"muthukumar@thefeathers.in"}],"homepage":"https://github.com/telegraf/types#readme","bugs":{"url":"https://github.com/telegraf/types/issues"},"dist":{"shasum":"8ddf618f76009f63d1cad0b81b80bd2d22942a97","tarball":"https://registry.npmjs.org/@telegraf/types/-/types-9.2.1.tgz","fileCount":15,"integrity":"sha512-GUL3imlzu78NXZc05eVI6r45VMmYET2Xww+Cfjt+RCKYy1O9jO3xcZResi62qaGkKo3lIwB4do+aGkivRhOEOA==","signatures":[{"sig":"MEYCIQDfZ6hSJng1Ns1hRNSK/3PB/QGM/da6RFo/6QrXIFXNQAIhAJHYilnSwlrJij/820iRceWNXnXpnSsWRmA8bR6NS6DL","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":436613},"main":"index.js","types":"index.d.ts","gitHead":"8a4006d560a7115eb18157bb8612f1839e2a2970","private":false,"scripts":{"prepare":"deno task backport"},"_npmUser":{"name":"mkrhere","email":"muthukumar@thefeathers.in"},"repository":{"url":"git+https://github.com/telegraf/types.git","type":"git"},"_npmVersion":"10.8.2","description":"Type declarations for the Telegram API","directories":{},"_nodeVersion":"20.19.5","_hasShrinkwrap":false,"devDependencies":{"deno-bin":"^2.1.6"},"_npmOperationalInternal":{"tmp":"tmp/types_9.2.1_1758471109406_0.6018340164577425","host":"s3://npm-registry-packages-npm-production"}},"10.3.0":{"_id":"@telegraf/types@10.3.0","bugs":{"url":"https://github.com/telegraf/types/issues"},"dist":{"shasum":"00fe5a717638bbb1a234ef6428f41afe7d612530","tarball":"https://registry.npmjs.org/@telegraf/types/-/types-10.3.0.tgz","fileCount":16,"integrity":"sha512-/qbuoPJvQP3yXL2RgPVffXlERATchz1R6Lp6/wd7cbgUVHPuHzpHkkbJrblABaghD65qzXfpU6c0sd3JIeq+lA==","signatures":[{"sig":"MEUCIQDMrRJvnToLJZK2lO10O6KSQDED/YhJ8VPIkCfmWnMyJwIgQDhz67DNNfBWDnIkYawx7YfwNNySWOfeQ65EKRMIxmg=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"},{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEQCIAKouGbsrcrxvdMjEYFnm13GHUbG5oyZ26Eak7XDL+YlAiBVvN3GVh2v6TJm61BR1M/yRG/01njaZKacRhnrBRbHyA=="}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@telegraf%2ftypes@10.3.0","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":601596},"main":"index.js","name":"@telegraf/types","types":"index.d.ts","author":{"name":"Telegraf contributors"},"gitHead":"37c32b67aea2cf57e7c5d5bad792cae1fd8b5c9a","license":"MIT","private":false,"scripts":{"dev":"bun run fmt && bun run lint && bun run check","fmt":"oxfmt","lint":"oxlint","test":"tsc -p test/tsconfig.json","build":"tsc -p tsconfig.json","check":"tsc -p tsconfig.json --noEmit","clean":"bun -e \"import{readdirSync,rmSync}from'node:fs';let n=0;for(const f of readdirSync('.'))if(f.endsWith('.d.ts')){rmSync(f);n++}console.log('removed '+n+' .d.ts')\"","prepare":"tsc -p tsconfig.json","fmt:check":"oxfmt --check"},"version":"10.3.0","_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"f701daa5-1914-49f2-80f7-dcddf2fa93ab"}},"homepage":"https://github.com/telegraf/types#readme","keywords":["telegram","telegraf","bot","api","types","typings"],"repository":{"url":"git+https://github.com/telegraf/types.git","type":"git"},"_npmVersion":"11.19.1","description":"Type declarations for the Telegram API","directories":{},"maintainers":[{"name":"mkrhere","email":"muthukumar@thefeathers.in"}],"_nodeVersion":"24.22.2","_hasShrinkwrap":false,"devDependencies":{"oxfmt":"^0.65.0","oxlint":"^1.80.0","typescript":"6.0.3"},"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/types_10.3.0_1794693089704_0.6434440920505148"}}},"time":{"created":"2023-08-03T11:35:26.287Z","modified":"2026-11-14T21:51:30.217Z","6.7.0":"2023-08-03T11:35:26.591Z","6.8.0":"2023-08-27T01:33:20.271Z","6.8.1":"2023-08-27T17:22:33.068Z","6.9.0":"2023-09-22T15:54:57.884Z","6.9.1":"2023-09-22T16:49:16.279Z","7.0.0":"2024-02-08T07:23:36.101Z","7.0.1":"2024-02-11T15:30:51.089Z","7.1.0":"2024-02-19T10:42:21.251Z","8.2.0":"2025-01-21T15:14:49.746Z","8.3.0":"2025-02-13T13:33:44.397Z","8.3.1":"2025-02-19T20:59:46.756Z","9.0.0":"2025-08-14T08:16:58.561Z","9.2.0":"2025-09-21T15:41:00.149Z","9.2.1":"2025-09-21T16:11:49.625Z","10.3.0":"2026-11-14T21:51:29.801Z"},"bugs":{"url":"https://github.com/telegraf/types/issues"},"author":{"name":"Telegraf contributors"},"license":"MIT","homepage":"https://github.com/telegraf/types#readme","keywords":["telegram","telegraf","bot","api","types","typings"],"repository":{"url":"git+https://github.com/telegraf/types.git","type":"git"},"description":"Type declarations for the Telegram API","maintainers":[{"name":"mkrhere","email":"muthukumar@thefeathers.in"}],"readme":"# Types for the Telegram Bot API\n\n[![Bot API Version](https://img.shields.io/badge/Bot%20API-v10.3-f36caf.svg?style=flat-square&logo=Telegram&labelColor=white&color=blue)](https://core.telegram.org/bots/api) [![NPM version](https://img.shields.io/npm/v/@telegraf/types?style=flat-square&logo=npm&labelColor=fff&color=c53635)](https://npmjs.com/package/@telegraf/types)\n\nThis package provides TypeScript types for the whole [Telegram Bot API](https://core.telegram.org/bots/api), maintained for Telegraf.\n\nThe package ships type declarations only.\n\n## Installation\n\n```bash\nnpm install --save-dev @telegraf/types\n```\n\n## Types\n\nTypes from the Bot API documentation are declared under the same name, like `Message`, `User` and `InlineKeyboardMarkup`.\n\nThe documentation sometimes has one name for several shapes: there are many kinds of `Update`, and all of them are called `Update`.\nSuch a type becomes a union of its variants here, so that it narrows as you check it.\nVariants of a type are written in a namespace named after the type, such as `Update.MessageUpdate` and `Message.TextMessage`.\n\n```ts\nimport type { Update } from \"@telegraf/types\";\n\nfunction textOf(update: Update) {\n\tif (\"message\" in update) {\n\t\t// update is Update.MessageUpdate\n\t\tif (\"text\" in update.message) {\n\t\t\t// update.message is Message.TextMessage\n\t\t\treturn update.message.text;\n\t\t}\n\t}\n}\n```\n\nThe types declared this way are `Update`, `Message`, `Chat`, `ChatFullInfo`, `CallbackQuery`, `MessageEntity`, `InlineKeyboardButton`, `KeyboardButton`, `Location`, `ReplyParameters`, `PollMedia`, `InputRichMessage`, `RichMessageButton` and `TransactionPartnerUser`.\n\nIf the documentation describes a union, like `InlineQueryResult`, the type is a union of the documented types.\n\n## Methods\n\n`BotApi` declares all the methods of the Bot API.\nA method takes one object of arguments and returns a `Promise` of its result.\n\n```ts\nimport type { Args, BotApi } from \"@telegraf/types\";\n\ndeclare const api: BotApi<never>;\n\nconst args: Args.SendMessage = { chat_id: 1, text: \"Hello\" };\nconst message = await api.sendMessage({ chat_id: 1, text: \"Hello\" });\n```\n\n- `Args` holds the arguments of each method as an interface: `Args.SendMessage`, `Args.GetChat`.\n- Arguments that depend on each other are checked.\n  An edit names a message in a chat or an inline message, not both and not neither.\n- When the result depends on the arguments, so does its type.\n  Example: `editMessageText` returns the edited message for a message in a chat, and `true` for an inline message.\n- A second, optional argument takes `CallOptions`, which holds an abort signal.\n- `BotApi` is an interface and `Args` a namespace of interfaces. You are able to use [Declaration Merging](https://www.typescriptlang.org/docs/handbook/declaration-merging.html) to add new methods or arguments if we're falling behind.\n\n### Files\n\nThe Bot API takes a file in [three ways](https://core.telegram.org/bots/api#sending-files): `file_id` for files already on Telegram's servers, a URL for Telegram to download it, or a file upload.\nWhat an upload looks like depends on the code that sends it.\n\n`BotApi` therefore takes the type of an upload as its parameter, and passes it to fields that can carry a file upload.\n\n```ts\nimport type { BotApi, InputMediaPhoto } from \"@telegraf/types\";\n\ninterface LocalFile {\n\tpath: string;\n}\n\ndeclare const api: BotApi<LocalFile>;\n\nawait api.sendDocument({ chat_id: 1, document: { path: \"/tmp/file.txt\" } });\nconst photo: InputMediaPhoto<LocalFile> = { type: \"photo\", media: { path: \"/tmp/photo.png\" } };\n```\n\nIf you pass `never` as the parameter, uploads are not accepted; only strings.\nThe types that can carry a file take the same parameter, such as `InputMedia`, `InputSticker` and `InputRichMessage`.\nAll other types are not generic.\n\n### Responses\n\nThe Bot API wraps every result in an object with an `ok` flag.\n`ApiResponse` is that object: `ApiSuccess` with the result, or `ApiError` with a description.\n\n### Deprecated\n\n`ApiMethods`, `Opts` and `Ret` are the older way to reach the methods. They keep working until Telegraf's next major version.\nThey are less strict, and do not check arguments that depend on each other: each method takes one object, and every argument that's conditionally accepted is optional.\n\nUse `BotApi`, `Args.<Method>` and `Awaited<ReturnType<BotApi<F>[M]>>` instead. They model the API's behaviour more accurately, restricting types based on the documentation. For instance, `editMessageText` can send text or rich text at a time, but not both (the deprecated types allow sending both at once).\n\n## Compatibility\n\nThis package is versioned after the Bot API: 10.3.x of `@telegraf/types` types Bot API 10.3.\n\n### Correctness\n\nThe Bot API documentation decides what a type is.\nWhenever it states a rule in the text, such as \"required if `inline_message_id` is not specified\", our types enforce the rule if TypeScript can express it.\nA rule that can only be enforced by breaking correct code usually waits for a breaking release.\n\nA type that disagrees with the documentation is a bug.\nIt can be corrected in any release, patch, minor, or major.\nCode that relied on the mistake will stop compiling, so the bug can be fixed in user code.\n\n### Deprecations\n\n- A renamed type keeps its old name as a deprecated alias.\n  Example: `type PrivateGetChat = ChatFullInfo.PrivateChat`.\n- A field the Bot API renames or removes is renamed or removed.\n  The old field is not necessarily kept. This may cause new compile errors so users can fix their code, but runtime is unaffected.\n- A deprecated name stays until the next breaking release (see below).\n\n### Breaking changes\n\nBreaking changes beyond the above correctness criteria are made only when Telegraf needs it in a new major version (example: v4 to v6).\nIt also waits for a new major version of the Bot API.\nRemoving a deprecated type or method is one such change.\n\nEvery other release adds to the types, follows a change in the Bot API, or corrects a type.\n\n## Development\n\nThe sources are TypeScript, built with `tsc`.\n[Bun](https://bun.sh) installs the dependencies and runs the scripts.\n\n```bash\nbun install\nbun run dev     # format, lint and type-check\nbun run test    # the type tests in test/\nbun run build   # emit the declaration files\n```\n\n`types.ts` holds all the type declarations in the same order as the Bot API documentation.\nThe other files re-export from it, one per subpath, such as `@telegraf/types/message`.\nThis is for backwards compatibility, and will be broken when Telegraf and types release a new major version.\nIf you depend on this package directly, start using `@telegraf/types` directly now.\n\n## Origin\n\nThe types are written by hand and checked against the Bot API documentation.\n\n[Typegram](https://github.com/KnorpelSenf/typegram) was originally created by [@KnorpelSenf](https://github.com/KnorpelSenf), a former Telegraf contributor, and Telegraf depended on it.\nTypegram was used as the starting point of grammY's [types](https://github.com/grammyjs/types) package.\n`@telegraf/types` was forked from Typegram for Telegraf to maintain its own types independently.\nIt is now updated from the Bot API directly.\n","readmeFilename":"README.md"}