Http api rename MessageSourceDTO.uid to MessageSourceDTO.id

This commit is contained in:
ryoii 2020-02-22 18:53:42 +08:00
parent b92956f112
commit 06c69ad6cc
2 changed files with 3 additions and 3 deletions

View File

@ -430,13 +430,13 @@ Content-Typemultipart/form-data
```json5
{
"type": "Source",
"uid": 123456
"id": 123456
}
```
| 名字 | 类型 | 说明 |
| ---- | ---- | ------------------------------------------------------------ |
| uid | Long | 消息的识别号用于引用回复Source类型只在群消息中返回且永远为chain的第一个元素 |
| id | Long | 消息的识别号用于引用回复Source类型只在群消息中返回且永远为chain的第一个元素 |
#### At

View File

@ -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")