forked from lug/matterbridge
Update dependencies and go1.18 (#1873)
* Update dependencies and go1.18 * Exclude unnecessary linters and update build to go1.18
This commit is contained in:
22
vendor/github.com/SevereCloud/vksdk/v2/api/messages.go
generated
vendored
22
vendor/github.com/SevereCloud/vksdk/v2/api/messages.go
generated
vendored
@@ -116,6 +116,14 @@ func (vk *VK) MessagesEditChat(params Params) (response int, err error) {
|
||||
return
|
||||
}
|
||||
|
||||
// MessagesForceCallFinish method.
|
||||
//
|
||||
// https://vk.com/dev/messages.forceCallFinish
|
||||
func (vk *VK) MessagesForceCallFinish(params Params) (response int, err error) {
|
||||
err = vk.RequestUnmarshal("messages.forceCallFinish", &response, params)
|
||||
return
|
||||
}
|
||||
|
||||
// MessagesGetByConversationMessageIDResponse struct.
|
||||
type MessagesGetByConversationMessageIDResponse struct {
|
||||
Count int `json:"count"`
|
||||
@@ -633,6 +641,20 @@ func (vk *VK) MessagesSetChatPhoto(params Params) (response MessagesSetChatPhoto
|
||||
return
|
||||
}
|
||||
|
||||
// MessagesStartCallResponse struct.
|
||||
type MessagesStartCallResponse struct {
|
||||
JoinLink string `json:"join_link"`
|
||||
CallID string `json:"call_id"`
|
||||
}
|
||||
|
||||
// MessagesStartCall method.
|
||||
//
|
||||
// https://vk.com/dev/messages.startCall
|
||||
func (vk *VK) MessagesStartCall(params Params) (response MessagesStartCallResponse, err error) {
|
||||
err = vk.RequestUnmarshal("messages.startCall", &response, params)
|
||||
return
|
||||
}
|
||||
|
||||
// MessagesUnpin messages.unpin.
|
||||
//
|
||||
// https://vk.com/dev/messages.unpin
|
||||
|
||||
Reference in New Issue
Block a user