· 5 years ago · Jul 25, 2020, 06:48 AM
1package objects
2
3type AccountAccountCounters struct {
4 AppRequests int64 `json:"app_requests"`
5 Events int64 `json:"events"`
6 Faves int64 `json:"faves"`
7 Friends int64 `json:"friends"`
8 FriendsSuggestions int64 `json:"friends_suggestions"`
9 FriendsRecommendations int64 `json:"friends_recommendations"`
10 Gifts int64 `json:"gifts"`
11 Groups int64 `json:"groups"`
12 MenuDiscoverBadge int64 `json:"menu_discover_badge"`
13 Messages int64 `json:"messages"`
14 Memories int64 `json:"memories"`
15 Notes int64 `json:"notes"`
16 Notifications int64 `json:"notifications"`
17 Photos int64 `json:"photos"`
18 SDK int64 `json:"sdk"`
19}
20
21type AccountInfo struct {
22 WishlistsAePromoBannerShow BaseBoolInt `json:"wishlists_ae_promo_banner_show"`
23 TwoFARequired BaseBoolInt `json:"2fa_required"`
24 Country string `json:"country"`
25 HttpsRequired BaseBoolInt `json:"https_required"`
26 Intro BaseBoolInt `json:"intro"`
27 ShowVKAppsIntro bool `json:"show_vk_apps_intro"`
28 MiniAppsAdsSlotID int64 `json:"mini_apps_ads_slot_id"`
29 QrPromotion int64 `json:"qr_promotion"`
30 LinkRedirects interface{} `json:"link_redirects"`
31 Lang int64 `json:"lang"`
32 NoWallReplies BaseBoolInt `json:"no_wall_replies"`
33 OwnPostsDefault BaseBoolInt `json:"own_posts_default"`
34 Subscriptions []int64 `json:"subscriptions"`
35}
36
37type AccountNameRequest struct {
38 FirstName string `json:"first_name"`
39 ID int64 `json:"id"`
40 LastName string `json:"last_name"`
41 Status AccountNameRequestStatus `json:"status"`
42 Lang string `json:"lang"`
43 LinkHref string `json:"link_href"`
44 LinkLabel string `json:"link_label"`
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 `json:"description"`
63 ID int64 `json:"id"`
64 Img string `json:"img"`
65 Instruction string `json:"instruction"`
66 InstructionHtml string `json:"instruction_html"`
67 Price int64 `json:"price"`
68 ShortDescription string `json:"short_description"`
69 Tag string `json:"tag"`
70 Title string `json:"title"`
71 CurrencyAmount int64 `json:"currency_amount"`
72 LinkID int64 `json:"link_id"`
73 LinkType string `json:"link_type"`
74}
75
76type AccountPushConversations struct {
77 Count int64 `json:"count"`
78 Items []AccountPushConversationsItem `json:"items"`
79}
80
81type AccountPushConversationsItem struct {
82 DisabledUntil int64 `json:"disabled_until"`
83 PeerID int64 `json:"peer_id"`
84 Sound BaseBoolInt `json:"sound"`
85}
86
87type AccountPushParams struct {
88 Msg []AccountPushParamsMode `json:"msg"`
89 Chat []AccountPushParamsMode `json:"chat"`
90 Like []AccountPushParamsSettings `json:"like"`
91 Repost []AccountPushParamsSettings `json:"repost"`
92 Comment []AccountPushParamsSettings `json:"comment"`
93 Mention []AccountPushParamsSettings `json:"mention"`
94 Reply []AccountPushParamsOnoff `json:"reply"`
95 NewPost []AccountPushParamsOnoff `json:"new_post"`
96 WallPost []AccountPushParamsOnoff `json:"wall_post"`
97 WallPublish []AccountPushParamsOnoff `json:"wall_publish"`
98 Friend []AccountPushParamsOnoff `json:"friend"`
99 FriendFound []AccountPushParamsOnoff `json:"friend_found"`
100 FriendAccepted []AccountPushParamsOnoff `json:"friend_accepted"`
101 GroupInvite []AccountPushParamsOnoff `json:"group_invite"`
102 GroupAccepted []AccountPushParamsOnoff `json:"group_accepted"`
103 Birthday []AccountPushParamsOnoff `json:"birthday"`
104 EventSoon []AccountPushParamsOnoff `json:"event_soon"`
105 AppRequest []AccountPushParamsOnoff `json:"app_request"`
106 SDKOpen []AccountPushParamsOnoff `json:"sdk_open"`
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 `json:"disabled"`
138 DisabledUntil int64 `json:"disabled_until"`
139 Settings AccountPushParams `json:"settings"`
140 Conversations AccountPushConversations `json:"conversations"`
141}
142
143// allof account_user_settings
144type AccountUserSettings struct {
145 *UsersUserMin `json:"users_user_min"`
146 *UsersUserSettingsXtr `json:"users_user_settings_xtr"`
147 Photo200 *string `json:"photo_200"`
148 IsServiceAccount *bool `json:"is_service_account"`
149}
150
151type AccountUserSettingsInterest struct {
152 Title string `json:"title"`
153 Value string `json:"value"`
154}
155
156type AccountUserSettingsInterests struct {
157 Activities AccountUserSettingsInterest `json:"activities"`
158 Interests AccountUserSettingsInterest `json:"interests"`
159 Music AccountUserSettingsInterest `json:"music"`
160 TV AccountUserSettingsInterest `json:"tv"`
161 Movies AccountUserSettingsInterest `json:"movies"`
162 Books AccountUserSettingsInterest `json:"books"`
163 Games AccountUserSettingsInterest `json:"games"`
164 Quotes AccountUserSettingsInterest `json:"quotes"`
165 About AccountUserSettingsInterest `json:"about"`
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 `json:"client_id"`
199 Role AdsAccessRole `json:"role"`
200}
201
202type AdsAccount struct {
203 AccessRole AdsAccessRole `json:"access_role"`
204 AccountID int64 `json:"account_id"`
205 AccountStatus BaseBoolInt `json:"account_status"`
206 AccountType AdsAccountType `json:"account_type"`
207 AccountName string `json:"account_name"`
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 `json:"ad_format"`
220 AdPlatform interface{} `json:"ad_platform"`
221 AllLimit int64 `json:"all_limit"`
222 Approved AdsAdApproved `json:"approved"`
223 CampaignID int64 `json:"campaign_id"`
224 Category1ID int64 `json:"category1_id"`
225 Category2ID int64 `json:"category2_id"`
226 CostType AdsAdCostType `json:"cost_type"`
227 Cpc int64 `json:"cpc"`
228 Cpm int64 `json:"cpm"`
229 Cpa int64 `json:"cpa"`
230 Ocpm int64 `json:"ocpm"`
231 AutobiddingMaxCost int64 `json:"autobidding_max_cost"`
232 DisclaimerMedical BaseBoolInt `json:"disclaimer_medical"`
233 DisclaimerSpecialist BaseBoolInt `json:"disclaimer_specialist"`
234 DisclaimerSupplements BaseBoolInt `json:"disclaimer_supplements"`
235 ID int64 `json:"id"`
236 ImpressionsLimit int64 `json:"impressions_limit"`
237 ImpressionsLimited BaseBoolInt `json:"impressions_limited"`
238 Name string `json:"name"`
239 Status AdsAdStatus `json:"status"`
240 Video BaseBoolInt `json:"video"`
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 `json:"ad_format"`
265 CampaignID int64 `json:"campaign_id"`
266 CostType AdsAdCostType `json:"cost_type"`
267 Description string `json:"description"`
268 ID int64 `json:"id"`
269 ImageSrc string `json:"image_src"`
270 ImageSrc2x string `json:"image_src_2x"`
271 LinkDomain string `json:"link_domain"`
272 LinkURL string `json:"link_url"`
273 PreviewLink interface{} `json:"preview_link"`
274 Title string `json:"title"`
275 Video BaseBoolInt `json:"video"`
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 `json:"all_limit"`
289 DayLimit string `json:"day_limit"`
290 ID int64 `json:"id"`
291 Name string `json:"name"`
292 StartTime int64 `json:"start_time"`
293 Status AdsCampaignStatus `json:"status"`
294 StopTime int64 `json:"stop_time"`
295 Type AdsCampaignType `json:"type"`
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 `json:"id"`
319 Name string `json:"name"`
320 Subcategories []BaseObjectWithName `json:"subcategories"`
321}
322
323type AdsClient struct {
324 AllLimit string `json:"all_limit"`
325 DayLimit string `json:"day_limit"`
326 ID int64 `json:"id"`
327 Name string `json:"name"`
328}
329
330type AdsCriteria struct {
331 AgeFrom int64 `json:"age_from"`
332 AgeTo int64 `json:"age_to"`
333 Apps string `json:"apps"`
334 AppsNot string `json:"apps_not"`
335 Birthday int64 `json:"birthday"`
336 Cities string `json:"cities"`
337 CitiesNot string `json:"cities_not"`
338 Country int64 `json:"country"`
339 Districts string `json:"districts"`
340 Groups string `json:"groups"`
341 InterestCategories string `json:"interest_categories"`
342 Interests string `json:"interests"`
343 Paying BaseBoolInt `json:"paying"`
344 Positions string `json:"positions"`
345 Religions string `json:"religions"`
346 RetargetingGroups string `json:"retargeting_groups"`
347 RetargetingGroupsNot string `json:"retargeting_groups_not"`
348 SchoolFrom int64 `json:"school_from"`
349 SchoolTo int64 `json:"school_to"`
350 Schools string `json:"schools"`
351 Sex AdsCriteriaSex `json:"sex"`
352 Stations string `json:"stations"`
353 Statuses string `json:"statuses"`
354 Streets string `json:"streets"`
355 Travellers BasePropertyExists `json:"travellers"`
356 UniFrom int64 `json:"uni_from"`
357 UniTo int64 `json:"uni_to"`
358 UserBrowsers string `json:"user_browsers"`
359 UserDevices string `json:"user_devices"`
360 UserOs string `json:"user_os"`
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 `json:"id"`
374 Stats AdsDemostatsFormat `json:"stats"`
375 Type AdsObjectType `json:"type"`
376}
377
378type AdsDemostatsFormat struct {
379 Age []AdsStatsAge `json:"age"`
380 Cities []AdsStatsCities `json:"cities"`
381 Day string `json:"day"`
382 Month string `json:"month"`
383 Overall int64 `json:"overall"`
384 Sex []AdsStatsSex `json:"sex"`
385 SexAge []AdsStatsSexAge `json:"sex_age"`
386}
387
388type AdsFloodStats struct {
389 Left int64 `json:"left"`
390 Refresh int64 `json:"refresh"`
391}
392
393type AdsLinkStatus struct {
394 Description string `json:"description"`
395 RedirectURL string `json:"redirect_url"`
396 Status string `json:"status"`
397}
398
399type AdsLookalikeRequest struct {
400 ID int64 `json:"id"`
401 CreateTime int64 `json:"create_time"`
402 UpdateTime int64 `json:"update_time"`
403 ScheduledDeleteTime int64 `json:"scheduled_delete_time"`
404 Status string `json:"status"`
405 SourceType string `json:"source_type"`
406 SourceRetargetingGroupID int64 `json:"source_retargeting_group_id"`
407 SourceName string `json:"source_name"`
408 AudienceCount int64 `json:"audience_count"`
409 SaveAudienceLevels []AdsLookalikeRequestSaveAudienceLevel `json:"save_audience_levels"`
410}
411
412type AdsLookalikeRequestSaveAudienceLevel struct {
413 Level int64 `json:"level"`
414 AudienceCount int64 `json:"audience_count"`
415}
416
417type AdsMusician struct {
418 ID int64 `json:"id"`
419 Name string `json:"name"`
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 `json:"paragraph"`
434}
435
436type AdsPromotedPostReach struct {
437 Hide int64 `json:"hide"`
438 ID int64 `json:"id"`
439 JoinGroup int64 `json:"join_group"`
440 Links int64 `json:"links"`
441 ReachSubscribers int64 `json:"reach_subscribers"`
442 ReachTotal int64 `json:"reach_total"`
443 Report int64 `json:"report"`
444 ToGroup int64 `json:"to_group"`
445 Unsubscribe int64 `json:"unsubscribe"`
446 VideoViews100p int64 `json:"video_views_100p"`
447 VideoViews25p int64 `json:"video_views_25p"`
448 VideoViews3s int64 `json:"video_views_3s"`
449 VideoViews50p int64 `json:"video_views_50p"`
450 VideoViews75p int64 `json:"video_views_75p"`
451 VideoViewsStart int64 `json:"video_views_start"`
452}
453
454type AdsRejectReason struct {
455 Comment string `json:"comment"`
456 Rules []AdsRules `json:"rules"`
457}
458
459type AdsRules struct {
460 Paragraphs []AdsParagraphs `json:"paragraphs"`
461 Title string `json:"title"`
462}
463
464type AdsStats struct {
465 ID int64 `json:"id"`
466 Stats AdsStatsFormat `json:"stats"`
467 Type AdsObjectType `json:"type"`
468 ViewsTimes AdsStatsViewsTimes `json:"views_times"`
469}
470
471type AdsStatsAge struct {
472 ClicksRate int64 `json:"clicks_rate"`
473 ImpressionsRate int64 `json:"impressions_rate"`
474 Value string `json:"value"`
475}
476
477type AdsStatsCities struct {
478 ClicksRate int64 `json:"clicks_rate"`
479 ImpressionsRate int64 `json:"impressions_rate"`
480 Name string `json:"name"`
481 Value int64 `json:"value"`
482}
483
484type AdsStatsFormat struct {
485 Clicks int64 `json:"clicks"`
486 Day string `json:"day"`
487 Impressions int64 `json:"impressions"`
488 JoinRate int64 `json:"join_rate"`
489 Month string `json:"month"`
490 Overall int64 `json:"overall"`
491 Reach int64 `json:"reach"`
492 Spent int64 `json:"spent"`
493 VideoClicksSite int64 `json:"video_clicks_site"`
494 VideoViews int64 `json:"video_views"`
495 VideoViewsFull int64 `json:"video_views_full"`
496 VideoViewsHalf int64 `json:"video_views_half"`
497}
498
499type AdsStatsSex struct {
500 ClicksRate int64 `json:"clicks_rate"`
501 ImpressionsRate int64 `json:"impressions_rate"`
502 Value AdsStatsSexValue `json:"value"`
503}
504
505type AdsStatsSexAge struct {
506 ClicksRate int64 `json:"clicks_rate"`
507 ImpressionsRate int64 `json:"impressions_rate"`
508 Value string `json:"value"`
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 `json:"views_ads_times_1"`
521 ViewsAdsTimes2 int64 `json:"views_ads_times_2"`
522 ViewsAdsTimes3 int64 `json:"views_ads_times_3"`
523 ViewsAdsTimes4 int64 `json:"views_ads_times_4"`
524 ViewsAdsTimes5 string `json:"views_ads_times_5"`
525 ViewsAdsTimes6 int64 `json:"views_ads_times_6"`
526 ViewsAdsTimes7 int64 `json:"views_ads_times_7"`
527 ViewsAdsTimes8 int64 `json:"views_ads_times_8"`
528 ViewsAdsTimes9 int64 `json:"views_ads_times_9"`
529 ViewsAdsTimes10 int64 `json:"views_ads_times_10"`
530 ViewsAdsTimes11Plus int64 `json:"views_ads_times_11_plus"`
531}
532
533// allof ads_targ_settings
534type AdsTargSettings struct {
535 ID *int64 `json:"id"`
536 CampaignID *int64 `json:"campaign_id"`
537 *AdsCriteria `json:"ads_criteria"`
538}
539
540type AdsTargStats struct {
541 AudienceCount int64 `json:"audience_count"`
542 RecommendedCpc int64 `json:"recommended_cpc"`
543 RecommendedCpm int64 `json:"recommended_cpm"`
544 RecommendedCpc50 int64 `json:"recommended_cpc_50"`
545 RecommendedCpm50 int64 `json:"recommended_cpm_50"`
546 RecommendedCpc70 int64 `json:"recommended_cpc_70"`
547 RecommendedCpm70 int64 `json:"recommended_cpm_70"`
548 RecommendedCpc90 int64 `json:"recommended_cpc_90"`
549 RecommendedCpm90 int64 `json:"recommended_cpm_90"`
550}
551
552type AdsTargSuggestions struct {
553 ID int64 `json:"id"`
554 Name string `json:"name"`
555}
556
557type AdsTargSuggestionsCities struct {
558 ID int64 `json:"id"`
559 Name string `json:"name"`
560 Parent string `json:"parent"`
561}
562
563type AdsTargSuggestionsRegions struct {
564 ID int64 `json:"id"`
565 Name string `json:"name"`
566 Type string `json:"type"`
567}
568
569type AdsTargSuggestionsSchools struct {
570 Desc string `json:"desc"`
571 ID int64 `json:"id"`
572 Name string `json:"name"`
573 Parent string `json:"parent"`
574 Type AdsTargSuggestionsSchoolsType `json:"type"`
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 `json:"audience_count"`
589 Domain string `json:"domain"`
590 ID int64 `json:"id"`
591 Lifetime int64 `json:"lifetime"`
592 Name string `json:"name"`
593 Pixel string `json:"pixel"`
594}
595
596type AdsUsers struct {
597 Accesses []AdsAccesses `json:"accesses"`
598 UserID int64 `json:"user_id"`
599}
600
601// allof apps_app
602type AppsApp struct {
603 *AppsAppMin `json:"apps_app_min"`
604 AuthorURL *string `json:"author_url"`
605 Banner1120 *string `json:"banner_1120"`
606 Banner560 *string `json:"banner_560"`
607 Icon16 *string `json:"icon_16"`
608 IsNew *BaseBoolInt `json:"is_new"`
609 PushEnabled *BaseBoolInt `json:"push_enabled"`
610 ScreenOrientation *int64 `json:"screen_orientation"`
611 Friends *[]int64 `json:"friends"`
612 CatalogPosition *int64 `json:"catalog_position"`
613 Description *string `json:"description"`
614 Genre *string `json:"genre"`
615 GenreID *int64 `json:"genre_id"`
616 International *bool `json:"international"`
617 IsInCatalog *int64 `json:"is_in_catalog"`
618 LeaderboardType *AppsAppLeaderboardType `json:"leaderboard_type"`
619 MembersCount *int64 `json:"members_count"`
620 PlatformID *string `json:"platform_id"`
621 PublishedDate *int64 `json:"published_date"`
622 ScreenName *string `json:"screen_name"`
623 Section *string `json:"section"`
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 `json:"type"`
637 ID int64 `json:"id"`
638 Title string `json:"title"`
639 AuthorOwnerID int64 `json:"author_owner_id"`
640 IsInstalled bool `json:"is_installed"`
641 Icon139 string `json:"icon_139"`
642 Icon150 string `json:"icon_150"`
643 Icon278 string `json:"icon_278"`
644 Icon576 string `json:"icon_576"`
645 BackgroundLoaderColor string `json:"background_loader_color"`
646 LoaderIcon string `json:"loader_icon"`
647 Icon75 string `json:"icon_75"`
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 `json:"level"`
666 Points int64 `json:"points"`
667 Score int64 `json:"score"`
668 UserID int64 `json:"user_id"`
669}
670
671type AppsScope struct {
672 Name string `json:"name"`
673 Title string `json:"title"`
674}
675
676type AudioAudio struct {
677 Artist string `json:"artist"`
678 ID int64 `json:"id"`
679 Title string `json:"title"`
680 URL string `json:"url"`
681 Duration int64 `json:"duration"`
682 Date int64 `json:"date"`
683 AlbumID int64 `json:"album_id"`
684 GenreID int64 `json:"genre_id"`
685 Performer string `json:"performer"`
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 `json:"id"`
698 Title string `json:"title"`
699}
700
701type BaseCommentsInfo struct {
702 CanPost BaseBoolInt `json:"can_post"`
703 Count int64 `json:"count"`
704 GroupsCanPost bool `json:"groups_can_post"`
705}
706
707type BaseCountry struct {
708 ID int64 `json:"id"`
709 Title string `json:"title"`
710}
711
712type BaseCropPhoto struct {
713 Photo PhotosPhoto `json:"photo"`
714 Crop BaseCropPhotoCrop `json:"crop"`
715 Rect BaseCropPhotoRect `json:"rect"`
716}
717
718type BaseCropPhotoCrop struct {
719 X int64 `json:"x"`
720 Y int64 `json:"y"`
721 X2 int64 `json:"x2"`
722 Y2 int64 `json:"y2"`
723}
724
725type BaseCropPhotoRect struct {
726 X int64 `json:"x"`
727 Y int64 `json:"y"`
728 X2 int64 `json:"x2"`
729 Y2 int64 `json:"y2"`
730}
731
732type BaseError struct {
733 ErrorCode int64 `json:"error_code"`
734 ErrorMsg string `json:"error_msg"`
735 ErrorText string `json:"error_text"`
736 RequestParams []BaseRequestParam `json:"request_params"`
737}
738
739type BaseGeo struct {
740 Coordinates BaseGeoCoordinates `json:"coordinates"`
741 Place BasePlace `json:"place"`
742 Showmap int64 `json:"showmap"`
743 Type string `json:"type"`
744}
745
746type BaseGeoCoordinates struct {
747 Latitude int64 `json:"latitude"`
748 Longitude int64 `json:"longitude"`
749}
750
751type BaseGradientPoint struct {
752 Color string `json:"color"`
753 Position int64 `json:"position"`
754}
755
756type BaseImage struct {
757 ID string `json:"id"`
758 Height int64 `json:"height"`
759 URL string `json:"url"`
760 Width int64 `json:"width"`
761}
762
763type BaseLikes struct {
764 Count int64 `json:"count"`
765 UserLikes BaseBoolInt `json:"user_likes"`
766}
767
768type BaseLikesInfo struct {
769 CanLike BaseBoolInt `json:"can_like"`
770 CanPublish BaseBoolInt `json:"can_publish"`
771 Count int64 `json:"count"`
772 UserLikes int64 `json:"user_likes"`
773}
774
775type BaseLink struct {
776 Application BaseLinkApplication `json:"application"`
777 Button BaseLinkButton `json:"button"`
778 Caption string `json:"caption"`
779 Description string `json:"description"`
780 ID string `json:"id"`
781 IsFavorite bool `json:"is_favorite"`
782 Photo PhotosPhoto `json:"photo"`
783 PreviewPage string `json:"preview_page"`
784 PreviewURL string `json:"preview_url"`
785 Product BaseLinkProduct `json:"product"`
786 Rating BaseLinkRating `json:"rating"`
787 Title string `json:"title"`
788 URL string `json:"url"`
789 TargetObject LinkTargetObject `json:"target_object"`
790 IsExternal bool `json:"is_external"`
791 Video VideoVideo `json:"video"`
792}
793
794type BaseLinkApplication struct {
795 AppID int64 `json:"app_id"`
796 Store BaseLinkApplicationStore `json:"store"`
797}
798
799type BaseLinkApplicationStore struct {
800 ID int64 `json:"id"`
801 Name string `json:"name"`
802}
803
804type BaseLinkButton struct {
805 Action BaseLinkButtonAction `json:"action"`
806 Title string `json:"title"`
807 BlockID string `json:"block_id"`
808 SectionID string `json:"section_id"`
809 OwnerID int64 `json:"owner_id"`
810 Icon string `json:"icon"`
811 Style BaseLinkButtonStyle `json:"style"`
812}
813
814type BaseLinkButtonAction struct {
815 Type BaseLinkButtonActionType `json:"type"`
816 URL string `json:"url"`
817 ConsumeReason string `json:"consume_reason"`
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 `json:"price"`
834 Merchant string `json:"merchant"`
835 OrdersCount int64 `json:"orders_count"`
836}
837
838type BaseLinkRating struct {
839 ReviewsCount int64 `json:"reviews_count"`
840 Stars int64 `json:"stars"`
841}
842
843type BaseMessageError struct {
844 Code int64 `json:"code"`
845 Description string `json:"description"`
846}
847
848type BaseObject struct {
849 ID int64 `json:"id"`
850 Title string `json:"title"`
851}
852
853type BaseObjectCount struct {
854 Count int64 `json:"count"`
855}
856
857type BaseObjectWithName struct {
858 ID int64 `json:"id"`
859 Name string `json:"name"`
860}
861
862type BasePlace struct {
863 Address string `json:"address"`
864 Checkins int64 `json:"checkins"`
865 City string `json:"city"`
866 Country string `json:"country"`
867 Created int64 `json:"created"`
868 Icon string `json:"icon"`
869 ID int64 `json:"id"`
870 Latitude int64 `json:"latitude"`
871 Longitude int64 `json:"longitude"`
872 Title string `json:"title"`
873 Type string `json:"type"`
874}
875
876// enum base_property_exists
877type BasePropertyExists int64
878
879const (
880 BasePropertyExistsPropertyExists BasePropertyExists = 1
881)
882
883type BaseRepostsInfo struct {
884 Count int64 `json:"count"`
885 UserReposted int64 `json:"user_reposted"`
886}
887
888type BaseRequestParam struct {
889 Key string `json:"key"`
890 Value string `json:"value"`
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 `json:"sticker_id"`
904 ProductID int64 `json:"product_id"`
905 Images []BaseImage `json:"images"`
906 ImagesWithBackground []BaseImage `json:"images_with_background"`
907 AnimationURL string `json:"animation_url"`
908 Animations []BaseStickerAnimation `json:"animations"`
909 IsAllowed bool `json:"is_allowed"`
910}
911
912type BaseStickerAnimation struct {
913 Type string `json:"type"`
914 URL string `json:"url"`
915}
916
917type BaseUploadServer struct {
918 UploadURL string `json:"upload_url"`
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 `json:"user_id"`
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 `json:"comments"`
1043 Created int64 `json:"created"`
1044 CreatedBy int64 `json:"created_by"`
1045 ID int64 `json:"id"`
1046 IsClosed BaseBoolInt `json:"is_closed"`
1047 IsFixed BaseBoolInt `json:"is_fixed"`
1048 Title string `json:"title"`
1049 Updated int64 `json:"updated"`
1050 UpdatedBy int64 `json:"updated_by"`
1051}
1052
1053type BoardTopicComment struct {
1054 Attachments []WallCommentAttachment `json:"attachments"`
1055 Date int64 `json:"date"`
1056 FromID int64 `json:"from_id"`
1057 ID int64 `json:"id"`
1058 RealOffset int64 `json:"real_offset"`
1059 Text string `json:"text"`
1060 CanEdit BaseBoolInt `json:"can_edit"`
1061 Likes BaseLikesInfo `json:"likes"`
1062}
1063
1064type BoardTopicPoll struct {
1065 AnswerID int64 `json:"answer_id"`
1066 Answers []PollsAnswer `json:"answers"`
1067 Created int64 `json:"created"`
1068 IsClosed BaseBoolInt `json:"is_closed"`
1069 OwnerID int64 `json:"owner_id"`
1070 PollID int64 `json:"poll_id"`
1071 Question string `json:"question"`
1072 Votes string `json:"votes"`
1073}
1074
1075type CallbackBoardPostDelete struct {
1076 TopicOwnerID int64 `json:"topic_owner_id"`
1077 TopicID int64 `json:"topic_id"`
1078 ID int64 `json:"id"`
1079}
1080
1081type CallbackConfirmationMessage struct {
1082 Type CallbackMessageType `json:"type"`
1083 GroupID int64 `json:"group_id"`
1084 Secret string `json:"secret"`
1085}
1086
1087type CallbackGroupChangePhoto struct {
1088 UserID int64 `json:"user_id"`
1089 Photo PhotosPhoto `json:"photo"`
1090}
1091
1092type CallbackGroupChangeSettings struct {
1093 UserID int64 `json:"user_id"`
1094 Self BaseBoolInt `json:"self"`
1095}
1096
1097type CallbackGroupJoin struct {
1098 UserID int64 `json:"user_id"`
1099 JoinType CallbackGroupJoinType `json:"join_type"`
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 `json:"user_id"`
1115 Self BaseBoolInt `json:"self"`
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 `json:"admin_id"`
1138 UserID int64 `json:"user_id"`
1139 LevelOld CallbackGroupOfficerRole `json:"level_old"`
1140 LevelNew CallbackGroupOfficerRole `json:"level_new"`
1141}
1142
1143type CallbackGroupSettingsChanges struct {
1144 Title string `json:"title"`
1145 Description string `json:"description"`
1146 Access GroupsGroupIsClosed `json:"access"`
1147 ScreenName string `json:"screen_name"`
1148 PublicCategory int64 `json:"public_category"`
1149 PublicSubcategory int64 `json:"public_subcategory"`
1150 AgeLimits GroupsGroupFullAgeLimits `json:"age_limits"`
1151 Website string `json:"website"`
1152 EnableStatusDefault GroupsGroupWall `json:"enable_status_default"`
1153 EnableAudio GroupsGroupAudio `json:"enable_audio"`
1154 EnableVideo GroupsGroupVideo `json:"enable_video"`
1155 EnablePhoto GroupsGroupPhotos `json:"enable_photo"`
1156 EnableMarket CallbackGroupMarket `json:"enable_market"`
1157}
1158
1159type CallbackLikeAddRemove struct {
1160 LikerID int64 `json:"liker_id"`
1161 ObjectType string `json:"object_type"`
1162 ObjectOwnerID int64 `json:"object_owner_id"`
1163 ObjectID int64 `json:"object_id"`
1164 PostID int64 `json:"post_id"`
1165 ThreadReplyID int64 `json:"thread_reply_id"`
1166}
1167
1168type CallbackMarketComment struct {
1169 ID int64 `json:"id"`
1170 FromID int64 `json:"from_id"`
1171 Date int64 `json:"date"`
1172 Text string `json:"text"`
1173 MarketOwnerOd int64 `json:"market_owner_od"`
1174 PhotoID int64 `json:"photo_id"`
1175}
1176
1177type CallbackMarketCommentDelete struct {
1178 OwnerID int64 `json:"owner_id"`
1179 ID int64 `json:"id"`
1180 UserID int64 `json:"user_id"`
1181 ItemID int64 `json:"item_id"`
1182}
1183
1184type CallbackMessageAllow struct {
1185 UserID int64 `json:"user_id"`
1186 Key string `json:"key"`
1187}
1188
1189type CallbackMessageBase struct {
1190 Type CallbackMessageType `json:"type"`
1191 Object interface{} `json:"object"`
1192 GroupID int64 `json:"group_id"`
1193}
1194
1195type CallbackMessageDeny struct {
1196 UserID int64 `json:"user_id"`
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 `json:"id"`
1233 FromID int64 `json:"from_id"`
1234 Date int64 `json:"date"`
1235 Text string `json:"text"`
1236 PhotoOwnerOd int64 `json:"photo_owner_od"`
1237}
1238
1239type CallbackPhotoCommentDelete struct {
1240 ID int64 `json:"id"`
1241 OwnerID int64 `json:"owner_id"`
1242 UserID int64 `json:"user_id"`
1243 PhotoID int64 `json:"photo_id"`
1244}
1245
1246type CallbackPollVoteNew struct {
1247 OwnerID int64 `json:"owner_id"`
1248 PollID int64 `json:"poll_id"`
1249 OptionID int64 `json:"option_id"`
1250 UserID int64 `json:"user_id"`
1251}
1252
1253type CallbackQrScan struct {
1254 UserID int64 `json:"user_id"`
1255 Data string `json:"data"`
1256 Type string `json:"type"`
1257 Subtype string `json:"subtype"`
1258 Reread bool `json:"reread"`
1259}
1260
1261type CallbackUserBlock struct {
1262 AdminID int64 `json:"admin_id"`
1263 UserID int64 `json:"user_id"`
1264 UnblockDate int64 `json:"unblock_date"`
1265 Reason int64 `json:"reason"`
1266 Comment string `json:"comment"`
1267}
1268
1269type CallbackUserUnblock struct {
1270 AdminID int64 `json:"admin_id"`
1271 UserID int64 `json:"user_id"`
1272 ByEndDate int64 `json:"by_end_date"`
1273}
1274
1275type CallbackVideoComment struct {
1276 ID int64 `json:"id"`
1277 FromID int64 `json:"from_id"`
1278 Date int64 `json:"date"`
1279 Text string `json:"text"`
1280 VideoOwnerOd int64 `json:"video_owner_od"`
1281}
1282
1283type CallbackVideoCommentDelete struct {
1284 ID int64 `json:"id"`
1285 OwnerID int64 `json:"owner_id"`
1286 UserID int64 `json:"user_id"`
1287 VideoID int64 `json:"video_id"`
1288}
1289
1290type CallbackWallCommentDelete struct {
1291 OwnerID int64 `json:"owner_id"`
1292 ID int64 `json:"id"`
1293 UserID int64 `json:"user_id"`
1294 PostID int64 `json:"post_id"`
1295}
1296
1297type CommentThread struct {
1298 CanPost bool `json:"can_post"`
1299 Count int64 `json:"count"`
1300 GroupsCanPost bool `json:"groups_can_post"`
1301 Items []WallWallComment `json:"items"`
1302 ShowReplyButton bool `json:"show_reply_button"`
1303}
1304
1305// allof database_city
1306type DatabaseCity struct {
1307 *BaseObject `json:"base_object"`
1308 Area *string `json:"area"`
1309 Region *string `json:"region"`
1310 Important *BaseBoolInt `json:"important"`
1311}
1312
1313type DatabaseFaculty struct {
1314 ID int64 `json:"id"`
1315 Title string `json:"title"`
1316}
1317
1318type DatabaseRegion struct {
1319 ID int64 `json:"id"`
1320 Title string `json:"title"`
1321}
1322
1323type DatabaseSchool struct {
1324 ID int64 `json:"id"`
1325 Title string `json:"title"`
1326}
1327
1328type DatabaseStation struct {
1329 CityID int64 `json:"city_id"`
1330 Color string `json:"color"`
1331 ID int64 `json:"id"`
1332 Name string `json:"name"`
1333}
1334
1335type DatabaseUniversity struct {
1336 ID int64 `json:"id"`
1337 Title string `json:"title"`
1338}
1339
1340type DocsDoc struct {
1341 ID int64 `json:"id"`
1342 OwnerID int64 `json:"owner_id"`
1343 Title string `json:"title"`
1344 Size int64 `json:"size"`
1345 Ext string `json:"ext"`
1346 URL string `json:"url"`
1347 Date int64 `json:"date"`
1348 Type int64 `json:"type"`
1349 Preview DocsDocPreview `json:"preview"`
1350 IsLicensed BaseBoolInt `json:"is_licensed"`
1351 AccessKey string `json:"access_key"`
1352 Tags []string `json:"tags"`
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 `json:"audio_msg"`
1366 Graffiti DocsDocPreviewGraffiti `json:"graffiti"`
1367 Photo DocsDocPreviewPhoto `json:"photo"`
1368 Video DocsDocPreviewVideo `json:"video"`
1369}
1370
1371type DocsDocPreviewAudioMsg struct {
1372 Duration int64 `json:"duration"`
1373 LinkMp3 string `json:"link_mp3"`
1374 LinkOgg string `json:"link_ogg"`
1375 Waveform []int64 `json:"waveform"`
1376}
1377
1378type DocsDocPreviewGraffiti struct {
1379 Src string `json:"src"`
1380 Width int64 `json:"width"`
1381 Height int64 `json:"height"`
1382}
1383
1384type DocsDocPreviewPhoto struct {
1385 Sizes []DocsDocPreviewPhotoSizes `json:"sizes"`
1386}
1387
1388type DocsDocPreviewPhotoSizes struct {
1389 Src string `json:"src"`
1390 Width int64 `json:"width"`
1391 Height int64 `json:"height"`
1392 Type PhotosPhotoSizesType `json:"type"`
1393}
1394
1395type DocsDocPreviewVideo struct {
1396 Src string `json:"src"`
1397 Width int64 `json:"width"`
1398 Height int64 `json:"height"`
1399 FileSize int64 `json:"file_size"`
1400}
1401
1402type DocsDocTypes struct {
1403 ID int64 `json:"id"`
1404 Name string `json:"name"`
1405 Count int64 `json:"count"`
1406}
1407
1408type DocsDocUploadResponse struct {
1409 File string `json:"file"`
1410}
1411
1412type EventsEventAttach struct {
1413 Address string `json:"address"`
1414 ButtonText string `json:"button_text"`
1415 Friends []int64 `json:"friends"`
1416 ID int64 `json:"id"`
1417 IsFavorite bool `json:"is_favorite"`
1418 MemberStatus GroupsGroupFullMemberStatus `json:"member_status"`
1419 Text string `json:"text"`
1420 Time int64 `json:"time"`
1421}
1422
1423type FaveBookmark struct {
1424 AddedDate int64 `json:"added_date"`
1425 Link BaseLink `json:"link"`
1426 Post WallWallpostFull `json:"post"`
1427 Product MarketMarketItem `json:"product"`
1428 Seen bool `json:"seen"`
1429 Tags []FaveTag `json:"tags"`
1430 Type FaveBookmarkType `json:"type"`
1431 Video VideoVideo `json:"video"`
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 `json:"description"`
1447 Group GroupsGroupFull `json:"group"`
1448 Tags []FaveTag `json:"tags"`
1449 Type FavePageType `json:"type"`
1450 UpdatedDate int64 `json:"updated_date"`
1451 User UsersUserFull `json:"user"`
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 `json:"id"`
1465 Name string `json:"name"`
1466}
1467
1468// allof friends_friend_extended_status
1469type FriendsFriendExtendedStatus struct {
1470 *FriendsFriendStatus `json:"friends_friend_status"`
1471 IsRequestUnread *bool `json:"is_request_unread"`
1472}
1473
1474type FriendsFriendStatus struct {
1475 FriendStatus FriendsFriendStatusStatus `json:"friend_status"`
1476 Sign string `json:"sign"`
1477 UserID int64 `json:"user_id"`
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 `json:"id"`
1492 Name string `json:"name"`
1493}
1494
1495type FriendsMutualFriend struct {
1496 CommonCount int64 `json:"common_count"`
1497 CommonFriends []int64 `json:"common_friends"`
1498 ID int64 `json:"id"`
1499}
1500
1501type FriendsRequests struct {
1502 From string `json:"from"`
1503 Mutual FriendsRequestsMutual `json:"mutual"`
1504 UserID int64 `json:"user_id"`
1505}
1506
1507type FriendsRequestsMutual struct {
1508 Count int64 `json:"count"`
1509 Users []int64 `json:"users"`
1510}
1511
1512type FriendsRequestsXtrMessage struct {
1513 From string `json:"from"`
1514 Message string `json:"message"`
1515 Mutual FriendsRequestsMutual `json:"mutual"`
1516 UserID int64 `json:"user_id"`
1517}
1518
1519// allof friends_user_xtr_lists
1520type FriendsUserXtrLists struct {
1521 *UsersUserFull `json:"users_user_full"`
1522 Lists *[]int64 `json:"lists"`
1523}
1524
1525// allof friends_user_xtr_phone
1526type FriendsUserXtrPhone struct {
1527 *UsersUserFull `json:"users_user_full"`
1528 Phone *string `json:"phone"`
1529}
1530
1531type GiftsGift struct {
1532 Date int64 `json:"date"`
1533 FromID int64 `json:"from_id"`
1534 Gift GiftsLayout `json:"gift"`
1535 GiftHash string `json:"gift_hash"`
1536 ID int64 `json:"id"`
1537 Message string `json:"message"`
1538 Privacy GiftsGiftPrivacy `json:"privacy"`
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 `json:"id"`
1552 Thumb512 string `json:"thumb_512"`
1553 Thumb256 string `json:"thumb_256"`
1554 Thumb48 string `json:"thumb_48"`
1555 Thumb96 string `json:"thumb_96"`
1556 StickersProductID int64 `json:"stickers_product_id"`
1557 BuildID string `json:"build_id"`
1558 Keywords string `json:"keywords"`
1559}
1560
1561type GroupsAddress struct {
1562 AdditionalAddress string `json:"additional_address"`
1563 Address string `json:"address"`
1564 CityID int64 `json:"city_id"`
1565 CountryID int64 `json:"country_id"`
1566 Distance int64 `json:"distance"`
1567 ID int64 `json:"id"`
1568 Latitude int64 `json:"latitude"`
1569 Longitude int64 `json:"longitude"`
1570 MetroStationID int64 `json:"metro_station_id"`
1571 Phone string `json:"phone"`
1572 TimeOffset int64 `json:"time_offset"`
1573 Timetable GroupsAddressTimetable `json:"timetable"`
1574 Title string `json:"title"`
1575 WorkInfoStatus GroupsAddressWorkInfoStatus `json:"work_info_status"`
1576}
1577
1578type GroupsAddressTimetable struct {
1579 Fri GroupsAddressTimetableDay `json:"fri"`
1580 Mon GroupsAddressTimetableDay `json:"mon"`
1581 Sat GroupsAddressTimetableDay `json:"sat"`
1582 Sun GroupsAddressTimetableDay `json:"sun"`
1583 Thu GroupsAddressTimetableDay `json:"thu"`
1584 Tue GroupsAddressTimetableDay `json:"tue"`
1585 Wed GroupsAddressTimetableDay `json:"wed"`
1586}
1587
1588type GroupsAddressTimetableDay struct {
1589 BreakCloseTime int64 `json:"break_close_time"`
1590 BreakOpenTime int64 `json:"break_open_time"`
1591 CloseTime int64 `json:"close_time"`
1592 OpenTime int64 `json:"open_time"`
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 `json:"is_enabled"`
1608 MainAddressID int64 `json:"main_address_id"`
1609}
1610
1611type GroupsBanInfo struct {
1612 AdminID int64 `json:"admin_id"`
1613 Comment string `json:"comment"`
1614 CommentVisible bool `json:"comment_visible"`
1615 IsClosed bool `json:"is_closed"`
1616 Date int64 `json:"date"`
1617 EndDate int64 `json:"end_date"`
1618 Reason GroupsBanInfoReason `json:"reason"`
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 GroupsOwnerXtrBanInfo
1633
1634type GroupsCallbackServer struct {
1635 ID int64 `json:"id"`
1636 Title string `json:"title"`
1637 CreatorID int64 `json:"creator_id"`
1638 URL string `json:"url"`
1639 SecretKey string `json:"secret_key"`
1640 Status string `json:"status"`
1641}
1642
1643type GroupsCallbackSettings struct {
1644 ApiVersion string `json:"api_version"`
1645 Events GroupsLongPollEvents `json:"events"`
1646}
1647
1648type GroupsContactsItem struct {
1649 Desc string `json:"desc"`
1650 Email string `json:"email"`
1651 Phone string `json:"phone"`
1652 UserID int64 `json:"user_id"`
1653}
1654
1655type GroupsCountersGroup struct {
1656 Addresses int64 `json:"addresses"`
1657 Albums int64 `json:"albums"`
1658 Audios int64 `json:"audios"`
1659 AudioPlaylists int64 `json:"audio_playlists"`
1660 Docs int64 `json:"docs"`
1661 Market int64 `json:"market"`
1662 Photos int64 `json:"photos"`
1663 Topics int64 `json:"topics"`
1664 Videos int64 `json:"videos"`
1665}
1666
1667type GroupsCover struct {
1668 Enabled BaseBoolInt `json:"enabled"`
1669 Images []BaseImage `json:"images"`
1670}
1671
1672// enum groups_fields
1673type GroupsFields string
1674
1675const (
1676 GroupsFieldsMarket GroupsFields = "market"
1677 GroupsFieldsMemberStatus GroupsFields = "member_status"
1678 GroupsFieldsIsFavorite GroupsFields = "is_favorite"
1679 GroupsFieldsIsSubscribed GroupsFields = "is_subscribed"
1680 GroupsFieldsCity GroupsFields = "city"
1681 GroupsFieldsCountry GroupsFields = "country"
1682 GroupsFieldsVerified GroupsFields = "verified"
1683 GroupsFieldsDescription GroupsFields = "description"
1684 GroupsFieldsWikiPage GroupsFields = "wiki_page"
1685 GroupsFieldsMembersCount GroupsFields = "members_count"
1686 GroupsFieldsCounters GroupsFields = "counters"
1687 GroupsFieldsCover GroupsFields = "cover"
1688 GroupsFieldsCanPost GroupsFields = "can_post"
1689 GroupsFieldsCanSeeAllPosts GroupsFields = "can_see_all_posts"
1690 GroupsFieldsActivity GroupsFields = "activity"
1691 GroupsFieldsFixedPost GroupsFields = "fixed_post"
1692 GroupsFieldsCanCreateTopic GroupsFields = "can_create_topic"
1693 GroupsFieldsCanUploadVideo GroupsFields = "can_upload_video"
1694 GroupsFieldsHasPhoto GroupsFields = "has_photo"
1695 GroupsFieldsStatus GroupsFields = "status"
1696 GroupsFieldsMainAlbumID GroupsFields = "main_album_id"
1697 GroupsFieldsLinks GroupsFields = "links"
1698 GroupsFieldsContacts GroupsFields = "contacts"
1699 GroupsFieldsSite GroupsFields = "site"
1700 GroupsFieldsMainSection GroupsFields = "main_section"
1701 GroupsFieldsTrending GroupsFields = "trending"
1702 GroupsFieldsCanMessage GroupsFields = "can_message"
1703 GroupsFieldsIsMarketCartEnabled GroupsFields = "is_market_cart_enabled"
1704 GroupsFieldsIsMessagesBlocked GroupsFields = "is_messages_blocked"
1705 GroupsFieldsCanSendNotify GroupsFields = "can_send_notify"
1706 GroupsFieldsOnlineStatus GroupsFields = "online_status"
1707 GroupsFieldsStartDate GroupsFields = "start_date"
1708 GroupsFieldsFinishDate GroupsFields = "finish_date"
1709 GroupsFieldsAgeLimits GroupsFields = "age_limits"
1710 GroupsFieldsBanInfo GroupsFields = "ban_info"
1711 GroupsFieldsActionButton GroupsFields = "action_button"
1712 GroupsFieldsAuthorID GroupsFields = "author_id"
1713 GroupsFieldsPhone GroupsFields = "phone"
1714 GroupsFieldsHasMarketApp GroupsFields = "has_market_app"
1715 GroupsFieldsAddresses GroupsFields = "addresses"
1716 GroupsFieldsLiveCovers GroupsFields = "live_covers"
1717 GroupsFieldsIsAdult GroupsFields = "is_adult"
1718 GroupsFieldsCanSubscribePosts GroupsFields = "can_subscribe_posts"
1719 GroupsFieldsWarningNotification GroupsFields = "warning_notification"
1720 GroupsFieldsMsgPushAllowed GroupsFields = "msg_push_allowed"
1721 GroupsFieldsStoriesArchiveCount GroupsFields = "stories_archive_count"
1722 GroupsFieldsVideoLiveLevel GroupsFields = "video_live_level"
1723 GroupsFieldsVideoLiveCount GroupsFields = "video_live_count"
1724 GroupsFieldsClipsCount GroupsFields = "clips_count"
1725)
1726
1727// enum groups_filter
1728type GroupsFilter string
1729
1730const (
1731 GroupsFilterAdmin GroupsFilter = "admin"
1732 GroupsFilterEditor GroupsFilter = "editor"
1733 GroupsFilterModer GroupsFilter = "moder"
1734 GroupsFilterAdvertiser GroupsFilter = "advertiser"
1735 GroupsFilterGroups GroupsFilter = "groups"
1736 GroupsFilterPublics GroupsFilter = "publics"
1737 GroupsFilterEvents GroupsFilter = "events"
1738 GroupsFilterHasAddresses GroupsFilter = "has_addresses"
1739)
1740
1741type GroupsGroup struct {
1742 AdminLevel GroupsGroupAdminLevel `json:"admin_level"`
1743 Deactivated string `json:"deactivated"`
1744 FinishDate int64 `json:"finish_date"`
1745 ID int64 `json:"id"`
1746 IsAdmin BaseBoolInt `json:"is_admin"`
1747 IsAdvertiser BaseBoolInt `json:"is_advertiser"`
1748 IsClosed GroupsGroupIsClosed `json:"is_closed"`
1749 IsMember BaseBoolInt `json:"is_member"`
1750 Name string `json:"name"`
1751 Photo100 string `json:"photo_100"`
1752 Photo200 string `json:"photo_200"`
1753 Photo50 string `json:"photo_50"`
1754 ScreenName string `json:"screen_name"`
1755 StartDate int64 `json:"start_date"`
1756 Type GroupsGroupType `json:"type"`
1757}
1758
1759// enum groups_group_access
1760type GroupsGroupAccess int64
1761
1762const (
1763 GroupsGroupAccessOpen GroupsGroupAccess = 0
1764 GroupsGroupAccessClosed GroupsGroupAccess = 1
1765 GroupsGroupAccessPrivate GroupsGroupAccess = 2
1766)
1767
1768// enum groups_group_admin_level
1769type GroupsGroupAdminLevel int64
1770
1771const (
1772 GroupsGroupAdminLevelModerator GroupsGroupAdminLevel = 1
1773 GroupsGroupAdminLevelEditor GroupsGroupAdminLevel = 2
1774 GroupsGroupAdminLevelAdministrator GroupsGroupAdminLevel = 3
1775)
1776
1777// enum groups_group_age_limits
1778type GroupsGroupAgeLimits int64
1779
1780const (
1781 GroupsGroupAgeLimitsUnlimited GroupsGroupAgeLimits = 1
1782 GroupsGroupAgeLimits16Plus GroupsGroupAgeLimits = 2
1783 GroupsGroupAgeLimits18Plus GroupsGroupAgeLimits = 3
1784)
1785
1786type GroupsGroupAttach struct {
1787 ID int64 `json:"id"`
1788 Text string `json:"text"`
1789 Status string `json:"status"`
1790 Size int64 `json:"size"`
1791 IsFavorite bool `json:"is_favorite"`
1792}
1793
1794// enum groups_group_audio
1795type GroupsGroupAudio int64
1796
1797const (
1798 GroupsGroupAudioDisabled GroupsGroupAudio = 0
1799 GroupsGroupAudioOpen GroupsGroupAudio = 1
1800 GroupsGroupAudioLimited GroupsGroupAudio = 2
1801)
1802
1803type GroupsGroupBanInfo struct {
1804 Comment string `json:"comment"`
1805 EndDate int64 `json:"end_date"`
1806 Reason GroupsBanInfoReason `json:"reason"`
1807}
1808
1809type GroupsGroupCategory struct {
1810 ID int64 `json:"id"`
1811 Name string `json:"name"`
1812 Subcategories []BaseObjectWithName `json:"subcategories"`
1813}
1814
1815type GroupsGroupCategoryFull struct {
1816 ID int64 `json:"id"`
1817 Name string `json:"name"`
1818 PageCount int64 `json:"page_count"`
1819 PagePreviews []GroupsGroup `json:"page_previews"`
1820 Subcategories []GroupsGroupCategory `json:"subcategories"`
1821}
1822
1823type GroupsGroupCategoryType struct {
1824 ID int64 `json:"id"`
1825 Name string `json:"name"`
1826}
1827
1828// enum groups_group_docs
1829type GroupsGroupDocs int64
1830
1831const (
1832 GroupsGroupDocsDisabled GroupsGroupDocs = 0
1833 GroupsGroupDocsOpen GroupsGroupDocs = 1
1834 GroupsGroupDocsLimited GroupsGroupDocs = 2
1835)
1836
1837// allof groups_group_full
1838type GroupsGroupFull struct {
1839 *GroupsGroup `json:"groups_group"`
1840 Market *GroupsMarketInfo `json:"market"`
1841 MemberStatus *GroupsGroupFullMemberStatus `json:"member_status"`
1842 IsAdult *BaseBoolInt `json:"is_adult"`
1843 IsHiddenFromFeed *BaseBoolInt `json:"is_hidden_from_feed"`
1844 IsFavorite *BaseBoolInt `json:"is_favorite"`
1845 IsSubscribed *BaseBoolInt `json:"is_subscribed"`
1846 City *BaseObject `json:"city"`
1847 Country *BaseCountry `json:"country"`
1848 Verified *BaseBoolInt `json:"verified"`
1849 Description *string `json:"description"`
1850 WikiPage *string `json:"wiki_page"`
1851 MembersCount *int64 `json:"members_count"`
1852 VideoLiveLevel *int64 `json:"video_live_level"`
1853 VideoLiveCount *int64 `json:"video_live_count"`
1854 Counters *GroupsCountersGroup `json:"counters"`
1855 Cover *GroupsCover `json:"cover"`
1856 CanPost *BaseBoolInt `json:"can_post"`
1857 CanSeeAllPosts *BaseBoolInt `json:"can_see_all_posts"`
1858 Activity *string `json:"activity"`
1859 FixedPost *int64 `json:"fixed_post"`
1860 CanCreateTopic *BaseBoolInt `json:"can_create_topic"`
1861 CanUploadDoc *BaseBoolInt `json:"can_upload_doc"`
1862 CanUploadStory *BaseBoolInt `json:"can_upload_story"`
1863 CanUploadVideo *BaseBoolInt `json:"can_upload_video"`
1864 HasPhoto *BaseBoolInt `json:"has_photo"`
1865 CropPhoto *BaseCropPhoto `json:"crop_photo"`
1866 Status *string `json:"status"`
1867 MainAlbumID *int64 `json:"main_album_id"`
1868 Links *[]GroupsLinksItem `json:"links"`
1869 Contacts *[]GroupsContactsItem `json:"contacts"`
1870 Wall *int64 `json:"wall"`
1871 Site *string `json:"site"`
1872 MainSection *GroupsGroupFullMainSection `json:"main_section"`
1873 Trending *BaseBoolInt `json:"trending"`
1874 CanMessage *BaseBoolInt `json:"can_message"`
1875 IsMessagesBlocked *BaseBoolInt `json:"is_messages_blocked"`
1876 CanSendNotify *BaseBoolInt `json:"can_send_notify"`
1877 OnlineStatus *GroupsOnlineStatus `json:"online_status"`
1878 AgeLimits *GroupsGroupFullAgeLimits `json:"age_limits"`
1879 BanInfo *GroupsGroupBanInfo `json:"ban_info"`
1880 HasMarketApp *bool `json:"has_market_app"`
1881 Addresses *GroupsAddressesInfo `json:"addresses"`
1882 IsSubscribedPodcasts *bool `json:"is_subscribed_podcasts"`
1883 CanSubscribePodcasts *bool `json:"can_subscribe_podcasts"`
1884 CanSubscribePosts *bool `json:"can_subscribe_posts"`
1885 LiveCovers *GroupsLiveCovers `json:"live_covers"`
1886}
1887
1888// enum groups_group_full_age_limits
1889type GroupsGroupFullAgeLimits int64
1890
1891const (
1892 GroupsGroupFullAgeLimitsNo GroupsGroupFullAgeLimits = 1
1893 GroupsGroupFullAgeLimitsOver16 GroupsGroupFullAgeLimits = 2
1894 GroupsGroupFullAgeLimitsOver18 GroupsGroupFullAgeLimits = 3
1895)
1896
1897// enum groups_group_full_main_section
1898type GroupsGroupFullMainSection int64
1899
1900const (
1901 GroupsGroupFullMainSectionAbsent GroupsGroupFullMainSection = 0
1902 GroupsGroupFullMainSectionPhotos GroupsGroupFullMainSection = 1
1903 GroupsGroupFullMainSectionTopics GroupsGroupFullMainSection = 2
1904 GroupsGroupFullMainSectionAudio GroupsGroupFullMainSection = 3
1905 GroupsGroupFullMainSectionVideo GroupsGroupFullMainSection = 4
1906 GroupsGroupFullMainSectionMarket GroupsGroupFullMainSection = 5
1907)
1908
1909// enum groups_group_full_member_status
1910type GroupsGroupFullMemberStatus int64
1911
1912const (
1913 GroupsGroupFullMemberStatusNotAMember GroupsGroupFullMemberStatus = 0
1914 GroupsGroupFullMemberStatusMember GroupsGroupFullMemberStatus = 1
1915 GroupsGroupFullMemberStatusNotSure GroupsGroupFullMemberStatus = 2
1916 GroupsGroupFullMemberStatusDeclined GroupsGroupFullMemberStatus = 3
1917 GroupsGroupFullMemberStatusHasSentARequest GroupsGroupFullMemberStatus = 4
1918 GroupsGroupFullMemberStatusInvited GroupsGroupFullMemberStatus = 5
1919)
1920
1921// enum groups_group_is_closed
1922type GroupsGroupIsClosed int64
1923
1924const (
1925 GroupsGroupIsClosedOpen GroupsGroupIsClosed = 0
1926 GroupsGroupIsClosedClosed GroupsGroupIsClosed = 1
1927 GroupsGroupIsClosedPrivate GroupsGroupIsClosed = 2
1928)
1929
1930type GroupsGroupLink struct {
1931 Name string `json:"name"`
1932 Desc string `json:"desc"`
1933 EditTitle BaseBoolInt `json:"edit_title"`
1934 ID int64 `json:"id"`
1935 ImageProcessing BaseBoolInt `json:"image_processing"`
1936 URL string `json:"url"`
1937}
1938
1939// enum groups_group_market_currency
1940type GroupsGroupMarketCurrency int64
1941
1942const (
1943 GroupsGroupMarketCurrencyRussianRubles GroupsGroupMarketCurrency = 643
1944 GroupsGroupMarketCurrencyUkrainianHryvnia GroupsGroupMarketCurrency = 980
1945 GroupsGroupMarketCurrencyKazakhTenge GroupsGroupMarketCurrency = 398
1946 GroupsGroupMarketCurrencyEuro GroupsGroupMarketCurrency = 978
1947 GroupsGroupMarketCurrencyUsDollars GroupsGroupMarketCurrency = 840
1948)
1949
1950// enum groups_group_photos
1951type GroupsGroupPhotos int64
1952
1953const (
1954 GroupsGroupPhotosDisabled GroupsGroupPhotos = 0
1955 GroupsGroupPhotosOpen GroupsGroupPhotos = 1
1956 GroupsGroupPhotosLimited GroupsGroupPhotos = 2
1957)
1958
1959type GroupsGroupPublicCategoryList struct {
1960 ID int64 `json:"id"`
1961 Name string `json:"name"`
1962 Subcategories []GroupsGroupCategoryType `json:"subcategories"`
1963}
1964
1965// enum groups_group_role
1966type GroupsGroupRole string
1967
1968const (
1969 GroupsGroupRoleModerator GroupsGroupRole = "moderator"
1970 GroupsGroupRoleEditor GroupsGroupRole = "editor"
1971 GroupsGroupRoleAdministrator GroupsGroupRole = "administrator"
1972 GroupsGroupRoleAdvertiser GroupsGroupRole = "advertiser"
1973)
1974
1975// enum groups_group_subject
1976type GroupsGroupSubject string
1977
1978const (
1979 GroupsGroupSubjectAuto GroupsGroupSubject = "1"
1980 GroupsGroupSubjectActivityHolidays GroupsGroupSubject = "2"
1981 GroupsGroupSubjectBusiness GroupsGroupSubject = "3"
1982 GroupsGroupSubjectPets GroupsGroupSubject = "4"
1983 GroupsGroupSubjectHealth GroupsGroupSubject = "5"
1984 GroupsGroupSubjectDatingAndCommunication GroupsGroupSubject = "6"
1985 GroupsGroupSubjectGames GroupsGroupSubject = "7"
1986 GroupsGroupSubjectIt GroupsGroupSubject = "8"
1987 GroupsGroupSubjectCinema GroupsGroupSubject = "9"
1988 GroupsGroupSubjectBeautyAndFashion GroupsGroupSubject = "10"
1989 GroupsGroupSubjectCooking GroupsGroupSubject = "11"
1990 GroupsGroupSubjectArtAndCulture GroupsGroupSubject = "12"
1991 GroupsGroupSubjectLiterature GroupsGroupSubject = "13"
1992 GroupsGroupSubjectMobileServicesAndInternet GroupsGroupSubject = "14"
1993 GroupsGroupSubjectMusic GroupsGroupSubject = "15"
1994 GroupsGroupSubjectScienceAndTechnology GroupsGroupSubject = "16"
1995 GroupsGroupSubjectRealEstate GroupsGroupSubject = "17"
1996 GroupsGroupSubjectNewsAndMedia GroupsGroupSubject = "18"
1997 GroupsGroupSubjectSecurity GroupsGroupSubject = "19"
1998 GroupsGroupSubjectEducation GroupsGroupSubject = "20"
1999 GroupsGroupSubjectHomeAndRenovations GroupsGroupSubject = "21"
2000 GroupsGroupSubjectPolitics GroupsGroupSubject = "22"
2001 GroupsGroupSubjectFood GroupsGroupSubject = "23"
2002 GroupsGroupSubjectIndustry GroupsGroupSubject = "24"
2003 GroupsGroupSubjectTravel GroupsGroupSubject = "25"
2004 GroupsGroupSubjectWork GroupsGroupSubject = "26"
2005 GroupsGroupSubjectEntertainment GroupsGroupSubject = "27"
2006 GroupsGroupSubjectReligion GroupsGroupSubject = "28"
2007 GroupsGroupSubjectFamily GroupsGroupSubject = "29"
2008 GroupsGroupSubjectSports GroupsGroupSubject = "30"
2009 GroupsGroupSubjectInsurance GroupsGroupSubject = "31"
2010 GroupsGroupSubjectTelevision GroupsGroupSubject = "32"
2011 GroupsGroupSubjectGoodsAndServices GroupsGroupSubject = "33"
2012 GroupsGroupSubjectHobbies GroupsGroupSubject = "34"
2013 GroupsGroupSubjectFinance GroupsGroupSubject = "35"
2014 GroupsGroupSubjectPhoto GroupsGroupSubject = "36"
2015 GroupsGroupSubjectEsoterics GroupsGroupSubject = "37"
2016 GroupsGroupSubjectElectronicsAndAppliances GroupsGroupSubject = "38"
2017 GroupsGroupSubjectErotic GroupsGroupSubject = "39"
2018 GroupsGroupSubjectHumor GroupsGroupSubject = "40"
2019 GroupsGroupSubjectSocietyHumanities GroupsGroupSubject = "41"
2020 GroupsGroupSubjectDesignAndGraphics GroupsGroupSubject = "42"
2021)
2022
2023// enum groups_group_topics
2024type GroupsGroupTopics int64
2025
2026const (
2027 GroupsGroupTopicsDisabled GroupsGroupTopics = 0
2028 GroupsGroupTopicsOpen GroupsGroupTopics = 1
2029 GroupsGroupTopicsLimited GroupsGroupTopics = 2
2030)
2031
2032// enum groups_group_type
2033type GroupsGroupType string
2034
2035const (
2036 GroupsGroupTypeGroup GroupsGroupType = "group"
2037 GroupsGroupTypePage GroupsGroupType = "page"
2038 GroupsGroupTypeEvent GroupsGroupType = "event"
2039)
2040
2041// enum groups_group_video
2042type GroupsGroupVideo int64
2043
2044const (
2045 GroupsGroupVideoDisabled GroupsGroupVideo = 0
2046 GroupsGroupVideoOpen GroupsGroupVideo = 1
2047 GroupsGroupVideoLimited GroupsGroupVideo = 2
2048)
2049
2050// enum groups_group_wall
2051type GroupsGroupWall int64
2052
2053const (
2054 GroupsGroupWallDisabled GroupsGroupWall = 0
2055 GroupsGroupWallOpen GroupsGroupWall = 1
2056 GroupsGroupWallLimited GroupsGroupWall = 2
2057 GroupsGroupWallClosed GroupsGroupWall = 3
2058)
2059
2060// enum groups_group_wiki
2061type GroupsGroupWiki int64
2062
2063const (
2064 GroupsGroupWikiDisabled GroupsGroupWiki = 0
2065 GroupsGroupWikiOpen GroupsGroupWiki = 1
2066 GroupsGroupWikiLimited GroupsGroupWiki = 2
2067)
2068
2069type GroupsGroupXtrInvitedBy struct {
2070 AdminLevel GroupsGroupXtrInvitedByAdminLevel `json:"admin_level"`
2071 ID int64 `json:"id"`
2072 InvitedBy int64 `json:"invited_by"`
2073 IsAdmin BaseBoolInt `json:"is_admin"`
2074 IsAdvertiser BaseBoolInt `json:"is_advertiser"`
2075 IsClosed BaseBoolInt `json:"is_closed"`
2076 IsMember BaseBoolInt `json:"is_member"`
2077 Name string `json:"name"`
2078 Photo100 string `json:"photo_100"`
2079 Photo200 string `json:"photo_200"`
2080 Photo50 string `json:"photo_50"`
2081 ScreenName string `json:"screen_name"`
2082 Type GroupsGroupXtrInvitedByType `json:"type"`
2083}
2084
2085// enum groups_group_xtr_invited_by_admin_level
2086type GroupsGroupXtrInvitedByAdminLevel int64
2087
2088const (
2089 GroupsGroupXtrInvitedByAdminLevelModerator GroupsGroupXtrInvitedByAdminLevel = 1
2090 GroupsGroupXtrInvitedByAdminLevelEditor GroupsGroupXtrInvitedByAdminLevel = 2
2091 GroupsGroupXtrInvitedByAdminLevelAdministrator GroupsGroupXtrInvitedByAdminLevel = 3
2092)
2093
2094// enum groups_group_xtr_invited_by_type
2095type GroupsGroupXtrInvitedByType string
2096
2097const (
2098 GroupsGroupXtrInvitedByTypeGroup GroupsGroupXtrInvitedByType = "group"
2099 GroupsGroupXtrInvitedByTypePage GroupsGroupXtrInvitedByType = "page"
2100 GroupsGroupXtrInvitedByTypeEvent GroupsGroupXtrInvitedByType = "event"
2101)
2102
2103type GroupsGroupsArray struct {
2104 Count int64 `json:"count"`
2105 Items []int64 `json:"items"`
2106}
2107
2108type GroupsLinksItem struct {
2109 Desc string `json:"desc"`
2110 EditTitle BaseBoolInt `json:"edit_title"`
2111 ID int64 `json:"id"`
2112 Name string `json:"name"`
2113 Photo100 string `json:"photo_100"`
2114 Photo50 string `json:"photo_50"`
2115 URL string `json:"url"`
2116}
2117
2118type GroupsLiveCovers struct {
2119 IsEnabled bool `json:"is_enabled"`
2120 IsScalable bool `json:"is_scalable"`
2121 StoryIDs []string `json:"story_ids"`
2122}
2123
2124type GroupsLongPollEvents struct {
2125 AudioNew BaseBoolInt `json:"audio_new"`
2126 BoardPostDelete BaseBoolInt `json:"board_post_delete"`
2127 BoardPostEdit BaseBoolInt `json:"board_post_edit"`
2128 BoardPostNew BaseBoolInt `json:"board_post_new"`
2129 BoardPostRestore BaseBoolInt `json:"board_post_restore"`
2130 GroupChangePhoto BaseBoolInt `json:"group_change_photo"`
2131 GroupChangeSettings BaseBoolInt `json:"group_change_settings"`
2132 GroupJoin BaseBoolInt `json:"group_join"`
2133 GroupLeave BaseBoolInt `json:"group_leave"`
2134 GroupOfficersEdit BaseBoolInt `json:"group_officers_edit"`
2135 LeadFormsNew BaseBoolInt `json:"lead_forms_new"`
2136 MarketCommentDelete BaseBoolInt `json:"market_comment_delete"`
2137 MarketCommentEdit BaseBoolInt `json:"market_comment_edit"`
2138 MarketCommentNew BaseBoolInt `json:"market_comment_new"`
2139 MarketCommentRestore BaseBoolInt `json:"market_comment_restore"`
2140 MessageAllow BaseBoolInt `json:"message_allow"`
2141 MessageDeny BaseBoolInt `json:"message_deny"`
2142 MessageNew BaseBoolInt `json:"message_new"`
2143 MessageRead BaseBoolInt `json:"message_read"`
2144 MessageReply BaseBoolInt `json:"message_reply"`
2145 MessageTypingState BaseBoolInt `json:"message_typing_state"`
2146 MessageEdit BaseBoolInt `json:"message_edit"`
2147 PhotoCommentDelete BaseBoolInt `json:"photo_comment_delete"`
2148 PhotoCommentEdit BaseBoolInt `json:"photo_comment_edit"`
2149 PhotoCommentNew BaseBoolInt `json:"photo_comment_new"`
2150 PhotoCommentRestore BaseBoolInt `json:"photo_comment_restore"`
2151 PhotoNew BaseBoolInt `json:"photo_new"`
2152 PollVoteNew BaseBoolInt `json:"poll_vote_new"`
2153 UserBlock BaseBoolInt `json:"user_block"`
2154 UserUnblock BaseBoolInt `json:"user_unblock"`
2155 VideoCommentDelete BaseBoolInt `json:"video_comment_delete"`
2156 VideoCommentEdit BaseBoolInt `json:"video_comment_edit"`
2157 VideoCommentNew BaseBoolInt `json:"video_comment_new"`
2158 VideoCommentRestore BaseBoolInt `json:"video_comment_restore"`
2159 VideoNew BaseBoolInt `json:"video_new"`
2160 WallPostNew BaseBoolInt `json:"wall_post_new"`
2161 WallReplyDelete BaseBoolInt `json:"wall_reply_delete"`
2162 WallReplyEdit BaseBoolInt `json:"wall_reply_edit"`
2163 WallReplyNew BaseBoolInt `json:"wall_reply_new"`
2164 WallReplyRestore BaseBoolInt `json:"wall_reply_restore"`
2165 WallRepost BaseBoolInt `json:"wall_repost"`
2166}
2167
2168type GroupsLongPollServer struct {
2169 Key string `json:"key"`
2170 Server string `json:"server"`
2171 Ts string `json:"ts"`
2172}
2173
2174type GroupsLongPollSettings struct {
2175 ApiVersion string `json:"api_version"`
2176 Events GroupsLongPollEvents `json:"events"`
2177 IsEnabled bool `json:"is_enabled"`
2178}
2179
2180type GroupsMarketInfo struct {
2181 ContactID int64 `json:"contact_id"`
2182 Currency MarketCurrency `json:"currency"`
2183 CurrencyText string `json:"currency_text"`
2184 Enabled BaseBoolInt `json:"enabled"`
2185 MainAlbumID int64 `json:"main_album_id"`
2186 PriceMax string `json:"price_max"`
2187 PriceMin string `json:"price_min"`
2188}
2189
2190type GroupsMemberRole struct {
2191 ID int64 `json:"id"`
2192 Permissions []GroupsMemberRolePermission `json:"permissions"`
2193 Role GroupsMemberRoleStatus `json:"role"`
2194}
2195
2196// enum groups_member_role_permission
2197type GroupsMemberRolePermission string
2198
2199const (
2200 GroupsMemberRolePermissionAds GroupsMemberRolePermission = "ads"
2201)
2202
2203// enum groups_member_role_status
2204type GroupsMemberRoleStatus string
2205
2206const (
2207 GroupsMemberRoleStatusModerator GroupsMemberRoleStatus = "moderator"
2208 GroupsMemberRoleStatusEditor GroupsMemberRoleStatus = "editor"
2209 GroupsMemberRoleStatusAdministrator GroupsMemberRoleStatus = "administrator"
2210 GroupsMemberRoleStatusCreator GroupsMemberRoleStatus = "creator"
2211)
2212
2213type GroupsMemberStatus struct {
2214 Member BaseBoolInt `json:"member"`
2215 UserID int64 `json:"user_id"`
2216}
2217
2218type GroupsMemberStatusFull struct {
2219 CanInvite BaseBoolInt `json:"can_invite"`
2220 CanRecall BaseBoolInt `json:"can_recall"`
2221 Invitation BaseBoolInt `json:"invitation"`
2222 Member BaseBoolInt `json:"member"`
2223 Request BaseBoolInt `json:"request"`
2224 UserID int64 `json:"user_id"`
2225}
2226
2227type GroupsOnlineStatus struct {
2228 Minutes int64 `json:"minutes"`
2229 Status GroupsOnlineStatusType `json:"status"`
2230}
2231
2232// enum groups_online_status_type
2233type GroupsOnlineStatusType string
2234
2235const (
2236 GroupsOnlineStatusTypeNone GroupsOnlineStatusType = "none"
2237 GroupsOnlineStatusTypeOnline GroupsOnlineStatusType = "online"
2238 GroupsOnlineStatusTypeAnswerMark GroupsOnlineStatusType = "answer_mark"
2239)
2240
2241type GroupsOwnerXtrBanInfo struct {
2242 BanInfo GroupsBanInfo `json:"ban_info"`
2243 Group GroupsGroup `json:"group"`
2244 Profile UsersUser `json:"profile"`
2245 Type GroupsOwnerXtrBanInfoType `json:"type"`
2246}
2247
2248// enum groups_owner_xtr_ban_info_type
2249type GroupsOwnerXtrBanInfoType string
2250
2251const (
2252 GroupsOwnerXtrBanInfoTypeGroup GroupsOwnerXtrBanInfoType = "group"
2253 GroupsOwnerXtrBanInfoTypeProfile GroupsOwnerXtrBanInfoType = "profile"
2254)
2255
2256// enum groups_role_options
2257type GroupsRoleOptions string
2258
2259const (
2260 GroupsRoleOptionsModerator GroupsRoleOptions = "moderator"
2261 GroupsRoleOptionsEditor GroupsRoleOptions = "editor"
2262 GroupsRoleOptionsAdministrator GroupsRoleOptions = "administrator"
2263 GroupsRoleOptionsCreator GroupsRoleOptions = "creator"
2264)
2265
2266type GroupsSettingsTwitter struct {
2267 Status string `json:"status"`
2268 Name string `json:"name"`
2269}
2270
2271type GroupsSubjectItem struct {
2272 ID int64 `json:"id"`
2273 Name string `json:"name"`
2274}
2275
2276type GroupsTokenPermissionSetting struct {
2277 Name string `json:"name"`
2278 Setting int64 `json:"setting"`
2279}
2280
2281// allof groups_user_xtr_role
2282type GroupsUserXtrRole struct {
2283 *UsersUserFull `json:"users_user_full"`
2284 Role *GroupsRoleOptions `json:"role"`
2285}
2286
2287type LeadsChecked struct {
2288 Reason string `json:"reason"`
2289 Result LeadsCheckedResult `json:"result"`
2290 Sid string `json:"sid"`
2291 StartLink string `json:"start_link"`
2292}
2293
2294// enum leads_checked_result
2295type LeadsCheckedResult string
2296
2297const (
2298 LeadsCheckedResultTrue LeadsCheckedResult = "true"
2299 LeadsCheckedResultFalse LeadsCheckedResult = "false"
2300)
2301
2302type LeadsComplete struct {
2303 Cost int64 `json:"cost"`
2304 Limit int64 `json:"limit"`
2305 Spent int64 `json:"spent"`
2306 Success int64 `json:"success"`
2307 TestMode BaseBoolInt `json:"test_mode"`
2308}
2309
2310type LeadsEntry struct {
2311 Aid int64 `json:"aid"`
2312 Comment string `json:"comment"`
2313 Date int64 `json:"date"`
2314 Sid string `json:"sid"`
2315 StartDate int64 `json:"start_date"`
2316 Status int64 `json:"status"`
2317 TestMode BaseBoolInt `json:"test_mode"`
2318 Uid int64 `json:"uid"`
2319}
2320
2321type LeadsLead struct {
2322 Completed int64 `json:"completed"`
2323 Cost int64 `json:"cost"`
2324 Days LeadsLeadDays `json:"days"`
2325 Impressions int64 `json:"impressions"`
2326 Limit int64 `json:"limit"`
2327 Spent int64 `json:"spent"`
2328 Started int64 `json:"started"`
2329}
2330
2331type LeadsLeadDays struct {
2332 Completed int64 `json:"completed"`
2333 Impressions int64 `json:"impressions"`
2334 Spent int64 `json:"spent"`
2335 Started int64 `json:"started"`
2336}
2337
2338type LeadsStart struct {
2339 TestMode BaseBoolInt `json:"test_mode"`
2340 VKSid string `json:"vk_sid"`
2341}
2342
2343// enum likes_type
2344type LikesType string
2345
2346const (
2347 LikesTypePost LikesType = "post"
2348 LikesTypeComment LikesType = "comment"
2349 LikesTypePhoto LikesType = "photo"
2350 LikesTypeAudio LikesType = "audio"
2351 LikesTypeVideo LikesType = "video"
2352 LikesTypeNote LikesType = "note"
2353 LikesTypeMarket LikesType = "market"
2354 LikesTypePhotoComment LikesType = "photo_comment"
2355 LikesTypeVideoComment LikesType = "video_comment"
2356 LikesTypeTopicComment LikesType = "topic_comment"
2357 LikesTypeMarketComment LikesType = "market_comment"
2358 LikesTypeSitepage LikesType = "sitepage"
2359)
2360
2361type LinkTargetObject struct {
2362 Type string `json:"type"`
2363 OwnerID int64 `json:"owner_id"`
2364 ItemID int64 `json:"item_id"`
2365}
2366
2367type MarketCurrency struct {
2368 ID int64 `json:"id"`
2369 Name string `json:"name"`
2370}
2371
2372type MarketMarketAlbum struct {
2373 Count int64 `json:"count"`
2374 ID int64 `json:"id"`
2375 OwnerID int64 `json:"owner_id"`
2376 Photo PhotosPhoto `json:"photo"`
2377 Title string `json:"title"`
2378 UpdatedTime int64 `json:"updated_time"`
2379}
2380
2381type MarketMarketCategory struct {
2382 ID int64 `json:"id"`
2383 Name string `json:"name"`
2384 Section MarketSection `json:"section"`
2385}
2386
2387type MarketMarketItem struct {
2388 AccessKey string `json:"access_key"`
2389 Availability MarketMarketItemAvailability `json:"availability"`
2390 ButtonTitle string `json:"button_title"`
2391 Category MarketMarketCategory `json:"category"`
2392 Date int64 `json:"date"`
2393 Description string `json:"description"`
2394 ExternalID string `json:"external_id"`
2395 ID int64 `json:"id"`
2396 IsFavorite bool `json:"is_favorite"`
2397 OwnerID int64 `json:"owner_id"`
2398 Price MarketPrice `json:"price"`
2399 ThumbPhoto string `json:"thumb_photo"`
2400 Title string `json:"title"`
2401 URL string `json:"url"`
2402 VariantsGroupingID int64 `json:"variants_grouping_id"`
2403 IsMainVariant bool `json:"is_main_variant"`
2404}
2405
2406// enum market_market_item_availability
2407type MarketMarketItemAvailability int64
2408
2409const (
2410 MarketMarketItemAvailabilityAvailable MarketMarketItemAvailability = 0
2411 MarketMarketItemAvailabilityRemoved MarketMarketItemAvailability = 1
2412 MarketMarketItemAvailabilityUnavailable MarketMarketItemAvailability = 2
2413)
2414
2415// allof market_market_item_full
2416type MarketMarketItemFull struct {
2417 *MarketMarketItem `json:"market_market_item"`
2418 AlbumsIDs *[]int64 `json:"albums_ids"`
2419 Photos *[]PhotosPhoto `json:"photos"`
2420 CanComment *BaseBoolInt `json:"can_comment"`
2421 CanRepost *BaseBoolInt `json:"can_repost"`
2422 Likes *BaseLikes `json:"likes"`
2423 Reposts *BaseRepostsInfo `json:"reposts"`
2424 ViewsCount *int64 `json:"views_count"`
2425}
2426
2427type MarketPrice struct {
2428 Amount string `json:"amount"`
2429 Currency MarketCurrency `json:"currency"`
2430 DiscountRate int64 `json:"discount_rate"`
2431 OldAmount string `json:"old_amount"`
2432 Text string `json:"text"`
2433}
2434
2435type MarketSection struct {
2436 ID int64 `json:"id"`
2437 Name string `json:"name"`
2438}
2439
2440type MediaRestriction struct {
2441 Text string `json:"text"`
2442 Title string `json:"title"`
2443 Button VideoRestrictionButton `json:"button"`
2444 AlwaysShown BaseBoolInt `json:"always_shown"`
2445 Blur BaseBoolInt `json:"blur"`
2446 CanPlay BaseBoolInt `json:"can_play"`
2447 CanPreview BaseBoolInt `json:"can_preview"`
2448 CardIcon []BaseImage `json:"card_icon"`
2449 ListIcon []BaseImage `json:"list_icon"`
2450}
2451
2452type MessageChatPreview struct {
2453 AdminID int64 `json:"admin_id"`
2454 Joined bool `json:"joined"`
2455 LocalID int64 `json:"local_id"`
2456 Members []int64 `json:"members"`
2457 MembersCount int64 `json:"members_count"`
2458 Title string `json:"title"`
2459}
2460
2461type MessagesAudioMessage struct {
2462 AccessKey string `json:"access_key"`
2463 Duration int64 `json:"duration"`
2464 ID int64 `json:"id"`
2465 LinkMp3 string `json:"link_mp3"`
2466 LinkOgg string `json:"link_ogg"`
2467 OwnerID int64 `json:"owner_id"`
2468 Waveform []int64 `json:"waveform"`
2469}
2470
2471type MessagesChat struct {
2472 AdminID int64 `json:"admin_id"`
2473 ID int64 `json:"id"`
2474 Kicked BaseBoolInt `json:"kicked"`
2475 Left BaseBoolInt `json:"left"`
2476 Photo100 string `json:"photo_100"`
2477 Photo200 string `json:"photo_200"`
2478 Photo50 string `json:"photo_50"`
2479 PushSettings MessagesChatPushSettings `json:"push_settings"`
2480 Title string `json:"title"`
2481 Type string `json:"type"`
2482 Users []int64 `json:"users"`
2483 IsDefaultPhoto bool `json:"is_default_photo"`
2484}
2485
2486type MessagesChatFull struct {
2487 AdminID int64 `json:"admin_id"`
2488 ID int64 `json:"id"`
2489 Kicked BaseBoolInt `json:"kicked"`
2490 Left BaseBoolInt `json:"left"`
2491 Photo100 string `json:"photo_100"`
2492 Photo200 string `json:"photo_200"`
2493 Photo50 string `json:"photo_50"`
2494 PushSettings MessagesChatPushSettings `json:"push_settings"`
2495 Title string `json:"title"`
2496 Type string `json:"type"`
2497 Users []MessagesUserXtrInvitedBy `json:"users"`
2498}
2499
2500type MessagesChatPushSettings struct {
2501 DisabledUntil int64 `json:"disabled_until"`
2502 Sound BaseBoolInt `json:"sound"`
2503}
2504
2505type MessagesChatRestrictions struct {
2506 AdminsPromoteUsers bool `json:"admins_promote_users"`
2507 OnlyAdminsEditInfo bool `json:"only_admins_edit_info"`
2508 OnlyAdminsEditPin bool `json:"only_admins_edit_pin"`
2509 OnlyAdminsInvite bool `json:"only_admins_invite"`
2510 OnlyAdminsKick bool `json:"only_admins_kick"`
2511}
2512
2513type MessagesConversation struct {
2514 Peer MessagesConversationPeer `json:"peer"`
2515 LastMessageID int64 `json:"last_message_id"`
2516 InRead int64 `json:"in_read"`
2517 OutRead int64 `json:"out_read"`
2518 UnreadCount int64 `json:"unread_count"`
2519 IsMarkedUnread bool `json:"is_marked_unread"`
2520 Important bool `json:"important"`
2521 Unanswered bool `json:"unanswered"`
2522 SpecialServiceType string `json:"special_service_type"`
2523 MessageRequestData MessagesMessageRequestData `json:"message_request_data"`
2524 Mentions []int64 `json:"mentions"`
2525 CurrentKeyboard MessagesKeyboard `json:"current_keyboard"`
2526}
2527
2528type MessagesConversationMember struct {
2529 CanKick bool `json:"can_kick"`
2530 InvitedBy int64 `json:"invited_by"`
2531 IsAdmin bool `json:"is_admin"`
2532 IsOwner bool `json:"is_owner"`
2533 IsMessageRequest bool `json:"is_message_request"`
2534 JoinDate int64 `json:"join_date"`
2535 RequestDate int64 `json:"request_date"`
2536 MemberID int64 `json:"member_id"`
2537}
2538
2539type MessagesConversationPeer struct {
2540 ID int64 `json:"id"`
2541 LocalID int64 `json:"local_id"`
2542 Type MessagesConversationPeerType `json:"type"`
2543}
2544
2545// enum messages_conversation_peer_type
2546type MessagesConversationPeerType string
2547
2548const (
2549 MessagesConversationPeerTypeChat MessagesConversationPeerType = "chat"
2550 MessagesConversationPeerTypeEmail MessagesConversationPeerType = "email"
2551 MessagesConversationPeerTypeUser MessagesConversationPeerType = "user"
2552 MessagesConversationPeerTypeGroup MessagesConversationPeerType = "group"
2553)
2554
2555type MessagesConversationWithMessage struct {
2556 Conversation MessagesConversation `json:"conversation"`
2557 LastMessage MessagesMessage `json:"last_message"`
2558}
2559
2560type MessagesForeignMessage struct {
2561 Attachments []MessagesMessageAttachment `json:"attachments"`
2562 ConversationMessageID int64 `json:"conversation_message_id"`
2563 Date int64 `json:"date"`
2564 FromID int64 `json:"from_id"`
2565 FwdMessages []MessagesForeignMessage `json:"fwd_messages"`
2566 Geo BaseGeo `json:"geo"`
2567 ID int64 `json:"id"`
2568 PeerID int64 `json:"peer_id"`
2569 ReplyMessage *MessagesForeignMessage `json:"reply_message"`
2570 Text string `json:"text"`
2571 UpdateTime int64 `json:"update_time"`
2572 WasListened bool `json:"was_listened"`
2573 Payload string `json:"payload"`
2574}
2575
2576type MessagesGraffiti struct {
2577 AccessKey string `json:"access_key"`
2578 Height int64 `json:"height"`
2579 ID int64 `json:"id"`
2580 OwnerID int64 `json:"owner_id"`
2581 URL string `json:"url"`
2582 Width int64 `json:"width"`
2583}
2584
2585type MessagesHistoryAttachment struct {
2586 Attachment MessagesHistoryMessageAttachment `json:"attachment"`
2587 MessageID int64 `json:"message_id"`
2588 FromID int64 `json:"from_id"`
2589}
2590
2591type MessagesHistoryMessageAttachment struct {
2592 Audio AudioAudio `json:"audio"`
2593 AudioMessage MessagesAudioMessage `json:"audio_message"`
2594 Doc DocsDoc `json:"doc"`
2595 Graffiti MessagesGraffiti `json:"graffiti"`
2596 Link BaseLink `json:"link"`
2597 Market BaseLink `json:"market"`
2598 Photo PhotosPhoto `json:"photo"`
2599 Share BaseLink `json:"share"`
2600 Type MessagesHistoryMessageAttachmentType `json:"type"`
2601 Video VideoVideo `json:"video"`
2602 Wall BaseLink `json:"wall"`
2603}
2604
2605// enum messages_history_message_attachment_type
2606type MessagesHistoryMessageAttachmentType string
2607
2608const (
2609 MessagesHistoryMessageAttachmentTypePhoto MessagesHistoryMessageAttachmentType = "photo"
2610 MessagesHistoryMessageAttachmentTypeVideo MessagesHistoryMessageAttachmentType = "video"
2611 MessagesHistoryMessageAttachmentTypeAudio MessagesHistoryMessageAttachmentType = "audio"
2612 MessagesHistoryMessageAttachmentTypeDoc MessagesHistoryMessageAttachmentType = "doc"
2613 MessagesHistoryMessageAttachmentTypeLink MessagesHistoryMessageAttachmentType = "link"
2614 MessagesHistoryMessageAttachmentTypeMarket MessagesHistoryMessageAttachmentType = "market"
2615 MessagesHistoryMessageAttachmentTypeWall MessagesHistoryMessageAttachmentType = "wall"
2616 MessagesHistoryMessageAttachmentTypeShare MessagesHistoryMessageAttachmentType = "share"
2617 MessagesHistoryMessageAttachmentTypeGraffiti MessagesHistoryMessageAttachmentType = "graffiti"
2618 MessagesHistoryMessageAttachmentTypeAudioMessage MessagesHistoryMessageAttachmentType = "audio_message"
2619)
2620
2621type MessagesKeyboard struct {
2622 AuthorID int64 `json:"author_id"`
2623 Buttons [][]MessagesKeyboardButton `json:"buttons"`
2624 OneTime bool `json:"one_time"`
2625 Inline bool `json:"inline"`
2626}
2627
2628type MessagesKeyboardButton struct {
2629 Action MessagesKeyboardButtonAction `json:"action"`
2630 Color string `json:"color"`
2631}
2632
2633type MessagesKeyboardButtonAction struct {
2634 AppID int64 `json:"app_id"`
2635 Hash string `json:"hash"`
2636 Label string `json:"label"`
2637 Link string `json:"link"`
2638 OwnerID int64 `json:"owner_id"`
2639 Payload string `json:"payload"`
2640 Type MessagesTemplateActionTypeNames `json:"type"`
2641}
2642
2643type MessagesLastActivity struct {
2644 Online BaseBoolInt `json:"online"`
2645 Time int64 `json:"time"`
2646}
2647
2648type MessagesLongpollMessages struct {
2649 Count int64 `json:"count"`
2650 Items []MessagesMessage `json:"items"`
2651}
2652
2653type MessagesLongpollParams struct {
2654 Key string `json:"key"`
2655 Pts int64 `json:"pts"`
2656 Server string `json:"server"`
2657 Ts string `json:"ts"`
2658}
2659
2660type MessagesMessage struct {
2661 Action MessagesMessageAction `json:"action"`
2662 AdminAuthorID int64 `json:"admin_author_id"`
2663 Attachments []MessagesMessageAttachment `json:"attachments"`
2664 ConversationMessageID int64 `json:"conversation_message_id"`
2665 Date int64 `json:"date"`
2666 Deleted BaseBoolInt `json:"deleted"`
2667 FromID int64 `json:"from_id"`
2668 FwdMessages []MessagesForeignMessage `json:"fwd_messages"`
2669 Geo BaseGeo `json:"geo"`
2670 ID int64 `json:"id"`
2671 Important bool `json:"important"`
2672 IsHidden bool `json:"is_hidden"`
2673 IsCropped bool `json:"is_cropped"`
2674 Keyboard MessagesKeyboard `json:"keyboard"`
2675 MembersCount int64 `json:"members_count"`
2676 Out BaseBoolInt `json:"out"`
2677 Payload string `json:"payload"`
2678 PeerID int64 `json:"peer_id"`
2679 RandomID int64 `json:"random_id"`
2680 Ref string `json:"ref"`
2681 RefSource string `json:"ref_source"`
2682 ReplyMessage MessagesForeignMessage `json:"reply_message"`
2683 Text string `json:"text"`
2684 UpdateTime int64 `json:"update_time"`
2685 WasListened bool `json:"was_listened"`
2686 PinnedAt int64 `json:"pinned_at"`
2687}
2688
2689type MessagesMessageAction struct {
2690 ConversationMessageID int64 `json:"conversation_message_id"`
2691 Email string `json:"email"`
2692 MemberID int64 `json:"member_id"`
2693 Message string `json:"message"`
2694 Photo MessagesMessageActionPhoto `json:"photo"`
2695 Text string `json:"text"`
2696 Type MessagesMessageActionStatus `json:"type"`
2697}
2698
2699type MessagesMessageActionPhoto struct {
2700 Photo100 string `json:"photo_100"`
2701 Photo200 string `json:"photo_200"`
2702 Photo50 string `json:"photo_50"`
2703}
2704
2705// enum messages_message_action_status
2706type MessagesMessageActionStatus string
2707
2708const (
2709 MessagesMessageActionStatusChatPhotoUpdate MessagesMessageActionStatus = "chat_photo_update"
2710 MessagesMessageActionStatusChatPhotoRemove MessagesMessageActionStatus = "chat_photo_remove"
2711 MessagesMessageActionStatusChatCreate MessagesMessageActionStatus = "chat_create"
2712 MessagesMessageActionStatusChatTitleUpdate MessagesMessageActionStatus = "chat_title_update"
2713 MessagesMessageActionStatusChatInviteUser MessagesMessageActionStatus = "chat_invite_user"
2714 MessagesMessageActionStatusChatKickUser MessagesMessageActionStatus = "chat_kick_user"
2715 MessagesMessageActionStatusChatPinMessage MessagesMessageActionStatus = "chat_pin_message"
2716 MessagesMessageActionStatusChatUnpinMessage MessagesMessageActionStatus = "chat_unpin_message"
2717 MessagesMessageActionStatusChatInviteUserByLink MessagesMessageActionStatus = "chat_invite_user_by_link"
2718)
2719
2720type MessagesMessageAttachment struct {
2721 Audio AudioAudio `json:"audio"`
2722 AudioMessage MessagesAudioMessage `json:"audio_message"`
2723 Doc DocsDoc `json:"doc"`
2724 Gift GiftsLayout `json:"gift"`
2725 Graffiti MessagesGraffiti `json:"graffiti"`
2726 Link BaseLink `json:"link"`
2727 Market MarketMarketItem `json:"market"`
2728 MarketMarketAlbum MarketMarketAlbum `json:"market_market_album"`
2729 Photo PhotosPhoto `json:"photo"`
2730 Sticker BaseSticker `json:"sticker"`
2731 Story StoriesStory `json:"story"`
2732 Type MessagesMessageAttachmentType `json:"type"`
2733 Video VideoVideo `json:"video"`
2734 Wall WallWallpostFull `json:"wall"`
2735 WallReply WallWallComment `json:"wall_reply"`
2736}
2737
2738// enum messages_message_attachment_type
2739type MessagesMessageAttachmentType string
2740
2741const (
2742 MessagesMessageAttachmentTypePhoto MessagesMessageAttachmentType = "photo"
2743 MessagesMessageAttachmentTypeAudio MessagesMessageAttachmentType = "audio"
2744 MessagesMessageAttachmentTypeVideo MessagesMessageAttachmentType = "video"
2745 MessagesMessageAttachmentTypeDoc MessagesMessageAttachmentType = "doc"
2746 MessagesMessageAttachmentTypeLink MessagesMessageAttachmentType = "link"
2747 MessagesMessageAttachmentTypeMarket MessagesMessageAttachmentType = "market"
2748 MessagesMessageAttachmentTypeMarketAlbum MessagesMessageAttachmentType = "market_album"
2749 MessagesMessageAttachmentTypeGift MessagesMessageAttachmentType = "gift"
2750 MessagesMessageAttachmentTypeSticker MessagesMessageAttachmentType = "sticker"
2751 MessagesMessageAttachmentTypeWall MessagesMessageAttachmentType = "wall"
2752 MessagesMessageAttachmentTypeWallReply MessagesMessageAttachmentType = "wall_reply"
2753 MessagesMessageAttachmentTypeArticle MessagesMessageAttachmentType = "article"
2754 MessagesMessageAttachmentTypeGraffiti MessagesMessageAttachmentType = "graffiti"
2755 MessagesMessageAttachmentTypeAudioMessage MessagesMessageAttachmentType = "audio_message"
2756)
2757
2758type MessagesMessageRequestData struct {
2759 Status string `json:"status"`
2760 InviterID int64 `json:"inviter_id"`
2761 RequestDate int64 `json:"request_date"`
2762}
2763
2764type MessagesPinnedMessage struct {
2765 Attachments []MessagesMessageAttachment `json:"attachments"`
2766 ConversationMessageID int64 `json:"conversation_message_id"`
2767 Date int64 `json:"date"`
2768 FromID int64 `json:"from_id"`
2769 FwdMessages []MessagesForeignMessage `json:"fwd_messages"`
2770 Geo BaseGeo `json:"geo"`
2771 ID int64 `json:"id"`
2772 PeerID int64 `json:"peer_id"`
2773 ReplyMessage MessagesForeignMessage `json:"reply_message"`
2774 Text string `json:"text"`
2775 Keyboard MessagesKeyboard `json:"keyboard"`
2776}
2777
2778// enum messages_template_action_type_names
2779type MessagesTemplateActionTypeNames string
2780
2781const (
2782 MessagesTemplateActionTypeNamesText MessagesTemplateActionTypeNames = "text"
2783 MessagesTemplateActionTypeNamesStart MessagesTemplateActionTypeNames = "start"
2784 MessagesTemplateActionTypeNamesLocation MessagesTemplateActionTypeNames = "location"
2785 MessagesTemplateActionTypeNamesVKpay MessagesTemplateActionTypeNames = "vkpay"
2786 MessagesTemplateActionTypeNamesOpenApp MessagesTemplateActionTypeNames = "open_app"
2787 MessagesTemplateActionTypeNamesOpenPhoto MessagesTemplateActionTypeNames = "open_photo"
2788 MessagesTemplateActionTypeNamesOpenLink MessagesTemplateActionTypeNames = "open_link"
2789)
2790
2791// allof messages_user_xtr_invited_by
2792type MessagesUserXtrInvitedBy struct {
2793 *UsersUserXtrType `json:"users_user_xtr_type"`
2794 InvitedBy *int64 `json:"invited_by"`
2795}
2796
2797// enum newsfeed_comments_filters
2798type NewsfeedCommentsFilters string
2799
2800const (
2801 NewsfeedCommentsFiltersPost NewsfeedCommentsFilters = "post"
2802 NewsfeedCommentsFiltersPhoto NewsfeedCommentsFilters = "photo"
2803 NewsfeedCommentsFiltersVideo NewsfeedCommentsFilters = "video"
2804 NewsfeedCommentsFiltersTopic NewsfeedCommentsFilters = "topic"
2805 NewsfeedCommentsFiltersNote NewsfeedCommentsFilters = "note"
2806)
2807
2808type NewsfeedEventActivity struct {
2809 Address string `json:"address"`
2810 ButtonText string `json:"button_text"`
2811 Friends []int64 `json:"friends"`
2812 MemberStatus GroupsGroupFullMemberStatus `json:"member_status"`
2813 Text string `json:"text"`
2814 Time int64 `json:"time"`
2815}
2816
2817// enum newsfeed_filters
2818type NewsfeedFilters string
2819
2820const (
2821 NewsfeedFiltersPost NewsfeedFilters = "post"
2822 NewsfeedFiltersPhoto NewsfeedFilters = "photo"
2823 NewsfeedFiltersPhotoTag NewsfeedFilters = "photo_tag"
2824 NewsfeedFiltersWallPhoto NewsfeedFilters = "wall_photo"
2825 NewsfeedFiltersFriend NewsfeedFilters = "friend"
2826 NewsfeedFiltersRecommendedGroups NewsfeedFilters = "recommended_groups"
2827 NewsfeedFiltersNote NewsfeedFilters = "note"
2828 NewsfeedFiltersAudio NewsfeedFilters = "audio"
2829 NewsfeedFiltersVideo NewsfeedFilters = "video"
2830 NewsfeedFiltersAudioPlaylist NewsfeedFilters = "audio_playlist"
2831 NewsfeedFiltersClip NewsfeedFilters = "clip"
2832)
2833
2834// enum newsfeed_ignore_item_type
2835type NewsfeedIgnoreItemType string
2836
2837const (
2838 NewsfeedIgnoreItemTypePostOnTheWall NewsfeedIgnoreItemType = "wall"
2839 NewsfeedIgnoreItemTypeTagOnAPhoto NewsfeedIgnoreItemType = "tag"
2840 NewsfeedIgnoreItemTypeProfilePhoto NewsfeedIgnoreItemType = "profilephoto"
2841 NewsfeedIgnoreItemTypeVideo NewsfeedIgnoreItemType = "video"
2842 NewsfeedIgnoreItemTypePhoto NewsfeedIgnoreItemType = "photo"
2843 NewsfeedIgnoreItemTypeAudio NewsfeedIgnoreItemType = "audio"
2844)
2845
2846// allof newsfeed_item_audio
2847type NewsfeedItemAudio struct {
2848 *NewsfeedItemBase `json:"newsfeed_item_base"`
2849 Audio *NewsfeedItemAudioAudio `json:"audio"`
2850 PostID *int64 `json:"post_id"`
2851}
2852
2853type NewsfeedItemAudioAudio struct {
2854 Count int64 `json:"count"`
2855 Items []AudioAudio `json:"items"`
2856}
2857
2858type NewsfeedItemBase struct {
2859 Type NewsfeedNewsfeedItemType `json:"type"`
2860 SourceID int64 `json:"source_id"`
2861 Date int64 `json:"date"`
2862}
2863
2864// allof newsfeed_item_digest
2865type NewsfeedItemDigest struct {
2866 *NewsfeedItemBase `json:"newsfeed_item_base"`
2867 ButtonText *string `json:"button_text"`
2868 FeedID *string `json:"feed_id"`
2869 Items *[]WallWallpost `json:"items"`
2870 MainPostIDs *[]string `json:"main_post_ids"`
2871 Template *string `json:"template"`
2872 Title *string `json:"title"`
2873 TrackCode *string `json:"track_code"`
2874}
2875
2876// allof newsfeed_item_friend
2877type NewsfeedItemFriend struct {
2878 *NewsfeedItemBase `json:"newsfeed_item_base"`
2879 Friends *NewsfeedItemFriendFriends `json:"friends"`
2880}
2881
2882type NewsfeedItemFriendFriends struct {
2883 Count int64 `json:"count"`
2884 Items []BaseUserID `json:"items"`
2885}
2886
2887type NewsfeedItemHolidayRecommendationsBlockHeader struct {
2888 Title string `json:"title"`
2889 Subtitle string `json:"subtitle"`
2890 Image []BaseImage `json:"image"`
2891 Action BaseLinkButtonAction `json:"action"`
2892}
2893
2894// allof newsfeed_item_note
2895type NewsfeedItemNote struct {
2896 *NewsfeedItemBase `json:"newsfeed_item_base"`
2897 Notes *NewsfeedItemNoteNotes `json:"notes"`
2898}
2899
2900type NewsfeedItemNoteNotes struct {
2901 Count int64 `json:"count"`
2902 Items []NewsfeedNewsfeedNote `json:"items"`
2903}
2904
2905// allof newsfeed_item_photo
2906type NewsfeedItemPhoto struct {
2907 *WallCarouselBase `json:"wall_carousel_base"`
2908 *NewsfeedItemBase `json:"newsfeed_item_base"`
2909 Photos *NewsfeedItemPhotoPhotos `json:"photos"`
2910 PostID *int64 `json:"post_id"`
2911}
2912
2913type NewsfeedItemPhotoPhotos struct {
2914 Count int64 `json:"count"`
2915 Items []NewsfeedNewsfeedPhoto `json:"items"`
2916}
2917
2918// allof newsfeed_item_photo_tag
2919type NewsfeedItemPhotoTag struct {
2920 *WallCarouselBase `json:"wall_carousel_base"`
2921 *NewsfeedItemBase `json:"newsfeed_item_base"`
2922 PhotoTags *NewsfeedItemPhotoTagPhotoTags `json:"photo_tags"`
2923 PostID *int64 `json:"post_id"`
2924}
2925
2926type NewsfeedItemPhotoTagPhotoTags struct {
2927 Count int64 `json:"count"`
2928 Items []NewsfeedNewsfeedPhoto `json:"items"`
2929}
2930
2931// allof newsfeed_item_promo_button
2932type NewsfeedItemPromoButton struct {
2933 *NewsfeedItemBase `json:"newsfeed_item_base"`
2934 Text *string `json:"text"`
2935 Title *string `json:"title"`
2936 Action *NewsfeedItemPromoButtonAction `json:"action"`
2937 Images *[]NewsfeedItemPromoButtonImage `json:"images"`
2938 TrackCode *string `json:"track_code"`
2939}
2940
2941type NewsfeedItemPromoButtonAction struct {
2942 URL string `json:"url"`
2943 Type string `json:"type"`
2944 Target string `json:"target"`
2945}
2946
2947type NewsfeedItemPromoButtonImage struct {
2948 Width int64 `json:"width"`
2949 Height int64 `json:"height"`
2950 URL string `json:"url"`
2951}
2952
2953// allof newsfeed_item_topic
2954type NewsfeedItemTopic struct {
2955 *NewsfeedItemBase `json:"newsfeed_item_base"`
2956 Comments *BaseCommentsInfo `json:"comments"`
2957 Likes *BaseLikesInfo `json:"likes"`
2958 PostID *int64 `json:"post_id"`
2959 Text *string `json:"text"`
2960}
2961
2962// allof newsfeed_item_video
2963type NewsfeedItemVideo struct {
2964 *WallCarouselBase `json:"wall_carousel_base"`
2965 *NewsfeedItemBase `json:"newsfeed_item_base"`
2966 Video *NewsfeedItemVideoVideo `json:"video"`
2967}
2968
2969type NewsfeedItemVideoVideo struct {
2970 Count int64 `json:"count"`
2971 Items []VideoVideo `json:"items"`
2972}
2973
2974// allof newsfeed_item_wallpost
2975type NewsfeedItemWallpost struct {
2976 *WallCarouselBase `json:"wall_carousel_base"`
2977 *NewsfeedItemBase `json:"newsfeed_item_base"`
2978 Activity *NewsfeedEventActivity `json:"activity"`
2979 Attachments *[]WallWallpostAttachment `json:"attachments"`
2980 Comments *BaseCommentsInfo `json:"comments"`
2981 CopyHistory *[]WallWallpost `json:"copy_history"`
2982 Feedback *NewsfeedItemWallpostFeedback `json:"feedback"`
2983 Geo *BaseGeo `json:"geo"`
2984 IsFavorite *bool `json:"is_favorite"`
2985 Likes *BaseLikesInfo `json:"likes"`
2986 MarkedAsAds *BaseBoolInt `json:"marked_as_ads"`
2987 PostID *int64 `json:"post_id"`
2988 PostSource *WallPostSource `json:"post_source"`
2989 PostType *NewsfeedItemWallpostType `json:"post_type"`
2990 Reposts *BaseRepostsInfo `json:"reposts"`
2991 SignerID *int64 `json:"signer_id"`
2992 Text *string `json:"text"`
2993 Views *WallViews `json:"views"`
2994 ShortTextRate *int64 `json:"short_text_rate"`
2995}
2996
2997type NewsfeedItemWallpostFeedback struct {
2998 Type NewsfeedItemWallpostFeedbackType `json:"type"`
2999 Question string `json:"question"`
3000 Answers []NewsfeedItemWallpostFeedbackAnswer `json:"answers"`
3001 StarsCount int64 `json:"stars_count"`
3002 Gratitude string `json:"gratitude"`
3003}
3004
3005type NewsfeedItemWallpostFeedbackAnswer struct {
3006 Title string `json:"title"`
3007 ID string `json:"id"`
3008}
3009
3010// enum newsfeed_item_wallpost_feedback_type
3011type NewsfeedItemWallpostFeedbackType string
3012
3013const (
3014 NewsfeedItemWallpostFeedbackTypeButtons NewsfeedItemWallpostFeedbackType = "buttons"
3015 NewsfeedItemWallpostFeedbackTypeStars NewsfeedItemWallpostFeedbackType = "stars"
3016)
3017
3018// enum newsfeed_item_wallpost_type
3019type NewsfeedItemWallpostType string
3020
3021const (
3022 NewsfeedItemWallpostTypePost NewsfeedItemWallpostType = "post"
3023 NewsfeedItemWallpostTypeCopy NewsfeedItemWallpostType = "copy"
3024 NewsfeedItemWallpostTypeReply NewsfeedItemWallpostType = "reply"
3025)
3026
3027type NewsfeedList struct {
3028 ID int64 `json:"id"`
3029 Title string `json:"title"`
3030}
3031
3032// allof newsfeed_list_full
3033type NewsfeedListFull struct {
3034 *NewsfeedList `json:"newsfeed_list"`
3035 NoReposts *BaseBoolInt `json:"no_reposts"`
3036 SourceIDs *[]int64 `json:"source_ids"`
3037}
3038
3039// oneof newsfeed_newsfeed_item
3040type NewsfeedNewsfeedItem struct {
3041 *NewsfeedItemWallpost `json:"newsfeed_item_wallpost"`
3042 *NewsfeedItemPhoto `json:"newsfeed_item_photo"`
3043 *NewsfeedItemPhotoTag `json:"newsfeed_item_photo_tag"`
3044 *NewsfeedItemFriend `json:"newsfeed_item_friend"`
3045 *NewsfeedItemNote `json:"newsfeed_item_note"`
3046 *NewsfeedItemAudio `json:"newsfeed_item_audio"`
3047 *NewsfeedItemVideo `json:"newsfeed_item_video"`
3048 *NewsfeedItemTopic `json:"newsfeed_item_topic"`
3049 *NewsfeedItemDigest `json:"newsfeed_item_digest"`
3050 *NewsfeedItemPromoButton `json:"newsfeed_item_promo_button"`
3051}
3052
3053// enum newsfeed_newsfeed_item_type
3054type NewsfeedNewsfeedItemType string
3055
3056const (
3057 NewsfeedNewsfeedItemTypePost NewsfeedNewsfeedItemType = "post"
3058 NewsfeedNewsfeedItemTypePhoto NewsfeedNewsfeedItemType = "photo"
3059 NewsfeedNewsfeedItemTypePhotoTag NewsfeedNewsfeedItemType = "photo_tag"
3060 NewsfeedNewsfeedItemTypeWallPhoto NewsfeedNewsfeedItemType = "wall_photo"
3061 NewsfeedNewsfeedItemTypeFriend NewsfeedNewsfeedItemType = "friend"
3062 NewsfeedNewsfeedItemTypeNote NewsfeedNewsfeedItemType = "note"
3063 NewsfeedNewsfeedItemTypeAudio NewsfeedNewsfeedItemType = "audio"
3064 NewsfeedNewsfeedItemTypeVideo NewsfeedNewsfeedItemType = "video"
3065 NewsfeedNewsfeedItemTypeTopic NewsfeedNewsfeedItemType = "topic"
3066 NewsfeedNewsfeedItemTypeDigest NewsfeedNewsfeedItemType = "digest"
3067 NewsfeedNewsfeedItemTypeStories NewsfeedNewsfeedItemType = "stories"
3068 NewsfeedNewsfeedItemTypeTagsSuggestions NewsfeedNewsfeedItemType = "tags_suggestions"
3069)
3070
3071type NewsfeedNewsfeedNote struct {
3072 Comments int64 `json:"comments"`
3073 ID int64 `json:"id"`
3074 OwnerID int64 `json:"owner_id"`
3075 Title string `json:"title"`
3076}
3077
3078// allof newsfeed_newsfeed_photo
3079type NewsfeedNewsfeedPhoto struct {
3080 *PhotosPhoto `json:"photos_photo"`
3081 Likes *BaseLikes `json:"likes"`
3082 Comments *BaseObjectCount `json:"comments"`
3083 CanRepost *BaseBoolInt `json:"can_repost"`
3084}
3085
3086type NotesNote struct {
3087 ReadComments int64 `json:"read_comments"`
3088 CanComment BaseBoolInt `json:"can_comment"`
3089 Comments int64 `json:"comments"`
3090 Date int64 `json:"date"`
3091 ID int64 `json:"id"`
3092 OwnerID int64 `json:"owner_id"`
3093 Text string `json:"text"`
3094 TextWiki string `json:"text_wiki"`
3095 Title string `json:"title"`
3096 ViewURL string `json:"view_url"`
3097}
3098
3099type NotesNoteComment struct {
3100 Date int64 `json:"date"`
3101 ID int64 `json:"id"`
3102 Message string `json:"message"`
3103 Nid int64 `json:"nid"`
3104 Oid int64 `json:"oid"`
3105 ReplyTo int64 `json:"reply_to"`
3106 Uid int64 `json:"uid"`
3107}
3108
3109type NotificationsFeedback struct {
3110 Attachments []WallWallpostAttachment `json:"attachments"`
3111 FromID int64 `json:"from_id"`
3112 Geo BaseGeo `json:"geo"`
3113 ID int64 `json:"id"`
3114 Likes BaseLikesInfo `json:"likes"`
3115 Text string `json:"text"`
3116 ToID int64 `json:"to_id"`
3117}
3118
3119type NotificationsNotification struct {
3120 Date int64 `json:"date"`
3121 Feedback NotificationsFeedback `json:"feedback"`
3122 Parent NotificationsNotificationParent `json:"parent"`
3123 Reply NotificationsReply `json:"reply"`
3124 Type string `json:"type"`
3125}
3126
3127// enum notifications_notification_item
3128type NotificationsNotificationItem interface{}
3129
3130// allof notifications_notification_parent
3131type NotificationsNotificationParent struct {
3132 *WallWallpostToID `json:"wall_wallpost_to_id"`
3133 *PhotosPhoto `json:"photos_photo"`
3134 *BoardTopic `json:"board_topic"`
3135 *VideoVideo `json:"video_video"`
3136 *NotificationsNotificationsComment `json:"notifications_notifications_comment"`
3137}
3138
3139type NotificationsNotificationsComment struct {
3140 Date int64 `json:"date"`
3141 ID int64 `json:"id"`
3142 OwnerID int64 `json:"owner_id"`
3143 Photo PhotosPhoto `json:"photo"`
3144 Post WallWallpost `json:"post"`
3145 Text string `json:"text"`
3146 Topic BoardTopic `json:"topic"`
3147 Video VideoVideo `json:"video"`
3148}
3149
3150type NotificationsReply struct {
3151 Date int64 `json:"date"`
3152 ID int64 `json:"id"`
3153 Text int64 `json:"text"`
3154}
3155
3156type NotificationsSendMessageError struct {
3157 Code int64 `json:"code"`
3158 Description string `json:"description"`
3159}
3160
3161type NotificationsSendMessageItem struct {
3162 UserID int64 `json:"user_id"`
3163 Status bool `json:"status"`
3164 Error NotificationsSendMessageError `json:"error"`
3165}
3166
3167type OauthError struct {
3168 Error string `json:"error"`
3169 ErrorDescription string `json:"error_description"`
3170 RedirectUri string `json:"redirect_uri"`
3171}
3172
3173type OrdersAmount struct {
3174 Amounts []OrdersAmountItem `json:"amounts"`
3175 Currency string `json:"currency"`
3176}
3177
3178type OrdersAmountItem struct {
3179 Amount int64 `json:"amount"`
3180 Description string `json:"description"`
3181 Votes string `json:"votes"`
3182}
3183
3184type OrdersOrder struct {
3185 Amount int64 `json:"amount"`
3186 AppOrderID int64 `json:"app_order_id"`
3187 CancelTransactionID int64 `json:"cancel_transaction_id"`
3188 Date int64 `json:"date"`
3189 ID int64 `json:"id"`
3190 Item string `json:"item"`
3191 ReceiverID int64 `json:"receiver_id"`
3192 Status string `json:"status"`
3193 TransactionID int64 `json:"transaction_id"`
3194 UserID int64 `json:"user_id"`
3195}
3196
3197type OrdersSubscription struct {
3198 CancelReason string `json:"cancel_reason"`
3199 CreateTime int64 `json:"create_time"`
3200 ID int64 `json:"id"`
3201 ItemID string `json:"item_id"`
3202 NextBillTime int64 `json:"next_bill_time"`
3203 PendingCancel bool `json:"pending_cancel"`
3204 Period int64 `json:"period"`
3205 PeriodStartTime int64 `json:"period_start_time"`
3206 Price int64 `json:"price"`
3207 Status string `json:"status"`
3208 TestMode bool `json:"test_mode"`
3209 TrialExpireTime int64 `json:"trial_expire_time"`
3210 UpdateTime int64 `json:"update_time"`
3211}
3212
3213type OwnerState struct {
3214 State int64 `json:"state"`
3215 Description string `json:"description"`
3216}
3217
3218// enum pages_privacy_settings
3219type PagesPrivacySettings int64
3220
3221const (
3222 PagesPrivacySettingsCommunityManagersOnly PagesPrivacySettings = 0
3223 PagesPrivacySettingsCommunityMembersOnly PagesPrivacySettings = 1
3224 PagesPrivacySettingsEveryone PagesPrivacySettings = 2
3225)
3226
3227type PagesWikipage struct {
3228 CreatorID int64 `json:"creator_id"`
3229 CreatorName int64 `json:"creator_name"`
3230 EditorID int64 `json:"editor_id"`
3231 EditorName string `json:"editor_name"`
3232 GroupID int64 `json:"group_id"`
3233 ID int64 `json:"id"`
3234 Title string `json:"title"`
3235 Views int64 `json:"views"`
3236 WhoCanEdit PagesPrivacySettings `json:"who_can_edit"`
3237 WhoCanView PagesPrivacySettings `json:"who_can_view"`
3238}
3239
3240type PagesWikipageFull struct {
3241 Created int64 `json:"created"`
3242 CreatorID int64 `json:"creator_id"`
3243 CurrentUserCanEdit BaseBoolInt `json:"current_user_can_edit"`
3244 CurrentUserCanEditAccess BaseBoolInt `json:"current_user_can_edit_access"`
3245 Edited int64 `json:"edited"`
3246 EditorID int64 `json:"editor_id"`
3247 GroupID int64 `json:"group_id"`
3248 Html string `json:"html"`
3249 ID int64 `json:"id"`
3250 Source string `json:"source"`
3251 Title string `json:"title"`
3252 ViewURL string `json:"view_url"`
3253 Views int64 `json:"views"`
3254 WhoCanEdit PagesPrivacySettings `json:"who_can_edit"`
3255 WhoCanView PagesPrivacySettings `json:"who_can_view"`
3256}
3257
3258type PagesWikipageHistory struct {
3259 ID int64 `json:"id"`
3260 Length int64 `json:"length"`
3261 Date int64 `json:"date"`
3262 EditorID int64 `json:"editor_id"`
3263 EditorName string `json:"editor_name"`
3264}
3265
3266type PhotosCommentXtrPid struct {
3267 Attachments []WallCommentAttachment `json:"attachments"`
3268 Date int64 `json:"date"`
3269 FromID int64 `json:"from_id"`
3270 ID int64 `json:"id"`
3271 Likes BaseLikesInfo `json:"likes"`
3272 Pid int64 `json:"pid"`
3273 ReplyToComment int64 `json:"reply_to_comment"`
3274 ReplyToUser int64 `json:"reply_to_user"`
3275 Text string `json:"text"`
3276 ParentsStack []int64 `json:"parents_stack"`
3277 Thread CommentThread `json:"thread"`
3278}
3279
3280type PhotosImage struct {
3281 Height int64 `json:"height"`
3282 Type PhotosImageType `json:"type"`
3283 URL string `json:"url"`
3284 Width int64 `json:"width"`
3285}
3286
3287// enum photos_image_type
3288type PhotosImageType string
3289
3290const (
3291 PhotosImageTypeS PhotosImageType = "s"
3292 PhotosImageTypeM PhotosImageType = "m"
3293 PhotosImageTypeX PhotosImageType = "x"
3294 PhotosImageTypeL PhotosImageType = "l"
3295 PhotosImageTypeO PhotosImageType = "o"
3296 PhotosImageTypeP PhotosImageType = "p"
3297 PhotosImageTypeQ PhotosImageType = "q"
3298 PhotosImageTypeR PhotosImageType = "r"
3299 PhotosImageTypeY PhotosImageType = "y"
3300 PhotosImageTypeZ PhotosImageType = "z"
3301 PhotosImageTypeW PhotosImageType = "w"
3302)
3303
3304type PhotosMarketAlbumUploadResponse struct {
3305 Gid int64 `json:"gid"`
3306 Hash string `json:"hash"`
3307 Photo string `json:"photo"`
3308 Server int64 `json:"server"`
3309}
3310
3311type PhotosMarketUploadResponse struct {
3312 CropData string `json:"crop_data"`
3313 CropHash string `json:"crop_hash"`
3314 GroupID int64 `json:"group_id"`
3315 Hash string `json:"hash"`
3316 Photo string `json:"photo"`
3317 Server int64 `json:"server"`
3318}
3319
3320type PhotosMessageUploadResponse struct {
3321 Hash string `json:"hash"`
3322 Photo string `json:"photo"`
3323 Server int64 `json:"server"`
3324}
3325
3326type PhotosOwnerUploadResponse struct {
3327 Hash string `json:"hash"`
3328 Photo string `json:"photo"`
3329 Server int64 `json:"server"`
3330}
3331
3332type PhotosPhoto struct {
3333 AccessKey string `json:"access_key"`
3334 AlbumID int64 `json:"album_id"`
3335 Date int64 `json:"date"`
3336 Height int64 `json:"height"`
3337 ID int64 `json:"id"`
3338 Images []PhotosImage `json:"images"`
3339 Lat int64 `json:"lat"`
3340 Long int64 `json:"long"`
3341 OwnerID int64 `json:"owner_id"`
3342 Photo256 string `json:"photo_256"`
3343 CanComment BaseBoolInt `json:"can_comment"`
3344 Place string `json:"place"`
3345 PostID int64 `json:"post_id"`
3346 Sizes []PhotosPhotoSizes `json:"sizes"`
3347 Text string `json:"text"`
3348 UserID int64 `json:"user_id"`
3349 Width int64 `json:"width"`
3350 HasTags bool `json:"has_tags"`
3351 Restrictions MediaRestriction `json:"restrictions"`
3352}
3353
3354type PhotosPhotoAlbum struct {
3355 Created int64 `json:"created"`
3356 Description string `json:"description"`
3357 ID int64 `json:"id"`
3358 OwnerID int64 `json:"owner_id"`
3359 Size int64 `json:"size"`
3360 Thumb PhotosPhoto `json:"thumb"`
3361 Title string `json:"title"`
3362 Updated int64 `json:"updated"`
3363}
3364
3365type PhotosPhotoAlbumFull struct {
3366 CanUpload BaseBoolInt `json:"can_upload"`
3367 CommentsDisabled BaseBoolInt `json:"comments_disabled"`
3368 Created int64 `json:"created"`
3369 Description string `json:"description"`
3370 ID int64 `json:"id"`
3371 OwnerID int64 `json:"owner_id"`
3372 Size int64 `json:"size"`
3373 Sizes []PhotosPhotoSizes `json:"sizes"`
3374 ThumbID int64 `json:"thumb_id"`
3375 ThumbIsLast BaseBoolInt `json:"thumb_is_last"`
3376 ThumbSrc string `json:"thumb_src"`
3377 Title string `json:"title"`
3378 Updated int64 `json:"updated"`
3379 UploadByAdminsOnly BaseBoolInt `json:"upload_by_admins_only"`
3380}
3381
3382type PhotosPhotoFull struct {
3383 AccessKey string `json:"access_key"`
3384 AlbumID int64 `json:"album_id"`
3385 CanComment BaseBoolInt `json:"can_comment"`
3386 Comments BaseObjectCount `json:"comments"`
3387 Date int64 `json:"date"`
3388 Height int64 `json:"height"`
3389 ID int64 `json:"id"`
3390 Images []PhotosImage `json:"images"`
3391 Lat int64 `json:"lat"`
3392 Likes BaseLikes `json:"likes"`
3393 Long int64 `json:"long"`
3394 OwnerID int64 `json:"owner_id"`
3395 PostID int64 `json:"post_id"`
3396 Reposts BaseObjectCount `json:"reposts"`
3397 Tags BaseObjectCount `json:"tags"`
3398 Text string `json:"text"`
3399 UserID int64 `json:"user_id"`
3400 Width int64 `json:"width"`
3401}
3402
3403type PhotosPhotoFullXtrRealOffset struct {
3404 AccessKey string `json:"access_key"`
3405 AlbumID int64 `json:"album_id"`
3406 CanComment BaseBoolInt `json:"can_comment"`
3407 Comments BaseObjectCount `json:"comments"`
3408 Date int64 `json:"date"`
3409 Height int64 `json:"height"`
3410 Hidden BasePropertyExists `json:"hidden"`
3411 ID int64 `json:"id"`
3412 Lat int64 `json:"lat"`
3413 Likes BaseLikes `json:"likes"`
3414 Long int64 `json:"long"`
3415 OwnerID int64 `json:"owner_id"`
3416 Photo1280 string `json:"photo_1280"`
3417 Photo130 string `json:"photo_130"`
3418 Photo2560 string `json:"photo_2560"`
3419 Photo604 string `json:"photo_604"`
3420 Photo75 string `json:"photo_75"`
3421 Photo807 string `json:"photo_807"`
3422 PostID int64 `json:"post_id"`
3423 RealOffset int64 `json:"real_offset"`
3424 Reposts BaseObjectCount `json:"reposts"`
3425 Sizes []PhotosPhotoSizes `json:"sizes"`
3426 Tags BaseObjectCount `json:"tags"`
3427 Text string `json:"text"`
3428 UserID int64 `json:"user_id"`
3429 Width int64 `json:"width"`
3430}
3431
3432type PhotosPhotoSizes struct {
3433 Height int64 `json:"height"`
3434 URL string `json:"url"`
3435 Src string `json:"src"`
3436 Type PhotosPhotoSizesType `json:"type"`
3437 Width int64 `json:"width"`
3438}
3439
3440// enum photos_photo_sizes_type
3441type PhotosPhotoSizesType string
3442
3443const (
3444 PhotosPhotoSizesTypeS PhotosPhotoSizesType = "s"
3445 PhotosPhotoSizesTypeM PhotosPhotoSizesType = "m"
3446 PhotosPhotoSizesTypeX PhotosPhotoSizesType = "x"
3447 PhotosPhotoSizesTypeO PhotosPhotoSizesType = "o"
3448 PhotosPhotoSizesTypeP PhotosPhotoSizesType = "p"
3449 PhotosPhotoSizesTypeQ PhotosPhotoSizesType = "q"
3450 PhotosPhotoSizesTypeR PhotosPhotoSizesType = "r"
3451 PhotosPhotoSizesTypeK PhotosPhotoSizesType = "k"
3452 PhotosPhotoSizesTypeL PhotosPhotoSizesType = "l"
3453 PhotosPhotoSizesTypeY PhotosPhotoSizesType = "y"
3454 PhotosPhotoSizesTypeZ PhotosPhotoSizesType = "z"
3455 PhotosPhotoSizesTypeC PhotosPhotoSizesType = "c"
3456 PhotosPhotoSizesTypeW PhotosPhotoSizesType = "w"
3457)
3458
3459type PhotosPhotoTag struct {
3460 Date int64 `json:"date"`
3461 ID int64 `json:"id"`
3462 PlacerID int64 `json:"placer_id"`
3463 TaggedName string `json:"tagged_name"`
3464 UserID int64 `json:"user_id"`
3465 Viewed BaseBoolInt `json:"viewed"`
3466 X int64 `json:"x"`
3467 X2 int64 `json:"x2"`
3468 Y int64 `json:"y"`
3469 Y2 int64 `json:"y2"`
3470}
3471
3472type PhotosPhotoUpload struct {
3473 AlbumID int64 `json:"album_id"`
3474 UploadURL string `json:"upload_url"`
3475 FallbackUploadURL string `json:"fallback_upload_url"`
3476 UserID int64 `json:"user_id"`
3477 GroupID int64 `json:"group_id"`
3478}
3479
3480type PhotosPhotoUploadResponse struct {
3481 Aid int64 `json:"aid"`
3482 Hash string `json:"hash"`
3483 PhotosList string `json:"photos_list"`
3484 Server int64 `json:"server"`
3485}
3486
3487type PhotosPhotoXtrRealOffset struct {
3488 AccessKey string `json:"access_key"`
3489 AlbumID int64 `json:"album_id"`
3490 Date int64 `json:"date"`
3491 Height int64 `json:"height"`
3492 Hidden BasePropertyExists `json:"hidden"`
3493 ID int64 `json:"id"`
3494 Lat int64 `json:"lat"`
3495 Long int64 `json:"long"`
3496 OwnerID int64 `json:"owner_id"`
3497 Photo1280 string `json:"photo_1280"`
3498 Photo130 string `json:"photo_130"`
3499 Photo2560 string `json:"photo_2560"`
3500 Photo604 string `json:"photo_604"`
3501 Photo75 string `json:"photo_75"`
3502 Photo807 string `json:"photo_807"`
3503 PostID int64 `json:"post_id"`
3504 RealOffset int64 `json:"real_offset"`
3505 Sizes []PhotosPhotoSizes `json:"sizes"`
3506 Text string `json:"text"`
3507 UserID int64 `json:"user_id"`
3508 Width int64 `json:"width"`
3509}
3510
3511type PhotosPhotoXtrTagInfo struct {
3512 AccessKey string `json:"access_key"`
3513 AlbumID int64 `json:"album_id"`
3514 Date int64 `json:"date"`
3515 Height int64 `json:"height"`
3516 ID int64 `json:"id"`
3517 Lat int64 `json:"lat"`
3518 Long int64 `json:"long"`
3519 OwnerID int64 `json:"owner_id"`
3520 Photo1280 string `json:"photo_1280"`
3521 Photo130 string `json:"photo_130"`
3522 Photo2560 string `json:"photo_2560"`
3523 Photo604 string `json:"photo_604"`
3524 Photo75 string `json:"photo_75"`
3525 Photo807 string `json:"photo_807"`
3526 PlacerID int64 `json:"placer_id"`
3527 PostID int64 `json:"post_id"`
3528 Sizes []PhotosPhotoSizes `json:"sizes"`
3529 TagCreated int64 `json:"tag_created"`
3530 TagID int64 `json:"tag_id"`
3531 Text string `json:"text"`
3532 UserID int64 `json:"user_id"`
3533 Width int64 `json:"width"`
3534}
3535
3536type PhotosTagsSuggestionItem struct {
3537 Title string `json:"title"`
3538 Type string `json:"type"`
3539 Buttons []PhotosTagsSuggestionItemButton `json:"buttons"`
3540 Photo PhotosPhoto `json:"photo"`
3541 Tags []PhotosPhotoTag `json:"tags"`
3542}
3543
3544type PhotosTagsSuggestionItemButton struct {
3545 Title string `json:"title"`
3546 Action string `json:"action"`
3547 Style string `json:"style"`
3548}
3549
3550type PhotosWallUploadResponse struct {
3551 Hash string `json:"hash"`
3552 Photo string `json:"photo"`
3553 Server int64 `json:"server"`
3554}
3555
3556type PollsAnswer struct {
3557 ID int64 `json:"id"`
3558 Rate int64 `json:"rate"`
3559 Text string `json:"text"`
3560 Votes int64 `json:"votes"`
3561}
3562
3563type PollsBackground struct {
3564 Angle int64 `json:"angle"`
3565 Color string `json:"color"`
3566 Height int64 `json:"height"`
3567 ID int64 `json:"id"`
3568 Name string `json:"name"`
3569 Images []BaseImage `json:"images"`
3570 Points []BaseGradientPoint `json:"points"`
3571 Type string `json:"type"`
3572 Width int64 `json:"width"`
3573}
3574
3575type PollsFriend struct {
3576 ID int64 `json:"id"`
3577}
3578
3579type PollsPoll struct {
3580 Anonymous PollsPollAnonymous `json:"anonymous"`
3581 Friends []PollsFriend `json:"friends"`
3582 Multiple bool `json:"multiple"`
3583 AnswerID int64 `json:"answer_id"`
3584 EndDate int64 `json:"end_date"`
3585 AnswerIDs []int64 `json:"answer_ids"`
3586 Closed bool `json:"closed"`
3587 IsBoard bool `json:"is_board"`
3588 CanEdit bool `json:"can_edit"`
3589 CanVote bool `json:"can_vote"`
3590 CanReport bool `json:"can_report"`
3591 CanShare bool `json:"can_share"`
3592 Photo PollsBackground `json:"photo"`
3593 Answers []PollsAnswer `json:"answers"`
3594 Created int64 `json:"created"`
3595 ID int64 `json:"id"`
3596 OwnerID int64 `json:"owner_id"`
3597 AuthorID int64 `json:"author_id"`
3598 Question string `json:"question"`
3599 Background PollsBackground `json:"background"`
3600 Votes int64 `json:"votes"`
3601 DisableUnvote bool `json:"disable_unvote"`
3602}
3603
3604type PollsPollAnonymous bool
3605
3606type PollsVoters struct {
3607 AnswerID int64 `json:"answer_id"`
3608 Users PollsVotersUsers `json:"users"`
3609}
3610
3611type PollsVotersUsers struct {
3612 Count int64 `json:"count"`
3613 Items []int64 `json:"items"`
3614}
3615
3616type PrettyCardsPrettyCard struct {
3617 Button string `json:"button"`
3618 ButtonText string `json:"button_text"`
3619 CardID string `json:"card_id"`
3620 Images []BaseImage `json:"images"`
3621 LinkURL string `json:"link_url"`
3622 Photo string `json:"photo"`
3623 Price string `json:"price"`
3624 PriceOld string `json:"price_old"`
3625 Title string `json:"title"`
3626}
3627
3628type SearchHint struct {
3629 App AppsApp `json:"app"`
3630 Description string `json:"description"`
3631 Global BaseBoolInt `json:"global"`
3632 Group GroupsGroup `json:"group"`
3633 Profile UsersUserMin `json:"profile"`
3634 Section SearchHintSection `json:"section"`
3635 Type SearchHintType `json:"type"`
3636}
3637
3638// enum search_hint_section
3639type SearchHintSection string
3640
3641const (
3642 SearchHintSectionGroups SearchHintSection = "groups"
3643 SearchHintSectionEvents SearchHintSection = "events"
3644 SearchHintSectionPublics SearchHintSection = "publics"
3645 SearchHintSectionCorrespondents SearchHintSection = "correspondents"
3646 SearchHintSectionPeople SearchHintSection = "people"
3647 SearchHintSectionFriends SearchHintSection = "friends"
3648 SearchHintSectionMutualFriends SearchHintSection = "mutual_friends"
3649)
3650
3651// enum search_hint_type
3652type SearchHintType string
3653
3654const (
3655 SearchHintTypeGroup SearchHintType = "group"
3656 SearchHintTypeProfile SearchHintType = "profile"
3657 SearchHintTypeVKApp SearchHintType = "vk_app"
3658 SearchHintTypeApp SearchHintType = "app"
3659 SearchHintTypeHtml5Game SearchHintType = "html5_game"
3660)
3661
3662type SecureLevel struct {
3663 Level int64 `json:"level"`
3664 Uid int64 `json:"uid"`
3665}
3666
3667type SecureSmsNotification struct {
3668 AppID string `json:"app_id"`
3669 Date string `json:"date"`
3670 ID string `json:"id"`
3671 Message string `json:"message"`
3672 UserID string `json:"user_id"`
3673}
3674
3675type SecureTokenChecked struct {
3676 Date int64 `json:"date"`
3677 Expire int64 `json:"expire"`
3678 Success int64 `json:"success"`
3679 UserID int64 `json:"user_id"`
3680}
3681
3682type SecureTransaction struct {
3683 Date int64 `json:"date"`
3684 ID int64 `json:"id"`
3685 UidFrom int64 `json:"uid_from"`
3686 UidTo int64 `json:"uid_to"`
3687 Votes int64 `json:"votes"`
3688}
3689
3690type StatsActivity struct {
3691 Comments int64 `json:"comments"`
3692 Copies int64 `json:"copies"`
3693 Hidden int64 `json:"hidden"`
3694 Likes int64 `json:"likes"`
3695 Subscribed int64 `json:"subscribed"`
3696 Unsubscribed int64 `json:"unsubscribed"`
3697}
3698
3699type StatsCity struct {
3700 Count int64 `json:"count"`
3701 Name string `json:"name"`
3702 Value int64 `json:"value"`
3703}
3704
3705type StatsCountry struct {
3706 Code string `json:"code"`
3707 Count int64 `json:"count"`
3708 Name string `json:"name"`
3709 Value int64 `json:"value"`
3710}
3711
3712type StatsPeriod struct {
3713 Activity StatsActivity `json:"activity"`
3714 PeriodFrom int64 `json:"period_from"`
3715 PeriodTo int64 `json:"period_to"`
3716 Reach StatsReach `json:"reach"`
3717 Visitors StatsViews `json:"visitors"`
3718}
3719
3720type StatsReach struct {
3721 Age []StatsSexAge `json:"age"`
3722 Cities []StatsCity `json:"cities"`
3723 Countries []StatsCountry `json:"countries"`
3724 MobileReach int64 `json:"mobile_reach"`
3725 Reach int64 `json:"reach"`
3726 ReachSubscribers int64 `json:"reach_subscribers"`
3727 Sex []StatsSexAge `json:"sex"`
3728 SexAge []StatsSexAge `json:"sex_age"`
3729}
3730
3731type StatsSexAge struct {
3732 Count int64 `json:"count"`
3733 Value string `json:"value"`
3734 Reach int64 `json:"reach"`
3735 ReachSubscribers int64 `json:"reach_subscribers"`
3736 CountSubscribers int64 `json:"count_subscribers"`
3737}
3738
3739type StatsViews struct {
3740 Age []StatsSexAge `json:"age"`
3741 Cities []StatsCity `json:"cities"`
3742 Countries []StatsCountry `json:"countries"`
3743 MobileViews int64 `json:"mobile_views"`
3744 Sex []StatsSexAge `json:"sex"`
3745 SexAge []StatsSexAge `json:"sex_age"`
3746 Views int64 `json:"views"`
3747 Visitors int64 `json:"visitors"`
3748}
3749
3750type StatsWallpostStat struct {
3751 PostID int64 `json:"post_id"`
3752 Hide int64 `json:"hide"`
3753 JoinGroup int64 `json:"join_group"`
3754 Links int64 `json:"links"`
3755 ReachSubscribers int64 `json:"reach_subscribers"`
3756 ReachSubscribersCount int64 `json:"reach_subscribers_count"`
3757 ReachTotal int64 `json:"reach_total"`
3758 ReachTotalCount int64 `json:"reach_total_count"`
3759 ReachViral int64 `json:"reach_viral"`
3760 ReachAds int64 `json:"reach_ads"`
3761 Report int64 `json:"report"`
3762 ToGroup int64 `json:"to_group"`
3763 Unsubscribe int64 `json:"unsubscribe"`
3764 SexAge []StatsSexAge `json:"sex_age"`
3765}
3766
3767type StatusStatus struct {
3768 Text string `json:"text"`
3769 Audio AudioAudio `json:"audio"`
3770}
3771
3772type StorageValue struct {
3773 Key string `json:"key"`
3774 Value string `json:"value"`
3775}
3776
3777type StoriesClickableArea struct {
3778 X int64 `json:"x"`
3779 Y int64 `json:"y"`
3780}
3781
3782type StoriesClickableSticker struct {
3783 ClickableArea []StoriesClickableArea `json:"clickable_area"`
3784 ID int64 `json:"id"`
3785 Hashtag string `json:"hashtag"`
3786 LinkObject BaseLink `json:"link_object"`
3787 Mention string `json:"mention"`
3788 TooltipText string `json:"tooltip_text"`
3789 OwnerID int64 `json:"owner_id"`
3790 StoryID int64 `json:"story_id"`
3791 Question string `json:"question"`
3792 QuestionButton string `json:"question_button"`
3793 PlaceID int64 `json:"place_id"`
3794 MarketItem MarketMarketItem `json:"market_item"`
3795 Audio AudioAudio `json:"audio"`
3796 AudioStartTime int64 `json:"audio_start_time"`
3797 Style string `json:"style"`
3798 Type string `json:"type"`
3799 Subtype string `json:"subtype"`
3800 PostOwnerID int64 `json:"post_owner_id"`
3801 PostID int64 `json:"post_id"`
3802 Poll PollsPoll `json:"poll"`
3803 Color string `json:"color"`
3804 StickerID int64 `json:"sticker_id"`
3805 StickerPackID int64 `json:"sticker_pack_id"`
3806 App AppsAppMin `json:"app"`
3807 AppContext string `json:"app_context"`
3808 HasNewInteractions bool `json:"has_new_interactions"`
3809 IsBroadcastNotifyAllowed bool `json:"is_broadcast_notify_allowed"`
3810}
3811
3812type StoriesClickableStickers struct {
3813 ClickableStickers []StoriesClickableSticker `json:"clickable_stickers"`
3814 OriginalHeight int64 `json:"original_height"`
3815 OriginalWidth int64 `json:"original_width"`
3816}
3817
3818type StoriesFeedItem struct {
3819 Type string `json:"type"`
3820 Stories []StoriesStory `json:"stories"`
3821 Grouped []StoriesFeedItem `json:"grouped"`
3822 App AppsAppMin `json:"app"`
3823 PromoData StoriesPromoBlock `json:"promo_data"`
3824}
3825
3826type StoriesPromoBlock struct {
3827 Name string `json:"name"`
3828 Photo50 string `json:"photo_50"`
3829 Photo100 string `json:"photo_100"`
3830 NotAnimated bool `json:"not_animated"`
3831}
3832
3833type StoriesReplies struct {
3834 Count int64 `json:"count"`
3835 New int64 `json:"new"`
3836}
3837
3838type StoriesStatLine struct {
3839 Name string `json:"name"`
3840 Counter int64 `json:"counter"`
3841 IsUnavailable bool `json:"is_unavailable"`
3842}
3843
3844type StoriesStory struct {
3845 AccessKey string `json:"access_key"`
3846 CanComment BaseBoolInt `json:"can_comment"`
3847 CanReply BaseBoolInt `json:"can_reply"`
3848 CanSee BaseBoolInt `json:"can_see"`
3849 CanLike bool `json:"can_like"`
3850 CanShare BaseBoolInt `json:"can_share"`
3851 CanHide BaseBoolInt `json:"can_hide"`
3852 Date int64 `json:"date"`
3853 ExpiresAt int64 `json:"expires_at"`
3854 ID int64 `json:"id"`
3855 IsDeleted bool `json:"is_deleted"`
3856 IsExpired bool `json:"is_expired"`
3857 Link StoriesStoryLink `json:"link"`
3858 OwnerID int64 `json:"owner_id"`
3859 ParentStory *StoriesStory `json:"parent_story"`
3860 ParentStoryAccessKey string `json:"parent_story_access_key"`
3861 ParentStoryID int64 `json:"parent_story_id"`
3862 ParentStoryOwnerID int64 `json:"parent_story_owner_id"`
3863 Photo PhotosPhoto `json:"photo"`
3864 Replies StoriesReplies `json:"replies"`
3865 Seen BaseBoolInt `json:"seen"`
3866 Type StoriesStoryType `json:"type"`
3867 ClickableStickers StoriesClickableStickers `json:"clickable_stickers"`
3868 Video VideoVideo `json:"video"`
3869 Views int64 `json:"views"`
3870 CanAsk BaseBoolInt `json:"can_ask"`
3871 CanAskAnonymous BaseBoolInt `json:"can_ask_anonymous"`
3872 NarrativesCount int64 `json:"narratives_count"`
3873 FirstNarrativeTitle string `json:"first_narrative_title"`
3874 BirthdayWishUserID int64 `json:"birthday_wish_user_id"`
3875}
3876
3877type StoriesStoryLink struct {
3878 Text string `json:"text"`
3879 URL string `json:"url"`
3880}
3881
3882type StoriesStoryStats struct {
3883 Answer StoriesStoryStatsStat `json:"answer"`
3884 Bans StoriesStoryStatsStat `json:"bans"`
3885 OpenLink StoriesStoryStatsStat `json:"open_link"`
3886 Replies StoriesStoryStatsStat `json:"replies"`
3887 Shares StoriesStoryStatsStat `json:"shares"`
3888 Subscribers StoriesStoryStatsStat `json:"subscribers"`
3889 Views StoriesStoryStatsStat `json:"views"`
3890 Likes StoriesStoryStatsStat `json:"likes"`
3891}
3892
3893type StoriesStoryStatsStat struct {
3894 Count int64 `json:"count"`
3895 State StoriesStoryStatsState `json:"state"`
3896}
3897
3898// enum stories_story_stats_state
3899type StoriesStoryStatsState string
3900
3901const (
3902 StoriesStoryStatsStateOn StoriesStoryStatsState = "on"
3903 StoriesStoryStatsStateOff StoriesStoryStatsState = "off"
3904 StoriesStoryStatsStateHidden StoriesStoryStatsState = "hidden"
3905)
3906
3907// enum stories_story_type
3908type StoriesStoryType string
3909
3910const (
3911 StoriesStoryTypePhoto StoriesStoryType = "photo"
3912 StoriesStoryTypeVideo StoriesStoryType = "video"
3913 StoriesStoryTypeLiveActive StoriesStoryType = "live_active"
3914 StoriesStoryTypeLiveFinished StoriesStoryType = "live_finished"
3915)
3916
3917// enum stories_upload_link_text
3918type StoriesUploadLinkText string
3919
3920const (
3921 StoriesUploadLinkTextToStore StoriesUploadLinkText = "to_store"
3922 StoriesUploadLinkTextVote StoriesUploadLinkText = "vote"
3923 StoriesUploadLinkTextMore StoriesUploadLinkText = "more"
3924 StoriesUploadLinkTextBook StoriesUploadLinkText = "book"
3925 StoriesUploadLinkTextOrder StoriesUploadLinkText = "order"
3926 StoriesUploadLinkTextEnroll StoriesUploadLinkText = "enroll"
3927 StoriesUploadLinkTextFill StoriesUploadLinkText = "fill"
3928 StoriesUploadLinkTextSignup StoriesUploadLinkText = "signup"
3929 StoriesUploadLinkTextBuy StoriesUploadLinkText = "buy"
3930 StoriesUploadLinkTextTicket StoriesUploadLinkText = "ticket"
3931 StoriesUploadLinkTextWrite StoriesUploadLinkText = "write"
3932 StoriesUploadLinkTextOpen StoriesUploadLinkText = "open"
3933 StoriesUploadLinkTextLearnMore StoriesUploadLinkText = "learn_more"
3934 StoriesUploadLinkTextView StoriesUploadLinkText = "view"
3935 StoriesUploadLinkTextGoTo StoriesUploadLinkText = "go_to"
3936 StoriesUploadLinkTextContact StoriesUploadLinkText = "contact"
3937 StoriesUploadLinkTextWatch StoriesUploadLinkText = "watch"
3938 StoriesUploadLinkTextPlay StoriesUploadLinkText = "play"
3939 StoriesUploadLinkTextInstall StoriesUploadLinkText = "install"
3940 StoriesUploadLinkTextRead StoriesUploadLinkText = "read"
3941 StoriesUploadLinkTextCalendar StoriesUploadLinkText = "calendar"
3942)
3943
3944type StoriesViewersItem struct {
3945 IsLiked bool `json:"is_liked"`
3946 UserID int64 `json:"user_id"`
3947 User UsersUserFull `json:"user"`
3948}
3949
3950type UsersCareer struct {
3951 CityID int64 `json:"city_id"`
3952 Company string `json:"company"`
3953 CountryID int64 `json:"country_id"`
3954 From int64 `json:"from"`
3955 GroupID int64 `json:"group_id"`
3956 ID int64 `json:"id"`
3957 Position string `json:"position"`
3958 Until int64 `json:"until"`
3959}
3960
3961type UsersExports struct {
3962 Facebook int64 `json:"facebook"`
3963 Livejournal int64 `json:"livejournal"`
3964 Twitter int64 `json:"twitter"`
3965}
3966
3967// enum users_fields
3968type UsersFields string
3969
3970const (
3971 UsersFieldsPhotoID UsersFields = "photo_id"
3972 UsersFieldsVerified UsersFields = "verified"
3973 UsersFieldsSex UsersFields = "sex"
3974 UsersFieldsBdate UsersFields = "bdate"
3975 UsersFieldsCity UsersFields = "city"
3976 UsersFieldsCountry UsersFields = "country"
3977 UsersFieldsHomeTown UsersFields = "home_town"
3978 UsersFieldsHasPhoto UsersFields = "has_photo"
3979 UsersFieldsPhoto50 UsersFields = "photo_50"
3980 UsersFieldsPhoto100 UsersFields = "photo_100"
3981 UsersFieldsPhoto200Orig UsersFields = "photo_200_orig"
3982 UsersFieldsPhoto200 UsersFields = "photo_200"
3983 UsersFieldsPhoto400Orig UsersFields = "photo_400_orig"
3984 UsersFieldsPhotoMax UsersFields = "photo_max"
3985 UsersFieldsPhotoMaxOrig UsersFields = "photo_max_orig"
3986 UsersFieldsOnline UsersFields = "online"
3987 UsersFieldsLists UsersFields = "lists"
3988 UsersFieldsDomain UsersFields = "domain"
3989 UsersFieldsHasMobile UsersFields = "has_mobile"
3990 UsersFieldsContacts UsersFields = "contacts"
3991 UsersFieldsSite UsersFields = "site"
3992 UsersFieldsEducation UsersFields = "education"
3993 UsersFieldsUniversities UsersFields = "universities"
3994 UsersFieldsSchools UsersFields = "schools"
3995 UsersFieldsStatus UsersFields = "status"
3996 UsersFieldsLastSeen UsersFields = "last_seen"
3997 UsersFieldsFollowersCount UsersFields = "followers_count"
3998 UsersFieldsCounters UsersFields = "counters"
3999 UsersFieldsCommonCount UsersFields = "common_count"
4000 UsersFieldsOccupation UsersFields = "occupation"
4001 UsersFieldsNickname UsersFields = "nickname"
4002 UsersFieldsRelatives UsersFields = "relatives"
4003 UsersFieldsRelation UsersFields = "relation"
4004 UsersFieldsPersonal UsersFields = "personal"
4005 UsersFieldsConnections UsersFields = "connections"
4006 UsersFieldsExports UsersFields = "exports"
4007 UsersFieldsWallComments UsersFields = "wall_comments"
4008 UsersFieldsActivities UsersFields = "activities"
4009 UsersFieldsInterests UsersFields = "interests"
4010 UsersFieldsMusic UsersFields = "music"
4011 UsersFieldsMovies UsersFields = "movies"
4012 UsersFieldsTV UsersFields = "tv"
4013 UsersFieldsBooks UsersFields = "books"
4014 UsersFieldsGames UsersFields = "games"
4015 UsersFieldsAbout UsersFields = "about"
4016 UsersFieldsQuotes UsersFields = "quotes"
4017 UsersFieldsCanPost UsersFields = "can_post"
4018 UsersFieldsCanSeeAllPosts UsersFields = "can_see_all_posts"
4019 UsersFieldsCanSeeAudio UsersFields = "can_see_audio"
4020 UsersFieldsCanWritePrivateMessage UsersFields = "can_write_private_message"
4021 UsersFieldsCanSendFriendRequest UsersFields = "can_send_friend_request"
4022 UsersFieldsIsFavorite UsersFields = "is_favorite"
4023 UsersFieldsIsHiddenFromFeed UsersFields = "is_hidden_from_feed"
4024 UsersFieldsTimezone UsersFields = "timezone"
4025 UsersFieldsScreenName UsersFields = "screen_name"
4026 UsersFieldsMaidenName UsersFields = "maiden_name"
4027 UsersFieldsCropPhoto UsersFields = "crop_photo"
4028 UsersFieldsIsFriend UsersFields = "is_friend"
4029 UsersFieldsFriendStatus UsersFields = "friend_status"
4030 UsersFieldsCareer UsersFields = "career"
4031 UsersFieldsMilitary UsersFields = "military"
4032 UsersFieldsBlacklisted UsersFields = "blacklisted"
4033 UsersFieldsBlacklistedByMe UsersFields = "blacklisted_by_me"
4034 UsersFieldsCanSubscribePosts UsersFields = "can_subscribe_posts"
4035 UsersFieldsDescriptions UsersFields = "descriptions"
4036 UsersFieldsTrending UsersFields = "trending"
4037 UsersFieldsMutual UsersFields = "mutual"
4038 UsersFieldsFriendshipWeeks UsersFields = "friendship_weeks"
4039 UsersFieldsCanInviteToChats UsersFields = "can_invite_to_chats"
4040 UsersFieldsStoriesArchiveCount UsersFields = "stories_archive_count"
4041 UsersFieldsVideoLiveLevel UsersFields = "video_live_level"
4042 UsersFieldsVideoLiveCount UsersFields = "video_live_count"
4043 UsersFieldsClipsCount UsersFields = "clips_count"
4044)
4045
4046type UsersLastSeen struct {
4047 Platform int64 `json:"platform"`
4048 Time int64 `json:"time"`
4049}
4050
4051type UsersMilitary struct {
4052 CountryID int64 `json:"country_id"`
4053 From int64 `json:"from"`
4054 ID int64 `json:"id"`
4055 Unit string `json:"unit"`
4056 UnitID int64 `json:"unit_id"`
4057 Until int64 `json:"until"`
4058}
4059
4060type UsersOccupation struct {
4061 ID int64 `json:"id"`
4062 Name string `json:"name"`
4063 Type string `json:"type"`
4064}
4065
4066type UsersOnlineInfo struct {
4067 Visible bool `json:"visible"`
4068 LastSeen int64 `json:"last_seen"`
4069 IsOnline bool `json:"is_online"`
4070 AppID int64 `json:"app_id"`
4071 IsMobile bool `json:"is_mobile"`
4072 Status string `json:"status"`
4073}
4074
4075type UsersPersonal struct {
4076 Alcohol int64 `json:"alcohol"`
4077 InspiredBy string `json:"inspired_by"`
4078 Langs []string `json:"langs"`
4079 LifeMain int64 `json:"life_main"`
4080 PeopleMain int64 `json:"people_main"`
4081 Political int64 `json:"political"`
4082 Religion string `json:"religion"`
4083 ReligionID int64 `json:"religion_id"`
4084 Smoking int64 `json:"smoking"`
4085}
4086
4087type UsersRelative struct {
4088 BirthDate string `json:"birth_date"`
4089 ID int64 `json:"id"`
4090 Name string `json:"name"`
4091 Type string `json:"type"`
4092}
4093
4094type UsersSchool struct {
4095 City int64 `json:"city"`
4096 Class string `json:"class"`
4097 Country int64 `json:"country"`
4098 ID string `json:"id"`
4099 Name string `json:"name"`
4100 Type int64 `json:"type"`
4101 TypeStr string `json:"type_str"`
4102 YearFrom int64 `json:"year_from"`
4103 YearGraduated int64 `json:"year_graduated"`
4104 YearTo int64 `json:"year_to"`
4105}
4106
4107// oneof users_subscriptions_item
4108type UsersSubscriptionsItem struct {
4109 *UsersUserXtrType `json:"users_user_xtr_type"`
4110 *GroupsGroupFull `json:"groups_group_full"`
4111}
4112
4113type UsersUniversity struct {
4114 Chair int64 `json:"chair"`
4115 ChairName string `json:"chair_name"`
4116 City int64 `json:"city"`
4117 Country int64 `json:"country"`
4118 EducationForm string `json:"education_form"`
4119 EducationStatus string `json:"education_status"`
4120 Faculty int64 `json:"faculty"`
4121 FacultyName string `json:"faculty_name"`
4122 Graduation int64 `json:"graduation"`
4123 ID int64 `json:"id"`
4124 Name string `json:"name"`
4125}
4126
4127// allof users_user
4128type UsersUser struct {
4129 *UsersUserMin `json:"users_user_min"`
4130 Sex *BaseSex `json:"sex"`
4131 ScreenName *string `json:"screen_name"`
4132 Photo50 *string `json:"photo_50"`
4133 Photo100 *string `json:"photo_100"`
4134 OnlineInfo *UsersOnlineInfo `json:"online_info"`
4135 Online *BaseBoolInt `json:"online"`
4136 OnlineMobile *BaseBoolInt `json:"online_mobile"`
4137 OnlineApp *int64 `json:"online_app"`
4138 Verified *BaseBoolInt `json:"verified"`
4139 Trending *BaseBoolInt `json:"trending"`
4140 FriendStatus *FriendsFriendStatusStatus `json:"friend_status"`
4141 Mutual *FriendsRequestsMutual `json:"mutual"`
4142}
4143
4144type UsersUserConnections struct {
4145 Skype string `json:"skype"`
4146 Facebook string `json:"facebook"`
4147 FacebookName string `json:"facebook_name"`
4148 Twitter string `json:"twitter"`
4149 Livejournal string `json:"livejournal"`
4150 Instagram string `json:"instagram"`
4151}
4152
4153type UsersUserCounters struct {
4154 Albums int64 `json:"albums"`
4155 Audios int64 `json:"audios"`
4156 Followers int64 `json:"followers"`
4157 Friends int64 `json:"friends"`
4158 Gifts int64 `json:"gifts"`
4159 Groups int64 `json:"groups"`
4160 Notes int64 `json:"notes"`
4161 OnlineFriends int64 `json:"online_friends"`
4162 Pages int64 `json:"pages"`
4163 Photos int64 `json:"photos"`
4164 Subscriptions int64 `json:"subscriptions"`
4165 UserPhotos int64 `json:"user_photos"`
4166 UserVideos int64 `json:"user_videos"`
4167 Videos int64 `json:"videos"`
4168}
4169
4170// allof users_user_full
4171type UsersUserFull struct {
4172 *UsersUser `json:"users_user"`
4173 FirstNameNom *string `json:"first_name_nom"`
4174 FirstNameGen *string `json:"first_name_gen"`
4175 FirstNameDat *string `json:"first_name_dat"`
4176 FirstNameAcc *string `json:"first_name_acc"`
4177 FirstNameIns *string `json:"first_name_ins"`
4178 FirstNameAbl *string `json:"first_name_abl"`
4179 LastNameNom *string `json:"last_name_nom"`
4180 LastNameGen *string `json:"last_name_gen"`
4181 LastNameDat *string `json:"last_name_dat"`
4182 LastNameAcc *string `json:"last_name_acc"`
4183 LastNameIns *string `json:"last_name_ins"`
4184 LastNameAbl *string `json:"last_name_abl"`
4185 Nickname *string `json:"nickname"`
4186 MaidenName *string `json:"maiden_name"`
4187 Domain *string `json:"domain"`
4188 Bdate *string `json:"bdate"`
4189 City *BaseObject `json:"city"`
4190 Country *BaseCountry `json:"country"`
4191 Timezone *int64 `json:"timezone"`
4192 OwnerState *OwnerState `json:"owner_state"`
4193 Photo200 *string `json:"photo_200"`
4194 PhotoMax *string `json:"photo_max"`
4195 Photo200Orig *string `json:"photo_200_orig"`
4196 Photo400Orig *string `json:"photo_400_orig"`
4197 PhotoMaxOrig *string `json:"photo_max_orig"`
4198 PhotoID *string `json:"photo_id"`
4199 HasPhoto *BaseBoolInt `json:"has_photo"`
4200 HasMobile *BaseBoolInt `json:"has_mobile"`
4201 IsFriend *BaseBoolInt `json:"is_friend"`
4202 WallComments *BaseBoolInt `json:"wall_comments"`
4203 CanPost *BaseBoolInt `json:"can_post"`
4204 CanSeeAllPosts *BaseBoolInt `json:"can_see_all_posts"`
4205 CanSeeAudio *BaseBoolInt `json:"can_see_audio"`
4206 CanWritePrivateMessage *BaseBoolInt `json:"can_write_private_message"`
4207 CanSendFriendRequest *BaseBoolInt `json:"can_send_friend_request"`
4208 CanBeInvitedGroup *bool `json:"can_be_invited_group"`
4209 MobilePhone *string `json:"mobile_phone"`
4210 HomePhone *string `json:"home_phone"`
4211 Site *string `json:"site"`
4212 StatusAudio *AudioAudio `json:"status_audio"`
4213 Status *string `json:"status"`
4214 Activity *string `json:"activity"`
4215 LastSeen *UsersLastSeen `json:"last_seen"`
4216 Exports *UsersExports `json:"exports"`
4217 CropPhoto *BaseCropPhoto `json:"crop_photo"`
4218 FollowersCount *int64 `json:"followers_count"`
4219 VideoLiveLevel *int64 `json:"video_live_level"`
4220 VideoLiveCount *int64 `json:"video_live_count"`
4221 Blacklisted *BaseBoolInt `json:"blacklisted"`
4222 BlacklistedByMe *BaseBoolInt `json:"blacklisted_by_me"`
4223 IsFavorite *BaseBoolInt `json:"is_favorite"`
4224 IsHiddenFromFeed *BaseBoolInt `json:"is_hidden_from_feed"`
4225 CommonCount *int64 `json:"common_count"`
4226 Occupation *UsersOccupation `json:"occupation"`
4227 Career *[]UsersCareer `json:"career"`
4228 Military *[]UsersMilitary `json:"military"`
4229 University *int64 `json:"university"`
4230 UniversityName *string `json:"university_name"`
4231 Faculty *int64 `json:"faculty"`
4232 FacultyName *string `json:"faculty_name"`
4233 Graduation *int64 `json:"graduation"`
4234 EducationForm *string `json:"education_form"`
4235 EducationStatus *string `json:"education_status"`
4236 HomeTown *string `json:"home_town"`
4237 Relation *UsersUserRelation `json:"relation"`
4238 RelationPartner *UsersUserMin `json:"relation_partner"`
4239 Personal *UsersPersonal `json:"personal"`
4240 Universities *[]UsersUniversity `json:"universities"`
4241 Schools *[]UsersSchool `json:"schools"`
4242 Relatives *[]UsersRelative `json:"relatives"`
4243 IsSubscribedPodcasts *bool `json:"is_subscribed_podcasts"`
4244 CanSubscribePodcasts *bool `json:"can_subscribe_podcasts"`
4245 CanSubscribePosts *bool `json:"can_subscribe_posts"`
4246}
4247
4248type UsersUserMin struct {
4249 Deactivated string `json:"deactivated"`
4250 FirstName string `json:"first_name"`
4251 Hidden int64 `json:"hidden"`
4252 ID int64 `json:"id"`
4253 LastName string `json:"last_name"`
4254 CanAccessClosed bool `json:"can_access_closed"`
4255 IsClosed bool `json:"is_closed"`
4256}
4257
4258// enum users_user_relation
4259type UsersUserRelation int64
4260
4261const (
4262 UsersUserRelationNotSpecified UsersUserRelation = 0
4263 UsersUserRelationSingle UsersUserRelation = 1
4264 UsersUserRelationInARelationship UsersUserRelation = 2
4265 UsersUserRelationEngaged UsersUserRelation = 3
4266 UsersUserRelationMarried UsersUserRelation = 4
4267 UsersUserRelationComplicated UsersUserRelation = 5
4268 UsersUserRelationActivelySearching UsersUserRelation = 6
4269 UsersUserRelationInLove UsersUserRelation = 7
4270 UsersUserRelationInACivilUnion UsersUserRelation = 8
4271)
4272
4273type UsersUserSettingsXtr struct {
4274 Connections UsersUserConnections `json:"connections"`
4275 Bdate string `json:"bdate"`
4276 BdateVisibility int64 `json:"bdate_visibility"`
4277 City BaseCity `json:"city"`
4278 Country BaseCountry `json:"country"`
4279 FirstName string `json:"first_name"`
4280 HomeTown string `json:"home_town"`
4281 LastName string `json:"last_name"`
4282 MaidenName string `json:"maiden_name"`
4283 NameRequest AccountNameRequest `json:"name_request"`
4284 Personal UsersPersonal `json:"personal"`
4285 Phone string `json:"phone"`
4286 Relation UsersUserRelation `json:"relation"`
4287 RelationPartner UsersUserMin `json:"relation_partner"`
4288 RelationPending BaseBoolInt `json:"relation_pending"`
4289 RelationRequests []UsersUserMin `json:"relation_requests"`
4290 ScreenName string `json:"screen_name"`
4291 Sex BaseSex `json:"sex"`
4292 Status string `json:"status"`
4293 StatusAudio AudioAudio `json:"status_audio"`
4294 Interests AccountUserSettingsInterests `json:"interests"`
4295 Languages []string `json:"languages"`
4296}
4297
4298// enum users_user_type
4299type UsersUserType string
4300
4301const (
4302 UsersUserTypeProfile UsersUserType = "profile"
4303)
4304
4305// allof users_user_xtr_counters
4306type UsersUserXtrCounters struct {
4307 *UsersUserFull `json:"users_user_full"`
4308 Counters *UsersUserCounters `json:"counters"`
4309}
4310
4311// allof users_user_xtr_type
4312type UsersUserXtrType struct {
4313 *UsersUser `json:"users_user"`
4314 Type *UsersUserType `json:"type"`
4315}
4316
4317type UsersUsersArray struct {
4318 Count int64 `json:"count"`
4319 Items []int64 `json:"items"`
4320}
4321
4322type UtilsDomainResolved struct {
4323 ObjectID int64 `json:"object_id"`
4324 GroupID int64 `json:"group_id"`
4325 Type UtilsDomainResolvedType `json:"type"`
4326}
4327
4328// enum utils_domain_resolved_type
4329type UtilsDomainResolvedType string
4330
4331const (
4332 UtilsDomainResolvedTypeUser UtilsDomainResolvedType = "user"
4333 UtilsDomainResolvedTypeGroup UtilsDomainResolvedType = "group"
4334 UtilsDomainResolvedTypeApplication UtilsDomainResolvedType = "application"
4335 UtilsDomainResolvedTypePage UtilsDomainResolvedType = "page"
4336)
4337
4338type UtilsLastShortenedLink struct {
4339 AccessKey string `json:"access_key"`
4340 Key string `json:"key"`
4341 ShortURL string `json:"short_url"`
4342 Timestamp int64 `json:"timestamp"`
4343 URL string `json:"url"`
4344 Views int64 `json:"views"`
4345}
4346
4347type UtilsLinkChecked struct {
4348 Link string `json:"link"`
4349 Status UtilsLinkCheckedStatus `json:"status"`
4350}
4351
4352// enum utils_link_checked_status
4353type UtilsLinkCheckedStatus string
4354
4355const (
4356 UtilsLinkCheckedStatusNotBanned UtilsLinkCheckedStatus = "not_banned"
4357 UtilsLinkCheckedStatusBanned UtilsLinkCheckedStatus = "banned"
4358 UtilsLinkCheckedStatusProcessing UtilsLinkCheckedStatus = "processing"
4359)
4360
4361type UtilsLinkStats struct {
4362 Key string `json:"key"`
4363 Stats []UtilsStats `json:"stats"`
4364}
4365
4366type UtilsLinkStatsExtended struct {
4367 Key string `json:"key"`
4368 Stats []UtilsStatsExtended `json:"stats"`
4369}
4370
4371type UtilsShortLink struct {
4372 AccessKey string `json:"access_key"`
4373 Key string `json:"key"`
4374 ShortURL string `json:"short_url"`
4375 URL string `json:"url"`
4376}
4377
4378type UtilsStats struct {
4379 Timestamp int64 `json:"timestamp"`
4380 Views int64 `json:"views"`
4381}
4382
4383type UtilsStatsCity struct {
4384 CityID int64 `json:"city_id"`
4385 Views int64 `json:"views"`
4386}
4387
4388type UtilsStatsCountry struct {
4389 CountryID int64 `json:"country_id"`
4390 Views int64 `json:"views"`
4391}
4392
4393type UtilsStatsExtended struct {
4394 Cities []UtilsStatsCity `json:"cities"`
4395 Countries []UtilsStatsCountry `json:"countries"`
4396 SexAge []UtilsStatsSexAge `json:"sex_age"`
4397 Timestamp int64 `json:"timestamp"`
4398 Views int64 `json:"views"`
4399}
4400
4401type UtilsStatsSexAge struct {
4402 AgeRange string `json:"age_range"`
4403 Female int64 `json:"female"`
4404 Male int64 `json:"male"`
4405}
4406
4407type VideoLiveSettings struct {
4408 CanRewind BaseBoolInt `json:"can_rewind"`
4409 IsEndless BaseBoolInt `json:"is_endless"`
4410 MaxDuration int64 `json:"max_duration"`
4411}
4412
4413type VideoRestrictionButton struct {
4414 Action string `json:"action"`
4415 Title string `json:"title"`
4416}
4417
4418type VideoSaveResult struct {
4419 AccessKey string `json:"access_key"`
4420 Description string `json:"description"`
4421 OwnerID int64 `json:"owner_id"`
4422 Title string `json:"title"`
4423 UploadURL string `json:"upload_url"`
4424 VideoID int64 `json:"video_id"`
4425}
4426
4427// allof video_video
4428type VideoVideo struct {
4429 AccessKey *string `json:"access_key"`
4430 AddingDate *int64 `json:"adding_date"`
4431 CanComment *BaseBoolInt `json:"can_comment"`
4432 CanEdit *BaseBoolInt `json:"can_edit"`
4433 CanLike *BaseBoolInt `json:"can_like"`
4434 CanRepost *BaseBoolInt `json:"can_repost"`
4435 CanSubscribe *BaseBoolInt `json:"can_subscribe"`
4436 CanAddToFaves *BaseBoolInt `json:"can_add_to_faves"`
4437 CanAdd *BaseBoolInt `json:"can_add"`
4438 CanAttachLink *BaseBoolInt `json:"can_attach_link"`
4439 IsPrivate *BaseBoolInt `json:"is_private"`
4440 Comments *int64 `json:"comments"`
4441 Date *int64 `json:"date"`
4442 Description *string `json:"description"`
4443 Duration *int64 `json:"duration"`
4444 Image *[]VideoVideoImage `json:"image"`
4445 FirstFrame *[]VideoVideoImage `json:"first_frame"`
4446 Width *int64 `json:"width"`
4447 Height *int64 `json:"height"`
4448 ID *int64 `json:"id"`
4449 OwnerID *int64 `json:"owner_id"`
4450 UserID *int64 `json:"user_id"`
4451 Title *string `json:"title"`
4452 IsFavorite *bool `json:"is_favorite"`
4453 Player *string `json:"player"`
4454 Processing *BasePropertyExists `json:"processing"`
4455 Converting *BaseBoolInt `json:"converting"`
4456 Restriction *MediaRestriction `json:"restriction"`
4457 Added *BaseBoolInt `json:"added"`
4458 IsSubscribed *BaseBoolInt `json:"is_subscribed"`
4459 TrackCode *string `json:"track_code"`
4460 Repeat *BasePropertyExists `json:"repeat"`
4461 Type *string `json:"type"`
4462 Views *int64 `json:"views"`
4463 LocalViews *int64 `json:"local_views"`
4464 ContentRestricted *int64 `json:"content_restricted"`
4465 ContentRestrictedMessage *string `json:"content_restricted_message"`
4466 Balance *int64 `json:"balance"`
4467 LiveStatus *string `json:"live_status"`
4468 Live *BasePropertyExists `json:"live"`
4469 Upcoming *BasePropertyExists `json:"upcoming"`
4470 Spectators *int64 `json:"spectators"`
4471 Platform *string `json:"platform"`
4472 Likes *BaseLikes `json:"likes"`
4473 Reposts *BaseRepostsInfo `json:"reposts"`
4474}
4475
4476type VideoVideoAlbumFull struct {
4477 Count int64 `json:"count"`
4478 ID int64 `json:"id"`
4479 Image []VideoVideoImage `json:"image"`
4480 ImageBlur BasePropertyExists `json:"image_blur"`
4481 IsSystem BasePropertyExists `json:"is_system"`
4482 OwnerID int64 `json:"owner_id"`
4483 Title string `json:"title"`
4484 UpdatedTime int64 `json:"updated_time"`
4485}
4486
4487type VideoVideoFiles struct {
4488 External string `json:"external"`
4489 Mp4240 string `json:"mp4_240"`
4490 Mp4360 string `json:"mp4_360"`
4491 Mp4480 string `json:"mp4_480"`
4492 Mp4720 string `json:"mp4_720"`
4493 Mp41080 string `json:"mp4_1080"`
4494 Flv320 string `json:"flv_320"`
4495}
4496
4497// allof video_video_full
4498type VideoVideoFull struct {
4499 *VideoVideo `json:"video_video"`
4500 Files *VideoVideoFiles `json:"files"`
4501 LiveSettings *VideoLiveSettings `json:"live_settings"`
4502}
4503
4504// allof video_video_image
4505type VideoVideoImage struct {
4506 *BaseImage `json:"base_image"`
4507 WithPadding *BasePropertyExists `json:"with_padding"`
4508}
4509
4510type WallAppPost struct {
4511 ID int64 `json:"id"`
4512 Name string `json:"name"`
4513 Photo130 string `json:"photo_130"`
4514 Photo604 string `json:"photo_604"`
4515}
4516
4517type WallAttachedNote struct {
4518 Comments int64 `json:"comments"`
4519 Date int64 `json:"date"`
4520 ID int64 `json:"id"`
4521 OwnerID int64 `json:"owner_id"`
4522 ReadComments int64 `json:"read_comments"`
4523 Title string `json:"title"`
4524 ViewURL string `json:"view_url"`
4525}
4526
4527type WallCarouselBase struct {
4528 CarouselOffset int64 `json:"carousel_offset"`
4529}
4530
4531type WallCommentAttachment struct {
4532 Audio AudioAudio `json:"audio"`
4533 Doc DocsDoc `json:"doc"`
4534 Link BaseLink `json:"link"`
4535 Market MarketMarketItem `json:"market"`
4536 MarketMarketAlbum MarketMarketAlbum `json:"market_market_album"`
4537 Note WallAttachedNote `json:"note"`
4538 Page PagesWikipageFull `json:"page"`
4539 Photo PhotosPhoto `json:"photo"`
4540 Sticker BaseSticker `json:"sticker"`
4541 Type WallCommentAttachmentType `json:"type"`
4542 Video VideoVideo `json:"video"`
4543}
4544
4545// enum wall_comment_attachment_type
4546type WallCommentAttachmentType string
4547
4548const (
4549 WallCommentAttachmentTypePhoto WallCommentAttachmentType = "photo"
4550 WallCommentAttachmentTypeAudio WallCommentAttachmentType = "audio"
4551 WallCommentAttachmentTypeVideo WallCommentAttachmentType = "video"
4552 WallCommentAttachmentTypeDoc WallCommentAttachmentType = "doc"
4553 WallCommentAttachmentTypeLink WallCommentAttachmentType = "link"
4554 WallCommentAttachmentTypeNote WallCommentAttachmentType = "note"
4555 WallCommentAttachmentTypePage WallCommentAttachmentType = "page"
4556 WallCommentAttachmentTypeMarketMarketAlbum WallCommentAttachmentType = "market_market_album"
4557 WallCommentAttachmentTypeMarket WallCommentAttachmentType = "market"
4558 WallCommentAttachmentTypeSticker WallCommentAttachmentType = "sticker"
4559)
4560
4561type WallGeo struct {
4562 Coordinates string `json:"coordinates"`
4563 Place BasePlace `json:"place"`
4564 Showmap int64 `json:"showmap"`
4565 Type string `json:"type"`
4566}
4567
4568type WallGraffiti struct {
4569 ID int64 `json:"id"`
4570 OwnerID int64 `json:"owner_id"`
4571 Photo200 string `json:"photo_200"`
4572 Photo586 string `json:"photo_586"`
4573}
4574
4575type WallPostCopyright struct {
4576 ID int64 `json:"id"`
4577 Link string `json:"link"`
4578 Name string `json:"name"`
4579 Type string `json:"type"`
4580}
4581
4582type WallPostSource struct {
4583 Data string `json:"data"`
4584 Platform string `json:"platform"`
4585 Type WallPostSourceType `json:"type"`
4586 URL string `json:"url"`
4587}
4588
4589// enum wall_post_source_type
4590type WallPostSourceType string
4591
4592const (
4593 WallPostSourceTypeVK WallPostSourceType = "vk"
4594 WallPostSourceTypeWidget WallPostSourceType = "widget"
4595 WallPostSourceTypeApi WallPostSourceType = "api"
4596 WallPostSourceTypeRss WallPostSourceType = "rss"
4597 WallPostSourceTypeSms WallPostSourceType = "sms"
4598)
4599
4600// enum wall_post_type
4601type WallPostType string
4602
4603const (
4604 WallPostTypePost WallPostType = "post"
4605 WallPostTypeCopy WallPostType = "copy"
4606 WallPostTypeReply WallPostType = "reply"
4607 WallPostTypePostpone WallPostType = "postpone"
4608 WallPostTypeSuggest WallPostType = "suggest"
4609)
4610
4611type WallPostedPhoto struct {
4612 ID int64 `json:"id"`
4613 OwnerID int64 `json:"owner_id"`
4614 Photo130 string `json:"photo_130"`
4615 Photo604 string `json:"photo_604"`
4616}
4617
4618type WallViews struct {
4619 Count int64 `json:"count"`
4620}
4621
4622type WallWallComment struct {
4623 Attachments []WallCommentAttachment `json:"attachments"`
4624 Date int64 `json:"date"`
4625 FromID int64 `json:"from_id"`
4626 ID int64 `json:"id"`
4627 Likes BaseLikesInfo `json:"likes"`
4628 RealOffset int64 `json:"real_offset"`
4629 ReplyToComment int64 `json:"reply_to_comment"`
4630 ReplyToUser int64 `json:"reply_to_user"`
4631 Text string `json:"text"`
4632 Thread CommentThread `json:"thread"`
4633 PostID int64 `json:"post_id"`
4634 OwnerID int64 `json:"owner_id"`
4635 ParentsStack []int64 `json:"parents_stack"`
4636 Deleted bool `json:"deleted"`
4637}
4638
4639type WallWallpost struct {
4640 AccessKey string `json:"access_key"`
4641 Attachments []WallWallpostAttachment `json:"attachments"`
4642 Copyright WallPostCopyright `json:"copyright"`
4643 Date int64 `json:"date"`
4644 Edited int64 `json:"edited"`
4645 FromID int64 `json:"from_id"`
4646 Geo WallGeo `json:"geo"`
4647 ID int64 `json:"id"`
4648 IsArchived bool `json:"is_archived"`
4649 IsFavorite bool `json:"is_favorite"`
4650 Likes BaseLikesInfo `json:"likes"`
4651 OwnerID int64 `json:"owner_id"`
4652 PostSource WallPostSource `json:"post_source"`
4653 PostType WallPostType `json:"post_type"`
4654 Reposts BaseRepostsInfo `json:"reposts"`
4655 SignerID int64 `json:"signer_id"`
4656 Text string `json:"text"`
4657 Views WallViews `json:"views"`
4658}
4659
4660type WallWallpostAttachment struct {
4661 AccessKey string `json:"access_key"`
4662 Album PhotosPhotoAlbum `json:"album"`
4663 App WallAppPost `json:"app"`
4664 Audio AudioAudio `json:"audio"`
4665 Doc DocsDoc `json:"doc"`
4666 Event EventsEventAttach `json:"event"`
4667 Group GroupsGroupAttach `json:"group"`
4668 Graffiti WallGraffiti `json:"graffiti"`
4669 Link BaseLink `json:"link"`
4670 Market MarketMarketItem `json:"market"`
4671 MarketAlbum MarketMarketAlbum `json:"market_album"`
4672 Note WallAttachedNote `json:"note"`
4673 Page PagesWikipageFull `json:"page"`
4674 Photo PhotosPhoto `json:"photo"`
4675 PhotosList []string `json:"photos_list"`
4676 Poll PollsPoll `json:"poll"`
4677 PostedPhoto WallPostedPhoto `json:"posted_photo"`
4678 Type WallWallpostAttachmentType `json:"type"`
4679 Video VideoVideo `json:"video"`
4680}
4681
4682// enum wall_wallpost_attachment_type
4683type WallWallpostAttachmentType string
4684
4685const (
4686 WallWallpostAttachmentTypePhoto WallWallpostAttachmentType = "photo"
4687 WallWallpostAttachmentTypePostedPhoto WallWallpostAttachmentType = "posted_photo"
4688 WallWallpostAttachmentTypeAudio WallWallpostAttachmentType = "audio"
4689 WallWallpostAttachmentTypeVideo WallWallpostAttachmentType = "video"
4690 WallWallpostAttachmentTypeDoc WallWallpostAttachmentType = "doc"
4691 WallWallpostAttachmentTypeLink WallWallpostAttachmentType = "link"
4692 WallWallpostAttachmentTypeGraffiti WallWallpostAttachmentType = "graffiti"
4693 WallWallpostAttachmentTypeNote WallWallpostAttachmentType = "note"
4694 WallWallpostAttachmentTypeApp WallWallpostAttachmentType = "app"
4695 WallWallpostAttachmentTypePoll WallWallpostAttachmentType = "poll"
4696 WallWallpostAttachmentTypePage WallWallpostAttachmentType = "page"
4697 WallWallpostAttachmentTypeAlbum WallWallpostAttachmentType = "album"
4698 WallWallpostAttachmentTypePhotosList WallWallpostAttachmentType = "photos_list"
4699 WallWallpostAttachmentTypeMarketMarketAlbum WallWallpostAttachmentType = "market_market_album"
4700 WallWallpostAttachmentTypeMarket WallWallpostAttachmentType = "market"
4701 WallWallpostAttachmentTypeEvent WallWallpostAttachmentType = "event"
4702)
4703
4704// allof wall_wallpost_full
4705type WallWallpostFull struct {
4706 *WallCarouselBase `json:"wall_carousel_base"`
4707 *WallWallpost `json:"wall_wallpost"`
4708 CopyHistory *[]WallWallpost `json:"copy_history"`
4709 CanEdit *BaseBoolInt `json:"can_edit"`
4710 CreatedBy *int64 `json:"created_by"`
4711 CanDelete *BaseBoolInt `json:"can_delete"`
4712 CanPin *BaseBoolInt `json:"can_pin"`
4713 IsPinned *int64 `json:"is_pinned"`
4714 Comments *BaseCommentsInfo `json:"comments"`
4715 MarkedAsAds *BaseBoolInt `json:"marked_as_ads"`
4716 ShortTextRate *int64 `json:"short_text_rate"`
4717}
4718
4719type WallWallpostToID struct {
4720 Attachments []WallWallpostAttachment `json:"attachments"`
4721 Comments BaseCommentsInfo `json:"comments"`
4722 CopyOwnerID int64 `json:"copy_owner_id"`
4723 CopyPostID int64 `json:"copy_post_id"`
4724 Date int64 `json:"date"`
4725 FromID int64 `json:"from_id"`
4726 Geo WallGeo `json:"geo"`
4727 ID int64 `json:"id"`
4728 IsFavorite bool `json:"is_favorite"`
4729 Likes BaseLikesInfo `json:"likes"`
4730 PostID int64 `json:"post_id"`
4731 PostSource WallPostSource `json:"post_source"`
4732 PostType WallPostType `json:"post_type"`
4733 Reposts BaseRepostsInfo `json:"reposts"`
4734 SignerID int64 `json:"signer_id"`
4735 Text string `json:"text"`
4736 ToID int64 `json:"to_id"`
4737}
4738
4739type WidgetsCommentMedia struct {
4740 ItemID int64 `json:"item_id"`
4741 OwnerID int64 `json:"owner_id"`
4742 ThumbSrc string `json:"thumb_src"`
4743 Type WidgetsCommentMediaType `json:"type"`
4744}
4745
4746// enum widgets_comment_media_type
4747type WidgetsCommentMediaType string
4748
4749const (
4750 WidgetsCommentMediaTypeAudio WidgetsCommentMediaType = "audio"
4751 WidgetsCommentMediaTypePhoto WidgetsCommentMediaType = "photo"
4752 WidgetsCommentMediaTypeVideo WidgetsCommentMediaType = "video"
4753)
4754
4755type WidgetsCommentReplies struct {
4756 CanPost BaseBoolInt `json:"can_post"`
4757 Count int64 `json:"count"`
4758 Replies []WidgetsCommentRepliesItem `json:"replies"`
4759}
4760
4761type WidgetsCommentRepliesItem struct {
4762 Cid int64 `json:"cid"`
4763 Date int64 `json:"date"`
4764 Likes WidgetsWidgetLikes `json:"likes"`
4765 Text string `json:"text"`
4766 Uid int64 `json:"uid"`
4767 User UsersUserFull `json:"user"`
4768}
4769
4770type WidgetsWidgetComment struct {
4771 Attachments []WallCommentAttachment `json:"attachments"`
4772 CanDelete BaseBoolInt `json:"can_delete"`
4773 Comments WidgetsCommentReplies `json:"comments"`
4774 Date int64 `json:"date"`
4775 FromID int64 `json:"from_id"`
4776 ID int64 `json:"id"`
4777 Likes BaseLikesInfo `json:"likes"`
4778 Media WidgetsCommentMedia `json:"media"`
4779 PostSource WallPostSource `json:"post_source"`
4780 PostType int64 `json:"post_type"`
4781 Reposts BaseRepostsInfo `json:"reposts"`
4782 Text string `json:"text"`
4783 ToID int64 `json:"to_id"`
4784 User UsersUserFull `json:"user"`
4785}
4786
4787type WidgetsWidgetLikes struct {
4788 Count int64 `json:"count"`
4789}
4790
4791type WidgetsWidgetPage struct {
4792 Comments BaseObjectCount `json:"comments"`
4793 Date int64 `json:"date"`
4794 Description string `json:"description"`
4795 ID int64 `json:"id"`
4796 Likes BaseObjectCount `json:"likes"`
4797 PageID string `json:"page_id"`
4798 Photo string `json:"photo"`
4799 Title string `json:"title"`
4800 URL string `json:"url"`
4801}
4802