mirror of
https://github.com/signaller-matrix/signaller.git
synced 2024-12-23 09:21:50 +00:00
13 lines
381 B
Go
13 lines
381 B
Go
package roomalias
|
|
|
|
// Merged PUT and GET requests
|
|
type Request struct {
|
|
RoomID string `json:"room_id"` // The room ID to set.
|
|
RoomAlias string `json:"roomAlias"` // The room alias.
|
|
}
|
|
|
|
type ResponseGet struct {
|
|
RoomID string `json:"room_id"` // The room ID for this room alias.
|
|
Servers []string `json:"servers"` // A list of servers that are aware of this room alias.
|
|
}
|