signaller/internal/models/listroom/listroom.go

14 lines
440 B
Go
Raw Normal View History

2019-07-31 15:01:20 +00:00
package listroom
import (
2019-08-03 14:19:18 +00:00
"github.com/signaller-matrix/signaller/internal/models/createroom"
2019-07-31 15:01:20 +00:00
)
type Request struct {
Visibility createroom.VisibilityType `json:"visibility"` // The new visibility setting for the room. Defaults to 'public'. One of: ["private", "public"]
}
type Response struct {
Visibility createroom.VisibilityType `json:"visibility"` // The visibility of the room in the directory. One of: ["private", "public"]
}