diff options
author | Wim <wim@42.be> | 2021-05-05 22:03:28 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-05-05 22:03:28 +0200 |
commit | a0bca42a7ad98a37f4bdc4d7adc419471163edfb (patch) | |
tree | 3e87fdb61128039b016adb4e586636484c63ed52 /vendor/github.com/SevereCloud/vksdk/v2/events | |
parent | af543dcd05cfb5341311e2e214727e26411d2f92 (diff) | |
download | matterbridge-msglm-a0bca42a7ad98a37f4bdc4d7adc419471163edfb.tar.gz matterbridge-msglm-a0bca42a7ad98a37f4bdc4d7adc419471163edfb.tar.bz2 matterbridge-msglm-a0bca42a7ad98a37f4bdc4d7adc419471163edfb.zip |
Update vendor (#1461)
* Update vendored libs
* Fix slack api changes
Diffstat (limited to 'vendor/github.com/SevereCloud/vksdk/v2/events')
-rw-r--r-- | vendor/github.com/SevereCloud/vksdk/v2/events/objects.go | 20 |
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"` } |