Explorar el Código

adds parent_id to channel struct (#448)

Sebastian Winkler hace 7 años
padre
commit
7b6a91ac04
Se han modificado 1 ficheros con 1 adiciones y 0 borrados
  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