Skip to content

Commit 702267a

Browse files
committed
doc(api): MessageReceipt 说明完善
1 parent 3427481 commit 702267a

File tree

2 files changed

+25
-2
lines changed

2 files changed

+25
-2
lines changed

.changelog/v3.0.0-M4.md

+22
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
<details>
2+
<summary><b>仓库参考</b></summary>
3+
4+
| **模块** | **search.maven** |
5+
|---------|------------------|
6+
| simbot-logger | [v3.0.0-M4](https://search.maven.org/artifact/love.forte.simbot/simbot-logger/3.0.0-M4/jar) |
7+
| simbot-logger-jvm | [v3.0.0-M4](https://search.maven.org/artifact/love.forte.simbot/simbot-logger-jvm/3.0.0-M4/jar) |
8+
| simbot-logger-js | [v3.0.0-M4](https://search.maven.org/artifact/love.forte.simbot/simbot-logger-js/3.0.0-M4/jar) |
9+
| simbot-api | [v3.0.0-M4](https://search.maven.org/artifact/love.forte.simbot/simbot-api/3.0.0-M4/jar) |
10+
| simbot-core | [v3.0.0-M4](https://search.maven.org/artifact/love.forte.simbot/simbot-core/3.0.0-M4/jar) |
11+
| simboot-api | [v3.0.0-M4](https://search.maven.org/artifact/love.forte.simbot.boot/simboot-api/3.0.0-M4/jar) |
12+
| simboot-core | [v3.0.0-M4](https://search.maven.org/artifact/love.forte.simbot.boot/simboot-core/3.0.0-M4/jar) |
13+
| simboot-core-annotation | [v3.0.0-M4](https://search.maven.org/artifact/love.forte.simbot.boot/simboot-core-annotation/3.0.0-M4/jar) |
14+
| simboot-core-spring-boot-starter | [v3.0.0-M4](https://search.maven.org/artifact/love.forte.simbot.boot/simboot-core-spring-boot-starter/3.0.0-M4/jar) |
15+
16+
</details>
17+
18+
## 不兼容
19+
本次更新中存在**不兼容**更新(主要来自 [#513](https://github.com/simple-robot/simpler-robot/pull/513)[#516](https://github.com/simple-robot/simpler-robot/pull/516)),
20+
其中 [#513](https://github.com/simple-robot/simpler-robot/pull/513) 可能主要影响普通开发者,
21+
[#516](https://github.com/simple-robot/simpler-robot/pull/516) 则可能会主要影响组件实现的兼容。
22+

simbot-apis/simbot-api/src/main/kotlin/love/forte/simbot/message/MessageReceipt.kt

+3-2
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ public sealed class StandardMessageReceipt : MessageReceipt
6868
/**
6969
* 明确代表为一个或零个(发送失败时)具体消息的消息回执,可以作为 [AggregatedMessageReceipt] 的元素进行聚合。
7070
*
71-
* @see MessageReceipt
71+
* @see StandardMessageReceipt
7272
* @see AggregatedMessageReceipt
7373
*/
7474
public abstract class SingleMessageReceipt : IDContainer, StandardMessageReceipt() {
@@ -87,8 +87,9 @@ public abstract class SingleMessageReceipt : IDContainer, StandardMessageReceipt
8787
/**
8888
* 聚合消息回执,代表多个 [SingleMessageReceipt] 的聚合体。
8989
*
90-
* @see MessageReceipt
90+
* @see StandardMessageReceipt
9191
* @see SingleMessageReceipt
92+
* @see aggregation
9293
*/
9394
public abstract class AggregatedMessageReceipt : StandardMessageReceipt(), Iterable<SingleMessageReceipt> {
9495

0 commit comments

Comments
 (0)