mirror of
https://github.com/Unkn0wnCat/matrix-veles.git
synced 2025-07-22 10:57:18 +02:00
api: Add Room configuration changers
This commit is contained in:
parent
adf8bc3ee0
commit
2d68e30ad2
6 changed files with 473 additions and 13 deletions
|
@ -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"`
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue