mirror of
https://github.com/cwinfo/matterbridge.git
synced 2025-06-27 21:39:22 +00:00
Update dependencies (#1521)
This commit is contained in:
6
vendor/github.com/SevereCloud/vksdk/v2/README.md
generated
vendored
6
vendor/github.com/SevereCloud/vksdk/v2/README.md
generated
vendored
@ -14,7 +14,7 @@
|
||||
|
||||
## Features
|
||||
|
||||
Version API 5.126.
|
||||
Version API 5.131.
|
||||
|
||||
- [API](https://pkg.go.dev/github.com/SevereCloud/vksdk/v2/api)
|
||||
- 400+ methods
|
||||
@ -40,6 +40,9 @@ Version API 5.126.
|
||||
- Machine-readable ontology describing persons
|
||||
- Works with users and groups
|
||||
- The only place to get page creation date
|
||||
- [Games](https://pkg.go.dev/github.com/SevereCloud/vksdk/v2/games)
|
||||
- Checking launch parameters
|
||||
- Intermediate http handler
|
||||
- [VK Mini Apps](https://pkg.go.dev/github.com/SevereCloud/vksdk/v2/vkapps)
|
||||
- Checking launch parameters
|
||||
- Intermediate http handler
|
||||
@ -47,6 +50,7 @@ Version API 5.126.
|
||||
- Processes payment notifications
|
||||
- [Marusia Skills](https://pkg.go.dev/github.com/SevereCloud/vksdk/v2/marusia)
|
||||
- For creating Marusia Skills
|
||||
- Support SSML
|
||||
|
||||
## Install
|
||||
|
||||
|
23
vendor/github.com/SevereCloud/vksdk/v2/api/errors.go
generated
vendored
23
vendor/github.com/SevereCloud/vksdk/v2/api/errors.go
generated
vendored
@ -174,6 +174,9 @@ const (
|
||||
// Unknown group.
|
||||
ErrUnknownGroup ErrorType = 40
|
||||
|
||||
// Additional signup required.
|
||||
ErrAdditionalSignupRequired ErrorType = 41
|
||||
|
||||
// One of the parameters specified was missing or invalid
|
||||
//
|
||||
// Check the required parameters list and their format on a method
|
||||
@ -658,9 +661,15 @@ const (
|
||||
// Item has bad links in description.
|
||||
ErrMarketItemHasBadLinks ErrorType = 1408
|
||||
|
||||
// Shop not enabled.
|
||||
// Extended market not enabled.
|
||||
ErrMarketShopNotEnabled ErrorType = 1409
|
||||
|
||||
// Grouping items with different properties.
|
||||
ErrMarketGroupingItemsWithDifferentProperties ErrorType = 1412
|
||||
|
||||
// Grouping already has such variant.
|
||||
ErrMarketGroupingAlreadyHasSuchVariant ErrorType = 1413
|
||||
|
||||
// Variant not found.
|
||||
ErrMarketVariantNotFound ErrorType = 1416
|
||||
|
||||
@ -697,6 +706,9 @@ const (
|
||||
// Crop size is less than the minimum.
|
||||
ErrMarketPhotosCropSizeTooLow ErrorType = 1435
|
||||
|
||||
// Market not enabled.
|
||||
ErrMarketNotEnabled ErrorType = 1438
|
||||
|
||||
// Cart is empty.
|
||||
ErrMarketCartEmpty ErrorType = 1427
|
||||
|
||||
@ -730,6 +742,15 @@ const (
|
||||
// Servers number limit is reached.
|
||||
ErrCallbackServersLimit ErrorType = 2000
|
||||
|
||||
// Stickers are not purchased.
|
||||
ErrStickersNotPurchased ErrorType = 2100
|
||||
|
||||
// Too many favorite stickers.
|
||||
ErrStickersTooManyFavorites ErrorType = 2101
|
||||
|
||||
// Stickers are not favorite.
|
||||
ErrStickersNotFavorite ErrorType = 2102
|
||||
|
||||
// Specified link is incorrect (can't find source).
|
||||
ErrWallCheckLinkCantDetermineSource ErrorType = 3102
|
||||
|
||||
|
5
vendor/github.com/SevereCloud/vksdk/v2/api/market.go
generated
vendored
5
vendor/github.com/SevereCloud/vksdk/v2/api/market.go
generated
vendored
@ -306,8 +306,9 @@ func (vk *VK) MarketRestoreComment(params Params) (response int, err error) {
|
||||
|
||||
// MarketSearchResponse struct.
|
||||
type MarketSearchResponse struct {
|
||||
Count int `json:"count"`
|
||||
Items []object.MarketMarketItem `json:"items"`
|
||||
Count int `json:"count"`
|
||||
Items []object.MarketMarketItem `json:"items"`
|
||||
ViewType int `json:"view_type"`
|
||||
}
|
||||
|
||||
// MarketSearch searches market items in a community's catalog.
|
||||
|
35
vendor/github.com/SevereCloud/vksdk/v2/api/store.go
generated
vendored
Normal file
35
vendor/github.com/SevereCloud/vksdk/v2/api/store.go
generated
vendored
Normal file
@ -0,0 +1,35 @@
|
||||
package api // import "github.com/SevereCloud/vksdk/api"
|
||||
|
||||
import (
|
||||
"github.com/SevereCloud/vksdk/v2/object"
|
||||
)
|
||||
|
||||
// StoreAddStickersToFavorite add stickers to favorite.
|
||||
//
|
||||
// https://vk.com/dev/store.addStickersToFavorite
|
||||
func (vk *VK) StoreAddStickersToFavorite(params Params) (response int, err error) {
|
||||
err = vk.RequestUnmarshal("store.addStickersToFavorite", &response, params)
|
||||
return
|
||||
}
|
||||
|
||||
// StoreGetFavoriteStickersResponse struct.
|
||||
type StoreGetFavoriteStickersResponse struct {
|
||||
Count int `json:"count"`
|
||||
Items []object.BaseSticker `json:"items"`
|
||||
}
|
||||
|
||||
// StoreGetFavoriteStickers return favorite stickers.
|
||||
//
|
||||
// https://vk.com/dev/store.getFavoriteStickers
|
||||
func (vk *VK) StoreGetFavoriteStickers(params Params) (response StoreGetFavoriteStickersResponse, err error) {
|
||||
err = vk.RequestUnmarshal("store.getFavoriteStickers", &response, params)
|
||||
return
|
||||
}
|
||||
|
||||
// StoreRemoveStickersFromFavorite remove stickers from favorite.
|
||||
//
|
||||
// https://vk.com/dev/store.removeStickersFromFavorite
|
||||
func (vk *VK) StoreRemoveStickersFromFavorite(params Params) (response int, err error) {
|
||||
err = vk.RequestUnmarshal("store.removeStickersFromFavorite", &response, params)
|
||||
return
|
||||
}
|
5
vendor/github.com/SevereCloud/vksdk/v2/api/stories.go
generated
vendored
5
vendor/github.com/SevereCloud/vksdk/v2/api/stories.go
generated
vendored
@ -1,6 +1,8 @@
|
||||
package api // import "github.com/SevereCloud/vksdk/v2/api"
|
||||
|
||||
import "github.com/SevereCloud/vksdk/v2/object"
|
||||
import (
|
||||
"github.com/SevereCloud/vksdk/v2/object"
|
||||
)
|
||||
|
||||
// StoriesBanOwner allows to hide stories from chosen sources from current user's feed.
|
||||
//
|
||||
@ -240,6 +242,7 @@ func (vk *VK) StoriesHideReply(params Params) (response int, err error) {
|
||||
type StoriesSaveResponse struct {
|
||||
Count int `json:"count"`
|
||||
Items []object.StoriesStory `json:"items"`
|
||||
object.ExtendedResponse
|
||||
}
|
||||
|
||||
// StoriesSave method.
|
||||
|
4
vendor/github.com/SevereCloud/vksdk/v2/doc.go
generated
vendored
4
vendor/github.com/SevereCloud/vksdk/v2/doc.go
generated
vendored
@ -7,6 +7,6 @@ package vksdk
|
||||
|
||||
// Module constants.
|
||||
const (
|
||||
Version = "2.9.2"
|
||||
API = "5.126"
|
||||
Version = "2.10.0"
|
||||
API = "5.131"
|
||||
)
|
||||
|
1
vendor/github.com/SevereCloud/vksdk/v2/internal/transport.go
generated
vendored
1
vendor/github.com/SevereCloud/vksdk/v2/internal/transport.go
generated
vendored
@ -27,6 +27,7 @@ const (
|
||||
LongPollTsKey
|
||||
CallbackRetryCounterKey
|
||||
CallbackRetryAfterKey
|
||||
CallbackRemove
|
||||
)
|
||||
|
||||
// ContextClient return *http.Client.
|
||||
|
8
vendor/github.com/SevereCloud/vksdk/v2/object/account.go
generated
vendored
8
vendor/github.com/SevereCloud/vksdk/v2/object/account.go
generated
vendored
@ -16,9 +16,11 @@ type AccountPushConversations struct {
|
||||
|
||||
// AccountPushConversationsItem struct.
|
||||
type AccountPushConversationsItem struct {
|
||||
DisabledUntil int `json:"disabled_until"` // Time until that notifications are disabled in seconds
|
||||
PeerID int `json:"peer_id"` // Peer ID
|
||||
Sound int `json:"sound"` // Information whether the sound are enabled
|
||||
DisabledUntil int `json:"disabled_until"` // Time until that notifications are disabled in seconds
|
||||
PeerID int `json:"peer_id"` // Peer ID
|
||||
Sound int `json:"sound"` // Information whether the sound are enabled
|
||||
DisabledMentions BaseBoolInt `json:"disabled_mentions"`
|
||||
DisabledMassMentions BaseBoolInt `json:"disabled_mass_mentions"`
|
||||
}
|
||||
|
||||
// AccountPushParams struct.
|
||||
|
1
vendor/github.com/SevereCloud/vksdk/v2/object/groups.go
generated
vendored
1
vendor/github.com/SevereCloud/vksdk/v2/object/groups.go
generated
vendored
@ -32,6 +32,7 @@ type GroupsAddress struct {
|
||||
Timetable GroupsAddressTimetable `json:"timetable"` // Week timetable for the address
|
||||
Title string `json:"title"` // Title of the place (Zinger, etc)
|
||||
WorkInfoStatus string `json:"work_info_status"` // Status of information about timetable
|
||||
PlaceID int `json:"place_id"`
|
||||
}
|
||||
|
||||
// GroupsAddressTimetable Timetable for a week.
|
||||
|
6
vendor/github.com/SevereCloud/vksdk/v2/object/market.go
generated
vendored
6
vendor/github.com/SevereCloud/vksdk/v2/object/market.go
generated
vendored
@ -15,8 +15,9 @@ const (
|
||||
|
||||
// MarketCurrency struct.
|
||||
type MarketCurrency struct {
|
||||
ID int `json:"id"` // Currency ID
|
||||
Name string `json:"name"` // Currency sign
|
||||
ID int `json:"id"` // Currency ID
|
||||
Name string `json:"name"` // Currency sign
|
||||
Title string `json:"title"` // Currency Title
|
||||
}
|
||||
|
||||
// MarketMarketAlbum struct.
|
||||
@ -72,6 +73,7 @@ type MarketMarketItem struct {
|
||||
VariantsGroupingID int `json:"variants_grouping_id"`
|
||||
PropertyValues []MarketMarketItemProperty `json:"property_values"`
|
||||
CartQuantity int `json:"cart_quantity"`
|
||||
SKU string `json:"sku"`
|
||||
}
|
||||
|
||||
// UnmarshalJSON MarketMarketItem.
|
||||
|
3
vendor/github.com/SevereCloud/vksdk/v2/object/messages.go
generated
vendored
3
vendor/github.com/SevereCloud/vksdk/v2/object/messages.go
generated
vendored
@ -63,6 +63,7 @@ type MessagesMessage struct {
|
||||
Important BaseBoolInt `json:"important"` // Is it an important message
|
||||
IsHidden BaseBoolInt `json:"is_hidden"`
|
||||
IsCropped BaseBoolInt `json:"is_cropped"`
|
||||
IsSilent BaseBoolInt `json:"is_silent"`
|
||||
Out BaseBoolInt `json:"out"` // Information whether the message is outcoming
|
||||
WasListened BaseBoolInt `json:"was_listened,omitempty"`
|
||||
Keyboard MessagesKeyboard `json:"keyboard"`
|
||||
@ -461,6 +462,7 @@ type MessagesChatPreview struct {
|
||||
LocalID int `json:"local_id"`
|
||||
Joined bool `json:"joined"`
|
||||
ChatSettings MessagesConversationChatSettings `json:"chat_settings"`
|
||||
IsMember BaseBoolInt `json:"is_member"`
|
||||
}
|
||||
|
||||
// MessagesChatPushSettings struct.
|
||||
@ -510,6 +512,7 @@ type MessagesConversationCanWrite struct {
|
||||
// MessagesConversationChatSettings struct.
|
||||
type MessagesConversationChatSettings struct {
|
||||
MembersCount int `json:"members_count"`
|
||||
FriendsCount int `json:"friends_count"`
|
||||
Photo MessagesChatSettingsPhoto `json:"photo"`
|
||||
PinnedMessage MessagesPinnedMessage `json:"pinned_message"`
|
||||
State string `json:"state"`
|
||||
|
1
vendor/github.com/SevereCloud/vksdk/v2/object/object.go
generated
vendored
1
vendor/github.com/SevereCloud/vksdk/v2/object/object.go
generated
vendored
@ -262,6 +262,7 @@ type BaseSticker struct {
|
||||
ImagesWithBackground []BaseImage `json:"images_with_background"`
|
||||
ProductID int `json:"product_id"`
|
||||
StickerID int `json:"sticker_id"`
|
||||
IsAllowed bool `json:"is_allowed"`
|
||||
AnimationURL string `json:"animation_url"`
|
||||
}
|
||||
|
||||
|
1
vendor/github.com/SevereCloud/vksdk/v2/object/polls.go
generated
vendored
1
vendor/github.com/SevereCloud/vksdk/v2/object/polls.go
generated
vendored
@ -38,6 +38,7 @@ type PollsPoll struct {
|
||||
Friends []PollsFriend `json:"friends"`
|
||||
Profiles []UsersUser `json:"profiles"`
|
||||
Groups []GroupsGroup `json:"groups"`
|
||||
EmbedHash string `json:"embed_hash"`
|
||||
}
|
||||
|
||||
// ToAttachment return attachment format.
|
||||
|
19
vendor/github.com/SevereCloud/vksdk/v2/object/stories.go
generated
vendored
19
vendor/github.com/SevereCloud/vksdk/v2/object/stories.go
generated
vendored
@ -27,7 +27,9 @@ type StoriesNarrativeInfo struct {
|
||||
Views int `json:"views"`
|
||||
}
|
||||
|
||||
// StoriesPromoData struct.
|
||||
// StoriesPromoData additional data for promo stories.
|
||||
//
|
||||
// TODO: v3 rename StoriesPromoBlock.
|
||||
type StoriesPromoData struct {
|
||||
Name string `json:"name"`
|
||||
Photo50 string `json:"photo_50"`
|
||||
@ -164,11 +166,16 @@ const (
|
||||
|
||||
// StoriesFeedItem struct.
|
||||
type StoriesFeedItem struct {
|
||||
Type StoriesFeedItemType `json:"type"`
|
||||
ID string `json:"id"`
|
||||
Stories []StoriesStory `json:"stories"`
|
||||
Grouped StoriesFeedItemType `json:"grouped"`
|
||||
App AppsApp `json:"app"`
|
||||
Type StoriesFeedItemType `json:"type"`
|
||||
ID string `json:"id"`
|
||||
Stories []StoriesStory `json:"stories"`
|
||||
Grouped StoriesFeedItemType `json:"grouped"`
|
||||
App AppsApp `json:"app"`
|
||||
BirthdayUserID int `json:"birthday_user_id"`
|
||||
TrackCode string `json:"track_code"`
|
||||
HasUnseen BaseBoolInt `json:"has_unseen"`
|
||||
Name string `json:"name"`
|
||||
PromoData StoriesPromoData `json:"promo_data"`
|
||||
}
|
||||
|
||||
// StoriesClickableStickers struct.
|
||||
|
1
vendor/github.com/SevereCloud/vksdk/v2/object/users.go
generated
vendored
1
vendor/github.com/SevereCloud/vksdk/v2/object/users.go
generated
vendored
@ -69,6 +69,7 @@ type UsersUser struct {
|
||||
CanSeeAudio BaseBoolInt `json:"can_see_audio"`
|
||||
CanWritePrivateMessage BaseBoolInt `json:"can_write_private_message"`
|
||||
CanSendFriendRequest BaseBoolInt `json:"can_send_friend_request"`
|
||||
CanCallFromGroup BaseBoolInt `json:"can_call_from_group"`
|
||||
Verified BaseBoolInt `json:"verified"`
|
||||
Trending BaseBoolInt `json:"trending"`
|
||||
Blacklisted BaseBoolInt `json:"blacklisted"`
|
||||
|
19
vendor/github.com/SevereCloud/vksdk/v2/object/video.go
generated
vendored
19
vendor/github.com/SevereCloud/vksdk/v2/object/video.go
generated
vendored
@ -81,14 +81,15 @@ func (video VideoVideo) ToAttachment() string {
|
||||
|
||||
// VideoRestriction struct.
|
||||
type VideoRestriction struct {
|
||||
Title string `json:"title"`
|
||||
Text string `json:"text"`
|
||||
AlwaysShown BaseBoolInt `json:"always_shown"`
|
||||
Blur BaseBoolInt `json:"blur"`
|
||||
CanPlay BaseBoolInt `json:"can_play"`
|
||||
CanPreview BaseBoolInt `json:"can_preview"`
|
||||
CardIcon []BaseImage `json:"card_icon"`
|
||||
ListIcon []BaseImage `json:"list_icon"`
|
||||
Title string `json:"title"`
|
||||
Text string `json:"text"`
|
||||
AlwaysShown BaseBoolInt `json:"always_shown"`
|
||||
Blur BaseBoolInt `json:"blur"`
|
||||
CanPlay BaseBoolInt `json:"can_play"`
|
||||
CanPreview BaseBoolInt `json:"can_preview"`
|
||||
CardIcon []BaseImage `json:"card_icon"`
|
||||
ListIcon []BaseImage `json:"list_icon"`
|
||||
DisclaimerType int `json:"disclaimer_type"`
|
||||
}
|
||||
|
||||
// VideoActionButton struct.
|
||||
@ -113,6 +114,8 @@ type VideoSnippet struct {
|
||||
type VideoVideoFiles struct {
|
||||
External string `json:"external"` // URL of the external player
|
||||
Mp4_1080 string `json:"mp4_1080"` // URL of the mpeg4 file with 1080p quality
|
||||
Mp4_1440 string `json:"mp4_1440"` // URL of the mpeg4 file with 2k quality
|
||||
Mp4_2160 string `json:"mp4_2160"` // URL of the mpeg4 file with 4k quality
|
||||
Mp4_240 string `json:"mp4_240"` // URL of the mpeg4 file with 240p quality
|
||||
Mp4_360 string `json:"mp4_360"` // URL of the mpeg4 file with 360p quality
|
||||
Mp4_480 string `json:"mp4_480"` // URL of the mpeg4 file with 480p quality
|
||||
|
Reference in New Issue
Block a user