mirror of
https://github.com/mamoe/mirai.git
synced 2025-01-23 14:20:24 +08:00
Http api rename MessageSourceDTO.uid
to MessageSourceDTO.id
This commit is contained in:
parent
b92956f112
commit
06c69ad6cc
@ -430,13 +430,13 @@ Content-Type:multipart/form-data
|
|||||||
```json5
|
```json5
|
||||||
{
|
{
|
||||||
"type": "Source",
|
"type": "Source",
|
||||||
"uid": 123456
|
"id": 123456
|
||||||
}
|
}
|
||||||
```
|
```
|
||||||
|
|
||||||
| 名字 | 类型 | 说明 |
|
| 名字 | 类型 | 说明 |
|
||||||
| ---- | ---- | ------------------------------------------------------------ |
|
| ---- | ---- | ------------------------------------------------------------ |
|
||||||
| uid | Long | 消息的识别号,用于引用回复(Source类型只在群消息中返回,且永远为chain的第一个元素) |
|
| id | Long | 消息的识别号,用于引用回复(Source类型只在群消息中返回,且永远为chain的第一个元素) |
|
||||||
|
|
||||||
#### At
|
#### At
|
||||||
|
|
||||||
|
@ -36,7 +36,7 @@ data class GroupMessagePacketDTO(val sender: MemberDTO) : MessagePacketDTO()
|
|||||||
// Message
|
// Message
|
||||||
@Serializable
|
@Serializable
|
||||||
@SerialName("Source")
|
@SerialName("Source")
|
||||||
data class MessageSourceDTO(val uid: Long) : MessageDTO()
|
data class MessageSourceDTO(val id: Long) : MessageDTO()
|
||||||
|
|
||||||
@Serializable
|
@Serializable
|
||||||
@SerialName("At")
|
@SerialName("At")
|
||||||
|
Loading…
Reference in New Issue
Block a user