File tree Expand file tree Collapse file tree 1 file changed +10
-5
lines changed
Expand file tree Collapse file tree 1 file changed +10
-5
lines changed Original file line number Diff line number Diff line change @@ -38,11 +38,16 @@ type Message struct {
3838
3939// Embed 结构
4040type Embed struct {
41- Title string `json:"title,omitempty"`
42- Description string `json:"description,omitempty"`
43- Prompt string `json:"prompt"` // 消息弹窗内容,消息列表摘要
44- Timestamp Timestamp `json:"timestamp,omitempty"`
45- Fields []* EmbedField `json:"fields,omitempty"`
41+ Title string `json:"title,omitempty"`
42+ Description string `json:"description,omitempty"`
43+ Prompt string `json:"prompt"` // 消息弹窗内容,消息列表摘要
44+ Thumbnail MessageEmbedThumbnail `json:"thumbnail,omitempty"`
45+ Fields []* EmbedField `json:"fields,omitempty"`
46+ }
47+
48+ // MessageEmbedThumbnail embed 消息的缩略图对象
49+ type MessageEmbedThumbnail struct {
50+ URL string `json:"url"`
4651}
4752
4853// EmbedField Embed字段描述
You can’t perform that action at this time.
0 commit comments