import { $t as AcpSessionUpdateTag, Bt as AcpRuntimeCapabilities, Ht as AcpRuntimeEnsureInput, Ut as AcpRuntimeEvent, Vt as AcpRuntimeDoctorReport, Wt as AcpRuntimeHandle, Xt as AcpRuntimeTurnInput, i as OpenClawConfig, qt as AcpRuntimeStatus, zt as AcpRuntime } from "../../types.openclaw-DrqwJL_y.js";
import { n as normalizeAccountId, t as DEFAULT_ACCOUNT_ID } from "../../account-id-Dh6XMgGH.js";
import { S as readStringParam, b as readStringArrayParam, m as jsonResult, v as readNumberParam, x as readStringOrNumberParam, y as readReactionParams } from "../../common-BDN0bXby.js";
import { a as resolvePollMaxSelections } from "../../polls-CfHkU59X.js";
import { y as ChannelMessageActionAdapter } from "../../types.core-DfA8RueP.js";
import { et as OpenClawPluginService, gt as PluginLogger, tt as OpenClawPluginServiceContext, w as OpenClawPluginApi } from "../../types-DRSJeM-F2.js";
import { n as ChannelPlugin } from "../../types.public-7jt5jasi.js";
import { n as PluginRuntime } from "../../types-CrgfHJNT.js";
import { o as AcpRuntimeError, s as AcpRuntimeErrorCode } from "../../registry-gvjhnPU9.js";
import { r as emptyPluginConfigSchema } from "../../config-schema-Cq6kwdML.js";
import { r as buildChannelConfigSchema } from "../../config-schema-Dx48Ud8L.js";
import { t as clearAccountEntryFields } from "../../config-helpers-B6PNdUFW.js";
import { n as formatPairingApproveHint } from "../../helpers-yWvFHC7e.js";
import { t as PAIRING_APPROVED_MESSAGE } from "../../pairing-message-AZcwFUZz.js";
import { n as resolveConfiguredFromCredentialStatuses, t as projectCredentialSnapshotFields } from "../../channel-status-CkZA7o2B.js";
import { o as buildTokenChannelStatusSummary } from "../../status-helpers-B6eBOi6-.js";
import { c as TelegramConfigSchema } from "../../bundled-channel-config-schema-CBNQHiED.js";
import { t as getChatChannelMeta } from "../../channel-plugin-common-Bb2YJQmS.js";
import { r as makeProxyFetch } from "../../proxy-fetch-9Z9a0YvK.js";
import { a as editMessageReplyMarkupTelegram, c as reactMessageTelegram, d as sendPollTelegram, f as sendStickerTelegram, i as editForumTopicTelegram, l as renameForumTopicTelegram, m as unpinMessageTelegram, n as createForumTopicTelegram, o as editMessageTelegram, p as sendTypingTelegram, r as deleteMessageTelegram, s as pinMessageTelegram, t as TelegramApiOverride, u as sendMessageTelegram } from "../../send-h_I7cPl2.js";
import { _ as buildTelegramExecApprovalPendingPayload, c as telegramMessageActions, i as resolveTelegramPollVisibility, n as TelegramActionConfig, o as parseTelegramTopicConversation, r as TelegramNetworkConfig, s as monitorTelegramProvider, t as TelegramAccountConfig, v as shouldSuppressTelegramExecApprovalForwardingFallback, y as resolveTelegramRuntimeGroupPolicy } from "../../runtime-api-Bb0NFdDV.js";
import { r as probeTelegram, t as TelegramProbe } from "../../probe-do15BrFa.js";
import { n as collectTelegramUnmentionedGroupIds, t as auditTelegramGroupMembership } from "../../audit-DSGOgsM0.js";
import { t as setTelegramRuntime } from "../../runtime-BKQ-PK1D.js";
import { i as shouldRetryTelegramTransportFallback, n as resolveTelegramFetch, r as resolveTelegramTransport } from "../../fetch-DNGRXljf.js";
import { a as setTelegramThreadBindingMaxAgeBySessionKey, i as setTelegramThreadBindingIdleTimeoutBySessionKey, n as getTelegramThreadBindingManager, r as resetTelegramThreadBindingsForTests, t as createTelegramThreadBindingManager } from "../../thread-bindings-DVwxb8_I.js";
import { n as resolveTelegramToken } from "../../token-DAjjlWiU.js";
export { type AcpRuntime, type AcpRuntimeCapabilities, type AcpRuntimeDoctorReport, type AcpRuntimeEnsureInput, AcpRuntimeError, type AcpRuntimeErrorCode, type AcpRuntimeEvent, type AcpRuntimeHandle, type AcpRuntimeStatus, type AcpRuntimeTurnInput, type AcpSessionUpdateTag, type ChannelMessageActionAdapter, type ChannelPlugin, DEFAULT_ACCOUNT_ID, type OpenClawConfig, type OpenClawPluginApi, type OpenClawPluginService, type OpenClawPluginServiceContext, PAIRING_APPROVED_MESSAGE, type PluginLogger, type PluginRuntime, TelegramAccountConfig, TelegramActionConfig, type TelegramApiOverride, TelegramConfigSchema, TelegramNetworkConfig, type TelegramProbe, auditTelegramGroupMembership, buildChannelConfigSchema, buildTelegramExecApprovalPendingPayload, buildTokenChannelStatusSummary, clearAccountEntryFields, collectTelegramUnmentionedGroupIds, createForumTopicTelegram, createTelegramThreadBindingManager, deleteMessageTelegram, editForumTopicTelegram, editMessageReplyMarkupTelegram, editMessageTelegram, emptyPluginConfigSchema, formatPairingApproveHint, getChatChannelMeta, getTelegramThreadBindingManager, jsonResult, makeProxyFetch, monitorTelegramProvider, normalizeAccountId, parseTelegramTopicConversation, pinMessageTelegram, probeTelegram, projectCredentialSnapshotFields, reactMessageTelegram, readNumberParam, readReactionParams, readStringArrayParam, readStringOrNumberParam, readStringParam, renameForumTopicTelegram, resetTelegramThreadBindingsForTests, resolveConfiguredFromCredentialStatuses, resolvePollMaxSelections, resolveTelegramFetch, resolveTelegramPollVisibility, resolveTelegramRuntimeGroupPolicy, resolveTelegramToken, resolveTelegramTransport, sendMessageTelegram, sendPollTelegram, sendStickerTelegram, sendTypingTelegram, setTelegramRuntime, setTelegramThreadBindingIdleTimeoutBySessionKey, setTelegramThreadBindingMaxAgeBySessionKey, shouldRetryTelegramTransportFallback, shouldSuppressTelegramExecApprovalForwardingFallback, telegramMessageActions, unpinMessageTelegram };