refactor: move telegram timing helpers onto runtime-env

This commit is contained in:
Peter Steinberger
2026-03-28 02:43:00 +00:00
parent 71f37a59ca
commit b171e42117
5 changed files with 11 additions and 6 deletions

View File

@@ -1,9 +1,9 @@
import path from "node:path";
import { GrammyError } from "grammy";
import { retryAsync } from "openclaw/plugin-sdk/infra-runtime";
import { fetchRemoteMedia } from "openclaw/plugin-sdk/media-runtime";
import { saveMediaBuffer } from "openclaw/plugin-sdk/media-runtime";
import { logVerbose, warn } from "openclaw/plugin-sdk/runtime-env";
import { retryAsync } from "openclaw/plugin-sdk/runtime-env";
import { formatErrorMessage } from "openclaw/plugin-sdk/ssrf-runtime";
import {
resolveTelegramApiBase,