signaller/internal/models/listroom/listroom.go
2019-08-03 19:19:18 +05:00

14 lines
440 B
Go

package listroom
import (
"github.com/signaller-matrix/signaller/internal/models/createroom"
)
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"]
}