Skip to content

Telegram typingMode: 'never' not working - sendChatAction 401 errors persist #48943

Description

@PiiSmith

Bug Report

OpenClaw Version: Latest (installed via npm)
Environment: Ubuntu Linux, Node v24.13.0
Channel: Telegram

Problem

The configuration for Telegram is not working. Despite setting this option, OpenClaw continues to send requests, resulting in persistent 401 errors in the logs.

Configuration

Error Logs

The system shows 266+ errors with 401 failures. The code appears to be duplicated across 7 different files in the dist/ directory, with 163 occurrences of in the codebase.

Analysis

  1. Code duplication: logic appears in 7 different compiled JS files
  2. Config override not respected: should disable all typing indicators but doesn't
  3. Error persistence: Despite config, the system continues to attempt calls

Impact

  • Harmless log spam (266+ errors and counting)
  • No functional impact - OpenClaw works normally otherwise
  • But configuration option is effectively broken

Expected Behavior

When is set, OpenClaw should NOT send any requests to Telegram API.

Workarounds Attempted

  1. Multiple config variations
  2. Code analysis shows the issue is in the compiled distribution files
  3. The bug appears to be in how the typing mode configuration is handled across multiple code paths

Additional Context

This appears to be a regression or configuration handling bug where the setting isn't properly propagated to all call sites.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    Priority

    None yet

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions