WeixinCredentials
public record WeixinCredentials(String botToken)
源码Source
io/agentscope/extensions/channel/weixin/WeixinCredentials.java:21–34承载 Weixin 凭证数据的记录类型。位于 io.agentscope.extensions.channel.weixin 包。核心成员包括 botToken、toString、WeixinCredentials。
Credentials issued by iLink for one authorized Personal Weixin account.
记录组件摘要Record Component Summary
| 组件Component | 类型Type | 说明Description |
|---|---|---|
botToken | String | 执行 `botToken` 方法。 Performs the bot token operation. |
构造器摘要Constructor Summary
| 构造器Constructor | 说明Description |
|---|---|
public WeixinCredentials(String botToken) | 初始化 `WeixinCredentials` 实例。 Creates a new instance. |
方法摘要Method Summary
| 方法Method | 说明Description |
|---|---|
public String toString() | 返回 `toString` 结果。 Returns the to string. |
记录组件详情Record Component Detail
botToken
String botToken执行 botToken 方法。
Performs the bot token operation.
源码Source
io/agentscope/extensions/channel/weixin/WeixinCredentials.java:21–34构造器详情Constructor Detail
WeixinCredentials
public WeixinCredentials(String botToken)
初始化 WeixinCredentials 实例。
Creates a new instance.
参数Parameters
| 名称Name | 类型Type | 说明Description |
|---|---|---|
botToken | String | bot 令牌(类型 `String`)。The bot token. |
源码Source
io/agentscope/extensions/channel/weixin/WeixinCredentials.java:23–28方法详情Method Detail
toString
public String toString()
返回 toString 结果。
Returns the to string.
String返回字符串结果。Returns a string.
源码Source
io/agentscope/extensions/channel/weixin/WeixinCredentials.java:30–33