Documentation
Learning Centre

Master Telegram Bot App with comprehensive guides, tutorials, and documentation

Quick Links

Bot Commands and Group Interaction Features

Introduction

Beyond automated content moderation, Telegram Bot App provides interactive features that enhance member onboarding, facilitate rule communication, and improve group accessibility through bot commands and automated messaging systems. These user-facing features transform the bot from a silent enforcement mechanism into an active participant that welcomes new members, responds to information requests, and maintains community atmosphere through intelligent message management.

The command and interaction system includes customizable welcome messages that greet new members with community-specific information, auto-generated or custom group rules accessible via the /rules command, the /link command for sharing group invite links, automatic system message cleanup that removes join/leave notifications, and bot muting capabilities for administrators who want enforcement without visible bot presence. Each feature can be independently enabled or disabled, allowing administrators to create precisely the interaction pattern their community needs.

These features let administrators use the bot for more than enforcement—handling member onboarding, rules access, and routine housekeeping that would otherwise fall to a human moderator.

Welcome Messages and New Member Greetings

How Welcome Messages Work

When a new member joins a group with welcome messages enabled, the bot automatically posts a greeting message to the chat that can be customized to include community-specific information, rules summaries, helpful links, or any text the administrators want new members to see immediately upon joining. This automated onboarding creates consistent first impressions and ensures every new member receives essential information without requiring manual administrator greetings.

The welcome message system employs intelligent batching that combines multiple new members joining within a short time period (5-second window) into a single greeting message. If five users join within seconds of each other, the greeting mentions all five users in one message rather than posting five separate greetings. This batching prevents greeting spam during mass-join events while still ensuring every new member is welcomed.

The bot automatically cleans up previous greeting messages when posting new ones, preventing accumulation of multiple greetings in the chat. When a new member joins and triggers a greeting, the bot deletes the previous greeting (if one exists and is recent) before posting the new one. This cleanup maintains chat cleanliness while ensuring the most recent greeting is always visible.

Configuring Welcome Messages

To enable and customize welcome messages:

  1. Navigate to your group's Settings tab
  2. Select "Messages & Greetings" sub-tab
  3. Enable the "Enable greeting" toggle
  4. Enter your custom greeting text in the "Greeting text" textarea
  5. Use placeholders for dynamic content (if supported)

The greeting text supports basic formatting through Telegram's markdown syntax:

  • *bold text* for bold
  • _italic text_ for italic
  • [link text](https://url.com) for links

Example greeting:

Welcome to our community! đź‘‹

Please read our /rules and introduce yourself.

For questions, contact @adminhandle

Changes save automatically—the next member who joins will receive the updated greeting.

Best Practices for Welcome Messages

Keep It Concise:

  • New members are overwhelmed with information upon joining
  • Limit welcome messages to 2-3 short paragraphs maximum
  • Link to detailed rules rather than including full rule text in greeting

Include Essential Information:

  • How to access full rules (/rules command)
  • Primary communication guidelines (language, topic focus)
  • Contact information for administrators
  • Any immediate action required (read rules, introduce yourself)

Avoid Information Overload:

  • Don't include detailed feature lists or lengthy explanations
  • Save detailed onboarding for pinned messages or separate documentation
  • Focus on immediate needs: where to find rules, how to get help

Update Regularly:

  • Review greeting text quarterly to ensure it remains relevant
  • Update links if they change
  • Adjust tone and content as community culture evolves

Test Your Greeting:

  • Have a friend join temporarily to see what the greeting looks like
  • Verify formatting renders correctly
  • Confirm links work and placeholders populate properly

When to Disable Welcome Messages

Consider disabling welcome messages for:

  • Very high-traffic groups where constant joining creates greeting spam
  • Invitation-only groups where administrators manually approve and greet members
  • Groups with custom bot already handling greetings
  • Groups preferring silent onboarding where new members observe before being acknowledged

Disabling greetings doesn't affect any moderation features—the bot continues enforcement even when not posting welcome messages.

Group Rules System

Auto-Generated Rules

The bot can automatically generate group rules based on your configured moderation settings, creating a rules message that accurately reflects what behavior the bot enforces. When "Auto-generate rules" is enabled, the bot examines all your active moderation settings and constructs a rules text that explains each enforced restriction.

Example auto-generated rules:

Group Rules:

âś“ NSFW content is not allowed (pornographic, sexual, racy content will be removed)
âś“ Toxic language, insults, and threats are not allowed
âś“ Spam and promotional content are not allowed
âś“ Video files are not allowed in this group
âś“ Forwarded messages are not allowed
âś“ Invite links to other groups/channels are not allowed
âś“ All messages must be in English

Violations result in temporary restrictions. Repeated violations result in longer restrictions or removal.

For questions, contact group administrators.

Auto-generated rules automatically update when you change moderation settings—if you enable video blocking, the rules automatically add "Video files are not allowed." This dynamic generation ensures rules always match actual enforcement.

Custom Rules

Alternatively, administrators can write custom rules text that provides more nuanced guidance, community-specific expectations, or additional context beyond simple enforcement statements. Custom rules override auto-generated content, giving complete control over rules presentation.

When to use custom rules:

  • Your community has cultural expectations beyond enforced rules
  • You want to explain why rules exist, not just what they are
  • Auto-generated rules don't capture your community's tone
  • You have rules the bot can't enforce (e.g., "Stay on topic," "Be helpful")

When to use auto-generated rules:

  • You want rules that automatically stay synchronized with settings
  • Your community primarily cares about enforced restrictions
  • You prefer consistent, objective rule presentation
  • You want to minimize administrative maintenance

The /rules Command

When the group rules feature is enabled, members can type /rules in the chat to receive the rules message (either auto-generated or custom). This on-demand access allows members to review rules anytime without scrolling through chat history or asking administrators.

The bot responds to /rules with a message visible only to the user who requested it (if Telegram's bot API supports private responses) or posts the rules publicly (if private responses aren't available). This prevents rules from spamming chat while ensuring accessibility.

To enable the /rules command:

  1. Navigate to Settings > Messages & Greetings
  2. Enable "Enable group rules" toggle
  3. Either enable "Auto-generate rules" or enter custom rules text
  4. Members can now use /rules in chat

Integration with Welcome Messages

Welcome messages commonly reference the /rules command, creating a two-tier onboarding system:

Tier 1 (Welcome Message): Brief greeting with instruction to read rules Tier 2 (/rules Command): Detailed rules accessible on-demand

This separation prevents overwhelming new members with rules text immediately upon joining while ensuring rules are easily accessible when needed.

Example coordinated messaging:

Welcome Message:
"Welcome! Please read our /rules and introduce yourself."

Rules Text (via /rules):
[Detailed community guidelines]

The /link Command

Sharing Group Invite Links

The /link command allows members to request the group's invite link directly through the bot, providing an alternative to asking administrators or searching group descriptions for the link. When enabled, any member can type /link in chat to receive the group's invitation link for sharing with others.

To enable the /link command:

  1. Navigate to Settings > Messages & Greetings
  2. Ensure your group has an invite link configured (visible in Info tab)
  3. Enable "Enable /link command" toggle
  4. Members can now use /link to retrieve the invitation link

The bot responds with the configured invite link, typically in a format like:

Group Invite Link:
https://t.me/joinchat/XXXXXXXXXXXXX

Share this link to invite others to our community.

When to Enable /link

Good use cases:

  • Public communities where members frequently invite others
  • Groups that encourage growth through member referrals
  • Communities where administrators want to empower members to share access
  • Groups with frequently rotating invite links (easier than updating everywhere)

Reasons to disable /link:

  • Invitation-only groups where invite links should be private
  • Groups where uncontrolled invitation created problems
  • Communities using application processes rather than open joining
  • Groups where administrators want to control invitation distribution

Security Considerations

Enabling /link gives all members the ability to retrieve and share the invite link. This is appropriate for open communities but might be problematic for:

  • Semi-private groups where administrators vet new members
  • Groups with invitation quotas or limited size
  • Communities where selective invitation is part of exclusivity value
  • Groups facing raid/spam attacks through uncontrolled link sharing

Evaluate whether your community benefits from member-accessible invite links before enabling this feature.

System Message Management

Understanding System Messages

Telegram automatically generates system messages for various group events:

  • "User joined the group"
  • "User left the group"
  • "User was removed by Admin"
  • "User added User2"
  • "Group photo changed"
  • "Group title changed"

These system messages provide event visibility but can clutter chat in high-activity groups where members frequently join/leave. Large groups might accumulate dozens of join/leave messages per day that push actual conversation out of view.

Automatic System Message Deletion

When "Delete system messages" is enabled, the bot automatically removes Telegram's system messages (join/leave notifications, group changes, etc.) within seconds of their appearance. This automatic cleanup maintains clean chat without administrators manually deleting system messages.

To enable system message cleanup:

  1. Navigate to Settings > Messages & Greetings
  2. Enable "Delete system messages" toggle
  3. System messages are now automatically removed

The bot's own messages (welcome greetings, rule responses) are NOT deleted by this feature—only Telegram's built-in system notifications.

Benefits and Tradeoffs

Benefits:

  • Cleaner chat focused on actual conversations
  • Reduced notification spam in high-traffic groups
  • More professional appearance for business/professional groups
  • Easier to follow conversation threads without interruptions

Tradeoffs:

  • Loss of join/leave transparency (can't see who joined/left)
  • Potential confusion if members don't realize others joined
  • Admin accountability for removals less visible

Most professional and high-traffic groups benefit from system message cleanup, while small social groups might prefer keeping the visibility.

Compatibility with Welcome Messages

System message cleanup and welcome messages work well together:

  1. User joins → Telegram posts system message "User joined"
  2. Bot posts welcome greeting mentioning the user
  3. Bot deletes Telegram's system message
  4. Result: Welcome greeting visible, system message removed

This combination provides informative custom greeting while eliminating redundant system notification.

Bot Muting

Silent Enforcement Mode

The "Mute bot" setting prevents the bot from posting any messages to the chat while maintaining all moderation enforcement. When muted, the bot continues detecting violations, restricting violators, and enforcing rules—it simply doesn't post visible messages about these actions.

To enable bot muting:

  1. Navigate to Settings > Messages & Greetings
  2. Enable "Mute bot" toggle
  3. Bot continues enforcement but stops posting messages

What continues working when bot is muted:

  • Violation detection (NSFW, sentiment, spam, etc.)
  • Automatic restrictions and punishments
  • Message deletion for violations
  • AI spam intelligence kicks
  • All statistics and logging

What stops when bot is muted:

  • Welcome messages
  • Responses to /rules and /link commands
  • Any bot-generated notifications or reports

Use Cases for Muted Enforcement

Groups preferring invisible moderation:

  • Members don't see enforcement actions, only notice violating content disappears
  • Creates impression of perfectly behaved community rather than heavily moderated one
  • Reduces questions about why content was removed

Testing and calibration:

  • Enable moderation features without announcing bot presence
  • Observe violation detection without alerting members
  • Calibrate thresholds quietly before publicizing bot usage

Backup enforcement:

  • Run bot as silent backup to manual moderation
  • Catch violations human moderators miss
  • Provide secondary enforcement layer without bot dominance

Minimalist communities:

  • Groups valuing clean, distraction-free chat
  • Communities where bot messages feel intrusive
  • Groups where administrators prefer minimal bot presence

Limitations of Muted Mode

Members won't have access to:

  • Welcome greetings explaining community norms
  • On-demand rules via /rules
  • Invite link access via /link

If these features are important for your community, keep bot unmuted and consider disabling individual features you don't want rather than muting entirely.

Best Practices for Interactive Features

Coordinated Feature Configuration

Plan how features work together:

Community-Building Configuration:

  • Enable welcome messages with friendly greeting
  • Enable /rules with auto-generated rules
  • Enable /link to encourage growth
  • Keep system messages (show community activity)
  • Don't mute bot (maintain visible interaction)

Professional/Clean Configuration:

  • Enable concise welcome message with essentials only
  • Enable /rules with custom professional rules
  • Disable /link (controlled invitation)
  • Enable system message deletion
  • Consider muting bot for silent enforcement

Minimalist Configuration:

  • Disable welcome messages
  • Disable /rules (use pinned message instead)
  • Disable /link
  • Enable system message deletion
  • Mute bot completely

Choose configuration that matches your community's character.

Regular Content Review

Review interactive content quarterly:

  • Read your welcome message—is it still relevant?
  • Check rules text—does it match current enforcement?
  • Verify /link returns correct invitation link
  • Ensure tone matches current community culture

Stale interactive content creates confusion and reflects poorly on administration.

Member Education

Include information about bot commands in:

  • Group description
  • Pinned messages
  • New member orientation
  • Regular announcements

Members can't use /rules or /link if they don't know these commands exist.

Troubleshooting

"Welcome messages not posting"

Causes: Feature disabled, bot permissions insufficient, message triggering filters

Solution: Verify "Enable greeting" is toggled on. Ensure bot has permission to post messages. Check if greeting text itself might trigger your own moderation rules (e.g., contains words in badwords filter).

"/rules command not responding"

Causes: Feature disabled, rules text empty, bot muted

Solution: Verify "Enable group rules" is enabled. Ensure either auto-generate is enabled or custom rules text is entered. If bot is muted, commands won't respond—unmute bot to restore command functionality.

"System messages not being deleted"

Causes: Feature disabled, bot permissions insufficient, not actually system messages

Solution: Verify "Delete system messages" is enabled. Ensure bot has administrator rights with delete messages permission. Verify the messages you want deleted are actually Telegram system messages (not bot messages or member messages).

"Bot posting too many messages"

Causes: Welcome messages + high join rate, bot not muted but should be

Solution: Consider disabling welcome messages in very high-traffic groups. Enable bot muting if you want enforcement without visible bot presence. Use system message cleanup to reduce overall message volume.

Conclusion

Bot commands and interaction features transform Telegram Bot App from pure enforcement tool into comprehensive community management system that enhances member experience, automates repetitive administrative tasks, and maintains professional group atmosphere. By carefully configuring welcome messages, rules access, invite link sharing, system message cleanup, and bot visibility, administrators create precisely the interaction pattern their community needs—from highly interactive community-building configuration to completely silent background enforcement.

Together these features reduce repetitive admin work: new members get consistent onboarding through welcome messages, community expectations stay accessible through /rules, invite-link sharing is handled by /link, and system-message cleanup keeps the chat readable—while automated moderation continues in the background. Configure them from the dashboard to match how interactive or hands-off you want the bot to be.

Written by the Telegram Bot App team · Last updated June 2026

Related Articles

Block Telegram Porn Bots: NSFW Content Filter Guide

Stop porn bots and adult content in your Telegram group. Complete guide to NSFW filtering, adult content detection, and protecting your community from inappropriate images.

Sentiment Analysis and Toxicity Detection

Automatic detection of toxic behavior, profanity, insults, and threats

AI Spam Intelligence and User Risk Assessment

Automated behavioral analysis and intelligent spam prevention with risk scoring

Telegram Bot App

AI-powered group moderation

© 2026 Telegram Bot App. All rights reserved.