> For the complete documentation index, see [llms.txt](https://help.bots.business/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://help.bots.business/bjs-reference.md).

# BJS reference

- [Coding with BJS](https://help.bots.business/bjs-reference/bjs.md): Write Bots.Business commands with BJS, understand execution and callbacks, and choose the right API for messages, data, and integrations.
- [Context and variables](https://help.bots.business/bjs-reference/context.md): Understand BJS user and chat IDs, Telegram request data, command parameters, callback options, and contexts without a current user.
- [Bot methods](https://help.bots.business/bjs-reference/bot.md): Reference for BJS Bot methods including sending and editing messages, keyboards, command calls, scheduling, properties, caching, chat blocking, and Git operations.
- [User and bot properties](https://help.bots.business/bjs-reference/user-properties.md): Save and read BJS properties with User.setProp, Bot.setProp, getProp, and deleteProp; understand automatic types, scope, and persistence.
- [Telegram API with Api](https://help.bots.business/bjs-reference/telegram-api.md): Call Telegram Bot API methods from BJS, handle on\_result and on\_error callbacks, retain message IDs, and build reply markup correctly.
- [HTTP requests](https://help.bots.business/bjs-reference/http.md): Make BJS HTTP GET and POST requests, process success and error commands, parse JSON safely, and understand supported methods and redirects.
- [Create an Admin Panel with BJS](https://help.bots.business/bjs-reference/admin-panel.md): Create a Bots.Business Admin Panel with BJS, preserve saved values, read fields with getFieldValue or getPanelValues, and run a command after saving.
- [BBAdmin account operations](https://help.bots.business/bjs-reference/bb-admin.md): Understand BBAdmin account and bot-installation methods, their access restrictions, and how they differ from editable Admin Panels.
- [Lists](https://help.bots.business/bjs-reference/lists.md): Create BJS lists of properties or users, read pages of results, recount totals, and understand removal, membership, and migration behavior.
- [Scheduling and command hooks](https://help.bots.business/bjs-reference/background.md): Schedule and cancel delayed BJS commands, configure periodic Auto Retry with an explicit Telegram destination, and understand before/after command hooks.
- [BJS broadcasts with Bot.runAll](https://help.bots.business/bjs-reference/broadcasts.md): Create BJS broadcasts with Bot.runAll, choose eligible chat types, handle task creation, and avoid recursive or unsupported broadcast actions.
- [Web App](https://help.bots.business/bjs-reference/web-app.md): Return JSON from BJS with WebApp, generate endpoint URLs, understand the current HTML restriction, and validate public request data.
- [Inline buttons and inline mode](https://help.bots.business/bjs-reference/inline.md): Build BJS inline keyboards, handle callback-query data, and answer Telegram inline searches through the special /inlineQuery command.
- [Caching commands](https://help.bots.business/bjs-reference/caching.md): Cache stable BJS command actions with Bot.setCache or User.setCache, invalidate changed content, and avoid sharing private or state-changing responses.
- [BJS security and safe command design](https://help.bots.business/bjs-reference/security.md): Protect BJS commands and credentials, validate user input, understand sandbox limits, and avoid trusting buttons, web parameters, or unsafe cached actions.
- [BJS errors and debugging](https://help.bots.business/bjs-reference/errors.md): Diagnose BJS errors by command and context, fix common callback and method mistakes, and customize the private-chat error response with the ! command.
