summaryrefslogtreecommitdiffstats
path: root/vendor/github.com/SevereCloud/vksdk/v2/object
diff options
context:
space:
mode:
authorWim <wim@42.be>2022-04-12 00:30:21 +0200
committerGitHub <noreply@github.com>2022-04-12 00:30:21 +0200
commit281ef53e7de5d30114dbf57a4b506b2d8d2720cc (patch)
tree5fe13b85ffe312053452e0d7107ca4b174a412e0 /vendor/github.com/SevereCloud/vksdk/v2/object
parentf044b948e257814e8e1f70d4b66821bfd9c2ff06 (diff)
downloadmatterbridge-msglm-281ef53e7de5d30114dbf57a4b506b2d8d2720cc.tar.gz
matterbridge-msglm-281ef53e7de5d30114dbf57a4b506b2d8d2720cc.tar.bz2
matterbridge-msglm-281ef53e7de5d30114dbf57a4b506b2d8d2720cc.zip
Update dependencies (#1800)
Diffstat (limited to 'vendor/github.com/SevereCloud/vksdk/v2/object')
-rw-r--r--vendor/github.com/SevereCloud/vksdk/v2/object/account.go1
-rw-r--r--vendor/github.com/SevereCloud/vksdk/v2/object/messages.go1
-rw-r--r--vendor/github.com/SevereCloud/vksdk/v2/object/users.go211
-rw-r--r--vendor/github.com/SevereCloud/vksdk/v2/object/video.go24
4 files changed, 131 insertions, 106 deletions
diff --git a/vendor/github.com/SevereCloud/vksdk/v2/object/account.go b/vendor/github.com/SevereCloud/vksdk/v2/object/account.go
index ca04dce1..7806a472 100644
--- a/vendor/github.com/SevereCloud/vksdk/v2/object/account.go
+++ b/vendor/github.com/SevereCloud/vksdk/v2/object/account.go
@@ -84,7 +84,6 @@ type AccountAccountCounters struct {
// AccountInfo struct.
type AccountInfo struct {
-
// Country code.
Country string `json:"country"`
diff --git a/vendor/github.com/SevereCloud/vksdk/v2/object/messages.go b/vendor/github.com/SevereCloud/vksdk/v2/object/messages.go
index 2bf69096..e06bf51e 100644
--- a/vendor/github.com/SevereCloud/vksdk/v2/object/messages.go
+++ b/vendor/github.com/SevereCloud/vksdk/v2/object/messages.go
@@ -409,7 +409,6 @@ type MessageContentSource struct {
Type string `json:"type"`
MessageContentSourceMessage // type message
MessageContentSourceURL // type url
-
}
// NewMessageContentSourceMessage ...
diff --git a/vendor/github.com/SevereCloud/vksdk/v2/object/users.go b/vendor/github.com/SevereCloud/vksdk/v2/object/users.go
index 7bf93b40..91ef92be 100644
--- a/vendor/github.com/SevereCloud/vksdk/v2/object/users.go
+++ b/vendor/github.com/SevereCloud/vksdk/v2/object/users.go
@@ -24,110 +24,113 @@ const (
// UsersUser struct.
type UsersUser struct {
- ID int `json:"id"`
- FirstName string `json:"first_name"`
- LastName string `json:"last_name"`
- FirstNameNom string `json:"first_name_nom"`
- FirstNameGen string `json:"first_name_gen"`
- FirstNameDat string `json:"first_name_dat"`
- FirstNameAcc string `json:"first_name_acc"`
- FirstNameIns string `json:"first_name_ins"`
- FirstNameAbl string `json:"first_name_abl"`
- LastNameNom string `json:"last_name_nom"`
- LastNameGen string `json:"last_name_gen"`
- LastNameDat string `json:"last_name_dat"`
- LastNameAcc string `json:"last_name_acc"`
- LastNameIns string `json:"last_name_ins"`
- LastNameAbl string `json:"last_name_abl"`
- MaidenName string `json:"maiden_name"`
- Sex int `json:"sex"`
- Nickname string `json:"nickname"`
- Domain string `json:"domain"`
- ScreenName string `json:"screen_name"`
- Bdate string `json:"bdate"`
- City BaseObject `json:"city"`
- Country BaseObject `json:"country"`
- Photo50 string `json:"photo_50"`
- Photo100 string `json:"photo_100"`
- Photo200 string `json:"photo_200"`
- PhotoMax string `json:"photo_max"`
- Photo200Orig string `json:"photo_200_orig"`
- Photo400Orig string `json:"photo_400_orig"`
- PhotoMaxOrig string `json:"photo_max_orig"`
- PhotoID string `json:"photo_id"`
- FriendStatus int `json:"friend_status"` // see FriendStatus const
- OnlineApp int `json:"online_app"`
- Online BaseBoolInt `json:"online"`
- OnlineMobile BaseBoolInt `json:"online_mobile"`
- HasPhoto BaseBoolInt `json:"has_photo"`
- HasMobile BaseBoolInt `json:"has_mobile"`
- IsClosed BaseBoolInt `json:"is_closed"`
- IsFriend BaseBoolInt `json:"is_friend"`
- IsFavorite BaseBoolInt `json:"is_favorite"`
- IsHiddenFromFeed BaseBoolInt `json:"is_hidden_from_feed"`
- CanAccessClosed BaseBoolInt `json:"can_access_closed"`
- CanBeInvitedGroup BaseBoolInt `json:"can_be_invited_group"`
- CanPost BaseBoolInt `json:"can_post"`
- CanSeeAllPosts BaseBoolInt `json:"can_see_all_posts"`
- 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"`
- BlacklistedByMe BaseBoolInt `json:"blacklisted_by_me"`
- Facebook string `json:"facebook"`
- FacebookName string `json:"facebook_name"`
- Twitter string `json:"twitter"`
- Instagram string `json:"instagram"`
- Site string `json:"site"`
- Status string `json:"status"`
- StatusAudio AudioAudio `json:"status_audio"`
- LastSeen UsersLastSeen `json:"last_seen"`
- CropPhoto UsersCropPhoto `json:"crop_photo"`
- FollowersCount int `json:"followers_count"`
- CommonCount int `json:"common_count"`
- Occupation UsersOccupation `json:"occupation"`
- Career []UsersCareer `json:"career"`
- Military []UsersMilitary `json:"military"`
- University int `json:"university"`
- UniversityName string `json:"university_name"`
- Faculty int `json:"faculty"`
- FacultyName string `json:"faculty_name"`
- Graduation int `json:"graduation"`
- EducationForm string `json:"education_form"`
- EducationStatus string `json:"education_status"`
- HomeTown string `json:"home_town"`
- Relation int `json:"relation"`
- Personal UsersPersonal `json:"personal"`
- Interests string `json:"interests"`
- Music string `json:"music"`
- Activities string `json:"activities"`
- Movies string `json:"movies"`
- Tv string `json:"tv"`
- Books string `json:"books"`
- Games string `json:"games"`
- Universities []UsersUniversity `json:"universities"`
- Schools []UsersSchool `json:"schools"`
- About string `json:"about"`
- Relatives []UsersRelative `json:"relatives"`
- Quotes string `json:"quotes"`
- Lists []int `json:"lists"`
- Deactivated string `json:"deactivated"`
- WallDefault string `json:"wall_default"`
- Timezone int `json:"timezone"`
- Exports UsersExports `json:"exports"`
- Counters UsersUserCounters `json:"counters"`
- MobilePhone string `json:"mobile_phone"`
- HomePhone string `json:"home_phone"`
- FoundWith int `json:"found_with"` // TODO: check it
- OnlineInfo UsersOnlineInfo `json:"online_info"`
- Mutual FriendsRequestsMutual `json:"mutual"`
- TrackCode string `json:"track_code"`
- RelationPartner UsersUserMin `json:"relation_partner"`
- Type string `json:"type"`
- Skype string `json:"skype"`
+ ID int `json:"id"`
+ FirstName string `json:"first_name"`
+ LastName string `json:"last_name"`
+ FirstNameNom string `json:"first_name_nom"`
+ FirstNameGen string `json:"first_name_gen"`
+ FirstNameDat string `json:"first_name_dat"`
+ FirstNameAcc string `json:"first_name_acc"`
+ FirstNameIns string `json:"first_name_ins"`
+ FirstNameAbl string `json:"first_name_abl"`
+ LastNameNom string `json:"last_name_nom"`
+ LastNameGen string `json:"last_name_gen"`
+ LastNameDat string `json:"last_name_dat"`
+ LastNameAcc string `json:"last_name_acc"`
+ LastNameIns string `json:"last_name_ins"`
+ LastNameAbl string `json:"last_name_abl"`
+ MaidenName string `json:"maiden_name"`
+ Sex int `json:"sex"`
+ Nickname string `json:"nickname"`
+ Domain string `json:"domain"`
+ ScreenName string `json:"screen_name"`
+ Bdate string `json:"bdate"`
+ City BaseObject `json:"city"`
+ Country BaseObject `json:"country"`
+ Photo50 string `json:"photo_50"`
+ Photo100 string `json:"photo_100"`
+ Photo200 string `json:"photo_200"`
+ PhotoMax string `json:"photo_max"`
+ Photo200Orig string `json:"photo_200_orig"`
+ Photo400Orig string `json:"photo_400_orig"`
+ PhotoMaxOrig string `json:"photo_max_orig"`
+ PhotoID string `json:"photo_id"`
+ FriendStatus int `json:"friend_status"` // see FriendStatus const
+ OnlineApp int `json:"online_app"`
+ Online BaseBoolInt `json:"online"`
+ OnlineMobile BaseBoolInt `json:"online_mobile"`
+ HasPhoto BaseBoolInt `json:"has_photo"`
+ HasMobile BaseBoolInt `json:"has_mobile"`
+ IsClosed BaseBoolInt `json:"is_closed"`
+ IsFriend BaseBoolInt `json:"is_friend"`
+ IsFavorite BaseBoolInt `json:"is_favorite"`
+ IsHiddenFromFeed BaseBoolInt `json:"is_hidden_from_feed"`
+ CanAccessClosed BaseBoolInt `json:"can_access_closed"`
+ CanBeInvitedGroup BaseBoolInt `json:"can_be_invited_group"`
+ CanPost BaseBoolInt `json:"can_post"`
+ CanSeeAllPosts BaseBoolInt `json:"can_see_all_posts"`
+ 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"`
+ BlacklistedByMe BaseBoolInt `json:"blacklisted_by_me"`
+ // Deprecated: Facebook и Instagram запрещены в России, Meta признана экстремистской организацией...
+ Facebook string `json:"facebook"`
+ // Deprecated: Facebook и Instagram запрещены в России, Meta признана экстремистской организацией...
+ FacebookName string `json:"facebook_name"`
+ // Deprecated: Facebook и Instagram запрещены в России, Meta признана экстремистской организацией...
+ Instagram string `json:"instagram"`
+ Twitter string `json:"twitter"`
+ Site string `json:"site"`
+ Status string `json:"status"`
+ StatusAudio AudioAudio `json:"status_audio"`
+ LastSeen UsersLastSeen `json:"last_seen"`
+ CropPhoto UsersCropPhoto `json:"crop_photo"`
+ FollowersCount int `json:"followers_count"`
+ CommonCount int `json:"common_count"`
+ Occupation UsersOccupation `json:"occupation"`
+ Career []UsersCareer `json:"career"`
+ Military []UsersMilitary `json:"military"`
+ University int `json:"university"`
+ UniversityName string `json:"university_name"`
+ Faculty int `json:"faculty"`
+ FacultyName string `json:"faculty_name"`
+ Graduation int `json:"graduation"`
+ EducationForm string `json:"education_form"`
+ EducationStatus string `json:"education_status"`
+ HomeTown string `json:"home_town"`
+ Relation int `json:"relation"`
+ Personal UsersPersonal `json:"personal"`
+ Interests string `json:"interests"`
+ Music string `json:"music"`
+ Activities string `json:"activities"`
+ Movies string `json:"movies"`
+ Tv string `json:"tv"`
+ Books string `json:"books"`
+ Games string `json:"games"`
+ Universities []UsersUniversity `json:"universities"`
+ Schools []UsersSchool `json:"schools"`
+ About string `json:"about"`
+ Relatives []UsersRelative `json:"relatives"`
+ Quotes string `json:"quotes"`
+ Lists []int `json:"lists"`
+ Deactivated string `json:"deactivated"`
+ WallDefault string `json:"wall_default"`
+ Timezone int `json:"timezone"`
+ Exports UsersExports `json:"exports"`
+ Counters UsersUserCounters `json:"counters"`
+ MobilePhone string `json:"mobile_phone"`
+ HomePhone string `json:"home_phone"`
+ FoundWith int `json:"found_with"` // TODO: check it
+ OnlineInfo UsersOnlineInfo `json:"online_info"`
+ Mutual FriendsRequestsMutual `json:"mutual"`
+ TrackCode string `json:"track_code"`
+ RelationPartner UsersUserMin `json:"relation_partner"`
+ Type string `json:"type"`
+ Skype string `json:"skype"`
}
// ToMention return mention.
diff --git a/vendor/github.com/SevereCloud/vksdk/v2/object/video.go b/vendor/github.com/SevereCloud/vksdk/v2/object/video.go
index 6c48224b..d86143a9 100644
--- a/vendor/github.com/SevereCloud/vksdk/v2/object/video.go
+++ b/vendor/github.com/SevereCloud/vksdk/v2/object/video.go
@@ -297,3 +297,27 @@ type VideoVideoImage struct {
BaseImage
WithPadding BaseBoolInt `json:"with_padding"`
}
+
+// VideoLive struct.
+type VideoLive struct {
+ OwnerID int `json:"owner_id"`
+ VideoID int `json:"video_id"`
+ Name string `json:"name"`
+ Description string `json:"description"`
+ AccessKey string `json:"access_key"`
+ Stream VideoLiveStream `json:"stream"`
+}
+
+// VideoLiveStream struct.
+type VideoLiveStream struct {
+ URL string `json:"url"`
+ Key string `json:"key"`
+ OKMPURL string `json:"okmp_url"`
+}
+
+// VideoLiveCategory struct.
+type VideoLiveCategory struct {
+ ID int `json:"id"`
+ Label string `json:"label"`
+ Sublist []VideoLiveCategory `json:"sublist,omitempty"`
+}