mirror of
https://github.com/mamoe/mirai.git
synced 2025-01-23 06:10:30 +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
|
||||
{
|
||||
"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")
|
||||
|
Loading…
Reference in New Issue
Block a user