4
0
mirror of https://github.com/cwinfo/matterbridge.git synced 2025-07-05 05:54:03 +00:00

Update dependencies (#2180)

* Update dependencies

* Fix whatsmeow API changes
This commit is contained in:
Wim
2024-08-27 19:04:05 +02:00
committed by GitHub
parent d16645c952
commit c4157a4d5b
589 changed files with 681707 additions and 198856 deletions

View File

@ -244,7 +244,7 @@ type GroupsGroupLikeFriends struct {
type GroupsLiveCovers struct {
IsEnabled BaseBoolInt `json:"is_enabled"`
IsScalable BaseBoolInt `json:"is_scalable"`
StoryIds []string `json:"story_ids"`
StoryIds []string `json:"story_ids"` //nolint:revive
}
// GroupsBanInfo reason type.
@ -607,7 +607,7 @@ type GroupsYoulaSettings struct {
ModerationStatus int `json:"moderation_status"`
DeclineReason string `json:"decline_reason"`
GroupMode int `json:"group_mode"`
SelectedCategoryIDS []int `json:"selected_category_ids"`
SelectedCategoryIDS []int `json:"selected_category_ids"` //nolint:revive
Lat float64 `json:"lat"`
Long float64 `json:"long"`
Radius float64 `json:"radius"`

View File

@ -357,7 +357,7 @@ func (eventData MessagesEventData) ToJSON() string {
// MessagesTemplate struct.
//
// https://vk.com/dev/bot_docs_templates
// https://dev.vk.com/ru/api/bots/development/messages
type MessagesTemplate struct {
Type string `json:"type"`
Elements []MessagesTemplateElement `json:"elements"`
@ -404,7 +404,7 @@ type MessageContentSourceURL struct {
// MessageContentSource struct.
//
// https://vk.com/dev/bots_docs_2
// https://dev.vk.com/ru/api/bots/development/messages
type MessageContentSource struct {
Type string `json:"type"`
MessageContentSourceMessage // type message
@ -592,8 +592,7 @@ type MessagesConversationPushSettings struct {
// MessagesConversationWithMessage struct.
type MessagesConversationWithMessage struct {
Conversation MessagesConversation `json:"conversation"`
// BUG(VK): https://vk.com/bug229134
LastMessage MessagesMessage `json:"last_message"`
LastMessage MessagesMessage `json:"last_message"`
}
// MessagesDialog struct.

View File

@ -1,7 +1,7 @@
/*
Package object contains objects for VK.
See more https://vk.com/dev/objects
See more https://dev.vk.com/ru/reference/objects
*/
package object // import "github.com/SevereCloud/vksdk/v2/object"

View File

@ -75,7 +75,7 @@ type PagesWikipageFull struct {
// PagesWikipageHistory struct.
//
// BUG(VK): https://vk.com/dev/pages.getHistory edited and date.
// BUG(VK): https://dev.vk.com/method/pages.getHistory edited and date.
type PagesWikipageHistory struct {
Date int `json:"date"` // Date when the page has been edited in Unixtime
EditorID int `json:"editor_id"` // Last editor ID

View File

@ -186,7 +186,7 @@ type StoriesFeedItem struct {
// The sticker object is pasted by the developer on the client himself, only
// coordinates are transmitted to the server.
//
// https://vk.com/dev/objects/clickable_stickers
// https://dev.vk.com/ru/reference/objects/clickable-sticker
type StoriesClickableStickers struct {
OriginalWidth int `json:"original_width"`
OriginalHeight int `json:"original_height"`