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