Custom Telegram Bot for Document Modification

Замовник: AI | Опубліковано: 05.12.2025

• Build a Telegram bot from scratch • Bot must show a list of documents I pre-upload and let me choose which one to modify • After selecting a document, the bot must ask for the fields to replace (name, salary, dates, etc.) • Bot must modify the document automatically and return the updated file • Must support editable Word documents (DOCX) and non-editable images/PDFs • For images/PDFs with fixed text, bot must detect text via OCR, remove it, and replace it with new values • Bot must also generate business/ID cards: I upload a base card image + user photo + fields (name, address, DOB). Bot inserts everything onto the template and exports a clean final image • For templates that already have text/photos, bot must overwrite or remove existing elements and replace them cleanly • Must include image processing (background cleanup, inpainting, text placement) • Technologies expected: Python, python-telegram-bot, python-docx, OCR (Tesseract), Pillow or similar for image editing • Simple, clean user flow inside Telegram: – Choose template – Provide fields – Bot returns final modified file • Bot must run on my server or a simple hosting environment • Full source code + installation instructions required