forked from lug/matterbridge
Update dependencies (#2180)
* Update dependencies * Fix whatsmeow API changes
This commit is contained in:
20
vendor/github.com/SevereCloud/vksdk/v2/api/secure.go
generated
vendored
20
vendor/github.com/SevereCloud/vksdk/v2/api/secure.go
generated
vendored
@@ -9,7 +9,7 @@ type SecureAddAppEventResponse int // FIXME: not found documentation. https://gi
|
||||
|
||||
// SecureAddAppEvent adds user activity information to an application.
|
||||
//
|
||||
// https://vk.com/dev/secure.addAppEvent
|
||||
// https://dev.vk.com/method/secure.addAppEvent
|
||||
func (vk *VK) SecureAddAppEvent(params Params) (response SecureAddAppEventResponse, err error) {
|
||||
err = vk.RequestUnmarshal("secure.addAppEvent", &response, params)
|
||||
return
|
||||
@@ -20,7 +20,7 @@ type SecureCheckTokenResponse object.SecureTokenChecked
|
||||
|
||||
// SecureCheckToken checks the user authentication in IFrame and Flash apps using the access_token parameter.
|
||||
//
|
||||
// https://vk.com/dev/secure.checkToken
|
||||
// https://dev.vk.com/method/secure.checkToken
|
||||
func (vk *VK) SecureCheckToken(params Params) (response SecureCheckTokenResponse, err error) {
|
||||
err = vk.RequestUnmarshal("secure.checkToken", &response, params)
|
||||
return
|
||||
@@ -28,7 +28,7 @@ func (vk *VK) SecureCheckToken(params Params) (response SecureCheckTokenResponse
|
||||
|
||||
// SecureGetAppBalance returns payment balance of the application in hundredth of a vote.
|
||||
//
|
||||
// https://vk.com/dev/secure.getAppBalance
|
||||
// https://dev.vk.com/method/secure.getAppBalance
|
||||
func (vk *VK) SecureGetAppBalance(params Params) (response int, err error) {
|
||||
err = vk.RequestUnmarshal("secure.getAppBalance", &response, params)
|
||||
return
|
||||
@@ -40,7 +40,7 @@ type SecureGetSMSHistoryResponse []object.SecureSmsNotification
|
||||
// SecureGetSMSHistory shows a list of SMS notifications sent by the
|
||||
// application using secure.sendSMSNotification method.
|
||||
//
|
||||
// https://vk.com/dev/secure.getSMSHistory
|
||||
// https://dev.vk.com/method/secure.getSMSHistory
|
||||
func (vk *VK) SecureGetSMSHistory(params Params) (response SecureGetSMSHistoryResponse, err error) {
|
||||
err = vk.RequestUnmarshal("secure.getSMSHistory", &response, params)
|
||||
return
|
||||
@@ -51,7 +51,7 @@ type SecureGetTransactionsHistoryResponse []object.SecureTransaction
|
||||
|
||||
// SecureGetTransactionsHistory shows history of votes transaction between users and the application.
|
||||
//
|
||||
// https://vk.com/dev/secure.getTransactionsHistory
|
||||
// https://dev.vk.com/method/secure.getTransactionsHistory
|
||||
func (vk *VK) SecureGetTransactionsHistory(params Params) (response SecureGetTransactionsHistoryResponse, err error) {
|
||||
err = vk.RequestUnmarshal("secure.getTransactionsHistory", &response, params)
|
||||
return
|
||||
@@ -62,7 +62,7 @@ type SecureGetUserLevelResponse []object.SecureLevel
|
||||
|
||||
// SecureGetUserLevel returns one of the previously set game levels of one or more users in the application.
|
||||
//
|
||||
// https://vk.com/dev/secure.getUserLevel
|
||||
// https://dev.vk.com/method/secure.getUserLevel
|
||||
func (vk *VK) SecureGetUserLevel(params Params) (response SecureGetUserLevelResponse, err error) {
|
||||
err = vk.RequestUnmarshal("secure.getUserLevel", &response, params)
|
||||
return
|
||||
@@ -76,7 +76,7 @@ type SecureGiveEventStickerResponse []struct {
|
||||
|
||||
// SecureGiveEventSticker method.
|
||||
//
|
||||
// https://vk.com/dev/secure.giveEventSticker
|
||||
// https://dev.vk.com/method/secure.giveEventSticker
|
||||
func (vk *VK) SecureGiveEventSticker(params Params) (response SecureGiveEventStickerResponse, err error) {
|
||||
err = vk.RequestUnmarshal("secure.giveEventSticker", &response, params)
|
||||
return
|
||||
@@ -87,7 +87,7 @@ type SecureSendNotificationResponse []int // User ID
|
||||
|
||||
// SecureSendNotification sends notification to the user.
|
||||
//
|
||||
// https://vk.com/dev/secure.sendNotification
|
||||
// https://dev.vk.com/method/secure.sendNotification
|
||||
func (vk *VK) SecureSendNotification(params Params) (response SecureSendNotificationResponse, err error) {
|
||||
err = vk.RequestUnmarshal("secure.sendNotification", &response, params)
|
||||
return
|
||||
@@ -95,7 +95,7 @@ func (vk *VK) SecureSendNotification(params Params) (response SecureSendNotifica
|
||||
|
||||
// SecureSendSMSNotification sends SMS notification to a user's mobile device.
|
||||
//
|
||||
// https://vk.com/dev/secure.sendSMSNotification
|
||||
// https://dev.vk.com/method/secure.sendSMSNotification
|
||||
func (vk *VK) SecureSendSMSNotification(params Params) (response int, err error) {
|
||||
err = vk.RequestUnmarshal("secure.sendSMSNotification", &response, params)
|
||||
return
|
||||
@@ -103,7 +103,7 @@ func (vk *VK) SecureSendSMSNotification(params Params) (response int, err error)
|
||||
|
||||
// SecureSetCounter sets a counter which is shown to the user in bold in the left menu.
|
||||
//
|
||||
// https://vk.com/dev/secure.setCounter
|
||||
// https://dev.vk.com/method/secure.setCounter
|
||||
func (vk *VK) SecureSetCounter(params Params) (response int, err error) {
|
||||
err = vk.RequestUnmarshal("secure.setCounter", &response, params)
|
||||
return
|
||||
|
||||
Reference in New Issue
Block a user