AS AgentScopeAPI 手册 / API Reference
类class agentscope.app.channel

ChannelTypeSchema

class ChannelTypeSchema(BaseModel)
源码Source agentscope/app/channel/_registry.py:22–38

渠道类型模式,把智能体接入外部消息渠道与企业平台。位于 agentscope.app.channel 包。

Generated from a channel class. credentials_schema / config_schema are JSON Schemas the frontend renders as forms.

属性摘要Attribute Summary

属性Attribute类型Type说明Description值Value
channel_typestr
渠道类型字段。
—
display_namestr
展示名称字段。
—
descriptionstr
`description` 字段。
''
icon_urlstr
`icon_url` 字段。
''
credentials_schemadict
凭证模式字段。
—
config_schemadict
配置模式字段。
—
platform_bot_id_fieldstr
`platform_bot_id_field` 字段。
—
supports_credential_bindingbool
支持凭证绑定字段。
False

属性详情Attribute Detail

channel_type

str

渠道类型字段。声明为 str。

The channel type field.

源码Source agentscope/app/channel/_registry.py:29

display_name

str

展示名称字段。声明为 str。

The display name field.

源码Source agentscope/app/channel/_registry.py:30

description

str = ''

description 字段。声明为 str。

The description field.

源码Source agentscope/app/channel/_registry.py:31

icon_url

str = ''

icon_url 字段。声明为 str。

The icon url field.

源码Source agentscope/app/channel/_registry.py:32

credentials_schema

dict

凭证模式字段。声明为 dict。

The credentials schema field.

源码Source agentscope/app/channel/_registry.py:33

config_schema

dict

配置模式字段。声明为 dict。

The config schema field.

源码Source agentscope/app/channel/_registry.py:34

platform_bot_id_field

str

platform_bot_id_field 字段。声明为 str。

The platform bot id field field.

源码Source agentscope/app/channel/_registry.py:35

supports_credential_binding

bool = False

支持凭证绑定字段。声明为 bool。

The supports credential binding field.

源码Source agentscope/app/channel/_registry.py:36
基于官方固定版本源码静态生成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.