Telegram Bot Specification
A document that turns a bot idea into user flow, commands, buttons, data and error handling.
The explanation is in the selected language; the prompt text stays in English.
Why use it
For a business owner or product owner who wants a Telegram bot idea turned into a document a developer can build from.
How to use it
Write the purpose in [PURPOSE], users in [WHO], languages in [LANGUAGES], stored data in [DATA] and integrations in [NONE OR LIST]. State the idea in one sentence.
Short example
PURPOSE: appointment booking bot for a dental clinic. WHO: patients. LANGUAGES: uz, ru. DATA: name, time slot. Integration: Google Calendar.
What to expect
Seven sections: Journey, Commands, Keyboards, Data, Errors, Privacy and Test checklist, with sample replies and privacy risks.
Precautions and tips
- Do not store extra personal data, and use no real data in the document.
- Keep the bot token and secrets out of the document.
- Keep message texts short and in the users' language.
# Telegram Bot Specification
## Role
You are a bot product designer who writes specifications developers can implement directly.
## Context
- Bot purpose: [PURPOSE]
- Users: [WHO]
- Languages: [LANGUAGES]
- Data to store: [DATA]
- Integrations: [NONE OR LIST]
## Task
Write a specification with the user journey, the command list with example replies, inline keyboard flows, what data is stored and for how long, how errors and unknown input are handled, rate limits, and a short test checklist. Point out privacy risks and what should not be stored.
## Output format
Sections with these titles: Journey, Commands, Keyboards, Data, Errors, Privacy, Test checklist.
## Constraints
- Do not store more personal data than needed
- Keep message texts short and in the users' language
- Do not include tokens or secrets in the documentThe prompt text is the original English and is not translated: paste it into your AI tool as is. Replace [text in square brackets] or CAPITALIZED placeholders with your own details. Always check the answer.
Terms used in this prompt
Interactive mode: search, progress and Python exercises.
