How do you create your own Telegram bot?
Create your bot in tiaki and confirm it in Telegram. Then manage its profile, access and customer messages in tiaki.
On this page
As an owner or administrator, first link your personal Telegram account under Workspace → Accounts → Telegram. Have the HTTPS link to your company’s privacy policy ready.
- Select Create your own bot. Edit the suggested display name and bot username if needed.
- The username must have 5–32 characters (a–z, 0–9 or underscore) and end in
bot. Enter your privacy policy link. - Choose Service (open to everyone) or Internal (initially only your linked Telegram account).
- Submit the form, select Open Telegram and confirm the names and bot in Telegram. If the username is taken, change it there.
- The request lasts 15 minutes. The waiting page refreshes automatically; you can also select View status.
- When @… is ready appears, share the link or QR code. You do not need to copy a token.
You remain the bot’s owner. tiaki sets its profile and the commands /start, /mensch, /stop and /hilfe in your workspace language. Set the profile picture with @BotFather using /setuserpic.
Without a valid request, tiaki asks whether the bot belongs to this workspace. Open Assign, complete the form and confirm. If the same Telegram account has several open requests, the newest unexpired one applies.
After a token change, tiaki attempts to renew access. An ownership change or missing access sets the bot to Disconnected. Restart an expired request if needed; a new bot is only created when you confirm in Telegram.
Connect an existing Telegram bot.
Mode and access
Open Mode and access for your bot. Service is the default and accepts messages from everyone. Internal allows only approved accounts. Enter one numeric Telegram ID per line, or @Name for an account already linked to this workspace. Delete a line to remove access, then confirm Save. Unknown or ambiguous names are rejected.
Managed bots always allow their owner and up to ten other people; Telegram also enforces the restriction. For token bots, tiaki checks the list (up to 100 people). Unapproved senders receive a fixed rejection in a supported Telegram language. Their messages, names and media are not saved or sent to the inbox or AI. The list survives token replacement. Queued messages are checked again before processing. If saving fails, review the displayed list and try again.
Messages with the service bot
Private messages to your bot appear in the inbox. Existing Telegram contacts are reused by their fixed Telegram ID, including after merging contacts. AI follows the profile’s reply mode: off, suggestion or automatic. The first AI reply includes an AI disclosure. /mensch, requests for a person and emergencies hand the conversation to your team. You can take over in the inbox and reply privately.
?start=flyer records the first valid source on the conversation. Allowed characters are a–z, 0–9, underscore and hyphen, up to 64 characters. This value grants no permissions and is never used as an AI instruction. Mark the conversation as Spam to block further messages from this sender to this bot. Removing the spam status lets the person write again.
/stop permanently ends messages and processing for this chat, including pending replies. No confirmation is sent. Another /start or enabling AI does not remove the stop. Each minute, up to 20 messages per sender and bot and 300 in total per bot are accepted; /stop still works when a limit is reached. The bot never contacts anyone first.
Edit the bot profile
Under Workspace → Accounts → Telegram, open Bot profile for your bot. Owners and administrators can change its display name, description, greeting and languages. The @name stays the same. At least one language and an HTTPS link to your company’s privacy policy are required. Your own texts are used unchanged in all selected languages; tiaki translates commands and standard notices. An empty description or greeting uses a translated default.
Confirm Save. tiaki reports success only after Telegram confirms the changes. If an error occurs, your entries remain visible; save again to reconcile partially applied changes. Removed language versions are cleared on Telegram. Set the profile picture with /setuserpic in @BotFather.
After /start, the bot sends your greeting and always adds the AI notice, tiaki as the technical service provider and your privacy policy link. These notices cannot be removed. The person’s Telegram language is used if selected; otherwise the bot profile’s default language applies. The reply appears in the inbox and does not require AI automation to be enabled. /stop remains effective and /start does not undo it. For a bot set up earlier, save its profile once to authorize the greeting. Names, texts and languages survive token replacement.
Connect a channel with your bot
Open Workspace → Accounts → Telegram and choose Add channel on your active bot. Owners and administrators need a linked Telegram account. Open Telegram using the displayed link, select your channel and confirm the administrator permissions. The link opens your own bot. The process lasts ten minutes and is tied to this bot, your account and this workspace. If no matching process exists or it has expired, confirm the assignment in tiaki. Unlinked accounts and channels already assigned elsewhere are rejected. Missing permissions appear next to the channel. Each channel counts as an additional profile alongside the bot. Disconnecting only the channel leaves your service bot in place.
Disconnect the bot
Open Workspace → Accounts → Telegram and choose Disconnect for your bot. Confirm the prompt and, if requested, sign in again. tiaki immediately stops processing, deletes the webhook and removes the credentials from its vault; the bot remains yours on Telegram. Its connected channels are disconnected too. If this fails, cleanup stays queued and is retried automatically. Blocking or deleting the workspace also disconnects all its bots. If Telegram bans your bot, no replacement is created automatically: clarify the reason for the ban first.
If creating your bot fails
- Creating a bot is currently unavailable on Telegram. Create your bot with @BotFather, then select Connect an existing bot. @BotFather → tiaki.
- If the bot username is already taken, Telegram suggests another one. Confirm the right username directly in Telegram.
- The process is valid for 15 minutes. After expiry, automatic waiting stops. Before restarting, check the bot card and any workspace assignment questions. If the bot is already ready, you do not need a new one.
Share your bot
Share the link from the bot card on your website or in your bio. Use the QR code on flyers or business cards. Each bot counts as one profile.
AI knowledge
AI uses approved knowledge and this conversation’s history. Internal notes, other conversations and data from other workspaces are excluded from its context.
Delete the bot in Telegram
To delete the bot entirely from Telegram, open @BotFather and send /deletebot. Select your bot and confirm deletion there.
Related articles
- How do you connect an existing Telegram bot?Connect your existing bot using its token. tiaki checks access and asks before replacing another application.
- How do you connect Telegram channels and groups to tiaki?Link your Telegram account using a QR code or link and confirm Start. Then add your channel or group and choose what to do next.