Channel isPublic and isCommunity

This commit is contained in:
2024-09-17 11:45:44 +08:00
parent 5b78292d1b
commit e6d09ab41b
3 changed files with 25 additions and 10 deletions

View File

@ -25,7 +25,8 @@ type Channel struct {
Type ChannelType `json:"type"`
Account Account `json:"account"`
AccountID uint `json:"account_id"`
IsEncrypted bool `json:"is_encrypted"`
IsPublic bool `json:"is_public"`
IsCommunity bool `json:"is_community"`
Realm Realm `json:"realm"`
RealmID *uint `json:"realm_id"`