1
0
mirror of https://github.com/fumiama/NanoBot.git synced 2026-06-08 12:10:23 +08:00

finish handler

This commit is contained in:
源文雨
2023-10-15 17:12:16 +09:00
parent 6a42e70f55
commit 354ceb10c0
5 changed files with 111 additions and 57 deletions

View File

@@ -56,7 +56,13 @@ type MessageEmbedField struct {
// MessageAttachment https://bot.q.qq.com/wiki/develop/api/openapi/message/model.html#messageattachment
type MessageAttachment struct {
URL string `json:"url"`
ContentType string `json:"content_type,omitempty"`
Filename string `json:"filename,omitempty"`
Height int `json:"height,omitempty"`
ID string `json:"id,omitempty"`
Size int `json:"size,omitempty"`
URL string `json:"url,omitempty"`
Width int `json:"width,omitempty"`
}
// MessageArk https://bot.q.qq.com/wiki/develop/api/openapi/message/model.html#messageark