code refactor, implementing sockets
This commit is contained in:
@@ -30,11 +30,13 @@ type ContactSuggestion struct {
|
||||
}
|
||||
|
||||
type Message struct {
|
||||
MessageID int `json:"message_id"`
|
||||
Message string `json:"message"`
|
||||
SentAt time.Time `json:"sent_at"`
|
||||
Sender string `json:"sender"`
|
||||
AttachmentUrl *string `json:"attachment_url"`
|
||||
ID int `json:"message_id"`
|
||||
Message string `json:"message"`
|
||||
SentAt time.Time `json:"sent_at"`
|
||||
Sender string `json:"sender"`
|
||||
SenderID uuid.UUID `json:"sender_id"`
|
||||
AttachmentUrl *string `json:"attachment_url"`
|
||||
ConversationID uuid.UUID `json:"conversation_id"`
|
||||
}
|
||||
|
||||
type CreateGroupResponse struct {
|
||||
|
||||
Reference in New Issue
Block a user