MRIYU Father — create bots in chat
How to create a bot, get a token and set up its profile with commands in a chat with @mriyu_father.
MRIYU Father (@mriyu_father) is the official bot that creates other bots and sets them up right in a chat. You can do the same in the developer cabinet, but chat is faster: the bot asks questions and you answer with ordinary messages.
Creating a bot
- Open
mriyu.com/mriyu_fatherand tap "Start". - Send
/newbot. - Send the bot's name — what people will see.
- Send the username — Latin letters, digits and
_, and it must end withbot(for exampleweather_bot). If it's taken, Father will tell you. - You get a token for the Bot API.
The token is the bot's password. Don't show it to anyone or put it in code other people can see.
Next, see the Bot API for what to do with the token. If your bot already exists on Telegram, see Bots like on Telegram.
Commands
| Command | What it does |
|---|---|
/newbot |
create a bot |
/mybots |
list your bots |
/token |
issue a new token — the old one stops working at once (asks to confirm) |
/setname |
change the name |
/setdescription |
description on the bot's page ("What can this bot do?") |
/setabouttext |
short description |
/setcommands |
list of commands, one per line: start - Start |
/setuserpic |
avatar — send a photo |
/setinline |
turn on inline mode "@bot query" and the input hint; - turns it off |
/setjoingroups |
allow adding the bot to groups |
/setprivacy |
see all messages in groups, not just commands and mentions |
/deletebot |
delete the bot (asks to confirm) |
/cancel |
cancel the current action |
For commands about a specific bot, Father first asks which of your bots you mean.
Good to know
- You can have up to 20 bots per account.
- Father and the developer cabinet do the same things, so changes show up in both places.
- If the token ends up in the wrong hands, use
/token: the old one stops working immediately. - Mini Apps are available only to bots owned by site administrators.