BotDistrikt Documentation
  • 🟢Introduction
    • 👋Hello World
    • 🚀Quick Start
    • 🛠️Setup your Account
      • Register for BotDistrikt
      • Forgot Password
      • Chatbots Dashboard
      • Edit Profile
  • 📱Channels
    • Channels Overview
    • Website Chat
      • Website Chat Quick Start
      • Guest Users
    • Facebook Messenger
      • Import Existing Users
      • Facebook Chat Plugin
      • Facebook Checkbox Plugin
      • Facebook Private Replies
      • Facebook Ads Manager
    • Instagram
      • Import Existing Users
      • Instagram Story Mentions
    • Twitter
    • Skype
    • WhatsApp
      • Twilio WhatsApp Integration
    • Telegram
      • Telegram Commands
      • Telegram Groups
      • Telegram Channels
    • SMS
    • Google Assistant
    • WeChat
    • Other Channels
  • 🏆Features
    • Personality
    • Dashboard
    • Forms
    • Rules
      • Conditions
        • Message
        • User Attribute
    • Stories
      • Update Greeting and Fallback from Personality
    • Responses
      • Text
      • Cards
      • Images
      • Videos
      • Audios
      • Documents
      • Webhooks
      • Javascript Functions
    • Sources
      • Websites
      • Documents
      • Google Docs
      • Google Sheets
    • Users
      • Edit Users
      • Delete Users
      • Dear User
    • Inbox
      • Console
      • Messages
      • Reactions
      • Ratings
      • Clicks
      • Broadcast Records
      • Wrong Responses
    • Broadcasts
    • Settings
      • Tags
      • Audit Logs
      • Account
  • ⚙️How BotDistrikt Works
    • Interaction
    • Flow
    • Context
    • Engagement
    • Optimization
    • Artificial Intelligence
  • 🧠Artificial Intelligence
    • OpenAI
    • Vertex AI
    • Wit.ai
    • Dialogflow
      • Connecting to Dialogflow
      • Small Talk Module
        • Importing Responses
      • Multilanguage Support
  • 🧰Business Tools Integrations
    • Webhook
    • Zendesk
    • Chatbase
    • Google Docs
    • Google Sheets
    • Salesforce
  • API Reference
Powered by GitBook
On this page
  • /start command
  • Custom commands

Was this helpful?

  1. Channels
  2. Telegram

Telegram Commands

PreviousTelegramNextTelegram Groups

Last updated 10 months ago

Was this helpful?

Telegram Bots have a special version of a persistent menu called commands. Commands allow your users to trigger specific stories from your bot.

/start command

When a user clicks into the your bot on Telegram for the first time, they are presented with the bot's description and a START button.

Clicking the START button is equivalent to typing /start to your bot. Therefore, when your user clicks the Start button, the first message they will see that got sent to the bot was the /start command itself like this

Therefore, /start is a default command in every BotDistrikt bot. When the TELEGRAM group of rules is created after linking your bot to Telegram, you will also see a rule automatically generated like this

This rule just checks if a sent a User sent a message with the text /start to the bot, and if so, triggers the bot's default greeting story.

Custom commands

Telegram bots are known well to work with slash commands like /start. On BotDistrikt, you may add your own commands and descriptions. Here is an example of how it can be used

The platform then identifies the Linked Story, based on which rule is selected as the Passing Rule for each command.

A good practice is to create a New Rule for each command in the generated TELEGRAM group, and the story you want to trigger for it like this

From the example above, we create a new rule for each of the /about, /settings, and /feedback commands.

📱
The START button
becomes the "/start" command
Telegram /start command's rule
Create Telegram Rule