From a0bca42a7ad98a37f4bdc4d7adc419471163edfb Mon Sep 17 00:00:00 2001 From: Wim Date: Wed, 5 May 2021 22:03:28 +0200 Subject: Update vendor (#1461) * Update vendored libs * Fix slack api changes --- .../SevereCloud/vksdk/v2/events/objects.go | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) (limited to 'vendor/github.com/SevereCloud/vksdk/v2/events/objects.go') 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"` } -- cgit v1.2.3