AS AgentScopeAPI 手册 / API Reference

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
botTokenString
执行 `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
botTokenStringbot 令牌(类型 `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.

返回Returns String
返回字符串结果。Returns a string.
源码Source io/agentscope/extensions/channel/weixin/WeixinCredentials.java:30–33
基于官方固定版本源码静态生成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.