From 738142f27f271d312485bbec75cb190109707cdc Mon Sep 17 00:00:00 2001 From: Artyom Belousov Date: Sat, 11 May 2019 17:53:02 +0300 Subject: [PATCH] Changed Body json name --- vk/structs.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/vk/structs.go b/vk/structs.go index 0f63188..b48c8ef 100644 --- a/vk/structs.go +++ b/vk/structs.go @@ -8,6 +8,6 @@ type MessageRequest struct { } type UserMessage struct { - Body string `json:"body"` + Body string `json:"text"` UserId int64 `json:"peer_id"` }