Commit 06c69ad6 authored by ryoii's avatar ryoii

Http api rename `MessageSourceDTO.uid` to `MessageSourceDTO.id`

parent b92956f1
......@@ -430,13 +430,13 @@ Content-Type:multipart/form-data
```json5
{
"type": "Source",
"uid": 123456
"id": 123456
}
```
| 名字 | 类型 | 说明 |
| ---- | ---- | ------------------------------------------------------------ |
| uid | Long | 消息的识别号,用于引用回复(Source类型只在群消息中返回,且永远为chain的第一个元素) |
| id | Long | 消息的识别号,用于引用回复(Source类型只在群消息中返回,且永远为chain的第一个元素) |
#### At
......
......@@ -36,7 +36,7 @@ data class GroupMessagePacketDTO(val sender: MemberDTO) : MessagePacketDTO()
// Message
@Serializable
@SerialName("Source")
data class MessageSourceDTO(val uid: Long) : MessageDTO()
data class MessageSourceDTO(val id: Long) : MessageDTO()
@Serializable
@SerialName("At")
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment