Added VK part
This commit is contained in:
parent
69d6808cd0
commit
657f967a49
5 changed files with 65 additions and 0 deletions
11
vk/structs.go
Normal file
11
vk/structs.go
Normal 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"`
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue