summaryrefslogtreecommitdiffstats
path: root/vendor/github.com/SevereCloud/vksdk/v2/object/notifications.go
diff options
context:
space:
mode:
Diffstat (limited to 'vendor/github.com/SevereCloud/vksdk/v2/object/notifications.go')
-rw-r--r--vendor/github.com/SevereCloud/vksdk/v2/object/notifications.go6
1 files changed, 2 insertions, 4 deletions
diff --git a/vendor/github.com/SevereCloud/vksdk/v2/object/notifications.go b/vendor/github.com/SevereCloud/vksdk/v2/object/notifications.go
index 119c3f9f..781a1de7 100644
--- a/vendor/github.com/SevereCloud/vksdk/v2/object/notifications.go
+++ b/vendor/github.com/SevereCloud/vksdk/v2/object/notifications.go
@@ -1,7 +1,5 @@
package object // import "github.com/SevereCloud/vksdk/v2/object"
-import "encoding/json"
-
// NotificationsFeedback struct.
type NotificationsFeedback struct {
Attachments []WallWallpostAttachment `json:"attachments"`
@@ -16,8 +14,8 @@ type NotificationsFeedback struct {
// NotificationsNotification struct.
type NotificationsNotification struct {
Date int `json:"date"` // Date when the event has been occurred
- Feedback json.RawMessage `json:"feedback"`
- Parent json.RawMessage `json:"parent"`
+ Feedback RawMessage `json:"feedback"`
+ Parent RawMessage `json:"parent"`
Reply NotificationsReply `json:"reply"`
Type string `json:"type"` // Notification type
}