+17
-1
@@ -13,4 +13,20 @@ type Channel struct {
|
||||
// ChangeObject in GQL.
|
||||
func (*Channel) IsChangeObject() {
|
||||
panic("this method is a dummy, and so is its caller")
|
||||
}
|
||||
}
|
||||
|
||||
// ChannelFilter is a filter for channel listing.
|
||||
type ChannelFilter struct {
|
||||
Logged *bool `json:"logged"`
|
||||
EventName *string `json:"eventName"`
|
||||
LocationName *string `json:"locationName"`
|
||||
Limit int `json:"limit"`
|
||||
}
|
||||
|
||||
// ChannelUpdate is a filter for channel listing.
|
||||
type ChannelUpdate struct {
|
||||
Logged *bool `json:"logged"`
|
||||
Hub *bool `json:"hub"`
|
||||
EventName *string `json:"eventName"`
|
||||
LocationName *string `json:"locationName"`
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user