{"repo":"JosXa/tgintegration","free":true,"listed":false,"github":"https://github.com/JosXa/tgintegration","clone":"git clone https://github.com/JosXa/tgintegration.git","description":"TypeScript integration test and automation library for Telegram bots based on mtcute.","language":"Python","stars":125,"topics":["telegram","integration","bots","mtcute","testing","bun","deno","nodejs","typescript"],"license":null,"category":"chat-messaging","readme_excerpt":"tgintegration [!IMPORTANT] I'm in the process of rewriting this project from Python to TypeScript. It is not published on any registry yet, and NOT READY FOR USE . An integration test and automation library for Telegram Bots based on mtcute. Written in TypeScript. Test your bot in realtime scenarios! Are you a user of tgintegration? I'm actively looking for feedback and ways to improve the library, come and let me know in the official group! Features • Prerequisites • Installation • Quick Start Guide • Test Frameworks - 📖 Documentation - 👥 Telegram Chat - 📄 Free software: MIT License Features - 👤 Log into a Telegram user account and interact with bots or other users - ✅ Write realtime integration tests to ensure that your bot works as expected! ▶️ Bun Test examples - ⚡️ Automate any interaction on Telegram! ▶️ Automatically play @IdleTownBot More examples - 🛡 Fully typed - 🚀 Runtime agnostic - Works with Bun, Node.js, and Deno - 📦 ES modules only - Modern ESM JavaScript ecosystem - 🧪 Built with high test coverage and modern tooling Prerequisites - A Telegram API key. - A signed in mtcute Telegram Client - Node.js 18+ , Bun 1.0+ , or Deno 1.40+ - TypeScript 5.0+ (recommended) Installation Bun Node.js Deno JSR (Universal) Quick Start Guide You can follow along by running the example (README) Setup Suppose we want to write integration tests for @BotListBot by sending it a couple of messages and checking that it responds the way it should. After configuring an mtcute user","default_branch":null,"files":null,"tree":[],"storefront":"/r/JosXa","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/JosXa/tgintegration/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}