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
  • Added to a group
  • Member joins the group
  • Member leaves the group
  • New group with bot
  • Reply to message

Was this helpful?

  1. Channels
  2. Telegram

Telegram Groups

PreviousTelegram CommandsNextTelegram Channels

Last updated 10 months ago

Was this helpful?

Bots can work in Telegram group chats. In group chats, a bot responds when:

  • It is added to a group

  • A member joins the group

  • A member leaves the group

  • A new group is created with the bot as a member

  • A member replies to a bot message

You may use bots to manage your groups and communities, play games, and share information amongst all the members of a group easily with scheduled or recurring Broadcasts.

A group is represented as a single User on BotDistrikt, no matter how many members are in it. Groups can be identified with the word (Group) in their names, and User Type group in their profiles.

Added to a group

When you add the bot to a group, a postback event is triggered. To make the bot respond to this event, you must add a rule with the following condition

Context

Property

Function

Value

message

postback

equals

botAdded

If the above rule is not added, the bot will respond with its default fallback story

Member joins the group

When a new member joins a group the bot is in, a postback event is triggered. To make the bot respond to this event, you must add a rule with the following condition

Context

Property

Function

Value

message

postback

equals

memberAdded

If the above rule is not added, the bot will respond with its default fallback story

Member leaves the group

When a member leaves a group the bot is in, a postback event is triggered. To make the bot respond to this event, you must add a rule with the following condition

Context

Property

Function

Value

message

postback

equals

memberRemoved

If the above rule is not added, the bot will respond with its default fallback story

New group with bot

When a new group is created with the bot as a member, a postback event is triggered. To make the bot respond to this event, you must add a rule with the following condition

Context

Property

Function

Value

message

postback

equals

groupChatCreated

If the above rule is not added, the bot will respond with its default fallback story

Reply to message

Inside a group, a Telegram bot only responds when one of its previous messages is Replied to

Tagging a bot by its username will not make the bot respond. Its message must be Replied to

When a bot provides quick replies in a group, clicking on a quick reply automatically "Replies to" the bot, thus making it easier to chat with in groups

Location quick replies do not work in groups

📱
(Group) in a user's name shows that this user is a group
User Type group shows that this user is a group
The bot only responds to "Replied to" messages