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-D3K58V3f.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-D64QB0gm.js";
import { $ as OpenClawPluginService, C as OpenClawPluginApi, et as OpenClawPluginServiceContext, ht as PluginLogger } from "../../types-DyAUiEmh2.js";
import { n as ChannelPlugin } from "../../types.public-CtOoKAFQ.js";
import { n as PluginRuntime } from "../../types-DScm2TfQ.js";
import { o as AcpRuntimeError, s as AcpRuntimeErrorCode } from "../../registry-BGLLW5Qn.js";
import { r as emptyPluginConfigSchema } from "../../config-schema-CDpG651G.js";
import { r as buildChannelConfigSchema } from "../../config-schema-Dx48Ud8L.js";
import { t as clearAccountEntryFields } from "../../config-helpers-DQH7c-tf.js";
import { n as formatPairingApproveHint } from "../../helpers-Ce48tA1d.js";
import { t as PAIRING_APPROVED_MESSAGE } from "../../pairing-message-AZcwFUZz.js";
import { n as resolveConfiguredFromCredentialStatuses, t as projectCredentialSnapshotFields } from "../../channel-status-B4jgdDhr.js";
import { o as buildTokenChannelStatusSummary } from "../../status-helpers-DLAyWj7X.js";
import { c as TelegramConfigSchema } from "../../bundled-channel-config-schema-4eXcH-RE.js";
import { t as getChatChannelMeta } from "../../channel-plugin-common-D6fW8gdZ.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-DHICICWW.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-5Jlf4OQw.js";
import { r as probeTelegram, t as TelegramProbe } from "../../probe-Dh7w938v.js";
import { n as collectTelegramUnmentionedGroupIds, t as auditTelegramGroupMembership } from "../../audit-DAm3l1E9.js";
import { t as setTelegramRuntime } from "../../runtime-Lk0nQUjn.js";
import { i as shouldRetryTelegramTransportFallback, n as resolveTelegramFetch, r as resolveTelegramTransport } from "../../fetch-bI19k1Gs.js";
import { a as setTelegramThreadBindingMaxAgeBySessionKey, i as setTelegramThreadBindingIdleTimeoutBySessionKey, n as getTelegramThreadBindingManager, r as resetTelegramThreadBindingsForTests, t as createTelegramThreadBindingManager } from "../../thread-bindings-B8rrM0mV.js";
import { n as resolveTelegramToken } from "../../token-BV4sTMuk.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 };