diff options
Diffstat (limited to 'vendor/github.com/SevereCloud/vksdk/v2/api/messages.go')
-rw-r--r-- | vendor/github.com/SevereCloud/vksdk/v2/api/messages.go | 16 |
1 files changed, 10 insertions, 6 deletions
diff --git a/vendor/github.com/SevereCloud/vksdk/v2/api/messages.go b/vendor/github.com/SevereCloud/vksdk/v2/api/messages.go index 7a0bebc4..0b15a6a5 100644 --- a/vendor/github.com/SevereCloud/vksdk/v2/api/messages.go +++ b/vendor/github.com/SevereCloud/vksdk/v2/api/messages.go @@ -118,6 +118,8 @@ func (vk *VK) MessagesEditChat(params Params) (response int, err error) { // MessagesForceCallFinish method. // +// Deprecated: Use CallsForceFinish +// // https://vk.com/dev/messages.forceCallFinish func (vk *VK) MessagesForceCallFinish(params Params) (response int, err error) { err = vk.RequestUnmarshal("messages.forceCallFinish", &response, params) @@ -150,7 +152,7 @@ type MessagesGetByIDResponse struct { // MessagesGetByID returns messages by their IDs. // -// extended=0 +// extended=0 // // https://vk.com/dev/messages.getById func (vk *VK) MessagesGetByID(params Params) (response MessagesGetByIDResponse, err error) { @@ -168,7 +170,7 @@ type MessagesGetByIDExtendedResponse struct { // MessagesGetByIDExtended returns messages by their IDs. // -// extended=1 +// extended=1 // // https://vk.com/dev/messages.getById func (vk *VK) MessagesGetByIDExtended(params Params) (response MessagesGetByIDExtendedResponse, err error) { @@ -268,7 +270,7 @@ type MessagesGetConversationsByIDResponse struct { // MessagesGetConversationsByID returns conversations by their IDs. // -// extended=0 +// extended=0 // // https://vk.com/dev/messages.getConversationsById func (vk *VK) MessagesGetConversationsByID(params Params) (response MessagesGetConversationsByIDResponse, err error) { @@ -286,7 +288,7 @@ type MessagesGetConversationsByIDExtendedResponse struct { // MessagesGetConversationsByIDExtended returns conversations by their IDs. // -// extended=1 +// extended=1 // // https://vk.com/dev/messages.getConversationsById func (vk *VK) MessagesGetConversationsByIDExtended(params Params) ( @@ -583,7 +585,7 @@ type MessagesSendUserIDsResponse []struct { // MessagesSendPeerIDs sends a message. // -// need peer_ids; +// need peer_ids; // // https://vk.com/dev/messages.send func (vk *VK) MessagesSendPeerIDs(params Params) (response MessagesSendUserIDsResponse, err error) { @@ -593,7 +595,7 @@ func (vk *VK) MessagesSendPeerIDs(params Params) (response MessagesSendUserIDsRe // MessagesSendUserIDs sends a message. // -// need user_ids or peer_ids; +// need user_ids or peer_ids; // // https://vk.com/dev/messages.send // @@ -649,6 +651,8 @@ type MessagesStartCallResponse struct { // MessagesStartCall method. // +// Deprecated: Use CallsStart +// // https://vk.com/dev/messages.startCall func (vk *VK) MessagesStartCall(params Params) (response MessagesStartCallResponse, err error) { err = vk.RequestUnmarshal("messages.startCall", &response, params) |