summaryrefslogtreecommitdiffstats
path: root/vendor/github.com/SevereCloud/vksdk/v2/api/downloadedGames.go
diff options
context:
space:
mode:
Diffstat (limited to 'vendor/github.com/SevereCloud/vksdk/v2/api/downloadedGames.go')
-rw-r--r--vendor/github.com/SevereCloud/vksdk/v2/api/downloadedGames.go19
1 files changed, 19 insertions, 0 deletions
diff --git a/vendor/github.com/SevereCloud/vksdk/v2/api/downloadedGames.go b/vendor/github.com/SevereCloud/vksdk/v2/api/downloadedGames.go
new file mode 100644
index 00000000..cd03cfdb
--- /dev/null
+++ b/vendor/github.com/SevereCloud/vksdk/v2/api/downloadedGames.go
@@ -0,0 +1,19 @@
+package api // import "github.com/SevereCloud/vksdk/v2/api"
+
+import (
+ "github.com/SevereCloud/vksdk/v2/object"
+)
+
+// DownloadedGamesGetPaidStatusResponse struct.
+type DownloadedGamesGetPaidStatusResponse struct {
+ IsPaid object.BaseBoolInt `json:"is_paid"`
+}
+
+// DownloadedGamesGetPaidStatus method.
+//
+// https://vk.com/dev/downloadedGames.getPaidStatus
+func (vk *VK) DownloadedGamesGetPaidStatus(params Params) (response DownloadedGamesGetPaidStatusResponse, err error) {
+ err = vk.RequestUnmarshal("downloadedGames.getPaidStatus", &response, params, Params{"extended": false})
+
+ return
+}