Cordice Developers Open Cordice
Getting started

Creating a bot

Bots are made in the app, the way BotFather makes them in Telegram.

  1. In Cordice, open Settings → My bots (Настройки → Мои боты).
  2. Choose Create a bot (Создать бота), give it a name and a username.
  3. Copy the token. It looks like Telegram’s: the bot’s ID, a colon, and 43 characters.
1234567890123456789:AAE7x2Qe9mZr4tP1kLwYs8vB3nF6hJ0cDuG5aXo
Keep the token secret. Anyone holding it can act as your bot. If it leaks, issue a new one in the same place — the old one stops working at once. Cordice stores only a hash of it.

Setting it up

Configure (Настроить) in the same list sets the bot’s name, description, commands, menu button and webhook — or do it from code with the profile methods. Deleting the bot there removes it for everyone.

Talking to it

Open a chat with the bot by its username, or share crdc.xyz/<username>. People see an empty chat with your description and a Start button, which sends /start. Add the bot to a group from the group’s member list.