Browse Source

Removed Mentions struct, as its the same as User

Bruce Marriner 9 years ago
parent
commit
f3ddf16ff7
1 changed files with 1 additions and 4 deletions
  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 {
 }