Files
goclaw/internal/channels/telegram/constants.go
T
Viet Tran f3f4c67b36 Initial commit: GoClaw AI agent gateway
Multi-agent AI gateway with WebSocket RPC, HTTP API, and messaging channel integrations.
Go port of OpenClaw with multi-tenant PostgreSQL, per-user isolation, security hardening,
and production observability.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-22 14:58:07 +07:00

16 lines
460 B
Go

package telegram
import "time"
const (
// telegramMaxMessageLen is the safe limit for Telegram messages.
// Telegram's hard limit is 4096, but we use 4000 for safety (matching TS textChunkLimit).
telegramMaxMessageLen = 4000
// telegramCaptionMaxLen is the max length for media captions.
telegramCaptionMaxLen = 1024
// pairingReplyDebounce is the minimum interval between pairing replies to the same user.
pairingReplyDebounce = 60 * time.Second
)