diff options
Diffstat (limited to 'mxlib/api.go')
-rw-r--r-- | mxlib/api.go | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/mxlib/api.go b/mxlib/api.go index c7061b3..6dfe56e 100644 --- a/mxlib/api.go +++ b/mxlib/api.go @@ -50,9 +50,8 @@ type CreateRoomRequest struct { PowerLevels map[string]interface{} `json:"power_level_content_override"` } -type CreateRoomNoAliasRequest struct { +type CreateDirectRoomRequest struct { Preset string `json:"preset"` - Name string `json:"name"` Topic string `json:"topic"` Invite []string `json:"invite"` CreationContent map[string]interface{} `json:"creation_content"` |