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