added contact suggestion route, code refactor

This commit is contained in:
slawk0
2025-02-06 21:57:44 +01:00
parent 915cc0c830
commit 51b426ba54
6 changed files with 65 additions and 11 deletions

View File

@@ -21,3 +21,7 @@ type Contact struct {
LastMessageTime string `json:"last_message_time"`
LastMessageSender string `json:"last_message_sender"`
}
type ContactSuggestion struct {
Username string `json:"username"`
}