openclaw - 💡(How to fix) Fix Usage footer not appended to Telegram forum-topic visible replies sent via message tool [3 pull requests]

Official PRs (…)
ON THIS PAGE

Recommended Tools

×6

Utilities matched from this issue’s tags and category — try them while you read without losing context.

GitHub issue graph ai analysis

Paste a GitHub issue URL. We fetch that issue, discover linked issues from bodies/comments/timeline, collect linked pull requests, and produce a structured English report.

The report is written in English Markdown for sharing and archival.

Helpful · Quick feedback

Loading…

In a Telegram forum-topic group chat using messages.groupChat.visibleReplies = "message_tool", visible replies sent through the message tool do not appear to receive the configured usage footer.

This is separate from ordinary message delivery: the visible reply is delivered to the topic correctly, but the usage footer is missing.

Error Message

  1. In a Telegram forum topic, user asks the agent to reply visibly.
  2. Agent replies using the required message tool.
  3. The message is delivered visibly in the topic.
  4. No usage footer is appended to the visible message.
  5. The next inbound message context also shows the previous assistant message without any footer.

Root Cause

For group chats using visibleReplies = "message_tool", normal final assistant text is private/suppressed by design, so the message tool is the required visible output path.

If usage footers only attach to the suppressed/private final and not to the visible message tool output, then group/forum users cannot see usage/cost/model metadata even when the footer is enabled.

Fix Action

Fixed

Code Example

{
  "messages": {
    "groupChat": {
      "visibleReplies": "message_tool"
    }
  }
}

---

Usage footer: full.
RAW_BUFFERClick to expand / collapse

Summary

In a Telegram forum-topic group chat using messages.groupChat.visibleReplies = "message_tool", visible replies sent through the message tool do not appear to receive the configured usage footer.

This is separate from ordinary message delivery: the visible reply is delivered to the topic correctly, but the usage footer is missing.

Environment

  • OpenClaw: 2026.5.12 (f066dd2)
  • Channel: Telegram
  • Group type: Telegram supergroup with forum topics enabled
  • Reply mode: group visible replies require the message tool

Relevant config:

{
  "messages": {
    "groupChat": {
      "visibleReplies": "message_tool"
    }
  }
}

Runtime/user-facing status also indicated:

Usage footer: full.

Observed behavior

  1. In a Telegram forum topic, user asks the agent to reply visibly.
  2. Agent replies using the required message tool.
  3. The message is delivered visibly in the topic.
  4. No usage footer is appended to the visible message.
  5. The next inbound message context also shows the previous assistant message without any footer.

Example visible reply content was delivered normally, but no footer appeared underneath it.

Expected behavior

If usage footer is enabled/full, visible replies delivered through the message tool should either:

  1. receive the same usage footer post-processing as normal channel replies, or
  2. documentation/config should clearly state that usage footers are only appended to final assistant replies and are not appended to explicit message tool sends.

Why this matters

For group chats using visibleReplies = "message_tool", normal final assistant text is private/suppressed by design, so the message tool is the required visible output path.

If usage footers only attach to the suppressed/private final and not to the visible message tool output, then group/forum users cannot see usage/cost/model metadata even when the footer is enabled.

Related issues / PRs

This appears related to the visibleReplies = "message_tool" behavior and prior Telegram/footer work, but I did not find an exact open issue for this shape.

Related:

  • #65477
  • #17832
  • #17411
  • #77320
  • #82609
  • #77137

Vote matrix · Quick signals

Works
Did the solution work? Tap to confirm.
Easy Fix
Was it a quick fix?
Time Saver
Did it save you time?
Blocking
Was it severely blocking?
Common Issue
Are others likely hitting this too?
Flaky / Intermittent
Is it intermittent?
Verified / Reproducible
Can you reproduce it reliably?
Loading…

FAQ

Expected behavior

If usage footer is enabled/full, visible replies delivered through the message tool should either:

  1. receive the same usage footer post-processing as normal channel replies, or
  2. documentation/config should clearly state that usage footers are only appended to final assistant replies and are not appended to explicit message tool sends.

Still need to ship something?

×6

Another batch ranked right after the header list — different links, same matching logic.

Back to top recommendations

TRENDING

openclaw - 💡(How to fix) Fix Usage footer not appended to Telegram forum-topic visible replies sent via message tool [3 pull requests]