· 5 years ago · Jul 24, 2020, 10:48 AM
1package objects
2
3type AccountAccountCounters struct {
4 AppRequests int64
5 Events int64
6 Faves int64
7 Friends int64
8 FriendsSuggestions int64
9 FriendsRecommendations int64
10 Gifts int64
11 Groups int64
12 MenuDiscoverBadge int64
13 Messages int64
14 Memories int64
15 Notes int64
16 Notifications int64
17 Photos int64
18 Sdk int64
19}
20
21type AccountInfo struct {
22 WishlistsAePromoBannerShow BaseBoolInt
23 TwoFARequired BaseBoolInt
24 Country string
25 HttpsRequired BaseBoolInt
26 Intro BaseBoolInt
27 ShowVkAppsIntro bool
28 MiniAppsAdsSlotId int64
29 QrPromotion int64
30 LinkRedirects interface{} //hz
31 Lang int64
32 NoWallReplies BaseBoolInt
33 OwnPostsDefault BaseBoolInt
34 Subscriptions []int64
35}
36
37type AccountNameRequest struct {
38 FirstName string
39 Id int64
40 LastName string
41 Status AccountNameRequestStatus
42 Lang string
43 LinkHref string
44 LinkLabel string
45}
46
47// enum account_name_request_status
48type AccountNameRequestStatus string
49
50const (
51 AccountNameRequestStatusSuccess AccountNameRequestStatus = "success"
52 AccountNameRequestStatusProcessing AccountNameRequestStatus = "processing"
53 AccountNameRequestStatusDeclined AccountNameRequestStatus = "declined"
54 AccountNameRequestStatusWasAccepted AccountNameRequestStatus = "was_accepted"
55 AccountNameRequestStatusWasDeclined AccountNameRequestStatus = "was_declined"
56 AccountNameRequestStatusDeclinedWithLink AccountNameRequestStatus = "declined_with_link"
57 AccountNameRequestStatusResponse AccountNameRequestStatus = "response"
58 AccountNameRequestStatusResponseWithLink AccountNameRequestStatus = "response_with_link"
59)
60
61type AccountOffer struct {
62 Description string
63 Id int64
64 Img string
65 Instruction string
66 InstructionHtml string
67 Price int64
68 ShortDescription string
69 Tag string
70 Title string
71 CurrencyAmount int64
72 LinkId int64
73 LinkType string
74}
75
76type AccountPushConversations struct {
77 Count int64
78 Items []AccountPushConversationsItem
79}
80
81type AccountPushConversationsItem struct {
82 DisabledUntil int64
83 PeerId int64
84 Sound BaseBoolInt
85}
86
87type AccountPushParams struct {
88 Msg []AccountPushParamsMode
89 Chat []AccountPushParamsMode
90 Like []AccountPushParamsSettings
91 Repost []AccountPushParamsSettings
92 Comment []AccountPushParamsSettings
93 Mention []AccountPushParamsSettings
94 Reply []AccountPushParamsOnoff
95 NewPost []AccountPushParamsOnoff
96 WallPost []AccountPushParamsOnoff
97 WallPublish []AccountPushParamsOnoff
98 Friend []AccountPushParamsOnoff
99 FriendFound []AccountPushParamsOnoff
100 FriendAccepted []AccountPushParamsOnoff
101 GroupInvite []AccountPushParamsOnoff
102 GroupAccepted []AccountPushParamsOnoff
103 Birthday []AccountPushParamsOnoff
104 EventSoon []AccountPushParamsOnoff
105 AppRequest []AccountPushParamsOnoff
106 SdkOpen []AccountPushParamsOnoff
107}
108
109// enum account_push_params_mode
110type AccountPushParamsMode string
111
112const (
113 AccountPushParamsModeOn AccountPushParamsMode = "on"
114 AccountPushParamsModeOff AccountPushParamsMode = "off"
115 AccountPushParamsModeNoSound AccountPushParamsMode = "no_sound"
116 AccountPushParamsModeNoText AccountPushParamsMode = "no_text"
117)
118
119// enum account_push_params_onoff
120type AccountPushParamsOnoff string
121
122const (
123 AccountPushParamsOnoffOn AccountPushParamsOnoff = "on"
124 AccountPushParamsOnoffOff AccountPushParamsOnoff = "off"
125)
126
127// enum account_push_params_settings
128type AccountPushParamsSettings string
129
130const (
131 AccountPushParamsSettingsOn AccountPushParamsSettings = "on"
132 AccountPushParamsSettingsOff AccountPushParamsSettings = "off"
133 AccountPushParamsSettingsFrOfFr AccountPushParamsSettings = "fr_of_fr"
134)
135
136type AccountPushSettings struct {
137 Disabled BaseBoolInt
138 DisabledUntil int64
139 Settings AccountPushParams
140 Conversations AccountPushConversations
141}
142
143// allof account_user_settings
144type AccountUserSettings struct {
145 *UsersUserMin
146 *UsersUserSettingsXtr
147 Photo200 *string
148 IsServiceAccount *bool
149}
150
151type AccountUserSettingsInterest struct {
152 Title string
153 Value string
154}
155
156type AccountUserSettingsInterests struct {
157 Activities AccountUserSettingsInterest
158 Interests AccountUserSettingsInterest
159 Music AccountUserSettingsInterest
160 Tv AccountUserSettingsInterest
161 Movies AccountUserSettingsInterest
162 Books AccountUserSettingsInterest
163 Games AccountUserSettingsInterest
164 Quotes AccountUserSettingsInterest
165 About AccountUserSettingsInterest
166}
167
168// enum addresses_fields
169type AddressesFields string
170
171const (
172 AddressesFieldsId AddressesFields = "id"
173 AddressesFieldsTitle AddressesFields = "title"
174 AddressesFieldsAddress AddressesFields = "address"
175 AddressesFieldsAdditionalAddress AddressesFields = "additional_address"
176 AddressesFieldsCountryId AddressesFields = "country_id"
177 AddressesFieldsCityId AddressesFields = "city_id"
178 AddressesFieldsMetroStationId AddressesFields = "metro_station_id"
179 AddressesFieldsLatitude AddressesFields = "latitude"
180 AddressesFieldsLongitude AddressesFields = "longitude"
181 AddressesFieldsDistance AddressesFields = "distance"
182 AddressesFieldsWorkInfoStatus AddressesFields = "work_info_status"
183 AddressesFieldsTimetable AddressesFields = "timetable"
184 AddressesFieldsPhone AddressesFields = "phone"
185 AddressesFieldsTimeOffset AddressesFields = "time_offset"
186)
187
188// enum ads_access_role
189type AdsAccessRole string
190
191const (
192 AdsAccessRoleAdmin AdsAccessRole = "admin"
193 AdsAccessRoleManager AdsAccessRole = "manager"
194 AdsAccessRoleReports AdsAccessRole = "reports"
195)
196
197type AdsAccesses struct {
198 ClientId string
199 Role AdsAccessRole
200}
201
202type AdsAccount struct {
203 AccessRole AdsAccessRole
204 AccountId int64
205 AccountStatus BaseBoolInt
206 AccountType AdsAccountType
207 AccountName string
208}
209
210// enum ads_account_type
211type AdsAccountType string
212
213const (
214 AdsAccountTypeGeneral AdsAccountType = "general"
215 AdsAccountTypeAgency AdsAccountType = "agency"
216)
217
218type AdsAd struct {
219 AdFormat int64
220 AdPlatform interface{}
221 AllLimit int64
222 Approved AdsAdApproved
223 CampaignId int64
224 Category1Id int64
225 Category2Id int64
226 CostType AdsAdCostType
227 Cpc int64
228 Cpm int64
229 Cpa int64
230 Ocpm int64
231 AutobiddingMaxCost int64
232 DisclaimerMedical BaseBoolInt
233 DisclaimerSpecialist BaseBoolInt
234 DisclaimerSupplements BaseBoolInt
235 Id int64
236 ImpressionsLimit int64
237 ImpressionsLimited BaseBoolInt
238 Name string
239 Status AdsAdStatus
240 Video BaseBoolInt
241}
242
243// enum ads_ad_approved
244type AdsAdApproved int64
245
246const (
247 AdsAdApprovedNotModerated AdsAdApproved = 0
248 AdsAdApprovedPendingModeration AdsAdApproved = 1
249 AdsAdApprovedApproved AdsAdApproved = 2
250 AdsAdApprovedRejected AdsAdApproved = 3
251)
252
253// enum ads_ad_cost_type
254type AdsAdCostType int64
255
256const (
257 AdsAdCostTypePerClicks AdsAdCostType = 0
258 AdsAdCostTypePerImpressions AdsAdCostType = 1
259 AdsAdCostTypePerActions AdsAdCostType = 2
260 AdsAdCostTypePerImpressionsOptimized AdsAdCostType = 3
261)
262
263type AdsAdLayout struct {
264 AdFormat int64
265 CampaignId int64
266 CostType AdsAdCostType
267 Description string
268 Id int64
269 ImageSrc string
270 ImageSrc2x string
271 LinkDomain string
272 LinkUrl string
273 PreviewLink interface{}
274 Title string
275 Video BaseBoolInt
276}
277
278// enum ads_ad_status
279type AdsAdStatus int64
280
281const (
282 AdsAdStatusStopped AdsAdStatus = 0
283 AdsAdStatusStarted AdsAdStatus = 1
284 AdsAdStatusDeleted AdsAdStatus = 2
285)
286
287type AdsCampaign struct {
288 AllLimit string
289 DayLimit string
290 Id int64
291 Name string
292 StartTime int64
293 Status AdsCampaignStatus
294 StopTime int64
295 Type AdsCampaignType
296}
297
298// enum ads_campaign_status
299type AdsCampaignStatus int64
300
301const (
302 AdsCampaignStatusStopped AdsCampaignStatus = 0
303 AdsCampaignStatusStarted AdsCampaignStatus = 1
304 AdsCampaignStatusDeleted AdsCampaignStatus = 2
305)
306
307// enum ads_campaign_type
308type AdsCampaignType string
309
310const (
311 AdsCampaignTypeNormal AdsCampaignType = "normal"
312 AdsCampaignTypeVkAppsManaged AdsCampaignType = "vk_apps_managed"
313 AdsCampaignTypeMobileApps AdsCampaignType = "mobile_apps"
314 AdsCampaignTypePromotedPosts AdsCampaignType = "promoted_posts"
315)
316
317type AdsCategory struct {
318 Id int64
319 Name string
320 Subcategories []BaseObjectWithName
321}
322
323type AdsClient struct {
324 AllLimit string
325 DayLimit string
326 Id int64
327 Name string
328}
329
330type AdsCriteria struct {
331 AgeFrom int64
332 AgeTo int64
333 Apps string
334 AppsNot string
335 Birthday int64
336 Cities string
337 CitiesNot string
338 Country int64
339 Districts string
340 Groups string
341 InterestCategories string
342 Interests string
343 Paying BaseBoolInt
344 Positions string
345 Religions string
346 RetargetingGroups string
347 RetargetingGroupsNot string
348 SchoolFrom int64
349 SchoolTo int64
350 Schools string
351 Sex AdsCriteriaSex
352 Stations string
353 Statuses string
354 Streets string
355 Travellers BasePropertyExists
356 UniFrom int64
357 UniTo int64
358 UserBrowsers string
359 UserDevices string
360 UserOs string
361}
362
363// enum ads_criteria_sex
364type AdsCriteriaSex int64
365
366const (
367 AdsCriteriaSexAny AdsCriteriaSex = 0
368 AdsCriteriaSexMale AdsCriteriaSex = 1
369 AdsCriteriaSexFemale AdsCriteriaSex = 2
370)
371
372type AdsDemoStats struct {
373 Id int64
374 Stats AdsDemostatsFormat
375 Type AdsObjectType
376}
377
378type AdsDemostatsFormat struct {
379 Age []AdsStatsAge
380 Cities []AdsStatsCities
381 Day string
382 Month string
383 Overall int64
384 Sex []AdsStatsSex
385 SexAge []AdsStatsSexAge
386}
387
388type AdsFloodStats struct {
389 Left int64
390 Refresh int64
391}
392
393type AdsLinkStatus struct {
394 Description string
395 RedirectUrl string
396 Status string
397}
398
399type AdsLookalikeRequest struct {
400 Id int64
401 CreateTime int64
402 UpdateTime int64
403 ScheduledDeleteTime int64
404 Status string
405 SourceType string
406 SourceRetargetingGroupId int64
407 SourceName string
408 AudienceCount int64
409 SaveAudienceLevels []AdsLookalikeRequestSaveAudienceLevel
410}
411
412type AdsLookalikeRequestSaveAudienceLevel struct {
413 Level int64
414 AudienceCount int64
415}
416
417type AdsMusician struct {
418 Id int64
419 Name string
420}
421
422// enum ads_object_type
423type AdsObjectType string
424
425const (
426 AdsObjectTypeAd AdsObjectType = "ad"
427 AdsObjectTypeCampaign AdsObjectType = "campaign"
428 AdsObjectTypeClient AdsObjectType = "client"
429 AdsObjectTypeOffice AdsObjectType = "office"
430)
431
432type AdsParagraphs struct {
433 Paragraph string
434}
435
436type AdsPromotedPostReach struct {
437 Hide int64
438 Id int64
439 JoinGroup int64
440 Links int64
441 ReachSubscribers int64
442 ReachTotal int64
443 Report int64
444 ToGroup int64
445 Unsubscribe int64
446 VideoViews100p int64
447 VideoViews25p int64
448 VideoViews3s int64
449 VideoViews50p int64
450 VideoViews75p int64
451 VideoViewsStart int64
452}
453
454type AdsRejectReason struct {
455 Comment string
456 Rules []AdsRules
457}
458
459type AdsRules struct {
460 Paragraphs []AdsParagraphs
461 Title string
462}
463
464type AdsStats struct {
465 Id int64
466 Stats AdsStatsFormat
467 Type AdsObjectType
468 ViewsTimes AdsStatsViewsTimes
469}
470
471type AdsStatsAge struct {
472 ClicksRate int64
473 ImpressionsRate int64
474 Value string
475}
476
477type AdsStatsCities struct {
478 ClicksRate int64
479 ImpressionsRate int64
480 Name string
481 Value int64
482}
483
484type AdsStatsFormat struct {
485 Clicks int64
486 Day string
487 Impressions int64
488 JoinRate int64
489 Month string
490 Overall int64
491 Reach int64
492 Spent int64
493 VideoClicksSite int64
494 VideoViews int64
495 VideoViewsFull int64
496 VideoViewsHalf int64
497}
498
499type AdsStatsSex struct {
500 ClicksRate int64
501 ImpressionsRate int64
502 Value AdsStatsSexValue
503}
504
505type AdsStatsSexAge struct {
506 ClicksRate int64
507 ImpressionsRate int64
508 Value string
509}
510
511// enum ads_stats_sex_value
512type AdsStatsSexValue string
513
514const (
515 AdsStatsSexValueFemale AdsStatsSexValue = "f"
516 AdsStatsSexValueMale AdsStatsSexValue = "m"
517)
518
519type AdsStatsViewsTimes struct {
520 ViewsAdsTimes1 int64
521 ViewsAdsTimes2 int64
522 ViewsAdsTimes3 int64
523 ViewsAdsTimes4 int64
524 ViewsAdsTimes5 string
525 ViewsAdsTimes6 int64
526 ViewsAdsTimes7 int64
527 ViewsAdsTimes8 int64
528 ViewsAdsTimes9 int64
529 ViewsAdsTimes10 int64
530 ViewsAdsTimes11Plus int64
531}
532
533// allof ads_targ_settings
534type AdsTargSettings struct {
535 Id *int64
536 CampaignId *int64
537 *AdsCriteria
538}
539
540type AdsTargStats struct {
541 AudienceCount int64
542 RecommendedCpc int64
543 RecommendedCpm int64
544 RecommendedCpc50 int64
545 RecommendedCpm50 int64
546 RecommendedCpc70 int64
547 RecommendedCpm70 int64
548 RecommendedCpc90 int64
549 RecommendedCpm90 int64
550}
551
552type AdsTargSuggestions struct {
553 Id int64
554 Name string
555}
556
557type AdsTargSuggestionsCities struct {
558 Id int64
559 Name string
560 Parent string
561}
562
563type AdsTargSuggestionsRegions struct {
564 Id int64
565 Name string
566 Type string
567}
568
569type AdsTargSuggestionsSchools struct {
570 Desc string
571 Id int64
572 Name string
573 Parent string
574 Type AdsTargSuggestionsSchoolsType
575}
576
577// enum ads_targ_suggestions_schools_type
578type AdsTargSuggestionsSchoolsType string
579
580const (
581 AdsTargSuggestionsSchoolsTypeSchool AdsTargSuggestionsSchoolsType = "school"
582 AdsTargSuggestionsSchoolsTypeUniversity AdsTargSuggestionsSchoolsType = "university"
583 AdsTargSuggestionsSchoolsTypeFaculty AdsTargSuggestionsSchoolsType = "faculty"
584 AdsTargSuggestionsSchoolsTypeChair AdsTargSuggestionsSchoolsType = "chair"
585)
586
587type AdsTargetGroup struct {
588 AudienceCount int64
589 Domain string
590 Id int64
591 Lifetime int64
592 Name string
593 Pixel string
594}
595
596type AdsUsers struct {
597 Accesses []AdsAccesses
598 UserId int64
599}
600
601// allof apps_app
602type AppsApp struct {
603 *AppsAppMin
604 AuthorUrl *string
605 Banner1120 *string
606 Banner560 *string
607 Icon16 *string
608 IsNew *BaseBoolInt
609 PushEnabled *BaseBoolInt
610 ScreenOrientation *int64
611 Friends *[]int64
612 CatalogPosition *int64
613 Description *string
614 Genre *string
615 GenreId *int64
616 International *bool
617 IsInCatalog *int64
618 LeaderboardType *AppsAppLeaderboardType
619 MembersCount *int64
620 PlatformId *string
621 PublishedDate *int64
622 ScreenName *string
623 Section *string
624}
625
626// enum apps_app_leaderboard_type
627type AppsAppLeaderboardType int64
628
629const (
630 AppsAppLeaderboardTypeNotSupported AppsAppLeaderboardType = 0
631 AppsAppLeaderboardTypeLevels AppsAppLeaderboardType = 1
632 AppsAppLeaderboardTypePoints AppsAppLeaderboardType = 2
633)
634
635type AppsAppMin struct {
636 Type AppsAppType
637 Id int64
638 Title string
639 AuthorOwnerId int64
640 IsInstalled bool
641 Icon139 string
642 Icon150 string
643 Icon278 string
644 Icon576 string
645 BackgroundLoaderColor string
646 LoaderIcon string
647 Icon75 string
648}
649
650// enum apps_app_type
651type AppsAppType string
652
653const (
654 AppsAppTypeApp AppsAppType = "app"
655 AppsAppTypeGame AppsAppType = "game"
656 AppsAppTypeSite AppsAppType = "site"
657 AppsAppTypeStandalone AppsAppType = "standalone"
658 AppsAppTypeVkApp AppsAppType = "vk_app"
659 AppsAppTypeCommunityApp AppsAppType = "community_app"
660 AppsAppTypeHtml5Game AppsAppType = "html5_game"
661 AppsAppTypeMiniApp AppsAppType = "mini_app"
662)
663
664type AppsLeaderboard struct {
665 Level int64
666 Points int64
667 Score int64
668 UserId int64
669}
670
671type AppsScope struct {
672 Name string
673 Title string
674}
675
676type AudioAudio struct {
677 Artist string
678 Id int64
679 Title string
680 Url string
681 Duration int64
682 Date int64
683 AlbumId int64
684 GenreId int64
685 Performer string
686}
687
688// enum base_bool_int
689type BaseBoolInt int64
690
691const (
692 BaseBoolIntNo BaseBoolInt = 0
693 BaseBoolIntYes BaseBoolInt = 1
694)
695
696type BaseCity struct {
697 Id int64
698 Title string
699}
700
701type BaseCommentsInfo struct {
702 CanPost BaseBoolInt
703 Count int64
704 GroupsCanPost bool
705}
706
707type BaseCountry struct {
708 Id int64
709 Title string
710}
711
712type BaseCropPhoto struct {
713 Photo PhotosPhoto
714 Crop BaseCropPhotoCrop
715 Rect BaseCropPhotoRect
716}
717
718type BaseCropPhotoCrop struct {
719 X int64
720 Y int64
721 X2 int64
722 Y2 int64
723}
724
725type BaseCropPhotoRect struct {
726 X int64
727 Y int64
728 X2 int64
729 Y2 int64
730}
731
732type BaseError struct {
733 ErrorCode int64
734 ErrorMsg string
735 ErrorText string
736 RequestParams []BaseRequestParam
737}
738
739type BaseGeo struct {
740 Coordinates BaseGeoCoordinates
741 Place BasePlace
742 Showmap int64
743 Type string
744}
745
746type BaseGeoCoordinates struct {
747 Latitude int64
748 Longitude int64
749}
750
751type BaseGradientPoint struct {
752 Color string
753 Position int64
754}
755
756type BaseImage struct {
757 Id string
758 Height int64
759 Url string
760 Width int64
761}
762
763type BaseLikes struct {
764 Count int64
765 UserLikes BaseBoolInt
766}
767
768type BaseLikesInfo struct {
769 CanLike BaseBoolInt
770 CanPublish BaseBoolInt
771 Count int64
772 UserLikes int64
773}
774
775type BaseLink struct {
776 Application BaseLinkApplication
777 Button BaseLinkButton
778 Caption string
779 Description string
780 Id string
781 IsFavorite bool
782 Photo PhotosPhoto
783 PreviewPage string
784 PreviewUrl string
785 Product BaseLinkProduct
786 Rating BaseLinkRating
787 Title string
788 Url string
789 TargetObject LinkTargetObject
790 IsExternal bool
791 Video VideoVideo
792}
793
794type BaseLinkApplication struct {
795 AppId int64
796 Store BaseLinkApplicationStore
797}
798
799type BaseLinkApplicationStore struct {
800 Id int64
801 Name string
802}
803
804type BaseLinkButton struct {
805 Action BaseLinkButtonAction
806 Title string
807 BlockId string
808 SectionId string
809 OwnerId int64
810 Icon string
811 Style BaseLinkButtonStyle
812}
813
814type BaseLinkButtonAction struct {
815 Type BaseLinkButtonActionType
816 Url string
817 ConsumeReason string
818}
819
820// enum base_link_button_action_type
821type BaseLinkButtonActionType string
822
823const (
824 BaseLinkButtonActionTypeOpenUrl BaseLinkButtonActionType = "open_url"
825)
826
827// enum base_link_button_style
828type BaseLinkButtonStyle string
829
830const ()
831
832type BaseLinkProduct struct {
833 Price MarketPrice
834 Merchant string
835 OrdersCount int64
836}
837
838type BaseLinkRating struct {
839 ReviewsCount int64
840 Stars int64
841}
842
843type BaseMessageError struct {
844 Code int64
845 Description string
846}
847
848type BaseObject struct {
849 Id int64
850 Title string
851}
852
853type BaseObjectCount struct {
854 Count int64
855}
856
857type BaseObjectWithName struct {
858 Id int64
859 Name string
860}
861
862type BasePlace struct {
863 Address string
864 Checkins int64
865 City string
866 Country string
867 Created int64
868 Icon string
869 Id int64
870 Latitude int64
871 Longitude int64
872 Title string
873 Type string
874}
875
876// enum base_property_exists
877type BasePropertyExists int64
878
879const (
880 BasePropertyExistsPropertyExists BasePropertyExists = 1
881)
882
883type BaseRepostsInfo struct {
884 Count int64
885 UserReposted int64
886}
887
888type BaseRequestParam struct {
889 Key string
890 Value string
891}
892
893// enum base_sex
894type BaseSex int64
895
896const (
897 BaseSexUnknown BaseSex = 0
898 BaseSexFemale BaseSex = 1
899 BaseSexMale BaseSex = 2
900)
901
902type BaseSticker struct {
903 StickerId int64
904 ProductId int64
905 Images []BaseImage
906 ImagesWithBackground []BaseImage
907 AnimationUrl string
908 Animations []BaseStickerAnimation
909 IsAllowed bool
910}
911
912type BaseStickerAnimation struct {
913 Type string
914 Url string
915}
916
917type BaseUploadServer struct {
918 UploadUrl string
919}
920
921// enum base_user_group_fields
922type BaseUserGroupFields string
923
924const (
925 BaseUserGroupFieldsAbout BaseUserGroupFields = "about"
926 BaseUserGroupFieldsActionButton BaseUserGroupFields = "action_button"
927 BaseUserGroupFieldsActivities BaseUserGroupFields = "activities"
928 BaseUserGroupFieldsActivity BaseUserGroupFields = "activity"
929 BaseUserGroupFieldsAddresses BaseUserGroupFields = "addresses"
930 BaseUserGroupFieldsAdminLevel BaseUserGroupFields = "admin_level"
931 BaseUserGroupFieldsAgeLimits BaseUserGroupFields = "age_limits"
932 BaseUserGroupFieldsAuthorId BaseUserGroupFields = "author_id"
933 BaseUserGroupFieldsBanInfo BaseUserGroupFields = "ban_info"
934 BaseUserGroupFieldsBdate BaseUserGroupFields = "bdate"
935 BaseUserGroupFieldsBlacklisted BaseUserGroupFields = "blacklisted"
936 BaseUserGroupFieldsBlacklistedByMe BaseUserGroupFields = "blacklisted_by_me"
937 BaseUserGroupFieldsBooks BaseUserGroupFields = "books"
938 BaseUserGroupFieldsCanCreateTopic BaseUserGroupFields = "can_create_topic"
939 BaseUserGroupFieldsCanMessage BaseUserGroupFields = "can_message"
940 BaseUserGroupFieldsCanPost BaseUserGroupFields = "can_post"
941 BaseUserGroupFieldsCanSeeAllPosts BaseUserGroupFields = "can_see_all_posts"
942 BaseUserGroupFieldsCanSeeAudio BaseUserGroupFields = "can_see_audio"
943 BaseUserGroupFieldsCanSendFriendRequest BaseUserGroupFields = "can_send_friend_request"
944 BaseUserGroupFieldsCanUploadVideo BaseUserGroupFields = "can_upload_video"
945 BaseUserGroupFieldsCanWritePrivateMessage BaseUserGroupFields = "can_write_private_message"
946 BaseUserGroupFieldsCareer BaseUserGroupFields = "career"
947 BaseUserGroupFieldsCity BaseUserGroupFields = "city"
948 BaseUserGroupFieldsCommonCount BaseUserGroupFields = "common_count"
949 BaseUserGroupFieldsConnections BaseUserGroupFields = "connections"
950 BaseUserGroupFieldsContacts BaseUserGroupFields = "contacts"
951 BaseUserGroupFieldsCounters BaseUserGroupFields = "counters"
952 BaseUserGroupFieldsCountry BaseUserGroupFields = "country"
953 BaseUserGroupFieldsCover BaseUserGroupFields = "cover"
954 BaseUserGroupFieldsCropPhoto BaseUserGroupFields = "crop_photo"
955 BaseUserGroupFieldsDeactivated BaseUserGroupFields = "deactivated"
956 BaseUserGroupFieldsDescription BaseUserGroupFields = "description"
957 BaseUserGroupFieldsDomain BaseUserGroupFields = "domain"
958 BaseUserGroupFieldsEducation BaseUserGroupFields = "education"
959 BaseUserGroupFieldsExports BaseUserGroupFields = "exports"
960 BaseUserGroupFieldsFinishDate BaseUserGroupFields = "finish_date"
961 BaseUserGroupFieldsFixedPost BaseUserGroupFields = "fixed_post"
962 BaseUserGroupFieldsFollowersCount BaseUserGroupFields = "followers_count"
963 BaseUserGroupFieldsFriendStatus BaseUserGroupFields = "friend_status"
964 BaseUserGroupFieldsGames BaseUserGroupFields = "games"
965 BaseUserGroupFieldsHasMarketApp BaseUserGroupFields = "has_market_app"
966 BaseUserGroupFieldsHasMobile BaseUserGroupFields = "has_mobile"
967 BaseUserGroupFieldsHasPhoto BaseUserGroupFields = "has_photo"
968 BaseUserGroupFieldsHomeTown BaseUserGroupFields = "home_town"
969 BaseUserGroupFieldsId BaseUserGroupFields = "id"
970 BaseUserGroupFieldsInterests BaseUserGroupFields = "interests"
971 BaseUserGroupFieldsIsAdmin BaseUserGroupFields = "is_admin"
972 BaseUserGroupFieldsIsClosed BaseUserGroupFields = "is_closed"
973 BaseUserGroupFieldsIsFavorite BaseUserGroupFields = "is_favorite"
974 BaseUserGroupFieldsIsFriend BaseUserGroupFields = "is_friend"
975 BaseUserGroupFieldsIsHiddenFromFeed BaseUserGroupFields = "is_hidden_from_feed"
976 BaseUserGroupFieldsIsMember BaseUserGroupFields = "is_member"
977 BaseUserGroupFieldsIsMessagesBlocked BaseUserGroupFields = "is_messages_blocked"
978 BaseUserGroupFieldsCanSendNotify BaseUserGroupFields = "can_send_notify"
979 BaseUserGroupFieldsIsSubscribed BaseUserGroupFields = "is_subscribed"
980 BaseUserGroupFieldsLastSeen BaseUserGroupFields = "last_seen"
981 BaseUserGroupFieldsLinks BaseUserGroupFields = "links"
982 BaseUserGroupFieldsLists BaseUserGroupFields = "lists"
983 BaseUserGroupFieldsMaidenName BaseUserGroupFields = "maiden_name"
984 BaseUserGroupFieldsMainAlbumId BaseUserGroupFields = "main_album_id"
985 BaseUserGroupFieldsMainSection BaseUserGroupFields = "main_section"
986 BaseUserGroupFieldsMarket BaseUserGroupFields = "market"
987 BaseUserGroupFieldsMemberStatus BaseUserGroupFields = "member_status"
988 BaseUserGroupFieldsMembersCount BaseUserGroupFields = "members_count"
989 BaseUserGroupFieldsMilitary BaseUserGroupFields = "military"
990 BaseUserGroupFieldsMovies BaseUserGroupFields = "movies"
991 BaseUserGroupFieldsMusic BaseUserGroupFields = "music"
992 BaseUserGroupFieldsName BaseUserGroupFields = "name"
993 BaseUserGroupFieldsNickname BaseUserGroupFields = "nickname"
994 BaseUserGroupFieldsOccupation BaseUserGroupFields = "occupation"
995 BaseUserGroupFieldsOnline BaseUserGroupFields = "online"
996 BaseUserGroupFieldsOnlineStatus BaseUserGroupFields = "online_status"
997 BaseUserGroupFieldsPersonal BaseUserGroupFields = "personal"
998 BaseUserGroupFieldsPhone BaseUserGroupFields = "phone"
999 BaseUserGroupFieldsPhoto100 BaseUserGroupFields = "photo_100"
1000 BaseUserGroupFieldsPhoto200 BaseUserGroupFields = "photo_200"
1001 BaseUserGroupFieldsPhoto200Orig BaseUserGroupFields = "photo_200_orig"
1002 BaseUserGroupFieldsPhoto400Orig BaseUserGroupFields = "photo_400_orig"
1003 BaseUserGroupFieldsPhoto50 BaseUserGroupFields = "photo_50"
1004 BaseUserGroupFieldsPhotoId BaseUserGroupFields = "photo_id"
1005 BaseUserGroupFieldsPhotoMax BaseUserGroupFields = "photo_max"
1006 BaseUserGroupFieldsPhotoMaxOrig BaseUserGroupFields = "photo_max_orig"
1007 BaseUserGroupFieldsQuotes BaseUserGroupFields = "quotes"
1008 BaseUserGroupFieldsRelation BaseUserGroupFields = "relation"
1009 BaseUserGroupFieldsRelatives BaseUserGroupFields = "relatives"
1010 BaseUserGroupFieldsSchools BaseUserGroupFields = "schools"
1011 BaseUserGroupFieldsScreenName BaseUserGroupFields = "screen_name"
1012 BaseUserGroupFieldsSex BaseUserGroupFields = "sex"
1013 BaseUserGroupFieldsSite BaseUserGroupFields = "site"
1014 BaseUserGroupFieldsStartDate BaseUserGroupFields = "start_date"
1015 BaseUserGroupFieldsStatus BaseUserGroupFields = "status"
1016 BaseUserGroupFieldsTimezone BaseUserGroupFields = "timezone"
1017 BaseUserGroupFieldsTrending BaseUserGroupFields = "trending"
1018 BaseUserGroupFieldsTv BaseUserGroupFields = "tv"
1019 BaseUserGroupFieldsType BaseUserGroupFields = "type"
1020 BaseUserGroupFieldsUniversities BaseUserGroupFields = "universities"
1021 BaseUserGroupFieldsVerified BaseUserGroupFields = "verified"
1022 BaseUserGroupFieldsWallComments BaseUserGroupFields = "wall_comments"
1023 BaseUserGroupFieldsWikiPage BaseUserGroupFields = "wiki_page"
1024 BaseUserGroupFieldsVkAdminStatus BaseUserGroupFields = "vk_admin_status"
1025)
1026
1027type BaseUserId struct {
1028 UserId int64
1029}
1030
1031// enum board_default_order
1032type BoardDefaultOrder int64
1033
1034const (
1035 BoardDefaultOrderDescUpdated BoardDefaultOrder = 1
1036 BoardDefaultOrderDescCreated BoardDefaultOrder = 2
1037 BoardDefaultOrderAscUpdated BoardDefaultOrder = -1
1038 BoardDefaultOrderAscCreated BoardDefaultOrder = -2
1039)
1040
1041type BoardTopic struct {
1042 Comments int64
1043 Created int64
1044 CreatedBy int64
1045 Id int64
1046 IsClosed BaseBoolInt
1047 IsFixed BaseBoolInt
1048 Title string
1049 Updated int64
1050 UpdatedBy int64
1051}
1052
1053type BoardTopicComment struct {
1054 Attachments []WallCommentAttachment
1055 Date int64
1056 FromId int64
1057 Id int64
1058 RealOffset int64
1059 Text string
1060 CanEdit BaseBoolInt
1061 Likes BaseLikesInfo
1062}
1063
1064type BoardTopicPoll struct {
1065 AnswerId int64
1066 Answers []PollsAnswer
1067 Created int64
1068 IsClosed BaseBoolInt
1069 OwnerId int64
1070 PollId int64
1071 Question string
1072 Votes string
1073}
1074
1075type CallbackBoardPostDelete struct {
1076 TopicOwnerId int64
1077 TopicId int64
1078 Id int64
1079}
1080
1081type CallbackConfirmationMessage struct {
1082 Type CallbackMessageType
1083 GroupId int64
1084 Secret string
1085}
1086
1087type CallbackGroupChangePhoto struct {
1088 UserId int64
1089 Photo PhotosPhoto
1090}
1091
1092type CallbackGroupChangeSettings struct {
1093 UserId int64
1094 Self BaseBoolInt
1095}
1096
1097type CallbackGroupJoin struct {
1098 UserId int64
1099 JoinType CallbackGroupJoinType
1100}
1101
1102// enum callback_group_join_type
1103type CallbackGroupJoinType string
1104
1105const (
1106 CallbackGroupJoinTypeJoin CallbackGroupJoinType = "join"
1107 CallbackGroupJoinTypeUnsure CallbackGroupJoinType = "unsure"
1108 CallbackGroupJoinTypeAccepted CallbackGroupJoinType = "accepted"
1109 CallbackGroupJoinTypeApproved CallbackGroupJoinType = "approved"
1110 CallbackGroupJoinTypeRequest CallbackGroupJoinType = "request"
1111)
1112
1113type CallbackGroupLeave struct {
1114 UserId int64
1115 Self BaseBoolInt
1116}
1117
1118// enum callback_group_market
1119type CallbackGroupMarket int64
1120
1121const (
1122 CallbackGroupMarketDisabled CallbackGroupMarket = 0
1123 CallbackGroupMarketOpen CallbackGroupMarket = 1
1124)
1125
1126// enum callback_group_officer_role
1127type CallbackGroupOfficerRole int64
1128
1129const (
1130 CallbackGroupOfficerRoleNone CallbackGroupOfficerRole = 0
1131 CallbackGroupOfficerRoleModerator CallbackGroupOfficerRole = 1
1132 CallbackGroupOfficerRoleEditor CallbackGroupOfficerRole = 2
1133 CallbackGroupOfficerRoleAdministrator CallbackGroupOfficerRole = 3
1134)
1135
1136type CallbackGroupOfficersEdit struct {
1137 AdminId int64
1138 UserId int64
1139 LevelOld CallbackGroupOfficerRole
1140 LevelNew CallbackGroupOfficerRole
1141}
1142
1143type CallbackGroupSettingsChanges struct {
1144 Title string
1145 Description string
1146 Access GroupsGroupIsClosed
1147 ScreenName string
1148 PublicCategory int64
1149 PublicSubcategory int64
1150 AgeLimits GroupsGroupFullAgeLimits
1151 Website string
1152 EnableStatusDefault GroupsGroupWall
1153 EnableAudio GroupsGroupAudio
1154 EnableVideo GroupsGroupVideo
1155 EnablePhoto GroupsGroupPhotos
1156 EnableMarket CallbackGroupMarket
1157}
1158
1159type CallbackLikeAddRemove struct {
1160 LikerId int64
1161 ObjectType string
1162 ObjectOwnerId int64
1163 ObjectId int64
1164 PostId int64
1165 ThreadReplyId int64
1166}
1167
1168type CallbackMarketComment struct {
1169 Id int64
1170 FromId int64
1171 Date int64
1172 Text string
1173 MarketOwnerOd int64
1174 PhotoId int64
1175}
1176
1177type CallbackMarketCommentDelete struct {
1178 OwnerId int64
1179 Id int64
1180 UserId int64
1181 ItemId int64
1182}
1183
1184type CallbackMessageAllow struct {
1185 UserId int64
1186 Key string
1187}
1188
1189type CallbackMessageBase struct {
1190 Type CallbackMessageType
1191 Object interface{} //hz
1192 GroupId int64
1193}
1194
1195type CallbackMessageDeny struct {
1196 UserId int64
1197}
1198
1199// enum callback_message_type
1200type CallbackMessageType string
1201
1202const (
1203 CallbackMessageTypeConfirmation CallbackMessageType = "confirmation"
1204 CallbackMessageTypeGroupChangePhoto CallbackMessageType = "group_change_photo"
1205 CallbackMessageTypeGroupChangeSettings CallbackMessageType = "group_change_settings"
1206 CallbackMessageTypeGroupOfficersEdit CallbackMessageType = "group_officers_edit"
1207 CallbackMessageTypeLeadFormsNew CallbackMessageType = "lead_forms_new"
1208 CallbackMessageTypeMarketCommentDelete CallbackMessageType = "market_comment_delete"
1209 CallbackMessageTypeMarketCommentEdit CallbackMessageType = "market_comment_edit"
1210 CallbackMessageTypeMarketCommentRestore CallbackMessageType = "market_comment_restore"
1211 CallbackMessageTypeMessageAllow CallbackMessageType = "message_allow"
1212 CallbackMessageTypeMessageDeny CallbackMessageType = "message_deny"
1213 CallbackMessageTypeMessageRead CallbackMessageType = "message_read"
1214 CallbackMessageTypeMessageReply CallbackMessageType = "message_reply"
1215 CallbackMessageTypeMessageTypingState CallbackMessageType = "message_typing_state"
1216 CallbackMessageTypeMessagesEdit CallbackMessageType = "messages_edit"
1217 CallbackMessageTypePhotoCommentDelete CallbackMessageType = "photo_comment_delete"
1218 CallbackMessageTypePhotoCommentEdit CallbackMessageType = "photo_comment_edit"
1219 CallbackMessageTypePhotoCommentRestore CallbackMessageType = "photo_comment_restore"
1220 CallbackMessageTypePollVoteNew CallbackMessageType = "poll_vote_new"
1221 CallbackMessageTypeUserBlock CallbackMessageType = "user_block"
1222 CallbackMessageTypeUserUnblock CallbackMessageType = "user_unblock"
1223 CallbackMessageTypeVideoCommentDelete CallbackMessageType = "video_comment_delete"
1224 CallbackMessageTypeVideoCommentEdit CallbackMessageType = "video_comment_edit"
1225 CallbackMessageTypeVideoCommentRestore CallbackMessageType = "video_comment_restore"
1226 CallbackMessageTypeWallReplyDelete CallbackMessageType = "wall_reply_delete"
1227 CallbackMessageTypeWallReplyRestore CallbackMessageType = "wall_reply_restore"
1228 CallbackMessageTypeWallRepost CallbackMessageType = "wall_repost"
1229)
1230
1231type CallbackPhotoComment struct {
1232 Id int64
1233 FromId int64
1234 Date int64
1235 Text string
1236 PhotoOwnerOd int64
1237}
1238
1239type CallbackPhotoCommentDelete struct {
1240 Id int64
1241 OwnerId int64
1242 UserId int64
1243 PhotoId int64
1244}
1245
1246type CallbackPollVoteNew struct {
1247 OwnerId int64
1248 PollId int64
1249 OptionId int64
1250 UserId int64
1251}
1252
1253type CallbackQrScan struct {
1254 UserId int64
1255 Data string
1256 Type string
1257 Subtype string
1258 Reread bool
1259}
1260
1261type CallbackUserBlock struct {
1262 AdminId int64
1263 UserId int64
1264 UnblockDate int64
1265 Reason int64
1266 Comment string
1267}
1268
1269type CallbackUserUnblock struct {
1270 AdminId int64
1271 UserId int64
1272 ByEndDate int64
1273}
1274
1275type CallbackVideoComment struct {
1276 Id int64
1277 FromId int64
1278 Date int64
1279 Text string
1280 VideoOwnerOd int64
1281}
1282
1283type CallbackVideoCommentDelete struct {
1284 Id int64
1285 OwnerId int64
1286 UserId int64
1287 VideoId int64
1288}
1289
1290type CallbackWallCommentDelete struct {
1291 OwnerId int64
1292 Id int64
1293 UserId int64
1294 PostId int64
1295}
1296
1297type CommentThread struct {
1298 CanPost bool
1299 Count int64
1300 GroupsCanPost bool
1301 Items []WallWallComment
1302 ShowReplyButton bool
1303}
1304
1305// allof database_city
1306type DatabaseCity struct {
1307 *BaseObject
1308 Area *string
1309 Region *string
1310 Important *BaseBoolInt
1311}
1312
1313type DatabaseFaculty struct {
1314 Id int64
1315 Title string
1316}
1317
1318type DatabaseRegion struct {
1319 Id int64
1320 Title string
1321}
1322
1323type DatabaseSchool struct {
1324 Id int64
1325 Title string
1326}
1327
1328type DatabaseStation struct {
1329 CityId int64
1330 Color string
1331 Id int64
1332 Name string
1333}
1334
1335type DatabaseUniversity struct {
1336 Id int64
1337 Title string
1338}
1339
1340type DocsDoc struct {
1341 Id int64
1342 OwnerId int64
1343 Title string
1344 Size int64
1345 Ext string
1346 Url string
1347 Date int64
1348 Type int64
1349 Preview DocsDocPreview
1350 IsLicensed BaseBoolInt
1351 AccessKey string
1352 Tags []string
1353}
1354
1355// enum docs_doc_attachment_type
1356type DocsDocAttachmentType string
1357
1358const (
1359 DocsDocAttachmentTypeDoc DocsDocAttachmentType = "doc"
1360 DocsDocAttachmentTypeGraffiti DocsDocAttachmentType = "graffiti"
1361 DocsDocAttachmentTypeAudioMessage DocsDocAttachmentType = "audio_message"
1362)
1363
1364type DocsDocPreview struct {
1365 AudioMsg DocsDocPreviewAudioMsg
1366 Graffiti DocsDocPreviewGraffiti
1367 Photo DocsDocPreviewPhoto
1368 Video DocsDocPreviewVideo
1369}
1370
1371type DocsDocPreviewAudioMsg struct {
1372 Duration int64
1373 LinkMp3 string
1374 LinkOgg string
1375 Waveform []int64
1376}
1377
1378type DocsDocPreviewGraffiti struct {
1379 Src string
1380 Width int64
1381 Height int64
1382}
1383
1384type DocsDocPreviewPhoto struct {
1385 Sizes []DocsDocPreviewPhotoSizes
1386}
1387
1388type DocsDocPreviewPhotoSizes struct {
1389 Src string
1390 Width int64
1391 Height int64
1392 Type PhotosPhotoSizesType
1393}
1394
1395type DocsDocPreviewVideo struct {
1396 Src string
1397 Width int64
1398 Height int64
1399 FileSize int64
1400}
1401
1402type DocsDocTypes struct {
1403 Id int64
1404 Name string
1405 Count int64
1406}
1407
1408type DocsDocUploadResponse struct {
1409 File string
1410}
1411
1412type EventsEventAttach struct {
1413 Address string
1414 ButtonText string
1415 Friends []int64
1416 Id int64
1417 IsFavorite bool
1418 MemberStatus GroupsGroupFullMemberStatus
1419 Text string
1420 Time int64
1421}
1422
1423type FaveBookmark struct {
1424 AddedDate int64
1425 Link BaseLink
1426 Post WallWallpostFull
1427 Product MarketMarketItem
1428 Seen bool
1429 Tags []FaveTag
1430 Type FaveBookmarkType
1431 Video VideoVideo
1432}
1433
1434// enum fave_bookmark_type
1435type FaveBookmarkType string
1436
1437const (
1438 FaveBookmarkTypePost FaveBookmarkType = "post"
1439 FaveBookmarkTypeVideo FaveBookmarkType = "video"
1440 FaveBookmarkTypeProduct FaveBookmarkType = "product"
1441 FaveBookmarkTypeArticle FaveBookmarkType = "article"
1442 FaveBookmarkTypeLink FaveBookmarkType = "link"
1443)
1444
1445type FavePage struct {
1446 Description string
1447 Group GroupsGroupFull
1448 Tags []FaveTag
1449 Type FavePageType
1450 UpdatedDate int64
1451 User UsersUserFull
1452}
1453
1454// enum fave_page_type
1455type FavePageType string
1456
1457const (
1458 FavePageTypeUser FavePageType = "user"
1459 FavePageTypeGroup FavePageType = "group"
1460 FavePageTypeHints FavePageType = "hints"
1461)
1462
1463type FaveTag struct {
1464 Id int64
1465 Name string
1466}
1467
1468// allof friends_friend_extended_status
1469type FriendsFriendExtendedStatus struct {
1470 *FriendsFriendStatus
1471 IsRequestUnread *bool
1472}
1473
1474type FriendsFriendStatus struct {
1475 FriendStatus FriendsFriendStatusStatus
1476 Sign string
1477 UserId int64
1478}
1479
1480// enum friends_friend_status_status
1481type FriendsFriendStatusStatus int64
1482
1483const (
1484 FriendsFriendStatusStatusNotAFriend FriendsFriendStatusStatus = 0
1485 FriendsFriendStatusStatusOutcomingRequest FriendsFriendStatusStatus = 1
1486 FriendsFriendStatusStatusIncomingRequest FriendsFriendStatusStatus = 2
1487 FriendsFriendStatusStatusIsFriend FriendsFriendStatusStatus = 3
1488)
1489
1490type FriendsFriendsList struct {
1491 Id int64
1492 Name string
1493}
1494
1495type FriendsMutualFriend struct {
1496 CommonCount int64
1497 CommonFriends []int64
1498 Id int64
1499}
1500
1501type FriendsRequests struct {
1502 From string
1503 Mutual FriendsRequestsMutual
1504 UserId int64
1505}
1506
1507type FriendsRequestsMutual struct {
1508 Count int64
1509 Users []int64
1510}
1511
1512type FriendsRequestsXtrMessage struct {
1513 From string
1514 Message string
1515 Mutual FriendsRequestsMutual
1516 UserId int64
1517}
1518
1519// allof friends_user_xtr_lists
1520type FriendsUserXtrLists struct {
1521 *UsersUserFull
1522 Lists *[]int64
1523}
1524
1525// allof friends_user_xtr_phone
1526type FriendsUserXtrPhone struct {
1527 *UsersUserFull
1528 Phone *string
1529}
1530
1531type GiftsGift struct {
1532 Date int64
1533 FromId int64
1534 Gift GiftsLayout
1535 GiftHash string
1536 Id int64
1537 Message string
1538 Privacy GiftsGiftPrivacy
1539}
1540
1541// enum gifts_gift_privacy
1542type GiftsGiftPrivacy int64
1543
1544const (
1545 GiftsGiftPrivacyNameAndMessageForAll GiftsGiftPrivacy = 0
1546 GiftsGiftPrivacyNameForAll GiftsGiftPrivacy = 1
1547 GiftsGiftPrivacyNameAndMessageForRecipientOnly GiftsGiftPrivacy = 2
1548)
1549
1550type GiftsLayout struct {
1551 Id int64
1552 Thumb512 string
1553 Thumb256 string
1554 Thumb48 string
1555 Thumb96 string
1556 StickersProductId int64
1557 BuildId string
1558 Keywords string
1559}
1560
1561type GroupsAddress struct {
1562 AdditionalAddress string
1563 Address string
1564 CityId int64
1565 CountryId int64
1566 Distance int64
1567 Id int64
1568 Latitude int64
1569 Longitude int64
1570 MetroStationId int64
1571 Phone string
1572 TimeOffset int64
1573 Timetable GroupsAddressTimetable
1574 Title string
1575 WorkInfoStatus GroupsAddressWorkInfoStatus
1576}
1577
1578type GroupsAddressTimetable struct {
1579 Fri GroupsAddressTimetableDay
1580 Mon GroupsAddressTimetableDay
1581 Sat GroupsAddressTimetableDay
1582 Sun GroupsAddressTimetableDay
1583 Thu GroupsAddressTimetableDay
1584 Tue GroupsAddressTimetableDay
1585 Wed GroupsAddressTimetableDay
1586}
1587
1588type GroupsAddressTimetableDay struct {
1589 BreakCloseTime int64
1590 BreakOpenTime int64
1591 CloseTime int64
1592 OpenTime int64
1593}
1594
1595// enum groups_address_work_info_status
1596type GroupsAddressWorkInfoStatus string
1597
1598const (
1599 GroupsAddressWorkInfoStatusNoInformation GroupsAddressWorkInfoStatus = "no_information"
1600 GroupsAddressWorkInfoStatusTemporarilyClosed GroupsAddressWorkInfoStatus = "temporarily_closed"
1601 GroupsAddressWorkInfoStatusAlwaysOpened GroupsAddressWorkInfoStatus = "always_opened"
1602 GroupsAddressWorkInfoStatusTimetable GroupsAddressWorkInfoStatus = "timetable"
1603 GroupsAddressWorkInfoStatusForeverClosed GroupsAddressWorkInfoStatus = "forever_closed"
1604)
1605
1606type GroupsAddressesInfo struct {
1607 IsEnabled bool
1608 MainAddressId int64
1609}
1610
1611type GroupsBanInfo struct {
1612 AdminId int64
1613 Comment string
1614 CommentVisible bool
1615 IsClosed bool
1616 Date int64
1617 EndDate int64
1618 Reason GroupsBanInfoReason
1619}
1620
1621// enum groups_ban_info_reason
1622type GroupsBanInfoReason int64
1623
1624const (
1625 GroupsBanInfoReasonOther GroupsBanInfoReason = 0
1626 GroupsBanInfoReasonSpam GroupsBanInfoReason = 1
1627 GroupsBanInfoReasonVerbalAbuse GroupsBanInfoReason = 2
1628 GroupsBanInfoReasonStrongLanguage GroupsBanInfoReason = 3
1629 GroupsBanInfoReasonFlood GroupsBanInfoReason = 4
1630)
1631
1632type GroupsBannedItem struct {
1633}
1634
1635type GroupsCallbackServer struct {
1636 Id int64
1637 Title string
1638 CreatorId int64
1639 Url string
1640 SecretKey string
1641 Status string
1642}
1643
1644type GroupsCallbackSettings struct {
1645 ApiVersion string
1646 Events GroupsLongPollEvents
1647}
1648
1649type GroupsContactsItem struct {
1650 Desc string
1651 Email string
1652 Phone string
1653 UserId int64
1654}
1655
1656type GroupsCountersGroup struct {
1657 Addresses int64
1658 Albums int64
1659 Audios int64
1660 AudioPlaylists int64
1661 Docs int64
1662 Market int64
1663 Photos int64
1664 Topics int64
1665 Videos int64
1666}
1667
1668type GroupsCover struct {
1669 Enabled BaseBoolInt
1670 Images []BaseImage
1671}
1672
1673// enum groups_fields
1674type GroupsFields string
1675
1676const (
1677 GroupsFieldsMarket GroupsFields = "market"
1678 GroupsFieldsMemberStatus GroupsFields = "member_status"
1679 GroupsFieldsIsFavorite GroupsFields = "is_favorite"
1680 GroupsFieldsIsSubscribed GroupsFields = "is_subscribed"
1681 GroupsFieldsCity GroupsFields = "city"
1682 GroupsFieldsCountry GroupsFields = "country"
1683 GroupsFieldsVerified GroupsFields = "verified"
1684 GroupsFieldsDescription GroupsFields = "description"
1685 GroupsFieldsWikiPage GroupsFields = "wiki_page"
1686 GroupsFieldsMembersCount GroupsFields = "members_count"
1687 GroupsFieldsCounters GroupsFields = "counters"
1688 GroupsFieldsCover GroupsFields = "cover"
1689 GroupsFieldsCanPost GroupsFields = "can_post"
1690 GroupsFieldsCanSeeAllPosts GroupsFields = "can_see_all_posts"
1691 GroupsFieldsActivity GroupsFields = "activity"
1692 GroupsFieldsFixedPost GroupsFields = "fixed_post"
1693 GroupsFieldsCanCreateTopic GroupsFields = "can_create_topic"
1694 GroupsFieldsCanUploadVideo GroupsFields = "can_upload_video"
1695 GroupsFieldsHasPhoto GroupsFields = "has_photo"
1696 GroupsFieldsStatus GroupsFields = "status"
1697 GroupsFieldsMainAlbumId GroupsFields = "main_album_id"
1698 GroupsFieldsLinks GroupsFields = "links"
1699 GroupsFieldsContacts GroupsFields = "contacts"
1700 GroupsFieldsSite GroupsFields = "site"
1701 GroupsFieldsMainSection GroupsFields = "main_section"
1702 GroupsFieldsTrending GroupsFields = "trending"
1703 GroupsFieldsCanMessage GroupsFields = "can_message"
1704 GroupsFieldsIsMarketCartEnabled GroupsFields = "is_market_cart_enabled"
1705 GroupsFieldsIsMessagesBlocked GroupsFields = "is_messages_blocked"
1706 GroupsFieldsCanSendNotify GroupsFields = "can_send_notify"
1707 GroupsFieldsOnlineStatus GroupsFields = "online_status"
1708 GroupsFieldsStartDate GroupsFields = "start_date"
1709 GroupsFieldsFinishDate GroupsFields = "finish_date"
1710 GroupsFieldsAgeLimits GroupsFields = "age_limits"
1711 GroupsFieldsBanInfo GroupsFields = "ban_info"
1712 GroupsFieldsActionButton GroupsFields = "action_button"
1713 GroupsFieldsAuthorId GroupsFields = "author_id"
1714 GroupsFieldsPhone GroupsFields = "phone"
1715 GroupsFieldsHasMarketApp GroupsFields = "has_market_app"
1716 GroupsFieldsAddresses GroupsFields = "addresses"
1717 GroupsFieldsLiveCovers GroupsFields = "live_covers"
1718 GroupsFieldsIsAdult GroupsFields = "is_adult"
1719 GroupsFieldsCanSubscribePosts GroupsFields = "can_subscribe_posts"
1720 GroupsFieldsWarningNotification GroupsFields = "warning_notification"
1721 GroupsFieldsMsgPushAllowed GroupsFields = "msg_push_allowed"
1722 GroupsFieldsStoriesArchiveCount GroupsFields = "stories_archive_count"
1723 GroupsFieldsVideoLiveLevel GroupsFields = "video_live_level"
1724 GroupsFieldsVideoLiveCount GroupsFields = "video_live_count"
1725 GroupsFieldsClipsCount GroupsFields = "clips_count"
1726)
1727
1728// enum groups_filter
1729type GroupsFilter string
1730
1731const (
1732 GroupsFilterAdmin GroupsFilter = "admin"
1733 GroupsFilterEditor GroupsFilter = "editor"
1734 GroupsFilterModer GroupsFilter = "moder"
1735 GroupsFilterAdvertiser GroupsFilter = "advertiser"
1736 GroupsFilterGroups GroupsFilter = "groups"
1737 GroupsFilterPublics GroupsFilter = "publics"
1738 GroupsFilterEvents GroupsFilter = "events"
1739 GroupsFilterHasAddresses GroupsFilter = "has_addresses"
1740)
1741
1742type GroupsGroup struct {
1743 AdminLevel GroupsGroupAdminLevel
1744 Deactivated string
1745 FinishDate int64
1746 Id int64
1747 IsAdmin BaseBoolInt
1748 IsAdvertiser BaseBoolInt
1749 IsClosed GroupsGroupIsClosed
1750 IsMember BaseBoolInt
1751 Name string
1752 Photo100 string
1753 Photo200 string
1754 Photo50 string
1755 ScreenName string
1756 StartDate int64
1757 Type GroupsGroupType
1758}
1759
1760// enum groups_group_access
1761type GroupsGroupAccess int64
1762
1763const (
1764 GroupsGroupAccessOpen GroupsGroupAccess = 0
1765 GroupsGroupAccessClosed GroupsGroupAccess = 1
1766 GroupsGroupAccessPrivate GroupsGroupAccess = 2
1767)
1768
1769// enum groups_group_admin_level
1770type GroupsGroupAdminLevel int64
1771
1772const (
1773 GroupsGroupAdminLevelModerator GroupsGroupAdminLevel = 1
1774 GroupsGroupAdminLevelEditor GroupsGroupAdminLevel = 2
1775 GroupsGroupAdminLevelAdministrator GroupsGroupAdminLevel = 3
1776)
1777
1778// enum groups_group_age_limits
1779type GroupsGroupAgeLimits int64
1780
1781const (
1782 GroupsGroupAgeLimitsUnlimited GroupsGroupAgeLimits = 1
1783 GroupsGroupAgeLimits16Plus GroupsGroupAgeLimits = 2
1784 GroupsGroupAgeLimits18Plus GroupsGroupAgeLimits = 3
1785)
1786
1787type GroupsGroupAttach struct {
1788 Id int64
1789 Text string
1790 Status string
1791 Size int64
1792 IsFavorite bool
1793}
1794
1795// enum groups_group_audio
1796type GroupsGroupAudio int64
1797
1798const (
1799 GroupsGroupAudioDisabled GroupsGroupAudio = 0
1800 GroupsGroupAudioOpen GroupsGroupAudio = 1
1801 GroupsGroupAudioLimited GroupsGroupAudio = 2
1802)
1803
1804type GroupsGroupBanInfo struct {
1805 Comment string
1806 EndDate int64
1807 Reason GroupsBanInfoReason
1808}
1809
1810type GroupsGroupCategory struct {
1811 Id int64
1812 Name string
1813 Subcategories []BaseObjectWithName
1814}
1815
1816type GroupsGroupCategoryFull struct {
1817 Id int64
1818 Name string
1819 PageCount int64
1820 PagePreviews []GroupsGroup
1821 Subcategories []GroupsGroupCategory
1822}
1823
1824type GroupsGroupCategoryType struct {
1825 Id int64
1826 Name string
1827}
1828
1829// enum groups_group_docs
1830type GroupsGroupDocs int64
1831
1832const (
1833 GroupsGroupDocsDisabled GroupsGroupDocs = 0
1834 GroupsGroupDocsOpen GroupsGroupDocs = 1
1835 GroupsGroupDocsLimited GroupsGroupDocs = 2
1836)
1837
1838// allof groups_group_full
1839type GroupsGroupFull struct {
1840 *GroupsGroup
1841 Market *GroupsMarketInfo
1842 MemberStatus *GroupsGroupFullMemberStatus
1843 IsAdult *BaseBoolInt
1844 IsHiddenFromFeed *BaseBoolInt
1845 IsFavorite *BaseBoolInt
1846 IsSubscribed *BaseBoolInt
1847 City *BaseObject
1848 Country *BaseCountry
1849 Verified *BaseBoolInt
1850 Description *string
1851 WikiPage *string
1852 MembersCount *int64
1853 VideoLiveLevel *int64
1854 VideoLiveCount *int64
1855 Counters *GroupsCountersGroup
1856 Cover *GroupsCover
1857 CanPost *BaseBoolInt
1858 CanSeeAllPosts *BaseBoolInt
1859 Activity *string
1860 FixedPost *int64
1861 CanCreateTopic *BaseBoolInt
1862 CanUploadDoc *BaseBoolInt
1863 CanUploadStory *BaseBoolInt
1864 CanUploadVideo *BaseBoolInt
1865 HasPhoto *BaseBoolInt
1866 CropPhoto *BaseCropPhoto
1867 Status *string
1868 MainAlbumId *int64
1869 Links *[]GroupsLinksItem
1870 Contacts *[]GroupsContactsItem
1871 Wall *int64
1872 Site *string
1873 MainSection *GroupsGroupFullMainSection
1874 Trending *BaseBoolInt
1875 CanMessage *BaseBoolInt
1876 IsMessagesBlocked *BaseBoolInt
1877 CanSendNotify *BaseBoolInt
1878 OnlineStatus *GroupsOnlineStatus
1879 AgeLimits *GroupsGroupFullAgeLimits
1880 BanInfo *GroupsGroupBanInfo
1881 HasMarketApp *bool
1882 Addresses *GroupsAddressesInfo
1883 IsSubscribedPodcasts *bool
1884 CanSubscribePodcasts *bool
1885 CanSubscribePosts *bool
1886 LiveCovers *GroupsLiveCovers
1887}
1888
1889// enum groups_group_full_age_limits
1890type GroupsGroupFullAgeLimits int64
1891
1892const (
1893 GroupsGroupFullAgeLimitsNo GroupsGroupFullAgeLimits = 1
1894 GroupsGroupFullAgeLimitsOver16 GroupsGroupFullAgeLimits = 2
1895 GroupsGroupFullAgeLimitsOver18 GroupsGroupFullAgeLimits = 3
1896)
1897
1898// enum groups_group_full_main_section
1899type GroupsGroupFullMainSection int64
1900
1901const (
1902 GroupsGroupFullMainSectionAbsent GroupsGroupFullMainSection = 0
1903 GroupsGroupFullMainSectionPhotos GroupsGroupFullMainSection = 1
1904 GroupsGroupFullMainSectionTopics GroupsGroupFullMainSection = 2
1905 GroupsGroupFullMainSectionAudio GroupsGroupFullMainSection = 3
1906 GroupsGroupFullMainSectionVideo GroupsGroupFullMainSection = 4
1907 GroupsGroupFullMainSectionMarket GroupsGroupFullMainSection = 5
1908)
1909
1910// enum groups_group_full_member_status
1911type GroupsGroupFullMemberStatus int64
1912
1913const (
1914 GroupsGroupFullMemberStatusNotAMember GroupsGroupFullMemberStatus = 0
1915 GroupsGroupFullMemberStatusMember GroupsGroupFullMemberStatus = 1
1916 GroupsGroupFullMemberStatusNotSure GroupsGroupFullMemberStatus = 2
1917 GroupsGroupFullMemberStatusDeclined GroupsGroupFullMemberStatus = 3
1918 GroupsGroupFullMemberStatusHasSentARequest GroupsGroupFullMemberStatus = 4
1919 GroupsGroupFullMemberStatusInvited GroupsGroupFullMemberStatus = 5
1920)
1921
1922// enum groups_group_is_closed
1923type GroupsGroupIsClosed int64
1924
1925const (
1926 GroupsGroupIsClosedOpen GroupsGroupIsClosed = 0
1927 GroupsGroupIsClosedClosed GroupsGroupIsClosed = 1
1928 GroupsGroupIsClosedPrivate GroupsGroupIsClosed = 2
1929)
1930
1931type GroupsGroupLink struct {
1932 Name string
1933 Desc string
1934 EditTitle BaseBoolInt
1935 Id int64
1936 ImageProcessing BaseBoolInt
1937 Url string
1938}
1939
1940// enum groups_group_market_currency
1941type GroupsGroupMarketCurrency int64
1942
1943const (
1944 GroupsGroupMarketCurrencyRussianRubles GroupsGroupMarketCurrency = 643
1945 GroupsGroupMarketCurrencyUkrainianHryvnia GroupsGroupMarketCurrency = 980
1946 GroupsGroupMarketCurrencyKazakhTenge GroupsGroupMarketCurrency = 398
1947 GroupsGroupMarketCurrencyEuro GroupsGroupMarketCurrency = 978
1948 GroupsGroupMarketCurrencyUsDollars GroupsGroupMarketCurrency = 840
1949)
1950
1951// enum groups_group_photos
1952type GroupsGroupPhotos int64
1953
1954const (
1955 GroupsGroupPhotosDisabled GroupsGroupPhotos = 0
1956 GroupsGroupPhotosOpen GroupsGroupPhotos = 1
1957 GroupsGroupPhotosLimited GroupsGroupPhotos = 2
1958)
1959
1960type GroupsGroupPublicCategoryList struct {
1961 Id int64
1962 Name string
1963 Subcategories []GroupsGroupCategoryType
1964}
1965
1966// enum groups_group_role
1967type GroupsGroupRole string
1968
1969const (
1970 GroupsGroupRoleModerator GroupsGroupRole = "moderator"
1971 GroupsGroupRoleEditor GroupsGroupRole = "editor"
1972 GroupsGroupRoleAdministrator GroupsGroupRole = "administrator"
1973 GroupsGroupRoleAdvertiser GroupsGroupRole = "advertiser"
1974)
1975
1976// enum groups_group_subject
1977type GroupsGroupSubject string
1978
1979const (
1980 GroupsGroupSubjectAuto GroupsGroupSubject = "1"
1981 GroupsGroupSubjectActivityHolidays GroupsGroupSubject = "2"
1982 GroupsGroupSubjectBusiness GroupsGroupSubject = "3"
1983 GroupsGroupSubjectPets GroupsGroupSubject = "4"
1984 GroupsGroupSubjectHealth GroupsGroupSubject = "5"
1985 GroupsGroupSubjectDatingAndCommunication GroupsGroupSubject = "6"
1986 GroupsGroupSubjectGames GroupsGroupSubject = "7"
1987 GroupsGroupSubjectIt GroupsGroupSubject = "8"
1988 GroupsGroupSubjectCinema GroupsGroupSubject = "9"
1989 GroupsGroupSubjectBeautyAndFashion GroupsGroupSubject = "10"
1990 GroupsGroupSubjectCooking GroupsGroupSubject = "11"
1991 GroupsGroupSubjectArtAndCulture GroupsGroupSubject = "12"
1992 GroupsGroupSubjectLiterature GroupsGroupSubject = "13"
1993 GroupsGroupSubjectMobileServicesAndInternet GroupsGroupSubject = "14"
1994 GroupsGroupSubjectMusic GroupsGroupSubject = "15"
1995 GroupsGroupSubjectScienceAndTechnology GroupsGroupSubject = "16"
1996 GroupsGroupSubjectRealEstate GroupsGroupSubject = "17"
1997 GroupsGroupSubjectNewsAndMedia GroupsGroupSubject = "18"
1998 GroupsGroupSubjectSecurity GroupsGroupSubject = "19"
1999 GroupsGroupSubjectEducation GroupsGroupSubject = "20"
2000 GroupsGroupSubjectHomeAndRenovations GroupsGroupSubject = "21"
2001 GroupsGroupSubjectPolitics GroupsGroupSubject = "22"
2002 GroupsGroupSubjectFood GroupsGroupSubject = "23"
2003 GroupsGroupSubjectIndustry GroupsGroupSubject = "24"
2004 GroupsGroupSubjectTravel GroupsGroupSubject = "25"
2005 GroupsGroupSubjectWork GroupsGroupSubject = "26"
2006 GroupsGroupSubjectEntertainment GroupsGroupSubject = "27"
2007 GroupsGroupSubjectReligion GroupsGroupSubject = "28"
2008 GroupsGroupSubjectFamily GroupsGroupSubject = "29"
2009 GroupsGroupSubjectSports GroupsGroupSubject = "30"
2010 GroupsGroupSubjectInsurance GroupsGroupSubject = "31"
2011 GroupsGroupSubjectTelevision GroupsGroupSubject = "32"
2012 GroupsGroupSubjectGoodsAndServices GroupsGroupSubject = "33"
2013 GroupsGroupSubjectHobbies GroupsGroupSubject = "34"
2014 GroupsGroupSubjectFinance GroupsGroupSubject = "35"
2015 GroupsGroupSubjectPhoto GroupsGroupSubject = "36"
2016 GroupsGroupSubjectEsoterics GroupsGroupSubject = "37"
2017 GroupsGroupSubjectElectronicsAndAppliances GroupsGroupSubject = "38"
2018 GroupsGroupSubjectErotic GroupsGroupSubject = "39"
2019 GroupsGroupSubjectHumor GroupsGroupSubject = "40"
2020 GroupsGroupSubjectSocietyHumanities GroupsGroupSubject = "41"
2021 GroupsGroupSubjectDesignAndGraphics GroupsGroupSubject = "42"
2022)
2023
2024// enum groups_group_topics
2025type GroupsGroupTopics int64
2026
2027const (
2028 GroupsGroupTopicsDisabled GroupsGroupTopics = 0
2029 GroupsGroupTopicsOpen GroupsGroupTopics = 1
2030 GroupsGroupTopicsLimited GroupsGroupTopics = 2
2031)
2032
2033// enum groups_group_type
2034type GroupsGroupType string
2035
2036const (
2037 GroupsGroupTypeGroup GroupsGroupType = "group"
2038 GroupsGroupTypePage GroupsGroupType = "page"
2039 GroupsGroupTypeEvent GroupsGroupType = "event"
2040)
2041
2042// enum groups_group_video
2043type GroupsGroupVideo int64
2044
2045const (
2046 GroupsGroupVideoDisabled GroupsGroupVideo = 0
2047 GroupsGroupVideoOpen GroupsGroupVideo = 1
2048 GroupsGroupVideoLimited GroupsGroupVideo = 2
2049)
2050
2051// enum groups_group_wall
2052type GroupsGroupWall int64
2053
2054const (
2055 GroupsGroupWallDisabled GroupsGroupWall = 0
2056 GroupsGroupWallOpen GroupsGroupWall = 1
2057 GroupsGroupWallLimited GroupsGroupWall = 2
2058 GroupsGroupWallClosed GroupsGroupWall = 3
2059)
2060
2061// enum groups_group_wiki
2062type GroupsGroupWiki int64
2063
2064const (
2065 GroupsGroupWikiDisabled GroupsGroupWiki = 0
2066 GroupsGroupWikiOpen GroupsGroupWiki = 1
2067 GroupsGroupWikiLimited GroupsGroupWiki = 2
2068)
2069
2070type GroupsGroupXtrInvitedBy struct {
2071 AdminLevel GroupsGroupXtrInvitedByAdminLevel
2072 Id int64
2073 InvitedBy int64
2074 IsAdmin BaseBoolInt
2075 IsAdvertiser BaseBoolInt
2076 IsClosed BaseBoolInt
2077 IsMember BaseBoolInt
2078 Name string
2079 Photo100 string
2080 Photo200 string
2081 Photo50 string
2082 ScreenName string
2083 Type GroupsGroupXtrInvitedByType
2084}
2085
2086// enum groups_group_xtr_invited_by_admin_level
2087type GroupsGroupXtrInvitedByAdminLevel int64
2088
2089const (
2090 GroupsGroupXtrInvitedByAdminLevelModerator GroupsGroupXtrInvitedByAdminLevel = 1
2091 GroupsGroupXtrInvitedByAdminLevelEditor GroupsGroupXtrInvitedByAdminLevel = 2
2092 GroupsGroupXtrInvitedByAdminLevelAdministrator GroupsGroupXtrInvitedByAdminLevel = 3
2093)
2094
2095// enum groups_group_xtr_invited_by_type
2096type GroupsGroupXtrInvitedByType string
2097
2098const (
2099 GroupsGroupXtrInvitedByTypeGroup GroupsGroupXtrInvitedByType = "group"
2100 GroupsGroupXtrInvitedByTypePage GroupsGroupXtrInvitedByType = "page"
2101 GroupsGroupXtrInvitedByTypeEvent GroupsGroupXtrInvitedByType = "event"
2102)
2103
2104type GroupsGroupsArray struct {
2105 Count int64
2106 Items []int64
2107}
2108
2109type GroupsLinksItem struct {
2110 Desc string
2111 EditTitle BaseBoolInt
2112 Id int64
2113 Name string
2114 Photo100 string
2115 Photo50 string
2116 Url string
2117}
2118
2119type GroupsLiveCovers struct {
2120 IsEnabled bool
2121 IsScalable bool
2122 StoryIds []string
2123}
2124
2125type GroupsLongPollEvents struct {
2126 AudioNew BaseBoolInt
2127 BoardPostDelete BaseBoolInt
2128 BoardPostEdit BaseBoolInt
2129 BoardPostNew BaseBoolInt
2130 BoardPostRestore BaseBoolInt
2131 GroupChangePhoto BaseBoolInt
2132 GroupChangeSettings BaseBoolInt
2133 GroupJoin BaseBoolInt
2134 GroupLeave BaseBoolInt
2135 GroupOfficersEdit BaseBoolInt
2136 LeadFormsNew BaseBoolInt
2137 MarketCommentDelete BaseBoolInt
2138 MarketCommentEdit BaseBoolInt
2139 MarketCommentNew BaseBoolInt
2140 MarketCommentRestore BaseBoolInt
2141 MessageAllow BaseBoolInt
2142 MessageDeny BaseBoolInt
2143 MessageNew BaseBoolInt
2144 MessageRead BaseBoolInt
2145 MessageReply BaseBoolInt
2146 MessageTypingState BaseBoolInt
2147 MessageEdit BaseBoolInt
2148 PhotoCommentDelete BaseBoolInt
2149 PhotoCommentEdit BaseBoolInt
2150 PhotoCommentNew BaseBoolInt
2151 PhotoCommentRestore BaseBoolInt
2152 PhotoNew BaseBoolInt
2153 PollVoteNew BaseBoolInt
2154 UserBlock BaseBoolInt
2155 UserUnblock BaseBoolInt
2156 VideoCommentDelete BaseBoolInt
2157 VideoCommentEdit BaseBoolInt
2158 VideoCommentNew BaseBoolInt
2159 VideoCommentRestore BaseBoolInt
2160 VideoNew BaseBoolInt
2161 WallPostNew BaseBoolInt
2162 WallReplyDelete BaseBoolInt
2163 WallReplyEdit BaseBoolInt
2164 WallReplyNew BaseBoolInt
2165 WallReplyRestore BaseBoolInt
2166 WallRepost BaseBoolInt
2167}
2168
2169type GroupsLongPollServer struct {
2170 Key string
2171 Server string
2172 Ts string
2173}
2174
2175type GroupsLongPollSettings struct {
2176 ApiVersion string
2177 Events GroupsLongPollEvents
2178 IsEnabled bool
2179}
2180
2181type GroupsMarketInfo struct {
2182 ContactId int64
2183 Currency MarketCurrency
2184 CurrencyText string
2185 Enabled BaseBoolInt
2186 MainAlbumId int64
2187 PriceMax string
2188 PriceMin string
2189}
2190
2191type GroupsMemberRole struct {
2192 Id int64
2193 Permissions []GroupsMemberRolePermission
2194 Role GroupsMemberRoleStatus
2195}
2196
2197// enum groups_member_role_permission
2198type GroupsMemberRolePermission string
2199
2200const (
2201 GroupsMemberRolePermissionAds GroupsMemberRolePermission = "ads"
2202)
2203
2204// enum groups_member_role_status
2205type GroupsMemberRoleStatus string
2206
2207const (
2208 GroupsMemberRoleStatusModerator GroupsMemberRoleStatus = "moderator"
2209 GroupsMemberRoleStatusEditor GroupsMemberRoleStatus = "editor"
2210 GroupsMemberRoleStatusAdministrator GroupsMemberRoleStatus = "administrator"
2211 GroupsMemberRoleStatusCreator GroupsMemberRoleStatus = "creator"
2212)
2213
2214type GroupsMemberStatus struct {
2215 Member BaseBoolInt
2216 UserId int64
2217}
2218
2219type GroupsMemberStatusFull struct {
2220 CanInvite BaseBoolInt
2221 CanRecall BaseBoolInt
2222 Invitation BaseBoolInt
2223 Member BaseBoolInt
2224 Request BaseBoolInt
2225 UserId int64
2226}
2227
2228type GroupsOnlineStatus struct {
2229 Minutes int64
2230 Status GroupsOnlineStatusType
2231}
2232
2233// enum groups_online_status_type
2234type GroupsOnlineStatusType string
2235
2236const (
2237 GroupsOnlineStatusTypeNone GroupsOnlineStatusType = "none"
2238 GroupsOnlineStatusTypeOnline GroupsOnlineStatusType = "online"
2239 GroupsOnlineStatusTypeAnswerMark GroupsOnlineStatusType = "answer_mark"
2240)
2241
2242type GroupsOwnerXtrBanInfo struct {
2243 BanInfo GroupsBanInfo
2244 Group GroupsGroup
2245 Profile UsersUser
2246 Type GroupsOwnerXtrBanInfoType
2247}
2248
2249// enum groups_owner_xtr_ban_info_type
2250type GroupsOwnerXtrBanInfoType string
2251
2252const (
2253 GroupsOwnerXtrBanInfoTypeGroup GroupsOwnerXtrBanInfoType = "group"
2254 GroupsOwnerXtrBanInfoTypeProfile GroupsOwnerXtrBanInfoType = "profile"
2255)
2256
2257// enum groups_role_options
2258type GroupsRoleOptions string
2259
2260const (
2261 GroupsRoleOptionsModerator GroupsRoleOptions = "moderator"
2262 GroupsRoleOptionsEditor GroupsRoleOptions = "editor"
2263 GroupsRoleOptionsAdministrator GroupsRoleOptions = "administrator"
2264 GroupsRoleOptionsCreator GroupsRoleOptions = "creator"
2265)
2266
2267type GroupsSettingsTwitter struct {
2268 Status string
2269 Name string
2270}
2271
2272type GroupsSubjectItem struct {
2273 Id int64
2274 Name string
2275}
2276
2277type GroupsTokenPermissionSetting struct {
2278 Name string
2279 Setting int64
2280}
2281
2282// allof groups_user_xtr_role
2283type GroupsUserXtrRole struct {
2284 *UsersUserFull
2285 Role *GroupsRoleOptions
2286}
2287
2288type LeadsChecked struct {
2289 Reason string
2290 Result LeadsCheckedResult
2291 Sid string
2292 StartLink string
2293}
2294
2295// enum leads_checked_result
2296type LeadsCheckedResult string
2297
2298const (
2299 LeadsCheckedResultTrue LeadsCheckedResult = "true"
2300 LeadsCheckedResultFalse LeadsCheckedResult = "false"
2301)
2302
2303type LeadsComplete struct {
2304 Cost int64
2305 Limit int64
2306 Spent int64
2307 Success int64
2308 TestMode BaseBoolInt
2309}
2310
2311type LeadsEntry struct {
2312 Aid int64
2313 Comment string
2314 Date int64
2315 Sid string
2316 StartDate int64
2317 Status int64
2318 TestMode BaseBoolInt
2319 Uid int64
2320}
2321
2322type LeadsLead struct {
2323 Completed int64
2324 Cost int64
2325 Days LeadsLeadDays
2326 Impressions int64
2327 Limit int64
2328 Spent int64
2329 Started int64
2330}
2331
2332type LeadsLeadDays struct {
2333 Completed int64
2334 Impressions int64
2335 Spent int64
2336 Started int64
2337}
2338
2339type LeadsStart struct {
2340 TestMode BaseBoolInt
2341 VkSid string
2342}
2343
2344// enum likes_type
2345type LikesType string
2346
2347const (
2348 LikesTypePost LikesType = "post"
2349 LikesTypeComment LikesType = "comment"
2350 LikesTypePhoto LikesType = "photo"
2351 LikesTypeAudio LikesType = "audio"
2352 LikesTypeVideo LikesType = "video"
2353 LikesTypeNote LikesType = "note"
2354 LikesTypeMarket LikesType = "market"
2355 LikesTypePhotoComment LikesType = "photo_comment"
2356 LikesTypeVideoComment LikesType = "video_comment"
2357 LikesTypeTopicComment LikesType = "topic_comment"
2358 LikesTypeMarketComment LikesType = "market_comment"
2359 LikesTypeSitepage LikesType = "sitepage"
2360)
2361
2362type LinkTargetObject struct {
2363 Type string
2364 OwnerId int64
2365 ItemId int64
2366}
2367
2368type MarketCurrency struct {
2369 Id int64
2370 Name string
2371}
2372
2373type MarketMarketAlbum struct {
2374 Count int64
2375 Id int64
2376 OwnerId int64
2377 Photo PhotosPhoto
2378 Title string
2379 UpdatedTime int64
2380}
2381
2382type MarketMarketCategory struct {
2383 Id int64
2384 Name string
2385 Section MarketSection
2386}
2387
2388type MarketMarketItem struct {
2389 AccessKey string
2390 Availability MarketMarketItemAvailability
2391 ButtonTitle string
2392 Category MarketMarketCategory
2393 Date int64
2394 Description string
2395 ExternalId string
2396 Id int64
2397 IsFavorite bool
2398 OwnerId int64
2399 Price MarketPrice
2400 ThumbPhoto string
2401 Title string
2402 Url string
2403 VariantsGroupingId int64
2404 IsMainVariant bool
2405}
2406
2407// enum market_market_item_availability
2408type MarketMarketItemAvailability int64
2409
2410const (
2411 MarketMarketItemAvailabilityAvailable MarketMarketItemAvailability = 0
2412 MarketMarketItemAvailabilityRemoved MarketMarketItemAvailability = 1
2413 MarketMarketItemAvailabilityUnavailable MarketMarketItemAvailability = 2
2414)
2415
2416// allof market_market_item_full
2417type MarketMarketItemFull struct {
2418 *MarketMarketItem
2419 AlbumsIds *[]int64
2420 Photos *[]PhotosPhoto
2421 CanComment *BaseBoolInt
2422 CanRepost *BaseBoolInt
2423 Likes *BaseLikes
2424 Reposts *BaseRepostsInfo
2425 ViewsCount *int64
2426}
2427
2428type MarketPrice struct {
2429 Amount string
2430 Currency MarketCurrency
2431 DiscountRate int64
2432 OldAmount string
2433 Text string
2434}
2435
2436type MarketSection struct {
2437 Id int64
2438 Name string
2439}
2440
2441type MediaRestriction struct {
2442 Text string
2443 Title string
2444 Button VideoRestrictionButton
2445 AlwaysShown BaseBoolInt
2446 Blur BaseBoolInt
2447 CanPlay BaseBoolInt
2448 CanPreview BaseBoolInt
2449 CardIcon []BaseImage
2450 ListIcon []BaseImage
2451}
2452
2453type MessageChatPreview struct {
2454 AdminId int64
2455 Joined bool
2456 LocalId int64
2457 Members []int64
2458 MembersCount int64
2459 Title string
2460}
2461
2462type MessagesAudioMessage struct {
2463 AccessKey string
2464 Duration int64
2465 Id int64
2466 LinkMp3 string
2467 LinkOgg string
2468 OwnerId int64
2469 Waveform []int64
2470}
2471
2472type MessagesChat struct {
2473 AdminId int64
2474 Id int64
2475 Kicked BaseBoolInt
2476 Left BaseBoolInt
2477 Photo100 string
2478 Photo200 string
2479 Photo50 string
2480 PushSettings MessagesChatPushSettings
2481 Title string
2482 Type string
2483 Users []int64
2484 IsDefaultPhoto bool
2485}
2486
2487type MessagesChatFull struct {
2488 AdminId int64
2489 Id int64
2490 Kicked BaseBoolInt
2491 Left BaseBoolInt
2492 Photo100 string
2493 Photo200 string
2494 Photo50 string
2495 PushSettings MessagesChatPushSettings
2496 Title string
2497 Type string
2498 Users []MessagesUserXtrInvitedBy
2499}
2500
2501type MessagesChatPushSettings struct {
2502 DisabledUntil int64
2503 Sound BaseBoolInt
2504}
2505
2506type MessagesChatRestrictions struct {
2507 AdminsPromoteUsers bool
2508 OnlyAdminsEditInfo bool
2509 OnlyAdminsEditPin bool
2510 OnlyAdminsInvite bool
2511 OnlyAdminsKick bool
2512}
2513
2514type MessagesConversation struct {
2515 Peer MessagesConversationPeer
2516 LastMessageId int64
2517 InRead int64
2518 OutRead int64
2519 UnreadCount int64
2520 IsMarkedUnread bool
2521 Important bool
2522 Unanswered bool
2523 SpecialServiceType string
2524 MessageRequestData MessagesMessageRequestData
2525 Mentions []int64
2526 CurrentKeyboard MessagesKeyboard
2527}
2528
2529type MessagesConversationMember struct {
2530 CanKick bool
2531 InvitedBy int64
2532 IsAdmin bool
2533 IsOwner bool
2534 IsMessageRequest bool
2535 JoinDate int64
2536 RequestDate int64
2537 MemberId int64
2538}
2539
2540type MessagesConversationPeer struct {
2541 Id int64
2542 LocalId int64
2543 Type MessagesConversationPeerType
2544}
2545
2546// enum messages_conversation_peer_type
2547type MessagesConversationPeerType string
2548
2549const (
2550 MessagesConversationPeerTypeChat MessagesConversationPeerType = "chat"
2551 MessagesConversationPeerTypeEmail MessagesConversationPeerType = "email"
2552 MessagesConversationPeerTypeUser MessagesConversationPeerType = "user"
2553 MessagesConversationPeerTypeGroup MessagesConversationPeerType = "group"
2554)
2555
2556type MessagesConversationWithMessage struct {
2557 Conversation MessagesConversation
2558 LastMessage MessagesMessage
2559}
2560
2561type MessagesForeignMessage struct {
2562 Attachments []MessagesMessageAttachment
2563 ConversationMessageId int64
2564 Date int64
2565 FromId int64
2566 FwdMessages []MessagesForeignMessage
2567 Geo BaseGeo
2568 Id int64
2569 PeerId int64
2570 ReplyMessage MessagesForeignMessage
2571 Text string
2572 UpdateTime int64
2573 WasListened bool
2574 Payload string
2575}
2576
2577type MessagesGraffiti struct {
2578 AccessKey string
2579 Height int64
2580 Id int64
2581 OwnerId int64
2582 Url string
2583 Width int64
2584}
2585
2586type MessagesHistoryAttachment struct {
2587 Attachment MessagesHistoryMessageAttachment
2588 MessageId int64
2589 FromId int64
2590}
2591
2592type MessagesHistoryMessageAttachment struct {
2593 Audio AudioAudio
2594 AudioMessage MessagesAudioMessage
2595 Doc DocsDoc
2596 Graffiti MessagesGraffiti
2597 Link BaseLink
2598 Market BaseLink
2599 Photo PhotosPhoto
2600 Share BaseLink
2601 Type MessagesHistoryMessageAttachmentType
2602 Video VideoVideo
2603 Wall BaseLink
2604}
2605
2606// enum messages_history_message_attachment_type
2607type MessagesHistoryMessageAttachmentType string
2608
2609const (
2610 MessagesHistoryMessageAttachmentTypePhoto MessagesHistoryMessageAttachmentType = "photo"
2611 MessagesHistoryMessageAttachmentTypeVideo MessagesHistoryMessageAttachmentType = "video"
2612 MessagesHistoryMessageAttachmentTypeAudio MessagesHistoryMessageAttachmentType = "audio"
2613 MessagesHistoryMessageAttachmentTypeDoc MessagesHistoryMessageAttachmentType = "doc"
2614 MessagesHistoryMessageAttachmentTypeLink MessagesHistoryMessageAttachmentType = "link"
2615 MessagesHistoryMessageAttachmentTypeMarket MessagesHistoryMessageAttachmentType = "market"
2616 MessagesHistoryMessageAttachmentTypeWall MessagesHistoryMessageAttachmentType = "wall"
2617 MessagesHistoryMessageAttachmentTypeShare MessagesHistoryMessageAttachmentType = "share"
2618 MessagesHistoryMessageAttachmentTypeGraffiti MessagesHistoryMessageAttachmentType = "graffiti"
2619 MessagesHistoryMessageAttachmentTypeAudioMessage MessagesHistoryMessageAttachmentType = "audio_message"
2620)
2621
2622type MessagesKeyboard struct {
2623 AuthorId int64
2624 Buttons [][]MessagesKeyboardButton
2625 OneTime bool
2626 Inline bool
2627}
2628
2629type MessagesKeyboardButton struct {
2630 Action MessagesKeyboardButtonAction
2631 Color string
2632}
2633
2634type MessagesKeyboardButtonAction struct {
2635 AppId int64
2636 Hash string
2637 Label string
2638 Link string
2639 OwnerId int64
2640 Payload string
2641 Type MessagesTemplateActionTypeNames
2642}
2643
2644type MessagesLastActivity struct {
2645 Online BaseBoolInt
2646 Time int64
2647}
2648
2649type MessagesLongpollMessages struct {
2650 Count int64
2651 Items []MessagesMessage
2652}
2653
2654type MessagesLongpollParams struct {
2655 Key string
2656 Pts int64
2657 Server string
2658 Ts string
2659}
2660
2661type MessagesMessage struct {
2662 Action MessagesMessageAction
2663 AdminAuthorId int64
2664 Attachments []MessagesMessageAttachment
2665 ConversationMessageId int64
2666 Date int64
2667 Deleted BaseBoolInt
2668 FromId int64
2669 FwdMessages []MessagesForeignMessage
2670 Geo BaseGeo
2671 Id int64
2672 Important bool
2673 IsHidden bool
2674 IsCropped bool
2675 Keyboard MessagesKeyboard
2676 MembersCount int64
2677 Out BaseBoolInt
2678 Payload string
2679 PeerId int64
2680 RandomId int64
2681 Ref string
2682 RefSource string
2683 ReplyMessage MessagesForeignMessage
2684 Text string
2685 UpdateTime int64
2686 WasListened bool
2687 PinnedAt int64
2688}
2689
2690type MessagesMessageAction struct {
2691 ConversationMessageId int64
2692 Email string
2693 MemberId int64
2694 Message string
2695 Photo MessagesMessageActionPhoto
2696 Text string
2697 Type MessagesMessageActionStatus
2698}
2699
2700type MessagesMessageActionPhoto struct {
2701 Photo100 string
2702 Photo200 string
2703 Photo50 string
2704}
2705
2706// enum messages_message_action_status
2707type MessagesMessageActionStatus string
2708
2709const (
2710 MessagesMessageActionStatusChatPhotoUpdate MessagesMessageActionStatus = "chat_photo_update"
2711 MessagesMessageActionStatusChatPhotoRemove MessagesMessageActionStatus = "chat_photo_remove"
2712 MessagesMessageActionStatusChatCreate MessagesMessageActionStatus = "chat_create"
2713 MessagesMessageActionStatusChatTitleUpdate MessagesMessageActionStatus = "chat_title_update"
2714 MessagesMessageActionStatusChatInviteUser MessagesMessageActionStatus = "chat_invite_user"
2715 MessagesMessageActionStatusChatKickUser MessagesMessageActionStatus = "chat_kick_user"
2716 MessagesMessageActionStatusChatPinMessage MessagesMessageActionStatus = "chat_pin_message"
2717 MessagesMessageActionStatusChatUnpinMessage MessagesMessageActionStatus = "chat_unpin_message"
2718 MessagesMessageActionStatusChatInviteUserByLink MessagesMessageActionStatus = "chat_invite_user_by_link"
2719)
2720
2721type MessagesMessageAttachment struct {
2722 Audio AudioAudio
2723 AudioMessage MessagesAudioMessage
2724 Doc DocsDoc
2725 Gift GiftsLayout
2726 Graffiti MessagesGraffiti
2727 Link BaseLink
2728 Market MarketMarketItem
2729 MarketMarketAlbum MarketMarketAlbum
2730 Photo PhotosPhoto
2731 Sticker BaseSticker
2732 Story StoriesStory
2733 Type MessagesMessageAttachmentType
2734 Video VideoVideo
2735 Wall WallWallpostFull
2736 WallReply WallWallComment
2737}
2738
2739// enum messages_message_attachment_type
2740type MessagesMessageAttachmentType string
2741
2742const (
2743 MessagesMessageAttachmentTypePhoto MessagesMessageAttachmentType = "photo"
2744 MessagesMessageAttachmentTypeAudio MessagesMessageAttachmentType = "audio"
2745 MessagesMessageAttachmentTypeVideo MessagesMessageAttachmentType = "video"
2746 MessagesMessageAttachmentTypeDoc MessagesMessageAttachmentType = "doc"
2747 MessagesMessageAttachmentTypeLink MessagesMessageAttachmentType = "link"
2748 MessagesMessageAttachmentTypeMarket MessagesMessageAttachmentType = "market"
2749 MessagesMessageAttachmentTypeMarketAlbum MessagesMessageAttachmentType = "market_album"
2750 MessagesMessageAttachmentTypeGift MessagesMessageAttachmentType = "gift"
2751 MessagesMessageAttachmentTypeSticker MessagesMessageAttachmentType = "sticker"
2752 MessagesMessageAttachmentTypeWall MessagesMessageAttachmentType = "wall"
2753 MessagesMessageAttachmentTypeWallReply MessagesMessageAttachmentType = "wall_reply"
2754 MessagesMessageAttachmentTypeArticle MessagesMessageAttachmentType = "article"
2755 MessagesMessageAttachmentTypeGraffiti MessagesMessageAttachmentType = "graffiti"
2756 MessagesMessageAttachmentTypeAudioMessage MessagesMessageAttachmentType = "audio_message"
2757)
2758
2759type MessagesMessageRequestData struct {
2760 Status string
2761 InviterId int64
2762 RequestDate int64
2763}
2764
2765type MessagesPinnedMessage struct {
2766 Attachments []MessagesMessageAttachment
2767 ConversationMessageId int64
2768 Date int64
2769 FromId int64
2770 FwdMessages []MessagesForeignMessage
2771 Geo BaseGeo
2772 Id int64
2773 PeerId int64
2774 ReplyMessage MessagesForeignMessage
2775 Text string
2776 Keyboard MessagesKeyboard
2777}
2778
2779// enum messages_template_action_type_names
2780type MessagesTemplateActionTypeNames string
2781
2782const (
2783 MessagesTemplateActionTypeNamesText MessagesTemplateActionTypeNames = "text"
2784 MessagesTemplateActionTypeNamesStart MessagesTemplateActionTypeNames = "start"
2785 MessagesTemplateActionTypeNamesLocation MessagesTemplateActionTypeNames = "location"
2786 MessagesTemplateActionTypeNamesVkpay MessagesTemplateActionTypeNames = "vkpay"
2787 MessagesTemplateActionTypeNamesOpenApp MessagesTemplateActionTypeNames = "open_app"
2788 MessagesTemplateActionTypeNamesOpenPhoto MessagesTemplateActionTypeNames = "open_photo"
2789 MessagesTemplateActionTypeNamesOpenLink MessagesTemplateActionTypeNames = "open_link"
2790)
2791
2792// allof messages_user_xtr_invited_by
2793type MessagesUserXtrInvitedBy struct {
2794 *UsersUserXtrType
2795 InvitedBy *int64
2796}
2797
2798// enum newsfeed_comments_filters
2799type NewsfeedCommentsFilters string
2800
2801const (
2802 NewsfeedCommentsFiltersPost NewsfeedCommentsFilters = "post"
2803 NewsfeedCommentsFiltersPhoto NewsfeedCommentsFilters = "photo"
2804 NewsfeedCommentsFiltersVideo NewsfeedCommentsFilters = "video"
2805 NewsfeedCommentsFiltersTopic NewsfeedCommentsFilters = "topic"
2806 NewsfeedCommentsFiltersNote NewsfeedCommentsFilters = "note"
2807)
2808
2809type NewsfeedEventActivity struct {
2810 Address string
2811 ButtonText string
2812 Friends []int64
2813 MemberStatus GroupsGroupFullMemberStatus
2814 Text string
2815 Time int64
2816}
2817
2818// enum newsfeed_filters
2819type NewsfeedFilters string
2820
2821const (
2822 NewsfeedFiltersPost NewsfeedFilters = "post"
2823 NewsfeedFiltersPhoto NewsfeedFilters = "photo"
2824 NewsfeedFiltersPhotoTag NewsfeedFilters = "photo_tag"
2825 NewsfeedFiltersWallPhoto NewsfeedFilters = "wall_photo"
2826 NewsfeedFiltersFriend NewsfeedFilters = "friend"
2827 NewsfeedFiltersRecommendedGroups NewsfeedFilters = "recommended_groups"
2828 NewsfeedFiltersNote NewsfeedFilters = "note"
2829 NewsfeedFiltersAudio NewsfeedFilters = "audio"
2830 NewsfeedFiltersVideo NewsfeedFilters = "video"
2831 NewsfeedFiltersAudioPlaylist NewsfeedFilters = "audio_playlist"
2832 NewsfeedFiltersClip NewsfeedFilters = "clip"
2833)
2834
2835// enum newsfeed_ignore_item_type
2836type NewsfeedIgnoreItemType string
2837
2838const (
2839 NewsfeedIgnoreItemTypePostOnTheWall NewsfeedIgnoreItemType = "wall"
2840 NewsfeedIgnoreItemTypeTagOnAPhoto NewsfeedIgnoreItemType = "tag"
2841 NewsfeedIgnoreItemTypeProfilePhoto NewsfeedIgnoreItemType = "profilephoto"
2842 NewsfeedIgnoreItemTypeVideo NewsfeedIgnoreItemType = "video"
2843 NewsfeedIgnoreItemTypePhoto NewsfeedIgnoreItemType = "photo"
2844 NewsfeedIgnoreItemTypeAudio NewsfeedIgnoreItemType = "audio"
2845)
2846
2847// allof newsfeed_item_audio
2848type NewsfeedItemAudio struct {
2849 *NewsfeedItemBase
2850 Audio *NewsfeedItemAudioAudio
2851 PostId *int64
2852}
2853
2854type NewsfeedItemAudioAudio struct {
2855 Count int64
2856 Items []AudioAudio
2857}
2858
2859type NewsfeedItemBase struct {
2860 Type NewsfeedNewsfeedItemType
2861 SourceId int64
2862 Date int64
2863}
2864
2865// allof newsfeed_item_digest
2866type NewsfeedItemDigest struct {
2867 *NewsfeedItemBase
2868 ButtonText *string
2869 FeedId *string
2870 Items *[]WallWallpost
2871 MainPostIds *[]string
2872 Template *string
2873 Title *string
2874 TrackCode *string
2875}
2876
2877// allof newsfeed_item_friend
2878type NewsfeedItemFriend struct {
2879 *NewsfeedItemBase
2880 Friends *NewsfeedItemFriendFriends
2881}
2882
2883type NewsfeedItemFriendFriends struct {
2884 Count int64
2885 Items []BaseUserId
2886}
2887
2888type NewsfeedItemHolidayRecommendationsBlockHeader struct {
2889 Title string
2890 Subtitle string
2891 Image []BaseImage
2892 Action BaseLinkButtonAction
2893}
2894
2895// allof newsfeed_item_note
2896type NewsfeedItemNote struct {
2897 *NewsfeedItemBase
2898 Notes *NewsfeedItemNoteNotes
2899}
2900
2901type NewsfeedItemNoteNotes struct {
2902 Count int64
2903 Items []NewsfeedNewsfeedNote
2904}
2905
2906// allof newsfeed_item_photo
2907type NewsfeedItemPhoto struct {
2908 *WallCarouselBase
2909 *NewsfeedItemBase
2910 Photos *NewsfeedItemPhotoPhotos
2911 PostId *int64
2912}
2913
2914type NewsfeedItemPhotoPhotos struct {
2915 Count int64
2916 Items []NewsfeedNewsfeedPhoto
2917}
2918
2919// allof newsfeed_item_photo_tag
2920type NewsfeedItemPhotoTag struct {
2921 *WallCarouselBase
2922 *NewsfeedItemBase
2923 PhotoTags *NewsfeedItemPhotoTagPhotoTags
2924 PostId *int64
2925}
2926
2927type NewsfeedItemPhotoTagPhotoTags struct {
2928 Count int64
2929 Items []NewsfeedNewsfeedPhoto
2930}
2931
2932// allof newsfeed_item_promo_button
2933type NewsfeedItemPromoButton struct {
2934 *NewsfeedItemBase
2935 Text *string
2936 Title *string
2937 Action *NewsfeedItemPromoButtonAction
2938 Images *[]NewsfeedItemPromoButtonImage
2939 TrackCode *string
2940}
2941
2942type NewsfeedItemPromoButtonAction struct {
2943 Url string
2944 Type string
2945 Target string
2946}
2947
2948type NewsfeedItemPromoButtonImage struct {
2949 Width int64
2950 Height int64
2951 Url string
2952}
2953
2954// allof newsfeed_item_topic
2955type NewsfeedItemTopic struct {
2956 *NewsfeedItemBase
2957 Comments *BaseCommentsInfo
2958 Likes *BaseLikesInfo
2959 PostId *int64
2960 Text *string
2961}
2962
2963// allof newsfeed_item_video
2964type NewsfeedItemVideo struct {
2965 *WallCarouselBase
2966 *NewsfeedItemBase
2967 Video *NewsfeedItemVideoVideo
2968}
2969
2970type NewsfeedItemVideoVideo struct {
2971 Count int64
2972 Items []VideoVideo
2973}
2974
2975// allof newsfeed_item_wallpost
2976type NewsfeedItemWallpost struct {
2977 *WallCarouselBase
2978 *NewsfeedItemBase
2979 Activity *NewsfeedEventActivity
2980 Attachments *[]WallWallpostAttachment
2981 Comments *BaseCommentsInfo
2982 CopyHistory *[]WallWallpost
2983 Feedback *NewsfeedItemWallpostFeedback
2984 Geo *BaseGeo
2985 IsFavorite *bool
2986 Likes *BaseLikesInfo
2987 MarkedAsAds *BaseBoolInt
2988 PostId *int64
2989 PostSource *WallPostSource
2990 PostType *NewsfeedItemWallpostType
2991 Reposts *BaseRepostsInfo
2992 SignerId *int64
2993 Text *string
2994 Views *WallViews
2995 ShortTextRate *int64
2996}
2997
2998type NewsfeedItemWallpostFeedback struct {
2999 Type NewsfeedItemWallpostFeedbackType
3000 Question string
3001 Answers []NewsfeedItemWallpostFeedbackAnswer
3002 StarsCount int64
3003 Gratitude string
3004}
3005
3006type NewsfeedItemWallpostFeedbackAnswer struct {
3007 Title string
3008 Id string
3009}
3010
3011// enum newsfeed_item_wallpost_feedback_type
3012type NewsfeedItemWallpostFeedbackType string
3013
3014const (
3015 NewsfeedItemWallpostFeedbackTypeButtons NewsfeedItemWallpostFeedbackType = "buttons"
3016 NewsfeedItemWallpostFeedbackTypeStars NewsfeedItemWallpostFeedbackType = "stars"
3017)
3018
3019// enum newsfeed_item_wallpost_type
3020type NewsfeedItemWallpostType string
3021
3022const (
3023 NewsfeedItemWallpostTypePost NewsfeedItemWallpostType = "post"
3024 NewsfeedItemWallpostTypeCopy NewsfeedItemWallpostType = "copy"
3025 NewsfeedItemWallpostTypeReply NewsfeedItemWallpostType = "reply"
3026)
3027
3028type NewsfeedList struct {
3029 Id int64
3030 Title string
3031}
3032
3033// allof newsfeed_list_full
3034type NewsfeedListFull struct {
3035 *NewsfeedList
3036 NoReposts *BaseBoolInt
3037 SourceIds *[]int64
3038}
3039
3040// oneof newsfeed_newsfeed_item
3041type NewsfeedNewsfeedItem struct {
3042 *NewsfeedItemWallpost
3043 *NewsfeedItemPhoto
3044 *NewsfeedItemPhotoTag
3045 *NewsfeedItemFriend
3046 *NewsfeedItemNote
3047 *NewsfeedItemAudio
3048 *NewsfeedItemVideo
3049 *NewsfeedItemTopic
3050 *NewsfeedItemDigest
3051 *NewsfeedItemPromoButton
3052}
3053
3054// enum newsfeed_newsfeed_item_type
3055type NewsfeedNewsfeedItemType string
3056
3057const (
3058 NewsfeedNewsfeedItemTypePost NewsfeedNewsfeedItemType = "post"
3059 NewsfeedNewsfeedItemTypePhoto NewsfeedNewsfeedItemType = "photo"
3060 NewsfeedNewsfeedItemTypePhotoTag NewsfeedNewsfeedItemType = "photo_tag"
3061 NewsfeedNewsfeedItemTypeWallPhoto NewsfeedNewsfeedItemType = "wall_photo"
3062 NewsfeedNewsfeedItemTypeFriend NewsfeedNewsfeedItemType = "friend"
3063 NewsfeedNewsfeedItemTypeNote NewsfeedNewsfeedItemType = "note"
3064 NewsfeedNewsfeedItemTypeAudio NewsfeedNewsfeedItemType = "audio"
3065 NewsfeedNewsfeedItemTypeVideo NewsfeedNewsfeedItemType = "video"
3066 NewsfeedNewsfeedItemTypeTopic NewsfeedNewsfeedItemType = "topic"
3067 NewsfeedNewsfeedItemTypeDigest NewsfeedNewsfeedItemType = "digest"
3068 NewsfeedNewsfeedItemTypeStories NewsfeedNewsfeedItemType = "stories"
3069 NewsfeedNewsfeedItemTypeTagsSuggestions NewsfeedNewsfeedItemType = "tags_suggestions"
3070)
3071
3072type NewsfeedNewsfeedNote struct {
3073 Comments int64
3074 Id int64
3075 OwnerId int64
3076 Title string
3077}
3078
3079// allof newsfeed_newsfeed_photo
3080type NewsfeedNewsfeedPhoto struct {
3081 *PhotosPhoto
3082 Likes *BaseLikes
3083 Comments *BaseObjectCount
3084 CanRepost *BaseBoolInt
3085}
3086
3087type NotesNote struct {
3088 ReadComments int64
3089 CanComment BaseBoolInt
3090 Comments int64
3091 Date int64
3092 Id int64
3093 OwnerId int64
3094 Text string
3095 TextWiki string
3096 Title string
3097 ViewUrl string
3098}
3099
3100type NotesNoteComment struct {
3101 Date int64
3102 Id int64
3103 Message string
3104 Nid int64
3105 Oid int64
3106 ReplyTo int64
3107 Uid int64
3108}
3109
3110type NotificationsFeedback struct {
3111 Attachments []WallWallpostAttachment
3112 FromId int64
3113 Geo BaseGeo
3114 Id int64
3115 Likes BaseLikesInfo
3116 Text string
3117 ToId int64
3118}
3119
3120type NotificationsNotification struct {
3121 Date int64
3122 Feedback NotificationsFeedback
3123 Parent NotificationsNotificationParent
3124 Reply NotificationsReply
3125 Type string
3126}
3127
3128// enum notifications_notification_item
3129type NotificationsNotificationItem interface{}
3130
3131// allof notifications_notification_parent
3132type NotificationsNotificationParent struct {
3133 *WallWallpostToId
3134 *PhotosPhoto
3135 *BoardTopic
3136 *VideoVideo
3137 *NotificationsNotificationsComment
3138}
3139
3140type NotificationsNotificationsComment struct {
3141 Date int64
3142 Id int64
3143 OwnerId int64
3144 Photo PhotosPhoto
3145 Post WallWallpost
3146 Text string
3147 Topic BoardTopic
3148 Video VideoVideo
3149}
3150
3151type NotificationsReply struct {
3152 Date int64
3153 Id int64
3154 Text int64
3155}
3156
3157type NotificationsSendMessageError struct {
3158 Code int64
3159 Description string
3160}
3161
3162type NotificationsSendMessageItem struct {
3163 UserId int64
3164 Status bool
3165 Error NotificationsSendMessageError
3166}
3167
3168type OauthError struct {
3169 Error string
3170 ErrorDescription string
3171 RedirectUri string
3172}
3173
3174type OrdersAmount struct {
3175 Amounts []OrdersAmountItem
3176 Currency string
3177}
3178
3179type OrdersAmountItem struct {
3180 Amount int64
3181 Description string
3182 Votes string
3183}
3184
3185type OrdersOrder struct {
3186 Amount int64
3187 AppOrderId int64
3188 CancelTransactionId int64
3189 Date int64
3190 Id int64
3191 Item string
3192 ReceiverId int64
3193 Status string
3194 TransactionId int64
3195 UserId int64
3196}
3197
3198type OrdersSubscription struct {
3199 CancelReason string
3200 CreateTime int64
3201 Id int64
3202 ItemId string
3203 NextBillTime int64
3204 PendingCancel bool
3205 Period int64
3206 PeriodStartTime int64
3207 Price int64
3208 Status string
3209 TestMode bool
3210 TrialExpireTime int64
3211 UpdateTime int64
3212}
3213
3214type OwnerState struct {
3215 State int64
3216 Description string
3217}
3218
3219// enum pages_privacy_settings
3220type PagesPrivacySettings int64
3221
3222const (
3223 PagesPrivacySettingsCommunityManagersOnly PagesPrivacySettings = 0
3224 PagesPrivacySettingsCommunityMembersOnly PagesPrivacySettings = 1
3225 PagesPrivacySettingsEveryone PagesPrivacySettings = 2
3226)
3227
3228type PagesWikipage struct {
3229 CreatorId int64
3230 CreatorName int64
3231 EditorId int64
3232 EditorName string
3233 GroupId int64
3234 Id int64
3235 Title string
3236 Views int64
3237 WhoCanEdit PagesPrivacySettings
3238 WhoCanView PagesPrivacySettings
3239}
3240
3241type PagesWikipageFull struct {
3242 Created int64
3243 CreatorId int64
3244 CurrentUserCanEdit BaseBoolInt
3245 CurrentUserCanEditAccess BaseBoolInt
3246 Edited int64
3247 EditorId int64
3248 GroupId int64
3249 Html string
3250 Id int64
3251 Source string
3252 Title string
3253 ViewUrl string
3254 Views int64
3255 WhoCanEdit PagesPrivacySettings
3256 WhoCanView PagesPrivacySettings
3257}
3258
3259type PagesWikipageHistory struct {
3260 Id int64
3261 Length int64
3262 Date int64
3263 EditorId int64
3264 EditorName string
3265}
3266
3267type PhotosCommentXtrPid struct {
3268 Attachments []WallCommentAttachment
3269 Date int64
3270 FromId int64
3271 Id int64
3272 Likes BaseLikesInfo
3273 Pid int64
3274 ReplyToComment int64
3275 ReplyToUser int64
3276 Text string
3277 ParentsStack []int64
3278 Thread CommentThread
3279}
3280
3281type PhotosImage struct {
3282 Height int64
3283 Type PhotosImageType
3284 Url string
3285 Width int64
3286}
3287
3288// enum photos_image_type
3289type PhotosImageType string
3290
3291const (
3292 PhotosImageTypeS PhotosImageType = "s"
3293 PhotosImageTypeM PhotosImageType = "m"
3294 PhotosImageTypeX PhotosImageType = "x"
3295 PhotosImageTypeL PhotosImageType = "l"
3296 PhotosImageTypeO PhotosImageType = "o"
3297 PhotosImageTypeP PhotosImageType = "p"
3298 PhotosImageTypeQ PhotosImageType = "q"
3299 PhotosImageTypeR PhotosImageType = "r"
3300 PhotosImageTypeY PhotosImageType = "y"
3301 PhotosImageTypeZ PhotosImageType = "z"
3302 PhotosImageTypeW PhotosImageType = "w"
3303)
3304
3305type PhotosMarketAlbumUploadResponse struct {
3306 Gid int64
3307 Hash string
3308 Photo string
3309 Server int64
3310}
3311
3312type PhotosMarketUploadResponse struct {
3313 CropData string
3314 CropHash string
3315 GroupId int64
3316 Hash string
3317 Photo string
3318 Server int64
3319}
3320
3321type PhotosMessageUploadResponse struct {
3322 Hash string
3323 Photo string
3324 Server int64
3325}
3326
3327type PhotosOwnerUploadResponse struct {
3328 Hash string
3329 Photo string
3330 Server int64
3331}
3332
3333type PhotosPhoto struct {
3334 AccessKey string
3335 AlbumId int64
3336 Date int64
3337 Height int64
3338 Id int64
3339 Images []PhotosImage
3340 Lat int64
3341 Long int64
3342 OwnerId int64
3343 Photo256 string
3344 CanComment BaseBoolInt
3345 Place string
3346 PostId int64
3347 Sizes []PhotosPhotoSizes
3348 Text string
3349 UserId int64
3350 Width int64
3351 HasTags bool
3352 Restrictions MediaRestriction
3353}
3354
3355type PhotosPhotoAlbum struct {
3356 Created int64
3357 Description string
3358 Id int64
3359 OwnerId int64
3360 Size int64
3361 Thumb PhotosPhoto
3362 Title string
3363 Updated int64
3364}
3365
3366type PhotosPhotoAlbumFull struct {
3367 CanUpload BaseBoolInt
3368 CommentsDisabled BaseBoolInt
3369 Created int64
3370 Description string
3371 Id int64
3372 OwnerId int64
3373 Size int64
3374 Sizes []PhotosPhotoSizes
3375 ThumbId int64
3376 ThumbIsLast BaseBoolInt
3377 ThumbSrc string
3378 Title string
3379 Updated int64
3380 UploadByAdminsOnly BaseBoolInt
3381}
3382
3383type PhotosPhotoFull struct {
3384 AccessKey string
3385 AlbumId int64
3386 CanComment BaseBoolInt
3387 Comments BaseObjectCount
3388 Date int64
3389 Height int64
3390 Id int64
3391 Images []PhotosImage
3392 Lat int64
3393 Likes BaseLikes
3394 Long int64
3395 OwnerId int64
3396 PostId int64
3397 Reposts BaseObjectCount
3398 Tags BaseObjectCount
3399 Text string
3400 UserId int64
3401 Width int64
3402}
3403
3404type PhotosPhotoFullXtrRealOffset struct {
3405 AccessKey string
3406 AlbumId int64
3407 CanComment BaseBoolInt
3408 Comments BaseObjectCount
3409 Date int64
3410 Height int64
3411 Hidden BasePropertyExists
3412 Id int64
3413 Lat int64
3414 Likes BaseLikes
3415 Long int64
3416 OwnerId int64
3417 Photo1280 string
3418 Photo130 string
3419 Photo2560 string
3420 Photo604 string
3421 Photo75 string
3422 Photo807 string
3423 PostId int64
3424 RealOffset int64
3425 Reposts BaseObjectCount
3426 Sizes []PhotosPhotoSizes
3427 Tags BaseObjectCount
3428 Text string
3429 UserId int64
3430 Width int64
3431}
3432
3433type PhotosPhotoSizes struct {
3434 Height int64
3435 Url string
3436 Src string
3437 Type PhotosPhotoSizesType
3438 Width int64
3439}
3440
3441// enum photos_photo_sizes_type
3442type PhotosPhotoSizesType string
3443
3444const (
3445 PhotosPhotoSizesTypeS PhotosPhotoSizesType = "s"
3446 PhotosPhotoSizesTypeM PhotosPhotoSizesType = "m"
3447 PhotosPhotoSizesTypeX PhotosPhotoSizesType = "x"
3448 PhotosPhotoSizesTypeO PhotosPhotoSizesType = "o"
3449 PhotosPhotoSizesTypeP PhotosPhotoSizesType = "p"
3450 PhotosPhotoSizesTypeQ PhotosPhotoSizesType = "q"
3451 PhotosPhotoSizesTypeR PhotosPhotoSizesType = "r"
3452 PhotosPhotoSizesTypeK PhotosPhotoSizesType = "k"
3453 PhotosPhotoSizesTypeL PhotosPhotoSizesType = "l"
3454 PhotosPhotoSizesTypeY PhotosPhotoSizesType = "y"
3455 PhotosPhotoSizesTypeZ PhotosPhotoSizesType = "z"
3456 PhotosPhotoSizesTypeC PhotosPhotoSizesType = "c"
3457 PhotosPhotoSizesTypeW PhotosPhotoSizesType = "w"
3458)
3459
3460type PhotosPhotoTag struct {
3461 Date int64
3462 Id int64
3463 PlacerId int64
3464 TaggedName string
3465 UserId int64
3466 Viewed BaseBoolInt
3467 X int64
3468 X2 int64
3469 Y int64
3470 Y2 int64
3471}
3472
3473type PhotosPhotoUpload struct {
3474 AlbumId int64
3475 UploadUrl string
3476 FallbackUploadUrl string
3477 UserId int64
3478 GroupId int64
3479}
3480
3481type PhotosPhotoUploadResponse struct {
3482 Aid int64
3483 Hash string
3484 PhotosList string
3485 Server int64
3486}
3487
3488type PhotosPhotoXtrRealOffset struct {
3489 AccessKey string
3490 AlbumId int64
3491 Date int64
3492 Height int64
3493 Hidden BasePropertyExists
3494 Id int64
3495 Lat int64
3496 Long int64
3497 OwnerId int64
3498 Photo1280 string
3499 Photo130 string
3500 Photo2560 string
3501 Photo604 string
3502 Photo75 string
3503 Photo807 string
3504 PostId int64
3505 RealOffset int64
3506 Sizes []PhotosPhotoSizes
3507 Text string
3508 UserId int64
3509 Width int64
3510}
3511
3512type PhotosPhotoXtrTagInfo struct {
3513 AccessKey string
3514 AlbumId int64
3515 Date int64
3516 Height int64
3517 Id int64
3518 Lat int64
3519 Long int64
3520 OwnerId int64
3521 Photo1280 string
3522 Photo130 string
3523 Photo2560 string
3524 Photo604 string
3525 Photo75 string
3526 Photo807 string
3527 PlacerId int64
3528 PostId int64
3529 Sizes []PhotosPhotoSizes
3530 TagCreated int64
3531 TagId int64
3532 Text string
3533 UserId int64
3534 Width int64
3535}
3536
3537type PhotosTagsSuggestionItem struct {
3538 Title string
3539 Type string
3540 Buttons []PhotosTagsSuggestionItemButton
3541 Photo PhotosPhoto
3542 Tags []PhotosPhotoTag
3543}
3544
3545type PhotosTagsSuggestionItemButton struct {
3546 Title string
3547 Action string
3548 Style string
3549}
3550
3551type PhotosWallUploadResponse struct {
3552 Hash string
3553 Photo string
3554 Server int64
3555}
3556
3557type PollsAnswer struct {
3558 Id int64
3559 Rate int64
3560 Text string
3561 Votes int64
3562}
3563
3564type PollsBackground struct {
3565 Angle int64
3566 Color string
3567 Height int64
3568 Id int64
3569 Name string
3570 Images []BaseImage
3571 Points []BaseGradientPoint
3572 Type string
3573 Width int64
3574}
3575
3576type PollsFriend struct {
3577 Id int64
3578}
3579
3580type PollsPoll struct {
3581 Anonymous PollsPollAnonymous
3582 Friends []PollsFriend
3583 Multiple bool
3584 AnswerId int64
3585 EndDate int64
3586 AnswerIds []int64
3587 Closed bool
3588 IsBoard bool
3589 CanEdit bool
3590 CanVote bool
3591 CanReport bool
3592 CanShare bool
3593 Photo PollsBackground
3594 Answers []PollsAnswer
3595 Created int64
3596 Id int64
3597 OwnerId int64
3598 AuthorId int64
3599 Question string
3600 Background PollsBackground
3601 Votes int64
3602 DisableUnvote bool
3603}
3604
3605type PollsPollAnonymous struct {
3606}
3607
3608type PollsVoters struct {
3609 AnswerId int64
3610 Users PollsVotersUsers
3611}
3612
3613type PollsVotersUsers struct {
3614 Count int64
3615 Items []int64
3616}
3617
3618type PrettyCardsPrettyCard struct {
3619 Button string
3620 ButtonText string
3621 CardId string
3622 Images []BaseImage
3623 LinkUrl string
3624 Photo string
3625 Price string
3626 PriceOld string
3627 Title string
3628}
3629
3630type SearchHint struct {
3631 App AppsApp
3632 Description string
3633 Global BaseBoolInt
3634 Group GroupsGroup
3635 Profile UsersUserMin
3636 Section SearchHintSection
3637 Type SearchHintType
3638}
3639
3640// enum search_hint_section
3641type SearchHintSection string
3642
3643const (
3644 SearchHintSectionGroups SearchHintSection = "groups"
3645 SearchHintSectionEvents SearchHintSection = "events"
3646 SearchHintSectionPublics SearchHintSection = "publics"
3647 SearchHintSectionCorrespondents SearchHintSection = "correspondents"
3648 SearchHintSectionPeople SearchHintSection = "people"
3649 SearchHintSectionFriends SearchHintSection = "friends"
3650 SearchHintSectionMutualFriends SearchHintSection = "mutual_friends"
3651)
3652
3653// enum search_hint_type
3654type SearchHintType string
3655
3656const (
3657 SearchHintTypeGroup SearchHintType = "group"
3658 SearchHintTypeProfile SearchHintType = "profile"
3659 SearchHintTypeVkApp SearchHintType = "vk_app"
3660 SearchHintTypeApp SearchHintType = "app"
3661 SearchHintTypeHtml5Game SearchHintType = "html5_game"
3662)
3663
3664type SecureLevel struct {
3665 Level int64
3666 Uid int64
3667}
3668
3669type SecureSmsNotification struct {
3670 AppId string
3671 Date string
3672 Id string
3673 Message string
3674 UserId string
3675}
3676
3677type SecureTokenChecked struct {
3678 Date int64
3679 Expire int64
3680 Success int64
3681 UserId int64
3682}
3683
3684type SecureTransaction struct {
3685 Date int64
3686 Id int64
3687 UidFrom int64
3688 UidTo int64
3689 Votes int64
3690}
3691
3692type StatsActivity struct {
3693 Comments int64
3694 Copies int64
3695 Hidden int64
3696 Likes int64
3697 Subscribed int64
3698 Unsubscribed int64
3699}
3700
3701type StatsCity struct {
3702 Count int64
3703 Name string
3704 Value int64
3705}
3706
3707type StatsCountry struct {
3708 Code string
3709 Count int64
3710 Name string
3711 Value int64
3712}
3713
3714type StatsPeriod struct {
3715 Activity StatsActivity
3716 PeriodFrom int64
3717 PeriodTo int64
3718 Reach StatsReach
3719 Visitors StatsViews
3720}
3721
3722type StatsReach struct {
3723 Age []StatsSexAge
3724 Cities []StatsCity
3725 Countries []StatsCountry
3726 MobileReach int64
3727 Reach int64
3728 ReachSubscribers int64
3729 Sex []StatsSexAge
3730 SexAge []StatsSexAge
3731}
3732
3733type StatsSexAge struct {
3734 Count int64
3735 Value string
3736 Reach int64
3737 ReachSubscribers int64
3738 CountSubscribers int64
3739}
3740
3741type StatsViews struct {
3742 Age []StatsSexAge
3743 Cities []StatsCity
3744 Countries []StatsCountry
3745 MobileViews int64
3746 Sex []StatsSexAge
3747 SexAge []StatsSexAge
3748 Views int64
3749 Visitors int64
3750}
3751
3752type StatsWallpostStat struct {
3753 PostId int64
3754 Hide int64
3755 JoinGroup int64
3756 Links int64
3757 ReachSubscribers int64
3758 ReachSubscribersCount int64
3759 ReachTotal int64
3760 ReachTotalCount int64
3761 ReachViral int64
3762 ReachAds int64
3763 Report int64
3764 ToGroup int64
3765 Unsubscribe int64
3766 SexAge []StatsSexAge
3767}
3768
3769type StatusStatus struct {
3770 Text string
3771 Audio AudioAudio
3772}
3773
3774type StorageValue struct {
3775 Key string
3776 Value string
3777}
3778
3779type StoriesClickableArea struct {
3780 X int64
3781 Y int64
3782}
3783
3784type StoriesClickableSticker struct {
3785 ClickableArea []StoriesClickableArea
3786 Id int64
3787 Hashtag string
3788 LinkObject BaseLink
3789 Mention string
3790 TooltipText string
3791 OwnerId int64
3792 StoryId int64
3793 Question string
3794 QuestionButton string
3795 PlaceId int64
3796 MarketItem MarketMarketItem
3797 Audio AudioAudio
3798 AudioStartTime int64
3799 Style string
3800 Type string
3801 Subtype string
3802 PostOwnerId int64
3803 PostId int64
3804 Poll PollsPoll
3805 Color string
3806 StickerId int64
3807 StickerPackId int64
3808 App AppsAppMin
3809 AppContext string
3810 HasNewInteractions bool
3811 IsBroadcastNotifyAllowed bool
3812}
3813
3814type StoriesClickableStickers struct {
3815 ClickableStickers []StoriesClickableSticker
3816 OriginalHeight int64
3817 OriginalWidth int64
3818}
3819
3820type StoriesFeedItem struct {
3821 Type string
3822 Stories []StoriesStory
3823 Grouped []StoriesFeedItem
3824 App AppsAppMin
3825 PromoData StoriesPromoBlock
3826}
3827
3828type StoriesPromoBlock struct {
3829 Name string
3830 Photo50 string
3831 Photo100 string
3832 NotAnimated bool
3833}
3834
3835type StoriesReplies struct {
3836 Count int64
3837 New int64
3838}
3839
3840type StoriesStatLine struct {
3841 Name string
3842 Counter int64
3843 IsUnavailable bool
3844}
3845
3846type StoriesStory struct {
3847 AccessKey string
3848 CanComment BaseBoolInt
3849 CanReply BaseBoolInt
3850 CanSee BaseBoolInt
3851 CanLike bool
3852 CanShare BaseBoolInt
3853 CanHide BaseBoolInt
3854 Date int64
3855 ExpiresAt int64
3856 Id int64
3857 IsDeleted bool
3858 IsExpired bool
3859 Link StoriesStoryLink
3860 OwnerId int64
3861 ParentStory StoriesStory
3862 ParentStoryAccessKey string
3863 ParentStoryId int64
3864 ParentStoryOwnerId int64
3865 Photo PhotosPhoto
3866 Replies StoriesReplies
3867 Seen BaseBoolInt
3868 Type StoriesStoryType
3869 ClickableStickers StoriesClickableStickers
3870 Video VideoVideo
3871 Views int64
3872 CanAsk BaseBoolInt
3873 CanAskAnonymous BaseBoolInt
3874 NarrativesCount int64
3875 FirstNarrativeTitle string
3876 BirthdayWishUserId int64
3877}
3878
3879type StoriesStoryLink struct {
3880 Text string
3881 Url string
3882}
3883
3884type StoriesStoryStats struct {
3885 Answer StoriesStoryStatsStat
3886 Bans StoriesStoryStatsStat
3887 OpenLink StoriesStoryStatsStat
3888 Replies StoriesStoryStatsStat
3889 Shares StoriesStoryStatsStat
3890 Subscribers StoriesStoryStatsStat
3891 Views StoriesStoryStatsStat
3892 Likes StoriesStoryStatsStat
3893}
3894
3895type StoriesStoryStatsStat struct {
3896 Count int64
3897 State StoriesStoryStatsState
3898}
3899
3900// enum stories_story_stats_state
3901type StoriesStoryStatsState string
3902
3903const (
3904 StoriesStoryStatsStateOn StoriesStoryStatsState = "on"
3905 StoriesStoryStatsStateOff StoriesStoryStatsState = "off"
3906 StoriesStoryStatsStateHidden StoriesStoryStatsState = "hidden"
3907)
3908
3909// enum stories_story_type
3910type StoriesStoryType string
3911
3912const (
3913 StoriesStoryTypePhoto StoriesStoryType = "photo"
3914 StoriesStoryTypeVideo StoriesStoryType = "video"
3915 StoriesStoryTypeLiveActive StoriesStoryType = "live_active"
3916 StoriesStoryTypeLiveFinished StoriesStoryType = "live_finished"
3917)
3918
3919// enum stories_upload_link_text
3920type StoriesUploadLinkText string
3921
3922const (
3923 StoriesUploadLinkTextToStore StoriesUploadLinkText = "to_store"
3924 StoriesUploadLinkTextVote StoriesUploadLinkText = "vote"
3925 StoriesUploadLinkTextMore StoriesUploadLinkText = "more"
3926 StoriesUploadLinkTextBook StoriesUploadLinkText = "book"
3927 StoriesUploadLinkTextOrder StoriesUploadLinkText = "order"
3928 StoriesUploadLinkTextEnroll StoriesUploadLinkText = "enroll"
3929 StoriesUploadLinkTextFill StoriesUploadLinkText = "fill"
3930 StoriesUploadLinkTextSignup StoriesUploadLinkText = "signup"
3931 StoriesUploadLinkTextBuy StoriesUploadLinkText = "buy"
3932 StoriesUploadLinkTextTicket StoriesUploadLinkText = "ticket"
3933 StoriesUploadLinkTextWrite StoriesUploadLinkText = "write"
3934 StoriesUploadLinkTextOpen StoriesUploadLinkText = "open"
3935 StoriesUploadLinkTextLearnMore StoriesUploadLinkText = "learn_more"
3936 StoriesUploadLinkTextView StoriesUploadLinkText = "view"
3937 StoriesUploadLinkTextGoTo StoriesUploadLinkText = "go_to"
3938 StoriesUploadLinkTextContact StoriesUploadLinkText = "contact"
3939 StoriesUploadLinkTextWatch StoriesUploadLinkText = "watch"
3940 StoriesUploadLinkTextPlay StoriesUploadLinkText = "play"
3941 StoriesUploadLinkTextInstall StoriesUploadLinkText = "install"
3942 StoriesUploadLinkTextRead StoriesUploadLinkText = "read"
3943 StoriesUploadLinkTextCalendar StoriesUploadLinkText = "calendar"
3944)
3945
3946type StoriesViewersItem struct {
3947 IsLiked bool
3948 UserId int64
3949 User UsersUserFull
3950}
3951
3952type UsersCareer struct {
3953 CityId int64
3954 Company string
3955 CountryId int64
3956 From int64
3957 GroupId int64
3958 Id int64
3959 Position string
3960 Until int64
3961}
3962
3963type UsersExports struct {
3964 Facebook int64
3965 Livejournal int64
3966 Twitter int64
3967}
3968
3969// enum users_fields
3970type UsersFields string
3971
3972const (
3973 UsersFieldsPhotoId UsersFields = "photo_id"
3974 UsersFieldsVerified UsersFields = "verified"
3975 UsersFieldsSex UsersFields = "sex"
3976 UsersFieldsBdate UsersFields = "bdate"
3977 UsersFieldsCity UsersFields = "city"
3978 UsersFieldsCountry UsersFields = "country"
3979 UsersFieldsHomeTown UsersFields = "home_town"
3980 UsersFieldsHasPhoto UsersFields = "has_photo"
3981 UsersFieldsPhoto50 UsersFields = "photo_50"
3982 UsersFieldsPhoto100 UsersFields = "photo_100"
3983 UsersFieldsPhoto200Orig UsersFields = "photo_200_orig"
3984 UsersFieldsPhoto200 UsersFields = "photo_200"
3985 UsersFieldsPhoto400Orig UsersFields = "photo_400_orig"
3986 UsersFieldsPhotoMax UsersFields = "photo_max"
3987 UsersFieldsPhotoMaxOrig UsersFields = "photo_max_orig"
3988 UsersFieldsOnline UsersFields = "online"
3989 UsersFieldsLists UsersFields = "lists"
3990 UsersFieldsDomain UsersFields = "domain"
3991 UsersFieldsHasMobile UsersFields = "has_mobile"
3992 UsersFieldsContacts UsersFields = "contacts"
3993 UsersFieldsSite UsersFields = "site"
3994 UsersFieldsEducation UsersFields = "education"
3995 UsersFieldsUniversities UsersFields = "universities"
3996 UsersFieldsSchools UsersFields = "schools"
3997 UsersFieldsStatus UsersFields = "status"
3998 UsersFieldsLastSeen UsersFields = "last_seen"
3999 UsersFieldsFollowersCount UsersFields = "followers_count"
4000 UsersFieldsCounters UsersFields = "counters"
4001 UsersFieldsCommonCount UsersFields = "common_count"
4002 UsersFieldsOccupation UsersFields = "occupation"
4003 UsersFieldsNickname UsersFields = "nickname"
4004 UsersFieldsRelatives UsersFields = "relatives"
4005 UsersFieldsRelation UsersFields = "relation"
4006 UsersFieldsPersonal UsersFields = "personal"
4007 UsersFieldsConnections UsersFields = "connections"
4008 UsersFieldsExports UsersFields = "exports"
4009 UsersFieldsWallComments UsersFields = "wall_comments"
4010 UsersFieldsActivities UsersFields = "activities"
4011 UsersFieldsInterests UsersFields = "interests"
4012 UsersFieldsMusic UsersFields = "music"
4013 UsersFieldsMovies UsersFields = "movies"
4014 UsersFieldsTv UsersFields = "tv"
4015 UsersFieldsBooks UsersFields = "books"
4016 UsersFieldsGames UsersFields = "games"
4017 UsersFieldsAbout UsersFields = "about"
4018 UsersFieldsQuotes UsersFields = "quotes"
4019 UsersFieldsCanPost UsersFields = "can_post"
4020 UsersFieldsCanSeeAllPosts UsersFields = "can_see_all_posts"
4021 UsersFieldsCanSeeAudio UsersFields = "can_see_audio"
4022 UsersFieldsCanWritePrivateMessage UsersFields = "can_write_private_message"
4023 UsersFieldsCanSendFriendRequest UsersFields = "can_send_friend_request"
4024 UsersFieldsIsFavorite UsersFields = "is_favorite"
4025 UsersFieldsIsHiddenFromFeed UsersFields = "is_hidden_from_feed"
4026 UsersFieldsTimezone UsersFields = "timezone"
4027 UsersFieldsScreenName UsersFields = "screen_name"
4028 UsersFieldsMaidenName UsersFields = "maiden_name"
4029 UsersFieldsCropPhoto UsersFields = "crop_photo"
4030 UsersFieldsIsFriend UsersFields = "is_friend"
4031 UsersFieldsFriendStatus UsersFields = "friend_status"
4032 UsersFieldsCareer UsersFields = "career"
4033 UsersFieldsMilitary UsersFields = "military"
4034 UsersFieldsBlacklisted UsersFields = "blacklisted"
4035 UsersFieldsBlacklistedByMe UsersFields = "blacklisted_by_me"
4036 UsersFieldsCanSubscribePosts UsersFields = "can_subscribe_posts"
4037 UsersFieldsDescriptions UsersFields = "descriptions"
4038 UsersFieldsTrending UsersFields = "trending"
4039 UsersFieldsMutual UsersFields = "mutual"
4040 UsersFieldsFriendshipWeeks UsersFields = "friendship_weeks"
4041 UsersFieldsCanInviteToChats UsersFields = "can_invite_to_chats"
4042 UsersFieldsStoriesArchiveCount UsersFields = "stories_archive_count"
4043 UsersFieldsVideoLiveLevel UsersFields = "video_live_level"
4044 UsersFieldsVideoLiveCount UsersFields = "video_live_count"
4045 UsersFieldsClipsCount UsersFields = "clips_count"
4046)
4047
4048type UsersLastSeen struct {
4049 Platform int64
4050 Time int64
4051}
4052
4053type UsersMilitary struct {
4054 CountryId int64
4055 From int64
4056 Id int64
4057 Unit string
4058 UnitId int64
4059 Until int64
4060}
4061
4062type UsersOccupation struct {
4063 Id int64
4064 Name string
4065 Type string
4066}
4067
4068type UsersOnlineInfo struct {
4069 Visible bool
4070 LastSeen int64
4071 IsOnline bool
4072 AppId int64
4073 IsMobile bool
4074 Status string
4075}
4076
4077type UsersPersonal struct {
4078 Alcohol int64
4079 InspiredBy string
4080 Langs []string
4081 LifeMain int64
4082 PeopleMain int64
4083 Political int64
4084 Religion string
4085 ReligionId int64
4086 Smoking int64
4087}
4088
4089type UsersRelative struct {
4090 BirthDate string
4091 Id int64
4092 Name string
4093 Type string
4094}
4095
4096type UsersSchool struct {
4097 City int64
4098 Class string
4099 Country int64
4100 Id string
4101 Name string
4102 Type int64
4103 TypeStr string
4104 YearFrom int64
4105 YearGraduated int64
4106 YearTo int64
4107}
4108
4109// oneof users_subscriptions_item
4110type UsersSubscriptionsItem struct {
4111 *UsersUserXtrType
4112 *GroupsGroupFull
4113}
4114
4115type UsersUniversity struct {
4116 Chair int64
4117 ChairName string
4118 City int64
4119 Country int64
4120 EducationForm string
4121 EducationStatus string
4122 Faculty int64
4123 FacultyName string
4124 Graduation int64
4125 Id int64
4126 Name string
4127}
4128
4129// allof users_user
4130type UsersUser struct {
4131 *UsersUserMin
4132 Sex *BaseSex
4133 ScreenName *string
4134 Photo50 *string
4135 Photo100 *string
4136 OnlineInfo *UsersOnlineInfo
4137 Online *BaseBoolInt
4138 OnlineMobile *BaseBoolInt
4139 OnlineApp *int64
4140 Verified *BaseBoolInt
4141 Trending *BaseBoolInt
4142 FriendStatus *FriendsFriendStatusStatus
4143 Mutual *FriendsRequestsMutual
4144}
4145
4146type UsersUserConnections struct {
4147 Skype string
4148 Facebook string
4149 FacebookName string
4150 Twitter string
4151 Livejournal string
4152 Instagram string
4153}
4154
4155type UsersUserCounters struct {
4156 Albums int64
4157 Audios int64
4158 Followers int64
4159 Friends int64
4160 Gifts int64
4161 Groups int64
4162 Notes int64
4163 OnlineFriends int64
4164 Pages int64
4165 Photos int64
4166 Subscriptions int64
4167 UserPhotos int64
4168 UserVideos int64
4169 Videos int64
4170}
4171
4172// allof users_user_full
4173type UsersUserFull struct {
4174 *UsersUser
4175 FirstNameNom *string
4176 FirstNameGen *string
4177 FirstNameDat *string
4178 FirstNameAcc *string
4179 FirstNameIns *string
4180 FirstNameAbl *string
4181 LastNameNom *string
4182 LastNameGen *string
4183 LastNameDat *string
4184 LastNameAcc *string
4185 LastNameIns *string
4186 LastNameAbl *string
4187 Nickname *string
4188 MaidenName *string
4189 Domain *string
4190 Bdate *string
4191 City *BaseObject
4192 Country *BaseCountry
4193 Timezone *int64
4194 OwnerState *OwnerState
4195 Photo200 *string
4196 PhotoMax *string
4197 Photo200Orig *string
4198 Photo400Orig *string
4199 PhotoMaxOrig *string
4200 PhotoId *string
4201 HasPhoto *BaseBoolInt
4202 HasMobile *BaseBoolInt
4203 IsFriend *BaseBoolInt
4204 WallComments *BaseBoolInt
4205 CanPost *BaseBoolInt
4206 CanSeeAllPosts *BaseBoolInt
4207 CanSeeAudio *BaseBoolInt
4208 CanWritePrivateMessage *BaseBoolInt
4209 CanSendFriendRequest *BaseBoolInt
4210 CanBeInvitedGroup *bool
4211 MobilePhone *string
4212 HomePhone *string
4213 Site *string
4214 StatusAudio *AudioAudio
4215 Status *string
4216 Activity *string
4217 LastSeen *UsersLastSeen
4218 Exports *UsersExports
4219 CropPhoto *BaseCropPhoto
4220 FollowersCount *int64
4221 VideoLiveLevel *int64
4222 VideoLiveCount *int64
4223 Blacklisted *BaseBoolInt
4224 BlacklistedByMe *BaseBoolInt
4225 IsFavorite *BaseBoolInt
4226 IsHiddenFromFeed *BaseBoolInt
4227 CommonCount *int64
4228 Occupation *UsersOccupation
4229 Career *[]UsersCareer
4230 Military *[]UsersMilitary
4231 University *int64
4232 UniversityName *string
4233 Faculty *int64
4234 FacultyName *string
4235 Graduation *int64
4236 EducationForm *string
4237 EducationStatus *string
4238 HomeTown *string
4239 Relation *UsersUserRelation
4240 RelationPartner *UsersUserMin
4241 Personal *UsersPersonal
4242 Universities *[]UsersUniversity
4243 Schools *[]UsersSchool
4244 Relatives *[]UsersRelative
4245 IsSubscribedPodcasts *bool
4246 CanSubscribePodcasts *bool
4247 CanSubscribePosts *bool
4248}
4249
4250type UsersUserMin struct {
4251 Deactivated string
4252 FirstName string
4253 Hidden int64
4254 Id int64
4255 LastName string
4256 CanAccessClosed bool
4257 IsClosed bool
4258}
4259
4260// enum users_user_relation
4261type UsersUserRelation int64
4262
4263const (
4264 UsersUserRelationNotSpecified UsersUserRelation = 0
4265 UsersUserRelationSingle UsersUserRelation = 1
4266 UsersUserRelationInARelationship UsersUserRelation = 2
4267 UsersUserRelationEngaged UsersUserRelation = 3
4268 UsersUserRelationMarried UsersUserRelation = 4
4269 UsersUserRelationComplicated UsersUserRelation = 5
4270 UsersUserRelationActivelySearching UsersUserRelation = 6
4271 UsersUserRelationInLove UsersUserRelation = 7
4272 UsersUserRelationInACivilUnion UsersUserRelation = 8
4273)
4274
4275type UsersUserSettingsXtr struct {
4276 Connections UsersUserConnections
4277 Bdate string
4278 BdateVisibility int64
4279 City BaseCity
4280 Country BaseCountry
4281 FirstName string
4282 HomeTown string
4283 LastName string
4284 MaidenName string
4285 NameRequest AccountNameRequest
4286 Personal UsersPersonal
4287 Phone string
4288 Relation UsersUserRelation
4289 RelationPartner UsersUserMin
4290 RelationPending BaseBoolInt
4291 RelationRequests []UsersUserMin
4292 ScreenName string
4293 Sex BaseSex
4294 Status string
4295 StatusAudio AudioAudio
4296 Interests AccountUserSettingsInterests
4297 Languages []string
4298}
4299
4300// enum users_user_type
4301type UsersUserType string
4302
4303const (
4304 UsersUserTypeProfile UsersUserType = "profile"
4305)
4306
4307// allof users_user_xtr_counters
4308type UsersUserXtrCounters struct {
4309 *UsersUserFull
4310 Counters *UsersUserCounters
4311}
4312
4313// allof users_user_xtr_type
4314type UsersUserXtrType struct {
4315 *UsersUser
4316 Type *UsersUserType
4317}
4318
4319type UsersUsersArray struct {
4320 Count int64
4321 Items []int64
4322}
4323
4324type UtilsDomainResolved struct {
4325 ObjectId int64
4326 GroupId int64
4327 Type UtilsDomainResolvedType
4328}
4329
4330// enum utils_domain_resolved_type
4331type UtilsDomainResolvedType string
4332
4333const (
4334 UtilsDomainResolvedTypeUser UtilsDomainResolvedType = "user"
4335 UtilsDomainResolvedTypeGroup UtilsDomainResolvedType = "group"
4336 UtilsDomainResolvedTypeApplication UtilsDomainResolvedType = "application"
4337 UtilsDomainResolvedTypePage UtilsDomainResolvedType = "page"
4338)
4339
4340type UtilsLastShortenedLink struct {
4341 AccessKey string
4342 Key string
4343 ShortUrl string
4344 Timestamp int64
4345 Url string
4346 Views int64
4347}
4348
4349type UtilsLinkChecked struct {
4350 Link string
4351 Status UtilsLinkCheckedStatus
4352}
4353
4354// enum utils_link_checked_status
4355type UtilsLinkCheckedStatus string
4356
4357const (
4358 UtilsLinkCheckedStatusNotBanned UtilsLinkCheckedStatus = "not_banned"
4359 UtilsLinkCheckedStatusBanned UtilsLinkCheckedStatus = "banned"
4360 UtilsLinkCheckedStatusProcessing UtilsLinkCheckedStatus = "processing"
4361)
4362
4363type UtilsLinkStats struct {
4364 Key string
4365 Stats []UtilsStats
4366}
4367
4368type UtilsLinkStatsExtended struct {
4369 Key string
4370 Stats []UtilsStatsExtended
4371}
4372
4373type UtilsShortLink struct {
4374 AccessKey string
4375 Key string
4376 ShortUrl string
4377 Url string
4378}
4379
4380type UtilsStats struct {
4381 Timestamp int64
4382 Views int64
4383}
4384
4385type UtilsStatsCity struct {
4386 CityId int64
4387 Views int64
4388}
4389
4390type UtilsStatsCountry struct {
4391 CountryId int64
4392 Views int64
4393}
4394
4395type UtilsStatsExtended struct {
4396 Cities []UtilsStatsCity
4397 Countries []UtilsStatsCountry
4398 SexAge []UtilsStatsSexAge
4399 Timestamp int64
4400 Views int64
4401}
4402
4403type UtilsStatsSexAge struct {
4404 AgeRange string
4405 Female int64
4406 Male int64
4407}
4408
4409type VideoLiveSettings struct {
4410 CanRewind BaseBoolInt
4411 IsEndless BaseBoolInt
4412 MaxDuration int64
4413}
4414
4415type VideoRestrictionButton struct {
4416 Action string
4417 Title string
4418}
4419
4420type VideoSaveResult struct {
4421 AccessKey string
4422 Description string
4423 OwnerId int64
4424 Title string
4425 UploadUrl string
4426 VideoId int64
4427}
4428
4429// allof video_video
4430type VideoVideo struct {
4431 AccessKey *string
4432 AddingDate *int64
4433 CanComment *BaseBoolInt
4434 CanEdit *BaseBoolInt
4435 CanLike *BaseBoolInt
4436 CanRepost *BaseBoolInt
4437 CanSubscribe *BaseBoolInt
4438 CanAddToFaves *BaseBoolInt
4439 CanAdd *BaseBoolInt
4440 CanAttachLink *BaseBoolInt
4441 IsPrivate *BaseBoolInt
4442 Comments *int64
4443 Date *int64
4444 Description *string
4445 Duration *int64
4446 Image *[]VideoVideoImage
4447 FirstFrame *[]VideoVideoImage
4448 Width *int64
4449 Height *int64
4450 Id *int64
4451 OwnerId *int64
4452 UserId *int64
4453 Title *string
4454 IsFavorite *bool
4455 Player *string
4456 Processing *BasePropertyExists
4457 Converting *BaseBoolInt
4458 Restriction *MediaRestriction
4459 Added *BaseBoolInt
4460 IsSubscribed *BaseBoolInt
4461 TrackCode *string
4462 Repeat *BasePropertyExists
4463 Type *string
4464 Views *int64
4465 LocalViews *int64
4466 ContentRestricted *int64
4467 ContentRestrictedMessage *string
4468 Balance *int64
4469 LiveStatus *string
4470 Live *BasePropertyExists
4471 Upcoming *BasePropertyExists
4472 Spectators *int64
4473 Platform *string
4474 Likes *BaseLikes
4475 Reposts *BaseRepostsInfo
4476}
4477
4478type VideoVideoAlbumFull struct {
4479 Count int64
4480 Id int64
4481 Image []VideoVideoImage
4482 ImageBlur BasePropertyExists
4483 IsSystem BasePropertyExists
4484 OwnerId int64
4485 Title string
4486 UpdatedTime int64
4487}
4488
4489type VideoVideoFiles struct {
4490 External string
4491 Mp4240 string
4492 Mp4360 string
4493 Mp4480 string
4494 Mp4720 string
4495 Mp41080 string
4496 Flv320 string
4497}
4498
4499// allof video_video_full
4500type VideoVideoFull struct {
4501 *VideoVideo
4502 Files *VideoVideoFiles
4503 LiveSettings *VideoLiveSettings
4504}
4505
4506// allof video_video_image
4507type VideoVideoImage struct {
4508 *BaseImage
4509 WithPadding *BasePropertyExists
4510}
4511
4512type WallAppPost struct {
4513 Id int64
4514 Name string
4515 Photo130 string
4516 Photo604 string
4517}
4518
4519type WallAttachedNote struct {
4520 Comments int64
4521 Date int64
4522 Id int64
4523 OwnerId int64
4524 ReadComments int64
4525 Title string
4526 ViewUrl string
4527}
4528
4529type WallCarouselBase struct {
4530 CarouselOffset int64
4531}
4532
4533type WallCommentAttachment struct {
4534 Audio AudioAudio
4535 Doc DocsDoc
4536 Link BaseLink
4537 Market MarketMarketItem
4538 MarketMarketAlbum MarketMarketAlbum
4539 Note WallAttachedNote
4540 Page PagesWikipageFull
4541 Photo PhotosPhoto
4542 Sticker BaseSticker
4543 Type WallCommentAttachmentType
4544 Video VideoVideo
4545}
4546
4547// enum wall_comment_attachment_type
4548type WallCommentAttachmentType string
4549
4550const (
4551 WallCommentAttachmentTypePhoto WallCommentAttachmentType = "photo"
4552 WallCommentAttachmentTypeAudio WallCommentAttachmentType = "audio"
4553 WallCommentAttachmentTypeVideo WallCommentAttachmentType = "video"
4554 WallCommentAttachmentTypeDoc WallCommentAttachmentType = "doc"
4555 WallCommentAttachmentTypeLink WallCommentAttachmentType = "link"
4556 WallCommentAttachmentTypeNote WallCommentAttachmentType = "note"
4557 WallCommentAttachmentTypePage WallCommentAttachmentType = "page"
4558 WallCommentAttachmentTypeMarketMarketAlbum WallCommentAttachmentType = "market_market_album"
4559 WallCommentAttachmentTypeMarket WallCommentAttachmentType = "market"
4560 WallCommentAttachmentTypeSticker WallCommentAttachmentType = "sticker"
4561)
4562
4563type WallGeo struct {
4564 Coordinates string
4565 Place BasePlace
4566 Showmap int64
4567 Type string
4568}
4569
4570type WallGraffiti struct {
4571 Id int64
4572 OwnerId int64
4573 Photo200 string
4574 Photo586 string
4575}
4576
4577type WallPostCopyright struct {
4578 Id int64
4579 Link string
4580 Name string
4581 Type string
4582}
4583
4584type WallPostSource struct {
4585 Data string
4586 Platform string
4587 Type WallPostSourceType
4588 Url string
4589}
4590
4591// enum wall_post_source_type
4592type WallPostSourceType string
4593
4594const (
4595 WallPostSourceTypeVk WallPostSourceType = "vk"
4596 WallPostSourceTypeWidget WallPostSourceType = "widget"
4597 WallPostSourceTypeApi WallPostSourceType = "api"
4598 WallPostSourceTypeRss WallPostSourceType = "rss"
4599 WallPostSourceTypeSms WallPostSourceType = "sms"
4600)
4601
4602// enum wall_post_type
4603type WallPostType string
4604
4605const (
4606 WallPostTypePost WallPostType = "post"
4607 WallPostTypeCopy WallPostType = "copy"
4608 WallPostTypeReply WallPostType = "reply"
4609 WallPostTypePostpone WallPostType = "postpone"
4610 WallPostTypeSuggest WallPostType = "suggest"
4611)
4612
4613type WallPostedPhoto struct {
4614 Id int64
4615 OwnerId int64
4616 Photo130 string
4617 Photo604 string
4618}
4619
4620type WallViews struct {
4621 Count int64
4622}
4623
4624type WallWallComment struct {
4625 Attachments []WallCommentAttachment
4626 Date int64
4627 FromId int64
4628 Id int64
4629 Likes BaseLikesInfo
4630 RealOffset int64
4631 ReplyToComment int64
4632 ReplyToUser int64
4633 Text string
4634 Thread CommentThread
4635 PostId int64
4636 OwnerId int64
4637 ParentsStack []int64
4638 Deleted bool
4639}
4640
4641type WallWallpost struct {
4642 AccessKey string
4643 Attachments []WallWallpostAttachment
4644 Copyright WallPostCopyright
4645 Date int64
4646 Edited int64
4647 FromId int64
4648 Geo WallGeo
4649 Id int64
4650 IsArchived bool
4651 IsFavorite bool
4652 Likes BaseLikesInfo
4653 OwnerId int64
4654 PostSource WallPostSource
4655 PostType WallPostType
4656 Reposts BaseRepostsInfo
4657 SignerId int64
4658 Text string
4659 Views WallViews
4660}
4661
4662type WallWallpostAttachment struct {
4663 AccessKey string
4664 Album PhotosPhotoAlbum
4665 App WallAppPost
4666 Audio AudioAudio
4667 Doc DocsDoc
4668 Event EventsEventAttach
4669 Group GroupsGroupAttach
4670 Graffiti WallGraffiti
4671 Link BaseLink
4672 Market MarketMarketItem
4673 MarketAlbum MarketMarketAlbum
4674 Note WallAttachedNote
4675 Page PagesWikipageFull
4676 Photo PhotosPhoto
4677 PhotosList []string
4678 Poll PollsPoll
4679 PostedPhoto WallPostedPhoto
4680 Type WallWallpostAttachmentType
4681 Video VideoVideo
4682}
4683
4684// enum wall_wallpost_attachment_type
4685type WallWallpostAttachmentType string
4686
4687const (
4688 WallWallpostAttachmentTypePhoto WallWallpostAttachmentType = "photo"
4689 WallWallpostAttachmentTypePostedPhoto WallWallpostAttachmentType = "posted_photo"
4690 WallWallpostAttachmentTypeAudio WallWallpostAttachmentType = "audio"
4691 WallWallpostAttachmentTypeVideo WallWallpostAttachmentType = "video"
4692 WallWallpostAttachmentTypeDoc WallWallpostAttachmentType = "doc"
4693 WallWallpostAttachmentTypeLink WallWallpostAttachmentType = "link"
4694 WallWallpostAttachmentTypeGraffiti WallWallpostAttachmentType = "graffiti"
4695 WallWallpostAttachmentTypeNote WallWallpostAttachmentType = "note"
4696 WallWallpostAttachmentTypeApp WallWallpostAttachmentType = "app"
4697 WallWallpostAttachmentTypePoll WallWallpostAttachmentType = "poll"
4698 WallWallpostAttachmentTypePage WallWallpostAttachmentType = "page"
4699 WallWallpostAttachmentTypeAlbum WallWallpostAttachmentType = "album"
4700 WallWallpostAttachmentTypePhotosList WallWallpostAttachmentType = "photos_list"
4701 WallWallpostAttachmentTypeMarketMarketAlbum WallWallpostAttachmentType = "market_market_album"
4702 WallWallpostAttachmentTypeMarket WallWallpostAttachmentType = "market"
4703 WallWallpostAttachmentTypeEvent WallWallpostAttachmentType = "event"
4704)
4705
4706// allof wall_wallpost_full
4707type WallWallpostFull struct {
4708 *WallCarouselBase
4709 *WallWallpost
4710 CopyHistory *[]WallWallpost
4711 CanEdit *BaseBoolInt
4712 CreatedBy *int64
4713 CanDelete *BaseBoolInt
4714 CanPin *BaseBoolInt
4715 IsPinned *int64
4716 Comments *BaseCommentsInfo
4717 MarkedAsAds *BaseBoolInt
4718 ShortTextRate *int64
4719}
4720
4721type WallWallpostToId struct {
4722 Attachments []WallWallpostAttachment
4723 Comments BaseCommentsInfo
4724 CopyOwnerId int64
4725 CopyPostId int64
4726 Date int64
4727 FromId int64
4728 Geo WallGeo
4729 Id int64
4730 IsFavorite bool
4731 Likes BaseLikesInfo
4732 PostId int64
4733 PostSource WallPostSource
4734 PostType WallPostType
4735 Reposts BaseRepostsInfo
4736 SignerId int64
4737 Text string
4738 ToId int64
4739}
4740
4741type WidgetsCommentMedia struct {
4742 ItemId int64
4743 OwnerId int64
4744 ThumbSrc string
4745 Type WidgetsCommentMediaType
4746}
4747
4748// enum widgets_comment_media_type
4749type WidgetsCommentMediaType string
4750
4751const (
4752 WidgetsCommentMediaTypeAudio WidgetsCommentMediaType = "audio"
4753 WidgetsCommentMediaTypePhoto WidgetsCommentMediaType = "photo"
4754 WidgetsCommentMediaTypeVideo WidgetsCommentMediaType = "video"
4755)
4756
4757type WidgetsCommentReplies struct {
4758 CanPost BaseBoolInt
4759 Count int64
4760 Replies []WidgetsCommentRepliesItem
4761}
4762
4763type WidgetsCommentRepliesItem struct {
4764 Cid int64
4765 Date int64
4766 Likes WidgetsWidgetLikes
4767 Text string
4768 Uid int64
4769 User UsersUserFull
4770}
4771
4772type WidgetsWidgetComment struct {
4773 Attachments []WallCommentAttachment
4774 CanDelete BaseBoolInt
4775 Comments WidgetsCommentReplies
4776 Date int64
4777 FromId int64
4778 Id int64
4779 Likes BaseLikesInfo
4780 Media WidgetsCommentMedia
4781 PostSource WallPostSource
4782 PostType int64
4783 Reposts BaseRepostsInfo
4784 Text string
4785 ToId int64
4786 User UsersUserFull
4787}
4788
4789type WidgetsWidgetLikes struct {
4790 Count int64
4791}
4792
4793type WidgetsWidgetPage struct {
4794 Comments BaseObjectCount
4795 Date int64
4796 Description string
4797 Id int64
4798 Likes BaseObjectCount
4799 PageId string
4800 Photo string
4801 Title string
4802 Url string
4803}
4804