big update: added reactions, groups, media share
CI / Go (build + vet + test) (push) Canceled after 0s
CI / Web (build + lint) (push) Canceled after 0s

This commit is contained in:
vantablackTea
2026-09-27 21:59:48 +03:00
parent ae24bdd0e0
commit 9d03ea4c51
41 changed files with 2548 additions and 172 deletions
+10
View File
@@ -42,9 +42,18 @@ type Session struct {
type Conversation struct {
ID int64
Type string
Name string
Avatar string
CreatedAt time.Time
}
// MemberInfo describes a conversation participant together with their profile.
type MemberInfo struct {
User User
Role string
JoinedAt time.Time
}
// ConversationSummary provides a conversation with its last message and unread count.
type ConversationSummary struct {
Conversation
@@ -58,6 +67,7 @@ type Message struct {
ConversationID int64
SenderID int64
Body string
MediaID *int64
CreatedAt time.Time
EditedAt *time.Time
DeletedAt *time.Time