Added VK part

This commit is contained in:
Artyom Belousov 2019-05-11 14:01:40 +03:00
parent 69d6808cd0
commit 657f967a49
5 changed files with 65 additions and 0 deletions

11
vk/structs.go Normal file
View file

@ -0,0 +1,11 @@
package vk
type MessageRequest struct {
Object UserMessage `json:"object"`
Secret string `json:"secret"`
}
type UserMessage struct {
Body string `json:"body"`
UserId int64 `json:"user_id"`
}