Changed Body json name
This commit is contained in:
parent
1aa7216c10
commit
738142f27f
1 changed files with 1 additions and 1 deletions
|
|
@ -8,6 +8,6 @@ type MessageRequest struct {
|
||||||
}
|
}
|
||||||
|
|
||||||
type UserMessage struct {
|
type UserMessage struct {
|
||||||
Body string `json:"body"`
|
Body string `json:"text"`
|
||||||
UserId int64 `json:"peer_id"`
|
UserId int64 `json:"peer_id"`
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue