소스 검색

adds parent_id to channel struct (#448)

Sebastian Winkler 7 년 전
부모
커밋
7b6a91ac04
1개의 변경된 파일1개의 추가작업 그리고 0개의 파일을 삭제
  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