包package
io.agentscope.extensions.channel.commonio.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. |