AS AgentScopeAPI 手册 / API Reference

WeixinInboxMessage

public record WeixinInboxMessage(String messageId, String payload)
源码Source io/agentscope/extensions/channel/weixin/WeixinInboxMessage.java:21–32

承载 Weixin 收件箱消息数据的记录类型。位于 io.agentscope.extensions.channel.weixin 包。核心成员包括 messageId、payload、toString、WeixinInboxMessage。

Provider message to be accepted atomically with the next cursor.

记录组件摘要Record Component Summary

组件Component类型Type说明Description
messageIdString
执行消息标识相关操作。
Performs the message id operation.
payloadString
执行负载相关操作。
Performs the payload operation.

构造器摘要Constructor Summary

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

方法摘要Method Summary

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

记录组件详情Record Component Detail

messageId

String messageId

执行消息标识相关操作。

Performs the message id operation.

源码Source io/agentscope/extensions/channel/weixin/WeixinInboxMessage.java:21–32

payload

String payload

执行负载相关操作。

Performs the payload operation.

源码Source io/agentscope/extensions/channel/weixin/WeixinInboxMessage.java:21–32

构造器详情Constructor Detail

WeixinInboxMessage

public WeixinInboxMessage(String messageId, String payload)

初始化 WeixinInboxMessage 实例。

Creates a new instance.

参数Parameters
名称Name类型Type说明Description
messageIdString消息标识(类型 `String`)。The message id.
payloadString负载(类型 `String`)。The payload.
源码Source io/agentscope/extensions/channel/weixin/WeixinInboxMessage.java:22–26

方法详情Method Detail

toString

public String toString()

返回 toString 结果。

Returns the to string.

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