summaryrefslogtreecommitdiffstats
path: root/vendor/github.com/SevereCloud/vksdk/v2/events/objects.go
diff options
context:
space:
mode:
Diffstat (limited to 'vendor/github.com/SevereCloud/vksdk/v2/events/objects.go')
-rw-r--r--vendor/github.com/SevereCloud/vksdk/v2/events/objects.go20
1 files changed, 10 insertions, 10 deletions
diff --git a/vendor/github.com/SevereCloud/vksdk/v2/events/objects.go b/vendor/github.com/SevereCloud/vksdk/v2/events/objects.go
index 8cd94a91..8ee261ac 100644
--- a/vendor/github.com/SevereCloud/vksdk/v2/events/objects.go
+++ b/vendor/github.com/SevereCloud/vksdk/v2/events/objects.go
@@ -316,40 +316,40 @@ type LikeRemoveObject struct {
// DonutSubscriptionCreateObject struct.
type DonutSubscriptionCreateObject struct {
- Amount int `json:"amount"`
+ Amount float64 `json:"amount"`
AmountWithoutFee float64 `json:"amount_without_fee"`
- UserID int `json:"user_id"`
+ UserID float64 `json:"user_id"`
}
// DonutSubscriptionProlongedObject struct.
type DonutSubscriptionProlongedObject struct {
- Amount int `json:"amount"`
+ Amount float64 `json:"amount"`
AmountWithoutFee float64 `json:"amount_without_fee"`
- UserID int `json:"user_id"`
+ UserID float64 `json:"user_id"`
}
// DonutSubscriptionExpiredObject struct.
type DonutSubscriptionExpiredObject struct {
- UserID int `json:"user_id"`
+ UserID float64 `json:"user_id"`
}
// DonutSubscriptionCancelledObject struct.
type DonutSubscriptionCancelledObject struct {
- UserID int `json:"user_id"`
+ UserID float64 `json:"user_id"`
}
// DonutSubscriptionPriceChangedObject struct.
type DonutSubscriptionPriceChangedObject struct {
- AmountOld int `json:"amount_old"`
- AmountNew int `json:"amount_new"`
+ AmountOld float64 `json:"amount_old"`
+ AmountNew float64 `json:"amount_new"`
AmountDiff float64 `json:"amount_diff"`
AmountDiffWithoutFee float64 `json:"amount_diff_without_fee"`
- UserID int `json:"user_id"`
+ UserID float64 `json:"user_id"`
}
// DonutMoneyWithdrawObject struct.
type DonutMoneyWithdrawObject struct {
- Amount int `json:"amount"`
+ Amount float64 `json:"amount"`
AmountWithoutFee float64 `json:"amount_without_fee"`
}