Skip to main content
In a mention_only group, tapping Reply on the bot’s own message counts as addressing it β€” the follow-up is answered without re-typing @bot. The β€œaha” scenario β€” Alice in a Telegram group set to group_policy: mention_only:
Before this change the follow-up was silently dropped because there was no @planning_bot in the text. Now the natural β€œreply to the bot” continues the conversation.

Quick Start

1

Default: reply-to-bot just works

Set group_policy: mention_only β€” a reply to the bot is admitted with no extra config.
2

Enable quote as an implicit mention

Add quote when you also want a quoted/forwarded bot message to count.
3

Disable implicit mentions (strict @-only)

An empty list requires a literal @bot on every message.

How It Works

The adapter reports how the bot was addressed as structured facts; the admission primitive admits the message when an enabled implicit signal is present. An explicit @bot always counts. Each implicit signal counts only when its name is listed in implicit_mentions.

Configuration Options

Bot Gateway

Where implicit_mentions lives in gateway.yaml, alongside group_policy

Supported Signals per Platform

Reply-to-bot detection is wired on Telegram today. The MentionFacts shape exists in core for every adapter, but only Telegram reports reply_to_bot in this release.
Enabling implicit_mentions: ["reply", "quote"] on an adapter that doesn’t report those signals has no effect β€” the adapter simply never sets the fact.

Common Patterns

Natural follow-up (default). A reply to the bot continues the conversation without @bot.
Answer anywhere in this thread. Treat any message in a bot thread as addressing the bot.
Audit-only channel (strict @). Require a literal @bot every time.

Best Practices

A reply to the bot matches what users expect and does not widen the gate β€” the sender is still checked against allowed_users / allowlist first.
A quote can be a share of an old bot message the user never meant to re-invoke. Turn on quote only when you want shares to count.
thread is only useful on platforms with real threads (Telegram forum topics, Slack threads). Wire it only when the adapter reliably reports thread membership.
implicit_mentions: [] combined with an empty allowed_users is the strictest noise setting, but it adds no security on top of an allow-list β€” it only affects which messages the bot answers, not who is allowed.

Bot Gateway

Where implicit_mentions and group_policy live in YAML

Observe Mode

The same reply-to-bot rule applies under observe

Bot Security & DM Policy

The mention gate is not an authentication gate

Bot Platform Plugins

How adapters compute MentionFacts for the admission primitive