This commit is contained in:
@@ -1,7 +1,5 @@
|
||||
package dto
|
||||
|
||||
import "time"
|
||||
|
||||
type CreateMessageRequest struct {
|
||||
ChatID string `json:"-"`
|
||||
Text string `json:"text"`
|
||||
@@ -12,5 +10,5 @@ type CreateMessageResponse struct {
|
||||
ChatID string `json:"chat_id"`
|
||||
SenderID string `json:"sender_id"`
|
||||
Text string `json:"text"`
|
||||
CreatedAt time.Time `json:"created_at"`
|
||||
CreatedAt Timestamp `json:"created_at"`
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user