Added dict with additional cards
This commit is contained in:
parent
181f3bc0aa
commit
88ea431a27
26 changed files with 232 additions and 35 deletions
|
|
@ -1,22 +0,0 @@
|
|||
package vk
|
||||
|
||||
type MessageRequest struct {
|
||||
Type string `json:"type"`
|
||||
GroupId int64 `json:"group_id"`
|
||||
Object UserMessage `json:"object"`
|
||||
Secret string `json:"secret"`
|
||||
}
|
||||
|
||||
type UserMessage struct {
|
||||
Body string `json:"text"`
|
||||
UserId int64 `json:"peer_id"`
|
||||
}
|
||||
|
||||
type SendMessageResponse struct {
|
||||
Error ErrorResponse `json:"error"`
|
||||
}
|
||||
|
||||
type ErrorResponse struct {
|
||||
ErrorCode int `json:"error_code"`
|
||||
ErrorMsg string `json:"error_msg"`
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue