瀏覽代碼

Removed Mentions struct, as its the same as User

Bruce Marriner 9 年之前
父節點
當前提交
f3ddf16ff7
共有 1 個文件被更改,包括 1 次插入4 次删除
  1. 1 4
      structs.go

+ 1 - 4
structs.go

@@ -37,13 +37,10 @@ type Message struct {
 	Timestamp       string       `json:"timestamp"`
 	MentionEveryone bool         `json:"mention_everyone"`
 	EditedTimestamp string       `json:"edited_timestamp"`
-	Mentions        []Mention    `json:"mentions"`
+	Mentions        []User       `json:"mentions"`
 	ChannelId       int          `json:"channel_id,string"`
 }
 
-type Mention struct {
-}
-
 type Attachment struct {
 }