The assistant finds the project and Telegram session, creates a bot through BotFather or connects an existing one, then tests one command.
Check readiness through a real bot reply and saved settings. Full guide: Build a Telegram bot for your task.
Prompt for Codex or Work:
Find the current project and an available session of my Telegram account. Check for an existing suitable bot. If a new one is needed, create it yourself through BotFather using my account: propose a name, check username availability and perform the available actions. Connect the bot to the project, store the token in settings without displaying it in chat and check the connection. Request my action only for sign-in you cannot perform or mandatory confirmation, explain why and then continue. Find my account and private chat and restrict commands to them. Implement the agreed task and test it on sample data, then send a test command yourself through the available Telegram session and check the reply.