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