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 |
|---|---|---|
messageId | String | 执行消息标识相关操作。 Performs the message id operation. |
payload | String | 执行负载相关操作。 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–32payload
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 |
|---|---|---|
messageId | String | 消息标识(类型 `String`)。The message id. |
payload | String | 负载(类型 `String`)。The payload. |
源码Source
io/agentscope/extensions/channel/weixin/WeixinInboxMessage.java:22–26方法详情Method Detail
toString
public String toString()
返回 toString 结果。
Returns the to string.
String返回字符串结果。Returns a string.
源码Source
io/agentscope/extensions/channel/weixin/WeixinInboxMessage.java:28–31