Changed Body json name

This commit is contained in:
Artyom Belousov 2019-05-11 17:53:02 +03:00
parent 1aa7216c10
commit 738142f27f

View file

@ -8,6 +8,6 @@ type MessageRequest struct {
}
type UserMessage struct {
Body string `json:"body"`
Body string `json:"text"`
UserId int64 `json:"peer_id"`
}