api: Add Room configuration changers

This commit is contained in:
Kevin Kandlbinder 2022-03-28 16:05:08 +02:00
parent adf8bc3ee0
commit 2d68e30ad2
6 changed files with 473 additions and 13 deletions

View file

@ -130,6 +130,11 @@ type ListSort struct {
Name *SortRule `json:"name"`
}
type ListSubscriptionUpdate struct {
RoomID string `json:"roomId"`
ListID string `json:"listId"`
}
type Login struct {
Username string `json:"username"`
Password string `json:"password"`
@ -158,6 +163,7 @@ type RemoveMxid struct {
}
type RoomConfigUpdate struct {
ID string `json:"id"`
Debug *bool `json:"debug"`
AdminPowerLevel *int `json:"adminPowerLevel"`
HashChecker *HashCheckerConfigUpdate `json:"hashChecker"`