AS AgentScopeAPI 手册 / API Reference
包package io.agentscope.extensions.channel.common

io.agentscope.extensions.channel.common

package io.agentscope.extensions.channel.common

io.agentscope.extensions.channel.common 属于渠道与平台集成,把智能体接入企业消息生态。 该包共收录 7 个公开类型。

io.agentscope.extensions.channel.common belongs to the Channels & integrations layer and contains 7 public types.

接口Interfaces

类型Type种类Kind说明Description
AccessTokenStore接口interface
定义访问令牌存储契约的接口。
Caches the platform access token of one channel credential.
InboundEventDeduplicator接口interface
定义入站事件 Deduplicator契约的接口。
Deduplicates inbound platform events across redeliveries.

类Classes

类型Type种类Kind说明Description
BotLoopGuard类class
Bot 循环守卫,把智能体接入外部消息渠道与企业平台。
Per-peer sliding-window throttle for inbound channel events.
ChannelMediaMetadata类class
渠道 Media 元数据,把智能体接入外部消息渠道与企业平台。
Metadata key contract for inbound media (image / audio / video / file) messages surfaced by channel inbound mappers.
IdempotencyStore类class
Idempotency 存储,负责持久化与读取数据。
Bounded in-process implementation of `InboundEventDeduplicator`.
InMemoryAccessTokenStore类class
In 记忆访问令牌存储,负责持久化与读取数据。
In-process `AccessTokenStore` holding a single token entry.

记录Records

类型Type种类Kind说明Description
CachedAccessToken记录record
承载已缓存访问令牌数据的记录类型。
A platform access token together with the refresh deadline chosen by the provider that fetched it.
基于官方固定版本源码静态生成Generated from pinned official sources · Python 2.0.11 · Java 2.0.4
签名与文档为静态抽取;如有疑问请以源码为准。Signatures and docs are extracted statically; verify against the source when in doubt.