Procházet zdrojové kódy

adds parent_id to channel struct (#448)

Sebastian Winkler před 7 roky
rodič
revize
7b6a91ac04
1 změnil soubory, kde provedl 1 přidání a 0 odebrání
  1. 1 0
      structs.go

+ 1 - 0
structs.go

@@ -174,6 +174,7 @@ type Channel struct {
 	Recipients           []*User                `json:"recipients"`
 	Messages             []*Message             `json:"-"`
 	PermissionOverwrites []*PermissionOverwrite `json:"permission_overwrites"`
+	ParentID             string                 `json:"parent_id"`
 }
 
 // A PermissionOverwrite holds permission overwrite data for a Channel