2021-01-29 00:25:14 +01:00
|
|
|
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.
|
|
|
|
//
|
2024-08-27 19:04:05 +02:00
|
|
|
// https://dev.vk.com/method/downloadedGames.getPaidStatus
|
2021-01-29 00:25:14 +01:00
|
|
|
func (vk *VK) DownloadedGamesGetPaidStatus(params Params) (response DownloadedGamesGetPaidStatusResponse, err error) {
|
|
|
|
err = vk.RequestUnmarshal("downloadedGames.getPaidStatus", &response, params, Params{"extended": false})
|
|
|
|
|
|
|
|
return
|
|
|
|
}
|