mirror of https://github.com/matrix-org/gomatrix
delint
This commit is contained in:
parent
9c5753065f
commit
48858059f1
|
@ -27,16 +27,17 @@ type RespPublicRooms struct {
|
|||
TotalRoomCountEstimate int `json:"total_room_count_estimate"`
|
||||
PrevBatch string `json:"prev_batch"`
|
||||
NextBatch string `json:"next_batch"`
|
||||
Chunk []PublicRoomsChunk `json:"chunk"`
|
||||
Chunk []PublicRoom `json:"chunk"`
|
||||
}
|
||||
|
||||
type PublicRoomsChunk struct {
|
||||
// PublicRooms is a part of RespPublicRooms representing the disclosed information regarding a public room
|
||||
type PublicRoom struct {
|
||||
CanonicalAlias string `json:"canonical_alias"`
|
||||
Name string `json:"name"`
|
||||
WorldReadable bool `json:"world_readable"`
|
||||
Topic string `json:"topic"`
|
||||
NumJoinedMembers int `json:"num_joined_members"`
|
||||
AvatarUrl string `json:"avatar_url"`
|
||||
AvatarURL string `json:"avatar_url"`
|
||||
RoomID string `json:"room_id"`
|
||||
GuestCanJoin bool `json:"guest_can_join"`
|
||||
Aliases []string `json:"aliases"`
|
||||
|
|
Loading…
Reference in New Issue