added rows close, get group members route

This commit is contained in:
slawk0
2025-02-08 16:13:53 +01:00
parent e8d8c51d64
commit bbae0e8fbb
6 changed files with 93 additions and 0 deletions

View File

@@ -40,3 +40,10 @@ type Message struct {
type CreateGroupResponse struct {
GroupID uuid.UUID `json:"group_id"`
}
type Member struct {
UserID uuid.UUID `json:"user_id"`
Username string `json:"username"`
IsAdmin bool `json:"is_admin"`
IsOwner bool `json:"is_owner"`
}