AS AgentScopeAPI 手册 / API Reference

WeixinLoginSession

public record WeixinLoginSession(String qrcode, String pollingBaseUrl)
源码Source io/agentscope/extensions/channel/weixin/WeixinLoginSession.java:21–39

承载 Weixin Login 会话数据的记录类型。位于 io.agentscope.extensions.channel.weixin 包。核心成员包括 qrcode、pollingBaseUrl、toString、WeixinLoginSession。

Portable iLink QR-login state required to perform the next polling operation.

记录组件摘要Record Component Summary

组件Component类型Type说明Description
qrcodeString
执行 `qrcode` 方法。
Performs the qrcode operation.
pollingBaseUrlString
执行 `pollingBaseUrl` 方法。
Performs the polling base url operation.

构造器摘要Constructor Summary

构造器Constructor说明Description
public WeixinLoginSession(String qrcode, String pollingBaseUrl)
初始化 `WeixinLoginSession` 实例。
Creates a new instance.

方法摘要Method Summary

方法Method说明Description
public String toString()
返回 `toString` 结果。
Returns the to string.

记录组件详情Record Component Detail

qrcode

String qrcode

执行 qrcode 方法。

Performs the qrcode operation.

源码Source io/agentscope/extensions/channel/weixin/WeixinLoginSession.java:21–39

pollingBaseUrl

String pollingBaseUrl

执行 pollingBaseUrl 方法。

Performs the polling base url operation.

源码Source io/agentscope/extensions/channel/weixin/WeixinLoginSession.java:21–39

构造器详情Constructor Detail

WeixinLoginSession

public WeixinLoginSession(String qrcode, String pollingBaseUrl)

初始化 WeixinLoginSession 实例。

Creates a new instance.

参数Parameters
名称Name类型Type说明Description
qrcodeStringqrcode(类型 `String`)。The qrcode.
pollingBaseUrlStringpolling 基类 URL(类型 `String`)。The polling base url.
源码Source io/agentscope/extensions/channel/weixin/WeixinLoginSession.java:23–29

方法详情Method Detail

toString

public String toString()

返回 toString 结果。

Returns the to string.

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