· 5 years ago · Feb 18, 2020, 07:28 PM
1from vk_types.responses import *
2
3
4def account_ban(owner_id: int,) -> OkResponse:
5 """
6 :param owner_id:
7 :return:
8 """
9 pass
10
11
12def account_change_password(
13 restore_sid: str, change_password_hash: str, old_password: str, new_password: str,
14) -> AccountChangepasswordResponse:
15 """
16 :param restore_sid: - Session id received after the [vk.com/dev/auth.restore|auth.restore] method is executed. (If the password is changed right after the access was restored)
17 :param change_password_hash: - Hash received after a successful OAuth authorization with a code got by SMS. (If the password is changed right after the access was restored)
18 :param old_password: - Current user password.
19 :param new_password: - New password that will be set as a current
20 :return:
21 """
22 pass
23
24
25def account_get_active_offers(
26 offset: int, count: int,
27) -> AccountGetactiveoffersResponse:
28 """
29 :param offset:
30 :param count: - Number of results to return.
31 :return:
32 """
33 pass
34
35
36def account_get_app_permissions(user_id: int,) -> AccountGetapppermissionsResponse:
37 """
38 :param user_id: - User ID whose settings information shall be got. By default: current user.
39 :return:
40 """
41 pass
42
43
44def account_get_banned(offset: int, count: int,) -> AccountGetbannedResponse:
45 """
46 :param offset: - Offset needed to return a specific subset of results.
47 :param count: - Number of results to return.
48 :return:
49 """
50 pass
51
52
53def account_get_counters(filter: list,) -> AccountGetcountersResponse:
54 """
55 :param filter: - Counters to be returned.
56 :return:
57 """
58 pass
59
60
61def account_get_info(fields: list,) -> AccountGetinfoResponse:
62 """
63 :param fields: - Fields to return. Possible values: *'country' — user country,, *'https_required' — is "HTTPS only" option enabled,, *'own_posts_default' — is "Show my posts only" option is enabled,, *'no_wall_replies' — are wall replies disabled or not,, *'intro' — is intro passed by user or not,, *'lang' — user language. By default: all.
64 :return:
65 """
66 pass
67
68
69def account_get_profile_info() -> AccountGetprofileinfoResponse:
70 """
71 :return:
72 """
73 pass
74
75
76def account_get_push_settings(device_id: str,) -> AccountGetpushsettingsResponse:
77 """
78 :param device_id: - Unique device ID.
79 :return:
80 """
81 pass
82
83
84def account_register_device(
85 token: str,
86 device_model: str,
87 device_year: int,
88 device_id: str,
89 system_version: str,
90 settings: str,
91 sandbox: bool,
92) -> OkResponse:
93 """
94 :param token: - Device token used to send notifications. (for mpns, the token shall be URL for sending of notifications)
95 :param device_model: - String name of device model.
96 :param device_year: - Device year.
97 :param device_id: - Unique device ID.
98 :param system_version: - String version of device operating system.
99 :param settings: - Push settings in a [vk.com/dev/push_settings|special format].
100 :param sandbox:
101 :return:
102 """
103 pass
104
105
106def account_save_profile_info(
107 first_name: str,
108 last_name: str,
109 maiden_name: str,
110 screen_name: str,
111 cancel_request_id: int,
112 sex: int,
113 relation: int,
114 relation_partner_id: int,
115 bdate: str,
116 bdate_visibility: int,
117 home_town: str,
118 country_id: int,
119 city_id: int,
120 status: str,
121) -> AccountSaveprofileinfoResponse:
122 """
123 :param first_name: - User first name.
124 :param last_name: - User last name.
125 :param maiden_name: - User maiden name (female only)
126 :param screen_name: - User screen name.
127 :param cancel_request_id: - ID of the name change request to be canceled. If this parameter is sent, all the others are ignored.
128 :param sex: - User sex. Possible values: , * '1' – female,, * '2' – male.
129 :param relation: - User relationship status. Possible values: , * '1' – single,, * '2' – in a relationship,, * '3' – engaged,, * '4' – married,, * '5' – it's complicated,, * '6' – actively searching,, * '7' – in love,, * '0' – not specified.
130 :param relation_partner_id: - ID of the relationship partner.
131 :param bdate: - User birth date, format: DD.MM.YYYY.
132 :param bdate_visibility: - Birth date visibility. Returned values: , * '1' – show birth date,, * '2' – show only month and day,, * '0' – hide birth date.
133 :param home_town: - User home town.
134 :param country_id: - User country.
135 :param city_id: - User city.
136 :param status: - Status text.
137 :return:
138 """
139 pass
140
141
142def account_set_info(name: str, value: str,) -> OkResponse:
143 """
144 :param name: - Setting name.
145 :param value: - Setting value.
146 :return:
147 """
148 pass
149
150
151def account_set_name_in_menu(user_id: int, name: str,) -> OkResponse:
152 """
153 :param user_id: - User ID.
154 :param name: - Application screen name.
155 :return:
156 """
157 pass
158
159
160def account_set_offline() -> OkResponse:
161 """
162 :return:
163 """
164 pass
165
166
167def account_set_online(voip: bool,) -> OkResponse:
168 """
169 :param voip: - '1' if videocalls are available for current device.
170 :return:
171 """
172 pass
173
174
175def account_set_push_settings(
176 device_id: str, settings: str, key: str, value: list,
177) -> OkResponse:
178 """
179 :param device_id: - Unique device ID.
180 :param settings: - Push settings in a [vk.com/dev/push_settings|special format].
181 :param key: - Notification key.
182 :param value: - New value for the key in a [vk.com/dev/push_settings|special format].
183 :return:
184 """
185 pass
186
187
188def account_set_silence_mode(
189 device_id: str, time: int, peer_id: int, sound: int,
190) -> OkResponse:
191 """
192 :param device_id: - Unique device ID.
193 :param time: - Time in seconds for what notifications should be disabled. '-1' to disable forever.
194 :param peer_id: - Destination ID. "For user: 'User ID', e.g. '12345'. For chat: '2000000000' + 'Chat ID', e.g. '2000000001'. For community: '- Community ID', e.g. '-12345'. "
195 :param sound: - '1' — to enable sound in this dialog, '0' — to disable sound. Only if 'peer_id' contains user or community ID.
196 :return:
197 """
198 pass
199
200
201def account_unban(owner_id: int,) -> OkResponse:
202 """
203 :param owner_id:
204 :return:
205 """
206 pass
207
208
209def account_unregister_device(device_id: str, sandbox: bool,) -> OkResponse:
210 """
211 :param device_id: - Unique device ID.
212 :param sandbox:
213 :return:
214 """
215 pass
216
217
218def ads_add_office_users(account_id: int, data: str,) -> AdsAddofficeusersResponse:
219 """
220 :param account_id: - Advertising account ID.
221 :param data: - Serialized JSON array of objects that describe added managers. Description of 'user_specification' objects see below.
222 :return:
223 """
224 pass
225
226
227def ads_check_link(
228 account_id: int, link_type: str, link_url: str, campaign_id: int,
229) -> AdsChecklinkResponse:
230 """
231 :param account_id: - Advertising account ID.
232 :param link_type: - Object type: *'community' — community,, *'post' — community post,, *'application' — VK application,, *'video' — video,, *'site' — external site.
233 :param link_url: - Object URL.
234 :param campaign_id: - Campaign ID
235 :return:
236 """
237 pass
238
239
240def ads_create_ads(account_id: int, data: str,) -> AdsCreateadsResponse:
241 """
242 :param account_id: - Advertising account ID.
243 :param data: - Serialized JSON array of objects that describe created ads. Description of 'ad_specification' objects see below.
244 :return:
245 """
246 pass
247
248
249def ads_create_campaigns(account_id: int, data: str,) -> AdsCreatecampaignsResponse:
250 """
251 :param account_id: - Advertising account ID.
252 :param data: - Serialized JSON array of objects that describe created campaigns. Description of 'campaign_specification' objects see below.
253 :return:
254 """
255 pass
256
257
258def ads_create_clients(account_id: int, data: str,) -> AdsCreateclientsResponse:
259 """
260 :param account_id: - Advertising account ID.
261 :param data: - Serialized JSON array of objects that describe created campaigns. Description of 'client_specification' objects see below.
262 :return:
263 """
264 pass
265
266
267def ads_create_target_group(
268 account_id: int,
269 client_id: int,
270 name: str,
271 lifetime: int,
272 target_pixel_id: int,
273 target_pixel_rules: str,
274) -> AdsCreatetargetgroupResponse:
275 """
276 :param account_id: - Advertising account ID.
277 :param client_id: - 'Only for advertising agencies.', ID of the client with the advertising account where the group will be created.
278 :param name: - Name of the target group — a string up to 64 characters long.
279 :param lifetime: - 'For groups with auditory created with pixel code only.', , Number of days after that users will be automatically removed from the group.
280 :param target_pixel_id:
281 :param target_pixel_rules:
282 :return:
283 """
284 pass
285
286
287def ads_delete_ads(account_id: int, ids: str,) -> AdsDeleteadsResponse:
288 """
289 :param account_id: - Advertising account ID.
290 :param ids: - Serialized JSON array with ad IDs.
291 :return:
292 """
293 pass
294
295
296def ads_delete_campaigns(account_id: int, ids: str,) -> AdsDeletecampaignsResponse:
297 """
298 :param account_id: - Advertising account ID.
299 :param ids: - Serialized JSON array with IDs of deleted campaigns.
300 :return:
301 """
302 pass
303
304
305def ads_delete_clients(account_id: int, ids: str,) -> AdsDeleteclientsResponse:
306 """
307 :param account_id: - Advertising account ID.
308 :param ids: - Serialized JSON array with IDs of deleted clients.
309 :return:
310 """
311 pass
312
313
314def ads_delete_target_group(
315 account_id: int, client_id: int, target_group_id: int,
316) -> OkResponse:
317 """
318 :param account_id: - Advertising account ID.
319 :param client_id: - 'Only for advertising agencies.' , ID of the client with the advertising account where the group will be created.
320 :param target_group_id: - Group ID.
321 :return:
322 """
323 pass
324
325
326def ads_get_accounts() -> AdsGetaccountsResponse:
327 """
328 :return:
329 """
330 pass
331
332
333def ads_get_ads(
334 account_id: int,
335 ad_ids: str,
336 campaign_ids: str,
337 client_id: int,
338 include_deleted: bool,
339 limit: int,
340 offset: int,
341) -> AdsGetadsResponse:
342 """
343 :param account_id: - Advertising account ID.
344 :param ad_ids: - Filter by ads. Serialized JSON array with ad IDs. If the parameter is null, all ads will be shown.
345 :param campaign_ids: - Filter by advertising campaigns. Serialized JSON array with campaign IDs. If the parameter is null, ads of all campaigns will be shown.
346 :param client_id: - 'Available and required for advertising agencies.' ID of the client ads are retrieved from.
347 :param include_deleted: - Flag that specifies whether archived ads shall be shown: *0 — show only active ads,, *1 — show all ads.
348 :param limit: - Limit of number of returned ads. Used only if ad_ids parameter is null, and 'campaign_ids' parameter contains ID of only one campaign.
349 :param offset: - Offset. Used in the same cases as 'limit' parameter.
350 :return:
351 """
352 pass
353
354
355def ads_get_ads_layout(
356 account_id: int,
357 ad_ids: str,
358 campaign_ids: str,
359 client_id: int,
360 include_deleted: bool,
361 limit: int,
362 offset: int,
363) -> AdsGetadslayoutResponse:
364 """
365 :param account_id: - Advertising account ID.
366 :param ad_ids: - Filter by ads. Serialized JSON array with ad IDs. If the parameter is null, all ads will be shown.
367 :param campaign_ids: - Filter by advertising campaigns. Serialized JSON array with campaign IDs. If the parameter is null, ads of all campaigns will be shown.
368 :param client_id: - 'For advertising agencies.' ID of the client ads are retrieved from.
369 :param include_deleted: - Flag that specifies whether archived ads shall be shown. *0 — show only active ads,, *1 — show all ads.
370 :param limit: - Limit of number of returned ads. Used only if 'ad_ids' parameter is null, and 'campaign_ids' parameter contains ID of only one campaign.
371 :param offset: - Offset. Used in the same cases as 'limit' parameter.
372 :return:
373 """
374 pass
375
376
377def ads_get_ads_targeting(
378 account_id: int,
379 ad_ids: str,
380 campaign_ids: str,
381 client_id: int,
382 include_deleted: bool,
383 limit: int,
384 offset: int,
385) -> AdsGetadstargetingResponse:
386 """
387 :param account_id: - Advertising account ID.
388 :param ad_ids: - Filter by ads. Serialized JSON array with ad IDs. If the parameter is null, all ads will be shown.
389 :param campaign_ids: - Filter by advertising campaigns. Serialized JSON array with campaign IDs. If the parameter is null, ads of all campaigns will be shown.
390 :param client_id: - 'For advertising agencies.' ID of the client ads are retrieved from.
391 :param include_deleted: - flag that specifies whether archived ads shall be shown: *0 — show only active ads,, *1 — show all ads.
392 :param limit: - Limit of number of returned ads. Used only if 'ad_ids' parameter is null, and 'campaign_ids' parameter contains ID of only one campaign.
393 :param offset: - Offset needed to return a specific subset of results.
394 :return:
395 """
396 pass
397
398
399def ads_get_budget(account_id: int,) -> AdsGetbudgetResponse:
400 """
401 :param account_id: - Advertising account ID.
402 :return:
403 """
404 pass
405
406
407def ads_get_campaigns(
408 account_id: int, client_id: int, include_deleted: bool, campaign_ids: str,
409) -> AdsGetcampaignsResponse:
410 """
411 :param account_id: - Advertising account ID.
412 :param client_id: - 'For advertising agencies'. ID of the client advertising campaigns are retrieved from.
413 :param include_deleted: - Flag that specifies whether archived ads shall be shown. *0 — show only active campaigns,, *1 — show all campaigns.
414 :param campaign_ids: - Filter of advertising campaigns to show. Serialized JSON array with campaign IDs. Only campaigns that exist in 'campaign_ids' and belong to the specified advertising account will be shown. If the parameter is null, all campaigns will be shown.
415 :return:
416 """
417 pass
418
419
420def ads_get_categories(lang: str,) -> AdsGetcategoriesResponse:
421 """
422 :param lang: - Language. The full list of supported languages is [vk.com/dev/api_requests|here].
423 :return:
424 """
425 pass
426
427
428def ads_get_clients(account_id: int,) -> AdsGetclientsResponse:
429 """
430 :param account_id: - Advertising account ID.
431 :return:
432 """
433 pass
434
435
436def ads_get_demographics(
437 account_id: int, ids_type: str, ids: str, period: str, date_from: str, date_to: str,
438) -> AdsGetdemographicsResponse:
439 """
440 :param account_id: - Advertising account ID.
441 :param ids_type: - Type of requested objects listed in 'ids' parameter: *ad — ads,, *campaign — campaigns.
442 :param ids: - IDs requested ads or campaigns, separated with a comma, depending on the value set in 'ids_type'. Maximum 2000 objects.
443 :param period: - Data grouping by dates: *day — statistics by days,, *month — statistics by months,, *overall — overall statistics. 'date_from' and 'date_to' parameters set temporary limits.
444 :param date_from: - Date to show statistics from. For different value of 'period' different date format is used: *day: YYYY-MM-DD, example: 2011-09-27 — September 27, 2011, **0 — day it was created on,, *month: YYYY-MM, example: 2011-09 — September 2011, **0 — month it was created in,, *overall: 0.
445 :param date_to: - Date to show statistics to. For different value of 'period' different date format is used: *day: YYYY-MM-DD, example: 2011-09-27 — September 27, 2011, **0 — current day,, *month: YYYY-MM, example: 2011-09 — September 2011, **0 — current month,, *overall: 0.
446 :return:
447 """
448 pass
449
450
451def ads_get_flood_stats(account_id: int,) -> AdsGetfloodstatsResponse:
452 """
453 :param account_id: - Advertising account ID.
454 :return:
455 """
456 pass
457
458
459def ads_get_office_users(account_id: int,) -> AdsGetofficeusersResponse:
460 """
461 :param account_id: - Advertising account ID.
462 :return:
463 """
464 pass
465
466
467def ads_get_posts_reach(
468 account_id: int, ids_type: str, ids: str,
469) -> AdsGetpostsreachResponse:
470 """
471 :param account_id: - Advertising account ID.
472 :param ids_type: - Type of requested objects listed in 'ids' parameter: *ad — ads,, *campaign — campaigns.
473 :param ids: - IDs requested ads or campaigns, separated with a comma, depending on the value set in 'ids_type'. Maximum 100 objects.
474 :return:
475 """
476 pass
477
478
479def ads_get_rejection_reason(
480 account_id: int, ad_id: int,
481) -> AdsGetrejectionreasonResponse:
482 """
483 :param account_id: - Advertising account ID.
484 :param ad_id: - Ad ID.
485 :return:
486 """
487 pass
488
489
490def ads_get_statistics(
491 account_id: int, ids_type: str, ids: str, period: str, date_from: str, date_to: str,
492) -> AdsGetstatisticsResponse:
493 """
494 :param account_id: - Advertising account ID.
495 :param ids_type: - Type of requested objects listed in 'ids' parameter: *ad — ads,, *campaign — campaigns,, *client — clients,, *office — account.
496 :param ids: - IDs requested ads, campaigns, clients or account, separated with a comma, depending on the value set in 'ids_type'. Maximum 2000 objects.
497 :param period: - Data grouping by dates: *day — statistics by days,, *month — statistics by months,, *overall — overall statistics. 'date_from' and 'date_to' parameters set temporary limits.
498 :param date_from: - Date to show statistics from. For different value of 'period' different date format is used: *day: YYYY-MM-DD, example: 2011-09-27 — September 27, 2011, **0 — day it was created on,, *month: YYYY-MM, example: 2011-09 — September 2011, **0 — month it was created in,, *overall: 0.
499 :param date_to: - Date to show statistics to. For different value of 'period' different date format is used: *day: YYYY-MM-DD, example: 2011-09-27 — September 27, 2011, **0 — current day,, *month: YYYY-MM, example: 2011-09 — September 2011, **0 — current month,, *overall: 0.
500 :return:
501 """
502 pass
503
504
505def ads_get_suggestions(
506 section: str, ids: str, q: str, country: int, cities: str, lang: str,
507) -> AdsGetsuggestionsResponse:
508 """
509 :param section: - Section, suggestions are retrieved in. Available values: *countries — request of a list of countries. If q is not set or blank, a short list of countries is shown. Otherwise, a full list of countries is shown. *regions — requested list of regions. 'country' parameter is required. *cities — requested list of cities. 'country' parameter is required. *districts — requested list of districts. 'cities' parameter is required. *stations — requested list of subway stations. 'cities' parameter is required. *streets — requested list of streets. 'cities' parameter is required. *schools — requested list of educational organizations. 'cities' parameter is required. *interests — requested list of interests. *positions — requested list of positions (professions). *group_types — requested list of group types. *religions — requested list of religious commitments. *browsers — requested list of browsers and mobile devices.
510 :param ids: - Objects IDs separated by commas. If the parameter is passed, 'q, country, cities' should not be passed.
511 :param q: - Filter-line of the request (for countries, regions, cities, streets, schools, interests, positions).
512 :param country: - ID of the country objects are searched in.
513 :param cities: - IDs of cities where objects are searched in, separated with a comma.
514 :param lang: - Language of the returned string values. Supported languages: *ru — Russian,, *ua — Ukrainian,, *en — English.
515 :return:
516 """
517 pass
518
519
520def ads_get_target_groups(
521 account_id: int, client_id: int, extended: bool,
522) -> AdsGettargetgroupsResponse:
523 """
524 :param account_id: - Advertising account ID.
525 :param client_id: - 'Only for advertising agencies.', ID of the client with the advertising account where the group will be created.
526 :param extended: - '1' — to return pixel code.
527 :return:
528 """
529 pass
530
531
532def ads_get_targeting_stats(
533 account_id: int,
534 client_id: int,
535 criteria: str,
536 ad_id: int,
537 ad_format: int,
538 ad_platform: str,
539 ad_platform_no_wall: str,
540 ad_platform_no_ad_network: str,
541 link_url: str,
542 link_domain: str,
543) -> AdsGettargetingstatsResponse:
544 """
545 :param account_id: - Advertising account ID.
546 :param client_id:
547 :param criteria: - Serialized JSON object that describes targeting parameters. Description of 'criteria' object see below.
548 :param ad_id: - ID of an ad which targeting parameters shall be analyzed.
549 :param ad_format: - Ad format. Possible values: *'1' — image and text,, *'2' — big image,, *'3' — exclusive format,, *'4' — community, square image,, *'7' — special app format,, *'8' — special community format,, *'9' — post in community,, *'10' — app board.
550 :param ad_platform: - Platforms to use for ad showing. Possible values: (for 'ad_format' = '1'), *'0' — VK and partner sites,, *'1' — VK only. (for 'ad_format' = '9'), *'all' — all platforms,, *'desktop' — desktop version,, *'mobile' — mobile version and apps.
551 :param ad_platform_no_wall:
552 :param ad_platform_no_ad_network:
553 :param link_url: - URL for the advertised object.
554 :param link_domain: - Domain of the advertised object.
555 :return:
556 """
557 pass
558
559
560def ads_get_upload_u_r_l(ad_format: int, icon: int,) -> AdsGetuploadurlResponse:
561 """
562 :param ad_format: - Ad format: *1 — image and text,, *2 — big image,, *3 — exclusive format,, *4 — community, square image,, *7 — special app format.
563 :param icon:
564 :return:
565 """
566 pass
567
568
569def ads_get_video_upload_u_r_l() -> AdsGetvideouploadurlResponse:
570 """
571 :return:
572 """
573 pass
574
575
576def ads_import_target_contacts(
577 account_id: int, client_id: int, target_group_id: int, contacts: str,
578) -> AdsImporttargetcontactsResponse:
579 """
580 :param account_id: - Advertising account ID.
581 :param client_id: - 'Only for advertising agencies.' , ID of the client with the advertising account where the group will be created.
582 :param target_group_id: - Target group ID.
583 :param contacts: - List of phone numbers, emails or user IDs separated with a comma.
584 :return:
585 """
586 pass
587
588
589def ads_remove_office_users(account_id: int, ids: str,) -> AdsRemoveofficeusersResponse:
590 """
591 :param account_id: - Advertising account ID.
592 :param ids: - Serialized JSON array with IDs of deleted managers.
593 :return:
594 """
595 pass
596
597
598def ads_update_ads(account_id: int, data: str,) -> AdsUpdateadsResponse:
599 """
600 :param account_id: - Advertising account ID.
601 :param data: - Serialized JSON array of objects that describe changes in ads. Description of 'ad_edit_specification' objects see below.
602 :return:
603 """
604 pass
605
606
607def ads_update_campaigns(account_id: int, data: str,) -> AdsUpdatecampaignsResponse:
608 """
609 :param account_id: - Advertising account ID.
610 :param data: - Serialized JSON array of objects that describe changes in campaigns. Description of 'campaign_mod' objects see below.
611 :return:
612 """
613 pass
614
615
616def ads_update_clients(account_id: int, data: str,) -> AdsUpdateclientsResponse:
617 """
618 :param account_id: - Advertising account ID.
619 :param data: - Serialized JSON array of objects that describe changes in clients. Description of 'client_mod' objects see below.
620 :return:
621 """
622 pass
623
624
625def ads_update_target_group(
626 account_id: int,
627 client_id: int,
628 target_group_id: int,
629 name: str,
630 domain: str,
631 lifetime: int,
632 target_pixel_id: int,
633 target_pixel_rules: str,
634) -> OkResponse:
635 """
636 :param account_id: - Advertising account ID.
637 :param client_id: - 'Only for advertising agencies.' , ID of the client with the advertising account where the group will be created.
638 :param target_group_id: - Group ID.
639 :param name: - New name of the target group — a string up to 64 characters long.
640 :param domain: - Domain of the site where user accounting code will be placed.
641 :param lifetime: - 'Only for the groups that get audience from sites with user accounting code.', Time in days when users added to a retarget group will be automatically excluded from it. '0' – automatic exclusion is off.
642 :param target_pixel_id:
643 :param target_pixel_rules:
644 :return:
645 """
646 pass
647
648
649def app_widgets_update(code: str, type: str,) -> BaseOkResponse:
650 """
651 :param code:
652 :param type:
653 :return:
654 """
655 pass
656
657
658def apps_delete_app_requests() -> OkResponse:
659 """
660 :return:
661 """
662 pass
663
664
665def apps_get(
666 app_id: int,
667 app_ids: list,
668 platform: str,
669 extended: bool,
670 return_friends: bool,
671 fields: list,
672 name_case: str,
673) -> AppsGetResponse:
674 """
675 :param app_id: - Application ID
676 :param app_ids: - List of application ID
677 :param platform: - platform. Possible values: *'ios' — iOS,, *'android' — Android,, *'winphone' — Windows Phone,, *'web' — приложения на vk.com. By default: 'web'.
678 :param extended:
679 :param return_friends:
680 :param fields: - Profile fields to return. Sample values: 'nickname', 'screen_name', 'sex', 'bdate' (birthdate), 'city', 'country', 'timezone', 'photo', 'photo_medium', 'photo_big', 'has_mobile', 'contacts', 'education', 'online', 'counters', 'relation', 'last_seen', 'activity', 'can_write_private_message', 'can_see_all_posts', 'can_post', 'universities', (only if return_friends - 1)
681 :param name_case: - Case for declension of user name and surname: 'nom' — nominative (default),, 'gen' — genitive,, 'dat' — dative,, 'acc' — accusative,, 'ins' — instrumental,, 'abl' — prepositional. (only if 'return_friends' = '1')
682 :return:
683 """
684 pass
685
686
687def apps_get_catalog(
688 sort: str,
689 offset: int,
690 count: int,
691 platform: str,
692 extended: bool,
693 return_friends: bool,
694 fields: list,
695 name_case: str,
696 q: str,
697 genre_id: int,
698 filter: str,
699) -> AppsGetcatalogResponse:
700 """
701 :param sort: - Sort order: 'popular_today' — popular for one day (default), 'visitors' — by visitors number , 'create_date' — by creation date, 'growth_rate' — by growth rate, 'popular_week' — popular for one week
702 :param offset: - Offset required to return a specific subset of apps.
703 :param count: - Number of apps to return.
704 :param platform:
705 :param extended: - '1' — to return additional fields 'screenshots', 'MAU', 'catalog_position', and 'international'. If set, 'count' must be less than or equal to '100'. '0' — not to return additional fields (default).
706 :param return_friends:
707 :param fields:
708 :param name_case:
709 :param q: - Search query string.
710 :param genre_id:
711 :param filter: - 'installed' — to return list of installed apps (only for mobile platform).
712 :return:
713 """
714 pass
715
716
717def apps_get_friends_list(
718 extended: bool, count: int, offset: int, type: str, fields: list,
719) -> AppsGetfriendslistResponse:
720 """
721 :param extended:
722 :param count: - List size.
723 :param offset:
724 :param type: - List type. Possible values: * 'invite' — available for invites (don't play the game),, * 'request' — available for request (play the game). By default: 'invite'.
725 :param fields: - Additional profile fields, see [vk.com/dev/fields|description].
726 :return:
727 """
728 pass
729
730
731def apps_get_leaderboard(
732 type: str, global_: bool, extended: bool,
733) -> AppsGetleaderboardResponse:
734 """
735 :param type: - Leaderboard type. Possible values: *'level' — by level,, *'points' — by mission points,, *'score' — by score ().
736 :param global_: - Rating type. Possible values: *'1' — global rating among all players,, *'0' — rating among user friends.
737 :param extended: - 1 — to return additional info about users
738 :return:
739 """
740 pass
741
742
743def apps_get_scopes(type: str,) -> AppsGetscopesResponse:
744 """
745 :param type:
746 :return:
747 """
748 pass
749
750
751def apps_get_score(user_id: int,) -> AppsGetscoreResponse:
752 """
753 :param user_id:
754 :return:
755 """
756 pass
757
758
759def apps_send_request(
760 user_id: int, text: str, type: str, name: str, key: str, separate: bool,
761) -> AppsSendrequestResponse:
762 """
763 :param user_id: - id of the user to send a request
764 :param text: - request text
765 :param type: - request type. Values: 'invite' – if the request is sent to a user who does not have the app installed,, 'request' – if a user has already installed the app
766 :param name:
767 :param key: - special string key to be sent with the request
768 :param separate:
769 :return:
770 """
771 pass
772
773
774def auth_check_phone(
775 phone: str, client_id: int, client_secret: str, auth_by_phone: bool,
776) -> OkResponse:
777 """
778 :param phone: - Phone number.
779 :param client_id: - User ID.
780 :param client_secret:
781 :param auth_by_phone:
782 :return:
783 """
784 pass
785
786
787def auth_restore(phone: str, last_name: str,) -> AuthRestoreResponse:
788 """
789 :param phone: - User phone number.
790 :param last_name: - User last name.
791 :return:
792 """
793 pass
794
795
796def board_add_topic(
797 group_id: int, title: str, text: str, from_group: bool, attachments: list,
798) -> BoardAddtopicResponse:
799 """
800 :param group_id: - ID of the community that owns the discussion board.
801 :param title: - Topic title.
802 :param text: - Text of the topic.
803 :param from_group: - For a community: '1' — to post the topic as by the community, '0' — to post the topic as by the user (default)
804 :param attachments: - List of media objects attached to the topic, in the following format: "<owner_id>_<media_id>,<owner_id>_<media_id>", '' — Type of media object: 'photo' — photo, 'video' — video, 'audio' — audio, 'doc' — document, '<owner_id>' — ID of the media owner. '<media_id>' — Media ID. Example: "photo100172_166443618,photo66748_265827614", , "NOTE: If you try to attach more than one reference, an error will be thrown.",
805 :return:
806 """
807 pass
808
809
810def board_close_topic(group_id: int, topic_id: int,) -> OkResponse:
811 """
812 :param group_id: - ID of the community that owns the discussion board.
813 :param topic_id: - Topic ID.
814 :return:
815 """
816 pass
817
818
819def board_create_comment(
820 group_id: int,
821 topic_id: int,
822 message: str,
823 attachments: list,
824 from_group: bool,
825 sticker_id: int,
826 guid: str,
827) -> BoardCreatecommentResponse:
828 """
829 :param group_id: - ID of the community that owns the discussion board.
830 :param topic_id: - ID of the topic to be commented on.
831 :param message: - (Required if 'attachments' is not set.) Text of the comment.
832 :param attachments: - (Required if 'text' is not set.) List of media objects attached to the comment, in the following format: "<owner_id>_<media_id>,<owner_id>_<media_id>", '' — Type of media object: 'photo' — photo, 'video' — video, 'audio' — audio, 'doc' — document, '<owner_id>' — ID of the media owner. '<media_id>' — Media ID.
833 :param from_group: - '1' — to post the comment as by the community, '0' — to post the comment as by the user (default)
834 :param sticker_id: - Sticker ID.
835 :param guid: - Unique identifier to avoid repeated comments.
836 :return:
837 """
838 pass
839
840
841def board_delete_comment(group_id: int, topic_id: int, comment_id: int,) -> OkResponse:
842 """
843 :param group_id: - ID of the community that owns the discussion board.
844 :param topic_id: - Topic ID.
845 :param comment_id: - Comment ID.
846 :return:
847 """
848 pass
849
850
851def board_delete_topic(group_id: int, topic_id: int,) -> OkResponse:
852 """
853 :param group_id: - ID of the community that owns the discussion board.
854 :param topic_id: - Topic ID.
855 :return:
856 """
857 pass
858
859
860def board_edit_comment(
861 group_id: int, topic_id: int, comment_id: int, message: str, attachments: list,
862) -> OkResponse:
863 """
864 :param group_id: - ID of the community that owns the discussion board.
865 :param topic_id: - Topic ID.
866 :param comment_id: - ID of the comment on the topic.
867 :param message: - (Required if 'attachments' is not set). New comment text.
868 :param attachments: - (Required if 'message' is not set.) List of media objects attached to the comment, in the following format: "<owner_id>_<media_id>,<owner_id>_<media_id>", '' — Type of media object: 'photo' — photo, 'video' — video, 'audio' — audio, 'doc' — document, '<owner_id>' — ID of the media owner. '<media_id>' — Media ID. Example: "photo100172_166443618,photo66748_265827614"
869 :return:
870 """
871 pass
872
873
874def board_edit_topic(group_id: int, topic_id: int, title: str,) -> OkResponse:
875 """
876 :param group_id: - ID of the community that owns the discussion board.
877 :param topic_id: - Topic ID.
878 :param title: - New title of the topic.
879 :return:
880 """
881 pass
882
883
884def board_fix_topic(group_id: int, topic_id: int,) -> OkResponse:
885 """
886 :param group_id: - ID of the community that owns the discussion board.
887 :param topic_id: - Topic ID.
888 :return:
889 """
890 pass
891
892
893def board_get_comments(
894 group_id: int,
895 topic_id: int,
896 need_likes: bool,
897 start_comment_id: int,
898 offset: int,
899 count: int,
900 extended: bool,
901 sort: str,
902) -> BoardGetcommentsResponse:
903 """
904 :param group_id: - ID of the community that owns the discussion board.
905 :param topic_id: - Topic ID.
906 :param need_likes: - '1' — to return the 'likes' field, '0' — not to return the 'likes' field (default)
907 :param start_comment_id:
908 :param offset: - Offset needed to return a specific subset of comments.
909 :param count: - Number of comments to return.
910 :param extended: - '1' — to return information about users who posted comments, '0' — to return no additional fields (default)
911 :param sort: - Sort order: 'asc' — by creation date in chronological order, 'desc' — by creation date in reverse chronological order,
912 :return:
913 """
914 pass
915
916
917def board_get_topics(
918 group_id: int,
919 topic_ids: list,
920 order: int,
921 offset: int,
922 count: int,
923 extended: bool,
924 preview: int,
925 preview_length: int,
926) -> BoardGettopicsResponse:
927 """
928 :param group_id: - ID of the community that owns the discussion board.
929 :param topic_ids: - IDs of topics to be returned (100 maximum). By default, all topics are returned. If this parameter is set, the 'order', 'offset', and 'count' parameters are ignored.
930 :param order: - Sort order: '1' — by date updated in reverse chronological order. '2' — by date created in reverse chronological order. '-1' — by date updated in chronological order. '-2' — by date created in chronological order. If no sort order is specified, topics are returned in the order specified by the group administrator. Pinned topics are returned first, regardless of the sorting.
931 :param offset: - Offset needed to return a specific subset of topics.
932 :param count: - Number of topics to return.
933 :param extended: - '1' — to return information about users who created topics or who posted there last, '0' — to return no additional fields (default)
934 :param preview: - '1' — to return the first comment in each topic,, '2' — to return the last comment in each topic,, '0' — to return no comments. By default: '0'.
935 :param preview_length: - Number of characters after which to truncate the previewed comment. To preview the full comment, specify '0'.
936 :return:
937 """
938 pass
939
940
941def board_open_topic(group_id: int, topic_id: int,) -> OkResponse:
942 """
943 :param group_id: - ID of the community that owns the discussion board.
944 :param topic_id: - Topic ID.
945 :return:
946 """
947 pass
948
949
950def board_restore_comment(group_id: int, topic_id: int, comment_id: int,) -> OkResponse:
951 """
952 :param group_id: - ID of the community that owns the discussion board.
953 :param topic_id: - Topic ID.
954 :param comment_id: - Comment ID.
955 :return:
956 """
957 pass
958
959
960def board_unfix_topic(group_id: int, topic_id: int,) -> OkResponse:
961 """
962 :param group_id: - ID of the community that owns the discussion board.
963 :param topic_id: - Topic ID.
964 :return:
965 """
966 pass
967
968
969def database_get_chairs(
970 faculty_id: int, offset: int, count: int,
971) -> DatabaseGetchairsResponse:
972 """
973 :param faculty_id: - id of the faculty to get chairs from
974 :param offset: - offset required to get a certain subset of chairs
975 :param count: - amount of chairs to get
976 :return:
977 """
978 pass
979
980
981def database_get_cities(
982 country_id: int, region_id: int, q: str, need_all: bool, offset: int, count: int,
983) -> DatabaseGetcitiesResponse:
984 """
985 :param country_id: - Country ID.
986 :param region_id: - Region ID.
987 :param q: - Search query.
988 :param need_all: - '1' — to return all cities in the country, '0' — to return major cities in the country (default),
989 :param offset: - Offset needed to return a specific subset of cities.
990 :param count: - Number of cities to return.
991 :return:
992 """
993 pass
994
995
996def database_get_cities_by_id(city_ids: list,) -> DatabaseGetcitiesbyidResponse:
997 """
998 :param city_ids: - City IDs.
999 :return:
1000 """
1001 pass
1002
1003
1004def database_get_countries(
1005 need_all: bool, code: str, offset: int, count: int,
1006) -> DatabaseGetcountriesResponse:
1007 """
1008 :param need_all: - '1' — to return a full list of all countries, '0' — to return a list of countries near the current user's country (default).
1009 :param code: - Country codes in [vk.com/dev/country_codes|ISO 3166-1 alpha-2] standard.
1010 :param offset: - Offset needed to return a specific subset of countries.
1011 :param count: - Number of countries to return.
1012 :return:
1013 """
1014 pass
1015
1016
1017def database_get_countries_by_id(
1018 country_ids: list,
1019) -> DatabaseGetcountriesbyidResponse:
1020 """
1021 :param country_ids: - Country IDs.
1022 :return:
1023 """
1024 pass
1025
1026
1027def database_get_faculties(
1028 university_id: int, offset: int, count: int,
1029) -> DatabaseGetfacultiesResponse:
1030 """
1031 :param university_id: - University ID.
1032 :param offset: - Offset needed to return a specific subset of faculties.
1033 :param count: - Number of faculties to return.
1034 :return:
1035 """
1036 pass
1037
1038
1039def database_get_metro_stations(
1040 city_id: int, offset: int, count: int, extended: bool,
1041) -> DatabaseGetmetrostationsResponse:
1042 """
1043 :param city_id:
1044 :param offset:
1045 :param count:
1046 :param extended:
1047 :return:
1048 """
1049 pass
1050
1051
1052def database_get_metro_stations_by_id(
1053 station_ids: list,
1054) -> DatabaseGetmetrostationsbyidResponse:
1055 """
1056 :param station_ids:
1057 :return:
1058 """
1059 pass
1060
1061
1062def database_get_regions(
1063 country_id: int, q: str, offset: int, count: int,
1064) -> DatabaseGetregionsResponse:
1065 """
1066 :param country_id: - Country ID, received in [vk.com/dev/database.getCountries|database.getCountries] method.
1067 :param q: - Search query.
1068 :param offset: - Offset needed to return specific subset of regions.
1069 :param count: - Number of regions to return.
1070 :return:
1071 """
1072 pass
1073
1074
1075def database_get_school_classes(country_id: int,) -> DatabaseGetschoolclassesResponse:
1076 """
1077 :param country_id: - Country ID.
1078 :return:
1079 """
1080 pass
1081
1082
1083def database_get_schools(
1084 q: str, city_id: int, offset: int, count: int,
1085) -> DatabaseGetschoolsResponse:
1086 """
1087 :param q: - Search query.
1088 :param city_id: - City ID.
1089 :param offset: - Offset needed to return a specific subset of schools.
1090 :param count: - Number of schools to return.
1091 :return:
1092 """
1093 pass
1094
1095
1096def database_get_universities(
1097 q: str, country_id: int, city_id: int, offset: int, count: int,
1098) -> DatabaseGetuniversitiesResponse:
1099 """
1100 :param q: - Search query.
1101 :param country_id: - Country ID.
1102 :param city_id: - City ID.
1103 :param offset: - Offset needed to return a specific subset of universities.
1104 :param count: - Number of universities to return.
1105 :return:
1106 """
1107 pass
1108
1109
1110def docs_add(owner_id: int, doc_id: int, access_key: str,) -> DocsAddResponse:
1111 """
1112 :param owner_id: - ID of the user or community that owns the document. Use a negative value to designate a community ID.
1113 :param doc_id: - Document ID.
1114 :param access_key: - Access key. This parameter is required if 'access_key' was returned with the document's data.
1115 :return:
1116 """
1117 pass
1118
1119
1120def docs_delete(owner_id: int, doc_id: int,) -> OkResponse:
1121 """
1122 :param owner_id: - ID of the user or community that owns the document. Use a negative value to designate a community ID.
1123 :param doc_id: - Document ID.
1124 :return:
1125 """
1126 pass
1127
1128
1129def docs_edit(owner_id: int, doc_id: int, title: str, tags: list,) -> OkResponse:
1130 """
1131 :param owner_id: - User ID or community ID. Use a negative value to designate a community ID.
1132 :param doc_id: - Document ID.
1133 :param title: - Document title.
1134 :param tags: - Document tags.
1135 :return:
1136 """
1137 pass
1138
1139
1140def docs_get(count: int, offset: int, type: int, owner_id: int,) -> DocsGetResponse:
1141 """
1142 :param count: - Number of documents to return. By default, all documents.
1143 :param offset: - Offset needed to return a specific subset of documents.
1144 :param type:
1145 :param owner_id: - ID of the user or community that owns the documents. Use a negative value to designate a community ID.
1146 :return:
1147 """
1148 pass
1149
1150
1151def docs_get_by_id(docs: list,) -> DocsGetbyidResponse:
1152 """
1153 :param docs: - Document IDs. Example: , "66748_91488,66748_91455",
1154 :return:
1155 """
1156 pass
1157
1158
1159def docs_get_messages_upload_server(
1160 type: str, peer_id: int,
1161) -> BaseGetuploadserverResponse:
1162 """
1163 :param type: - Document type.
1164 :param peer_id: - Destination ID. "For user: 'User ID', e.g. '12345'. For chat: '2000000000' + 'Chat ID', e.g. '2000000001'. For community: '- Community ID', e.g. '-12345'. "
1165 :return:
1166 """
1167 pass
1168
1169
1170def docs_get_types(owner_id: int,) -> DocsGettypesResponse:
1171 """
1172 :param owner_id: - ID of the user or community that owns the documents. Use a negative value to designate a community ID.
1173 :return:
1174 """
1175 pass
1176
1177
1178def docs_get_upload_server(group_id: int,) -> DocsGetuploadserver:
1179 """
1180 :param group_id: - Community ID (if the document will be uploaded to the community).
1181 :return:
1182 """
1183 pass
1184
1185
1186def docs_get_wall_upload_server(group_id: int,) -> BaseGetuploadserverResponse:
1187 """
1188 :param group_id: - Community ID (if the document will be uploaded to the community).
1189 :return:
1190 """
1191 pass
1192
1193
1194def docs_save(file: str, title: str, tags: str,) -> DocsSaveResponse:
1195 """
1196 :param file: - This parameter is returned when the file is [vk.com/dev/upload_files_2|uploaded to the server].
1197 :param title: - Document title.
1198 :param tags: - Document tags.
1199 :return:
1200 """
1201 pass
1202
1203
1204def docs_search(
1205 q: str, search_own: bool, count: int, offset: int,
1206) -> DocsSearchResponse:
1207 """
1208 :param q: - Search query string.
1209 :param search_own:
1210 :param count: - Number of results to return.
1211 :param offset: - Offset needed to return a specific subset of results.
1212 :return:
1213 """
1214 pass
1215
1216
1217def fave_add_article(url: str,) -> BaseBoolResponse:
1218 """
1219 :param url:
1220 :return:
1221 """
1222 pass
1223
1224
1225def fave_add_link(link: str,) -> OkResponse:
1226 """
1227 :param link: - Link URL.
1228 :return:
1229 """
1230 pass
1231
1232
1233def fave_add_page(user_id: int, group_id: int,) -> OkResponse:
1234 """
1235 :param user_id:
1236 :param group_id:
1237 :return:
1238 """
1239 pass
1240
1241
1242def fave_add_post(owner_id: int, id: int, access_key: str,) -> OkResponse:
1243 """
1244 :param owner_id:
1245 :param id:
1246 :param access_key:
1247 :return:
1248 """
1249 pass
1250
1251
1252def fave_add_product(owner_id: int, id: int, access_key: str,) -> OkResponse:
1253 """
1254 :param owner_id:
1255 :param id:
1256 :param access_key:
1257 :return:
1258 """
1259 pass
1260
1261
1262def fave_add_tag(name: str,) -> FaveAddtagResponse:
1263 """
1264 :param name:
1265 :return:
1266 """
1267 pass
1268
1269
1270def fave_add_video(owner_id: int, id: int, access_key: str,) -> OkResponse:
1271 """
1272 :param owner_id:
1273 :param id:
1274 :param access_key:
1275 :return:
1276 """
1277 pass
1278
1279
1280def fave_edit_tag(id: int, name: str,) -> OkResponse:
1281 """
1282 :param id:
1283 :param name:
1284 :return:
1285 """
1286 pass
1287
1288
1289def fave_get(
1290 extended: bool,
1291 item_type: str,
1292 tag_id: int,
1293 offset: int,
1294 count: int,
1295 fields: str,
1296 is_from_snackbar: bool,
1297) -> FaveGetResponse:
1298 """
1299 :param extended: - '1' — to return additional 'wall', 'profiles', and 'groups' fields. By default: '0'.
1300 :param item_type:
1301 :param tag_id: - Tag ID.
1302 :param offset: - Offset needed to return a specific subset of users.
1303 :param count: - Number of users to return.
1304 :param fields:
1305 :param is_from_snackbar:
1306 :return:
1307 """
1308 pass
1309
1310
1311def fave_get_pages(
1312 offset: int, count: int, type: str, fields: list, tag_id: int,
1313) -> FaveGetpagesResponse:
1314 """
1315 :param offset:
1316 :param count:
1317 :param type:
1318 :param fields:
1319 :param tag_id:
1320 :return:
1321 """
1322 pass
1323
1324
1325def fave_get_tags() -> FaveGettagsResponse:
1326 """
1327 :return:
1328 """
1329 pass
1330
1331
1332def fave_mark_seen() -> BaseBoolResponse:
1333 """
1334 :return:
1335 """
1336 pass
1337
1338
1339def fave_remove_article(owner_id: int, article_id: int,) -> BaseBoolResponse:
1340 """
1341 :param owner_id:
1342 :param article_id:
1343 :return:
1344 """
1345 pass
1346
1347
1348def fave_remove_link(link_id: str, link: str,) -> OkResponse:
1349 """
1350 :param link_id: - Link ID (can be obtained by [vk.com/dev/faves.getLinks|faves.getLinks] method).
1351 :param link: - Link URL
1352 :return:
1353 """
1354 pass
1355
1356
1357def fave_remove_page(user_id: int, group_id: int,) -> OkResponse:
1358 """
1359 :param user_id:
1360 :param group_id:
1361 :return:
1362 """
1363 pass
1364
1365
1366def fave_remove_post(owner_id: int, id: int,) -> OkResponse:
1367 """
1368 :param owner_id:
1369 :param id:
1370 :return:
1371 """
1372 pass
1373
1374
1375def fave_remove_product(owner_id: int, id: int,) -> OkResponse:
1376 """
1377 :param owner_id:
1378 :param id:
1379 :return:
1380 """
1381 pass
1382
1383
1384def fave_remove_tag(id: int,) -> OkResponse:
1385 """
1386 :param id:
1387 :return:
1388 """
1389 pass
1390
1391
1392def fave_reorder_tags(ids: list,) -> OkResponse:
1393 """
1394 :param ids:
1395 :return:
1396 """
1397 pass
1398
1399
1400def fave_set_page_tags(user_id: int, group_id: int, tag_ids: list,) -> OkResponse:
1401 """
1402 :param user_id:
1403 :param group_id:
1404 :param tag_ids:
1405 :return:
1406 """
1407 pass
1408
1409
1410def fave_set_tags(
1411 item_type: str,
1412 item_owner_id: int,
1413 item_id: int,
1414 tag_ids: list,
1415 link_id: str,
1416 link_url: str,
1417) -> OkResponse:
1418 """
1419 :param item_type:
1420 :param item_owner_id:
1421 :param item_id:
1422 :param tag_ids:
1423 :param link_id:
1424 :param link_url:
1425 :return:
1426 """
1427 pass
1428
1429
1430def fave_track_page_interaction(user_id: int, group_id: int,) -> OkResponse:
1431 """
1432 :param user_id:
1433 :param group_id:
1434 :return:
1435 """
1436 pass
1437
1438
1439def friends_add(user_id: int, text: str, follow: bool,) -> FriendsAddResponse:
1440 """
1441 :param user_id: - ID of the user whose friend request will be approved or to whom a friend request will be sent.
1442 :param text: - Text of the message (up to 500 characters) for the friend request, if any.
1443 :param follow: - '1' to pass an incoming request to followers list.
1444 :return:
1445 """
1446 pass
1447
1448
1449def friends_add_list(name: str, user_ids: list,) -> FriendsAddlistResponse:
1450 """
1451 :param name: - Name of the friend list.
1452 :param user_ids: - IDs of users to be added to the friend list.
1453 :return:
1454 """
1455 pass
1456
1457
1458def friends_are_friends(user_ids: list, need_sign: bool,) -> FriendsArefriendsResponse:
1459 """
1460 :param user_ids: - IDs of the users whose friendship status to check.
1461 :param need_sign: - '1' — to return 'sign' field. 'sign' is md5("{id}_{user_id}_{friends_status}_{application_secret}"), where id is current user ID. This field allows to check that data has not been modified by the client. By default: '0'.
1462 :return:
1463 """
1464 pass
1465
1466
1467def friends_delete(user_id: int,) -> FriendsDeleteResponse:
1468 """
1469 :param user_id: - ID of the user whose friend request is to be declined or who is to be deleted from the current user's friend list.
1470 :return:
1471 """
1472 pass
1473
1474
1475def friends_delete_all_requests() -> OkResponse:
1476 """
1477 :return:
1478 """
1479 pass
1480
1481
1482def friends_delete_list(list_id: int,) -> OkResponse:
1483 """
1484 :param list_id: - ID of the friend list to delete.
1485 :return:
1486 """
1487 pass
1488
1489
1490def friends_edit(user_id: int, list_ids: list,) -> OkResponse:
1491 """
1492 :param user_id: - ID of the user whose friend list is to be edited.
1493 :param list_ids: - IDs of the friend lists to which to add the user.
1494 :return:
1495 """
1496 pass
1497
1498
1499def friends_edit_list(
1500 name: str, list_id: int, user_ids: list, add_user_ids: list, delete_user_ids: list,
1501) -> OkResponse:
1502 """
1503 :param name: - Name of the friend list.
1504 :param list_id: - Friend list ID.
1505 :param user_ids: - IDs of users in the friend list.
1506 :param add_user_ids: - (Applies if 'user_ids' parameter is not set.), User IDs to add to the friend list.
1507 :param delete_user_ids: - (Applies if 'user_ids' parameter is not set.), User IDs to delete from the friend list.
1508 :return:
1509 """
1510 pass
1511
1512
1513def friends_get(
1514 user_id: int,
1515 order: str,
1516 list_id: int,
1517 count: int,
1518 offset: int,
1519 fields: list,
1520 name_case: str,
1521 ref: str,
1522) -> FriendsGetResponse:
1523 """
1524 :param user_id: - User ID. By default, the current user ID.
1525 :param order: - Sort order: , 'name' — by name (enabled only if the 'fields' parameter is used), 'hints' — by rating, similar to how friends are sorted in My friends section, , This parameter is available only for [vk.com/dev/standalone|desktop applications].
1526 :param list_id: - ID of the friend list returned by the [vk.com/dev/friends.getLists|friends.getLists] method to be used as the source. This parameter is taken into account only when the uid parameter is set to the current user ID. This parameter is available only for [vk.com/dev/standalone|desktop applications].
1527 :param count: - Number of friends to return.
1528 :param offset: - Offset needed to return a specific subset of friends.
1529 :param fields: - Profile fields to return. Sample values: 'uid', 'first_name', 'last_name', 'nickname', 'sex', 'bdate' (birthdate), 'city', 'country', 'timezone', 'photo', 'photo_medium', 'photo_big', 'domain', 'has_mobile', 'rate', 'contacts', 'education'.
1530 :param name_case: - Case for declension of user name and surname: , 'nom' — nominative (default) , 'gen' — genitive , 'dat' — dative , 'acc' — accusative , 'ins' — instrumental , 'abl' — prepositional
1531 :param ref:
1532 :return:
1533 """
1534 pass
1535
1536
1537def friends_get_app_users() -> FriendsGetappusersResponse:
1538 """
1539 :return:
1540 """
1541 pass
1542
1543
1544def friends_get_by_phones(phones: list, fields: list,) -> FriendsGetbyphonesResponse:
1545 """
1546 :param phones: - List of phone numbers in MSISDN format (maximum 1000). Example: "+79219876543,+79111234567"
1547 :param fields: - Profile fields to return. Sample values: 'nickname', 'screen_name', 'sex', 'bdate' (birthdate), 'city', 'country', 'timezone', 'photo', 'photo_medium', 'photo_big', 'has_mobile', 'rate', 'contacts', 'education', 'online, counters'.
1548 :return:
1549 """
1550 pass
1551
1552
1553def friends_get_lists(user_id: int, return_system: bool,) -> FriendsGetlistsResponse:
1554 """
1555 :param user_id: - User ID.
1556 :param return_system: - '1' — to return system friend lists. By default: '0'.
1557 :return:
1558 """
1559 pass
1560
1561
1562def friends_get_mutual(
1563 source_uid: int,
1564 target_uid: int,
1565 target_uids: list,
1566 order: str,
1567 count: int,
1568 offset: int,
1569) -> FriendsGetmutualResponse:
1570 """
1571 :param source_uid: - ID of the user whose friends will be checked against the friends of the user specified in 'target_uid'.
1572 :param target_uid: - ID of the user whose friends will be checked against the friends of the user specified in 'source_uid'.
1573 :param target_uids: - IDs of the users whose friends will be checked against the friends of the user specified in 'source_uid'.
1574 :param order: - Sort order: 'random' — random order
1575 :param count: - Number of mutual friends to return.
1576 :param offset: - Offset needed to return a specific subset of mutual friends.
1577 :return:
1578 """
1579 pass
1580
1581
1582def friends_get_online(
1583 user_id: int,
1584 list_id: int,
1585 online_mobile: bool,
1586 order: str,
1587 count: int,
1588 offset: int,
1589) -> FriendsGetonlineResponse:
1590 """
1591 :param user_id: - User ID.
1592 :param list_id: - Friend list ID. If this parameter is not set, information about all online friends is returned.
1593 :param online_mobile: - '1' — to return an additional 'online_mobile' field, '0' — (default),
1594 :param order: - Sort order: 'random' — random order
1595 :param count: - Number of friends to return.
1596 :param offset: - Offset needed to return a specific subset of friends.
1597 :return:
1598 """
1599 pass
1600
1601
1602def friends_get_recent(count: int,) -> FriendsGetrecentResponse:
1603 """
1604 :param count: - Number of recently added friends to return.
1605 :return:
1606 """
1607 pass
1608
1609
1610def friends_get_requests(
1611 offset: int,
1612 count: int,
1613 extended: bool,
1614 need_mutual: bool,
1615 out: bool,
1616 sort: int,
1617 need_viewed: bool,
1618 suggested: bool,
1619 ref: str,
1620 fields: list,
1621) -> FriendsGetrequestsResponse:
1622 """
1623 :param offset: - Offset needed to return a specific subset of friend requests.
1624 :param count: - Number of friend requests to return (default 100, maximum 1000).
1625 :param extended: - '1' — to return response messages from users who have sent a friend request or, if 'suggested' is set to '1', to return a list of suggested friends
1626 :param need_mutual: - '1' — to return a list of mutual friends (up to 20), if any
1627 :param out: - '1' — to return outgoing requests, '0' — to return incoming requests (default)
1628 :param sort: - Sort order: '1' — by number of mutual friends, '0' — by date
1629 :param need_viewed:
1630 :param suggested: - '1' — to return a list of suggested friends, '0' — to return friend requests (default)
1631 :param ref:
1632 :param fields:
1633 :return:
1634 """
1635 pass
1636
1637
1638def friends_get_suggestions(
1639 filter: list, count: int, offset: int, fields: list, name_case: str,
1640) -> FriendsGetsuggestionsResponse:
1641 """
1642 :param filter: - Types of potential friends to return: 'mutual' — users with many mutual friends , 'contacts' — users found with the [vk.com/dev/account.importContacts|account.importContacts] method , 'mutual_contacts' — users who imported the same contacts as the current user with the [vk.com/dev/account.importContacts|account.importContacts] method
1643 :param count: - Number of suggestions to return.
1644 :param offset: - Offset needed to return a specific subset of suggestions.
1645 :param fields: - Profile fields to return. Sample values: 'nickname', 'screen_name', 'sex', 'bdate' (birthdate), 'city', 'country', 'timezone', 'photo', 'photo_medium', 'photo_big', 'has_mobile', 'rate', 'contacts', 'education', 'online', 'counters'.
1646 :param name_case: - Case for declension of user name and surname: , 'nom' — nominative (default) , 'gen' — genitive , 'dat' — dative , 'acc' — accusative , 'ins' — instrumental , 'abl' — prepositional
1647 :return:
1648 """
1649 pass
1650
1651
1652def friends_search(
1653 user_id: int, q: str, fields: list, name_case: str, offset: int, count: int,
1654) -> FriendsSearchResponse:
1655 """
1656 :param user_id: - User ID.
1657 :param q: - Search query string (e.g., 'Vasya Babich').
1658 :param fields: - Profile fields to return. Sample values: 'nickname', 'screen_name', 'sex', 'bdate' (birthdate), 'city', 'country', 'timezone', 'photo', 'photo_medium', 'photo_big', 'has_mobile', 'rate', 'contacts', 'education', 'online',
1659 :param name_case: - Case for declension of user name and surname: 'nom' — nominative (default), 'gen' — genitive , 'dat' — dative, 'acc' — accusative , 'ins' — instrumental , 'abl' — prepositional
1660 :param offset: - Offset needed to return a specific subset of friends.
1661 :param count: - Number of friends to return.
1662 :return:
1663 """
1664 pass
1665
1666
1667def gifts_get(user_id: int, count: int, offset: int,) -> GiftsGetResponse:
1668 """
1669 :param user_id: - User ID.
1670 :param count: - Number of gifts to return.
1671 :param offset: - Offset needed to return a specific subset of results.
1672 :return:
1673 """
1674 pass
1675
1676
1677def groups_add_address(
1678 group_id: int,
1679 title: str,
1680 address: str,
1681 additional_address: str,
1682 country_id: int,
1683 city_id: int,
1684 metro_id: int,
1685 latitude: int,
1686 longitude: int,
1687 phone: str,
1688 work_info_status: str,
1689 timetable: str,
1690 is_main_address: bool,
1691) -> GroupsAddAddressResponse:
1692 """
1693 :param group_id:
1694 :param title:
1695 :param address:
1696 :param additional_address:
1697 :param country_id:
1698 :param city_id:
1699 :param metro_id:
1700 :param latitude:
1701 :param longitude:
1702 :param phone:
1703 :param work_info_status:
1704 :param timetable:
1705 :param is_main_address:
1706 :return:
1707 """
1708 pass
1709
1710
1711def groups_add_callback_server(
1712 group_id: int, url: str, title: str, secret_key: str,
1713) -> GroupsAddcallbackserverResponse:
1714 """
1715 :param group_id:
1716 :param url:
1717 :param title:
1718 :param secret_key:
1719 :return:
1720 """
1721 pass
1722
1723
1724def groups_add_link(group_id: int, link: str, text: str,) -> GroupsAddlinkResponse:
1725 """
1726 :param group_id: - Community ID.
1727 :param link: - Link URL.
1728 :param text: - Description text for the link.
1729 :return:
1730 """
1731 pass
1732
1733
1734def groups_approve_request(group_id: int, user_id: int,) -> OkResponse:
1735 """
1736 :param group_id: - Community ID.
1737 :param user_id: - User ID.
1738 :return:
1739 """
1740 pass
1741
1742
1743def groups_ban(
1744 group_id: int,
1745 owner_id: int,
1746 end_date: int,
1747 reason: int,
1748 comment: str,
1749 comment_visible: bool,
1750) -> OkResponse:
1751 """
1752 :param group_id:
1753 :param owner_id:
1754 :param end_date:
1755 :param reason:
1756 :param comment:
1757 :param comment_visible:
1758 :return:
1759 """
1760 pass
1761
1762
1763def groups_create(
1764 title: str, description: str, type: str, public_category: int, subtype: int,
1765) -> GroupsCreateResponse:
1766 """
1767 :param title: - Community title.
1768 :param description: - Community description (ignored for 'type' = 'public').
1769 :param type: - Community type. Possible values: *'group' – group,, *'event' – event,, *'public' – public page
1770 :param public_category: - Category ID (for 'type' = 'public' only).
1771 :param subtype: - Public page subtype. Possible values: *'1' – place or small business,, *'2' – company, organization or website,, *'3' – famous person or group of people,, *'4' – product or work of art.
1772 :return:
1773 """
1774 pass
1775
1776
1777def groups_delete_callback_server(group_id: int, server_id: int,) -> OkResponse:
1778 """
1779 :param group_id:
1780 :param server_id:
1781 :return:
1782 """
1783 pass
1784
1785
1786def groups_delete_link(group_id: int, link_id: int,) -> OkResponse:
1787 """
1788 :param group_id: - Community ID.
1789 :param link_id: - Link ID.
1790 :return:
1791 """
1792 pass
1793
1794
1795def groups_disable_online(group_id: int,) -> OkResponse:
1796 """
1797 :param group_id:
1798 :return:
1799 """
1800 pass
1801
1802
1803def groups_edit(
1804 group_id: int,
1805 title: str,
1806 description: str,
1807 screen_name: str,
1808 access: int,
1809 website: str,
1810 subject: str,
1811 email: str,
1812 phone: str,
1813 rss: str,
1814 event_start_date: int,
1815 event_finish_date: int,
1816 event_group_id: int,
1817 public_category: int,
1818 public_subcategory: int,
1819 public_date: str,
1820 wall: int,
1821 topics: int,
1822 photos: int,
1823 video: int,
1824 audio: int,
1825 links: bool,
1826 events: bool,
1827 places: bool,
1828 contacts: bool,
1829 docs: int,
1830 wiki: int,
1831 messages: bool,
1832 articles: bool,
1833 addresses: bool,
1834 age_limits: int,
1835 market: bool,
1836 market_comments: bool,
1837 market_country: list,
1838 market_city: list,
1839 market_currency: int,
1840 market_contact: int,
1841 market_wiki: int,
1842 obscene_filter: bool,
1843 obscene_stopwords: bool,
1844 obscene_words: list,
1845 main_section: int,
1846 secondary_section: int,
1847 country: int,
1848 city: int,
1849) -> OkResponse:
1850 """
1851 :param group_id: - Community ID.
1852 :param title: - Community title.
1853 :param description: - Community description.
1854 :param screen_name: - Community screen name.
1855 :param access: - Community type. Possible values: *'0' – open,, *'1' – closed,, *'2' – private.
1856 :param website: - Website that will be displayed in the community information field.
1857 :param subject: - Community subject. Possible values: , *'1' – auto/moto,, *'2' – activity holidays,, *'3' – business,, *'4' – pets,, *'5' – health,, *'6' – dating and communication, , *'7' – games,, *'8' – IT (computers and software),, *'9' – cinema,, *'10' – beauty and fashion,, *'11' – cooking,, *'12' – art and culture,, *'13' – literature,, *'14' – mobile services and internet,, *'15' – music,, *'16' – science and technology,, *'17' – real estate,, *'18' – news and media,, *'19' – security,, *'20' – education,, *'21' – home and renovations,, *'22' – politics,, *'23' – food,, *'24' – industry,, *'25' – travel,, *'26' – work,, *'27' – entertainment,, *'28' – religion,, *'29' – family,, *'30' – sports,, *'31' – insurance,, *'32' – television,, *'33' – goods and services,, *'34' – hobbies,, *'35' – finance,, *'36' – photo,, *'37' – esoterics,, *'38' – electronics and appliances,, *'39' – erotic,, *'40' – humor,, *'41' – society, humanities,, *'42' – design and graphics.
1858 :param email: - Organizer email (for events).
1859 :param phone: - Organizer phone number (for events).
1860 :param rss: - RSS feed address for import (available only to communities with special permission. Contact vk.com/support to get it.
1861 :param event_start_date: - Event start date in Unixtime format.
1862 :param event_finish_date: - Event finish date in Unixtime format.
1863 :param event_group_id: - Organizer community ID (for events only).
1864 :param public_category: - Public page category ID.
1865 :param public_subcategory: - Public page subcategory ID.
1866 :param public_date: - Founding date of a company or organization owning the community in "dd.mm.YYYY" format.
1867 :param wall: - Wall settings. Possible values: *'0' – disabled,, *'1' – open,, *'2' – limited (groups and events only),, *'3' – closed (groups and events only).
1868 :param topics: - Board topics settings. Possbile values: , *'0' – disabled,, *'1' – open,, *'2' – limited (for groups and events only).
1869 :param photos: - Photos settings. Possible values: *'0' – disabled,, *'1' – open,, *'2' – limited (for groups and events only).
1870 :param video: - Video settings. Possible values: *'0' – disabled,, *'1' – open,, *'2' – limited (for groups and events only).
1871 :param audio: - Audio settings. Possible values: *'0' – disabled,, *'1' – open,, *'2' – limited (for groups and events only).
1872 :param links: - Links settings (for public pages only). Possible values: *'0' – disabled,, *'1' – enabled.
1873 :param events: - Events settings (for public pages only). Possible values: *'0' – disabled,, *'1' – enabled.
1874 :param places: - Places settings (for public pages only). Possible values: *'0' – disabled,, *'1' – enabled.
1875 :param contacts: - Contacts settings (for public pages only). Possible values: *'0' – disabled,, *'1' – enabled.
1876 :param docs: - Documents settings. Possible values: *'0' – disabled,, *'1' – open,, *'2' – limited (for groups and events only).
1877 :param wiki: - Wiki pages settings. Possible values: *'0' – disabled,, *'1' – open,, *'2' – limited (for groups and events only).
1878 :param messages: - Community messages. Possible values: *'0' — disabled,, *'1' — enabled.
1879 :param articles:
1880 :param addresses:
1881 :param age_limits: - Community age limits. Possible values: *'1' — no limits,, *'2' — 16+,, *'3' — 18+.
1882 :param market: - Market settings. Possible values: *'0' – disabled,, *'1' – enabled.
1883 :param market_comments: - market comments settings. Possible values: *'0' – disabled,, *'1' – enabled.
1884 :param market_country: - Market delivery countries.
1885 :param market_city: - Market delivery cities (if only one country is specified).
1886 :param market_currency: - Market currency settings. Possbile values: , *'643' – Russian rubles,, *'980' – Ukrainian hryvnia,, *'398' – Kazakh tenge,, *'978' – Euro,, *'840' – US dollars
1887 :param market_contact: - Seller contact for market. Set '0' for community messages.
1888 :param market_wiki: - ID of a wiki page with market description.
1889 :param obscene_filter: - Obscene expressions filter in comments. Possible values: , *'0' – disabled,, *'1' – enabled.
1890 :param obscene_stopwords: - Stopwords filter in comments. Possible values: , *'0' – disabled,, *'1' – enabled.
1891 :param obscene_words: - Keywords for stopwords filter.
1892 :param main_section:
1893 :param secondary_section:
1894 :param country: - Country of the community.
1895 :param city: - City of the community.
1896 :return:
1897 """
1898 pass
1899
1900
1901def groups_edit_address(
1902 group_id: int,
1903 address_id: int,
1904 title: str,
1905 address: str,
1906 additional_address: str,
1907 country_id: int,
1908 city_id: int,
1909 metro_id: int,
1910 latitude: int,
1911 longitude: int,
1912 phone: str,
1913 work_info_status: str,
1914 timetable: str,
1915 is_main_address: bool,
1916) -> GroupsEditaddressResponse:
1917 """
1918 :param group_id:
1919 :param address_id:
1920 :param title:
1921 :param address:
1922 :param additional_address:
1923 :param country_id:
1924 :param city_id:
1925 :param metro_id:
1926 :param latitude:
1927 :param longitude:
1928 :param phone:
1929 :param work_info_status:
1930 :param timetable:
1931 :param is_main_address:
1932 :return:
1933 """
1934 pass
1935
1936
1937def groups_edit_callback_server(
1938 group_id: int, server_id: int, url: str, title: str, secret_key: str,
1939) -> OkResponse:
1940 """
1941 :param group_id:
1942 :param server_id:
1943 :param url:
1944 :param title:
1945 :param secret_key:
1946 :return:
1947 """
1948 pass
1949
1950
1951def groups_edit_link(group_id: int, link_id: int, text: str,) -> OkResponse:
1952 """
1953 :param group_id: - Community ID.
1954 :param link_id: - Link ID.
1955 :param text: - New description text for the link.
1956 :return:
1957 """
1958 pass
1959
1960
1961def groups_edit_manager(
1962 group_id: int,
1963 user_id: int,
1964 role: str,
1965 is_contact: bool,
1966 contact_position: str,
1967 contact_phone: str,
1968 contact_email: str,
1969) -> OkResponse:
1970 """
1971 :param group_id: - Community ID.
1972 :param user_id: - User ID.
1973 :param role: - Manager role. Possible values: *'moderator',, *'editor',, *'administrator'.
1974 :param is_contact: - '1' — to show the manager in Contacts block of the community.
1975 :param contact_position: - Position to show in Contacts block.
1976 :param contact_phone: - Contact phone.
1977 :param contact_email: - Contact e-mail.
1978 :return:
1979 """
1980 pass
1981
1982
1983def groups_enable_online(group_id: int,) -> OkResponse:
1984 """
1985 :param group_id:
1986 :return:
1987 """
1988 pass
1989
1990
1991def groups_get(
1992 user_id: int, extended: bool, filter: list, fields: list, offset: int, count: int,
1993) -> GroupsGetResponse:
1994 """
1995 :param user_id: - User ID.
1996 :param extended: - '1' — to return complete information about a user's communities, '0' — to return a list of community IDs without any additional fields (default),
1997 :param filter: - Types of communities to return: 'admin' — to return communities administered by the user , 'editor' — to return communities where the user is an administrator or editor, 'moder' — to return communities where the user is an administrator, editor, or moderator, 'groups' — to return only groups, 'publics' — to return only public pages, 'events' — to return only events
1998 :param fields: - Profile fields to return.
1999 :param offset: - Offset needed to return a specific subset of communities.
2000 :param count: - Number of communities to return.
2001 :return:
2002 """
2003 pass
2004
2005
2006def groups_get_addresses(
2007 group_id: int,
2008 address_ids: list,
2009 latitude: int,
2010 longitude: int,
2011 offset: int,
2012 count: int,
2013 fields: list,
2014) -> GroupsGetaddressesResponse:
2015 """
2016 :param group_id: - ID or screen name of the community.
2017 :param address_ids:
2018 :param latitude: - Latitude of the user geo position.
2019 :param longitude: - Longitude of the user geo position.
2020 :param offset: - Offset needed to return a specific subset of community addresses.
2021 :param count: - Number of community addresses to return.
2022 :param fields: - Address fields
2023 :return:
2024 """
2025 pass
2026
2027
2028def groups_get_banned(
2029 group_id: int, offset: int, count: int, fields: list, owner_id: int,
2030) -> GroupsGetbannedResponse:
2031 """
2032 :param group_id: - Community ID.
2033 :param offset: - Offset needed to return a specific subset of users.
2034 :param count: - Number of users to return.
2035 :param fields:
2036 :param owner_id:
2037 :return:
2038 """
2039 pass
2040
2041
2042def groups_get_by_id(
2043 group_ids: list, group_id: str, fields: list,
2044) -> GroupsGetbyidResponse:
2045 """
2046 :param group_ids: - IDs or screen names of communities.
2047 :param group_id: - ID or screen name of the community.
2048 :param fields: - Group fields to return.
2049 :return:
2050 """
2051 pass
2052
2053
2054def groups_get_callback_confirmation_code(
2055 group_id: int,
2056) -> GroupsGetcallbackconfirmationcodeResponse:
2057 """
2058 :param group_id: - Community ID.
2059 :return:
2060 """
2061 pass
2062
2063
2064def groups_get_callback_servers(
2065 group_id: int, server_ids: list,
2066) -> GroupsGetcallbackserversResponse:
2067 """
2068 :param group_id:
2069 :param server_ids:
2070 :return:
2071 """
2072 pass
2073
2074
2075def groups_get_callback_settings(
2076 group_id: int, server_id: int,
2077) -> GroupsGetcallbacksettingsResponse:
2078 """
2079 :param group_id: - Community ID.
2080 :param server_id: - Server ID.
2081 :return:
2082 """
2083 pass
2084
2085
2086def groups_get_catalog(
2087 category_id: int, subcategory_id: int,
2088) -> GroupsGetcatalogResponse:
2089 """
2090 :param category_id: - Category id received from [vk.com/dev/groups.getCatalogInfo|groups.getCatalogInfo].
2091 :param subcategory_id: - Subcategory id received from [vk.com/dev/groups.getCatalogInfo|groups.getCatalogInfo].
2092 :return:
2093 """
2094 pass
2095
2096
2097def groups_get_catalog_info(
2098 extended: bool, subcategories: bool,
2099) -> GroupsGetcataloginfoResponse:
2100 """
2101 :param extended: - 1 – to return communities count and three communities for preview. By default: 0.
2102 :param subcategories: - 1 – to return subcategories info. By default: 0.
2103 :return:
2104 """
2105 pass
2106
2107
2108def groups_get_invited_users(
2109 group_id: int, offset: int, count: int, fields: list, name_case: str,
2110) -> GroupsGetinvitedusersResponse:
2111 """
2112 :param group_id: - Group ID to return invited users for.
2113 :param offset: - Offset needed to return a specific subset of results.
2114 :param count: - Number of results to return.
2115 :param fields: - List of additional fields to be returned. Available values: 'sex, bdate, city, country, photo_50, photo_100, photo_200_orig, photo_200, photo_400_orig, photo_max, photo_max_orig, online, online_mobile, lists, domain, has_mobile, contacts, connections, site, education, universities, schools, can_post, can_see_all_posts, can_see_audio, can_write_private_message, status, last_seen, common_count, relation, relatives, counters'.
2116 :param name_case: - Case for declension of user name and surname. Possible values: *'nom' — nominative (default),, *'gen' — genitive,, *'dat' — dative,, *'acc' — accusative, , *'ins' — instrumental,, *'abl' — prepositional.
2117 :return:
2118 """
2119 pass
2120
2121
2122def groups_get_invites(
2123 offset: int, count: int, extended: bool,
2124) -> GroupsGetinvitesResponse:
2125 """
2126 :param offset: - Offset needed to return a specific subset of invitations.
2127 :param count: - Number of invitations to return.
2128 :param extended: - '1' — to return additional [vk.com/dev/fields_groups|fields] for communities..
2129 :return:
2130 """
2131 pass
2132
2133
2134def groups_get_long_poll_server(group_id: int,) -> GroupsGetlongpollserverResponse:
2135 """
2136 :param group_id: - Community ID
2137 :return:
2138 """
2139 pass
2140
2141
2142def groups_get_long_poll_settings(group_id: int,) -> GroupsGetlongpollsettingsResponse:
2143 """
2144 :param group_id: - Community ID.
2145 :return:
2146 """
2147 pass
2148
2149
2150def groups_get_members(
2151 group_id: str, sort: str, offset: int, count: int, fields: list, filter: str,
2152) -> GroupsGetmembersResponse:
2153 """
2154 :param group_id: - ID or screen name of the community.
2155 :param sort: - Sort order. Available values: 'id_asc', 'id_desc', 'time_asc', 'time_desc'. 'time_asc' and 'time_desc' are availavle only if the method is called by the group's 'moderator'.
2156 :param offset: - Offset needed to return a specific subset of community members.
2157 :param count: - Number of community members to return.
2158 :param fields: - List of additional fields to be returned. Available values: 'sex, bdate, city, country, photo_50, photo_100, photo_200_orig, photo_200, photo_400_orig, photo_max, photo_max_orig, online, online_mobile, lists, domain, has_mobile, contacts, connections, site, education, universities, schools, can_post, can_see_all_posts, can_see_audio, can_write_private_message, status, last_seen, common_count, relation, relatives, counters'.
2159 :param filter: - *'friends' – only friends in this community will be returned,, *'unsure' – only those who pressed 'I may attend' will be returned (if it's an event).
2160 :return:
2161 """
2162 pass
2163
2164
2165def groups_get_requests(
2166 group_id: int, offset: int, count: int, fields: list,
2167) -> GroupsGetrequestsResponse:
2168 """
2169 :param group_id: - Community ID.
2170 :param offset: - Offset needed to return a specific subset of results.
2171 :param count: - Number of results to return.
2172 :param fields: - Profile fields to return.
2173 :return:
2174 """
2175 pass
2176
2177
2178def groups_get_settings(group_id: int,) -> GroupsGetsettingsResponse:
2179 """
2180 :param group_id: - Community ID.
2181 :return:
2182 """
2183 pass
2184
2185
2186def groups_get_token_permissions() -> GroupsGettokenpermissionsResponse:
2187 """
2188 :return:
2189 """
2190 pass
2191
2192
2193def groups_invite(group_id: int, user_id: int,) -> OkResponse:
2194 """
2195 :param group_id: - Community ID.
2196 :param user_id: - User ID.
2197 :return:
2198 """
2199 pass
2200
2201
2202def groups_is_member(
2203 group_id: str, user_id: int, user_ids: list, extended: bool,
2204) -> GroupsIsmemberResponse:
2205 """
2206 :param group_id: - ID or screen name of the community.
2207 :param user_id: - User ID.
2208 :param user_ids: - User IDs.
2209 :param extended: - '1' — to return an extended response with additional fields. By default: '0'.
2210 :return:
2211 """
2212 pass
2213
2214
2215def groups_join(group_id: int, not_sure: str,) -> OkResponse:
2216 """
2217 :param group_id: - ID or screen name of the community.
2218 :param not_sure: - Optional parameter which is taken into account when 'gid' belongs to the event: '1' — Perhaps I will attend, '0' — I will be there for sure (default), ,
2219 :return:
2220 """
2221 pass
2222
2223
2224def groups_leave(group_id: int,) -> OkResponse:
2225 """
2226 :param group_id: - ID or screen name of the community.
2227 :return:
2228 """
2229 pass
2230
2231
2232def groups_remove_user(group_id: int, user_id: int,) -> OkResponse:
2233 """
2234 :param group_id: - Community ID.
2235 :param user_id: - User ID.
2236 :return:
2237 """
2238 pass
2239
2240
2241def groups_reorder_link(group_id: int, link_id: int, after: int,) -> OkResponse:
2242 """
2243 :param group_id: - Community ID.
2244 :param link_id: - Link ID.
2245 :param after: - ID of the link after which to place the link with 'link_id'.
2246 :return:
2247 """
2248 pass
2249
2250
2251def groups_search(
2252 q: str,
2253 type: str,
2254 country_id: int,
2255 city_id: int,
2256 future: bool,
2257 market: bool,
2258 sort: int,
2259 offset: int,
2260 count: int,
2261) -> GroupsSearchResponse:
2262 """
2263 :param q: - Search query string.
2264 :param type: - Community type. Possible values: 'group, page, event.'
2265 :param country_id: - Country ID.
2266 :param city_id: - City ID. If this parameter is transmitted, country_id is ignored.
2267 :param future: - '1' — to return only upcoming events. Works with the 'type' = 'event' only.
2268 :param market: - '1' — to return communities with enabled market only.
2269 :param sort: - Sort order. Possible values: *'0' — default sorting (similar the full version of the site),, *'1' — by growth speed,, *'2'— by the "day attendance/members number" ratio,, *'3' — by the "Likes number/members number" ratio,, *'4' — by the "comments number/members number" ratio,, *'5' — by the "boards entries number/members number" ratio.
2270 :param offset: - Offset needed to return a specific subset of results.
2271 :param count: - Number of communities to return. "Note that you can not receive more than first thousand of results, regardless of 'count' and 'offset' values."
2272 :return:
2273 """
2274 pass
2275
2276
2277def groups_set_callback_settings(
2278 group_id: int,
2279 server_id: int,
2280 api_version: str,
2281 message_new: bool,
2282 message_reply: bool,
2283 message_allow: bool,
2284 message_edit: bool,
2285 message_deny: bool,
2286 message_typing_state: bool,
2287 photo_new: bool,
2288 audio_new: bool,
2289 video_new: bool,
2290 wall_reply_new: bool,
2291 wall_reply_edit: bool,
2292 wall_reply_delete: bool,
2293 wall_reply_restore: bool,
2294 wall_post_new: bool,
2295 wall_repost: bool,
2296 board_post_new: bool,
2297 board_post_edit: bool,
2298 board_post_restore: bool,
2299 board_post_delete: bool,
2300 photo_comment_new: bool,
2301 photo_comment_edit: bool,
2302 photo_comment_delete: bool,
2303 photo_comment_restore: bool,
2304 video_comment_new: bool,
2305 video_comment_edit: bool,
2306 video_comment_delete: bool,
2307 video_comment_restore: bool,
2308 market_comment_new: bool,
2309 market_comment_edit: bool,
2310 market_comment_delete: bool,
2311 market_comment_restore: bool,
2312 poll_vote_new: bool,
2313 group_join: bool,
2314 group_leave: bool,
2315 group_change_settings: bool,
2316 group_change_photo: bool,
2317 group_officers_edit: bool,
2318 user_block: bool,
2319 user_unblock: bool,
2320 lead_forms_new: bool,
2321) -> OkResponse:
2322 """
2323 :param group_id: - Community ID.
2324 :param server_id: - Server ID.
2325 :param api_version:
2326 :param message_new: - A new incoming message has been received ('0' — disabled, '1' — enabled).
2327 :param message_reply: - A new outcoming message has been received ('0' — disabled, '1' — enabled).
2328 :param message_allow: - Allowed messages notifications ('0' — disabled, '1' — enabled).
2329 :param message_edit:
2330 :param message_deny: - Denied messages notifications ('0' — disabled, '1' — enabled).
2331 :param message_typing_state:
2332 :param photo_new: - New photos notifications ('0' — disabled, '1' — enabled).
2333 :param audio_new: - New audios notifications ('0' — disabled, '1' — enabled).
2334 :param video_new: - New videos notifications ('0' — disabled, '1' — enabled).
2335 :param wall_reply_new: - New wall replies notifications ('0' — disabled, '1' — enabled).
2336 :param wall_reply_edit: - Wall replies edited notifications ('0' — disabled, '1' — enabled).
2337 :param wall_reply_delete: - A wall comment has been deleted ('0' — disabled, '1' — enabled).
2338 :param wall_reply_restore: - A wall comment has been restored ('0' — disabled, '1' — enabled).
2339 :param wall_post_new: - New wall posts notifications ('0' — disabled, '1' — enabled).
2340 :param wall_repost: - New wall posts notifications ('0' — disabled, '1' — enabled).
2341 :param board_post_new: - New board posts notifications ('0' — disabled, '1' — enabled).
2342 :param board_post_edit: - Board posts edited notifications ('0' — disabled, '1' — enabled).
2343 :param board_post_restore: - Board posts restored notifications ('0' — disabled, '1' — enabled).
2344 :param board_post_delete: - Board posts deleted notifications ('0' — disabled, '1' — enabled).
2345 :param photo_comment_new: - New comment to photo notifications ('0' — disabled, '1' — enabled).
2346 :param photo_comment_edit: - A photo comment has been edited ('0' — disabled, '1' — enabled).
2347 :param photo_comment_delete: - A photo comment has been deleted ('0' — disabled, '1' — enabled).
2348 :param photo_comment_restore: - A photo comment has been restored ('0' — disabled, '1' — enabled).
2349 :param video_comment_new: - New comment to video notifications ('0' — disabled, '1' — enabled).
2350 :param video_comment_edit: - A video comment has been edited ('0' — disabled, '1' — enabled).
2351 :param video_comment_delete: - A video comment has been deleted ('0' — disabled, '1' — enabled).
2352 :param video_comment_restore: - A video comment has been restored ('0' — disabled, '1' — enabled).
2353 :param market_comment_new: - New comment to market item notifications ('0' — disabled, '1' — enabled).
2354 :param market_comment_edit: - A market comment has been edited ('0' — disabled, '1' — enabled).
2355 :param market_comment_delete: - A market comment has been deleted ('0' — disabled, '1' — enabled).
2356 :param market_comment_restore: - A market comment has been restored ('0' — disabled, '1' — enabled).
2357 :param poll_vote_new: - A vote in a public poll has been added ('0' — disabled, '1' — enabled).
2358 :param group_join: - Joined community notifications ('0' — disabled, '1' — enabled).
2359 :param group_leave: - Left community notifications ('0' — disabled, '1' — enabled).
2360 :param group_change_settings:
2361 :param group_change_photo:
2362 :param group_officers_edit:
2363 :param user_block: - User added to community blacklist
2364 :param user_unblock: - User removed from community blacklist
2365 :param lead_forms_new: - New form in lead forms
2366 :return:
2367 """
2368 pass
2369
2370
2371def groups_set_long_poll_settings(
2372 group_id: int,
2373 enabled: bool,
2374 api_version: str,
2375 message_new: bool,
2376 message_reply: bool,
2377 message_allow: bool,
2378 message_deny: bool,
2379 message_edit: bool,
2380 message_typing_state: bool,
2381 photo_new: bool,
2382 audio_new: bool,
2383 video_new: bool,
2384 wall_reply_new: bool,
2385 wall_reply_edit: bool,
2386 wall_reply_delete: bool,
2387 wall_reply_restore: bool,
2388 wall_post_new: bool,
2389 wall_repost: bool,
2390 board_post_new: bool,
2391 board_post_edit: bool,
2392 board_post_restore: bool,
2393 board_post_delete: bool,
2394 photo_comment_new: bool,
2395 photo_comment_edit: bool,
2396 photo_comment_delete: bool,
2397 photo_comment_restore: bool,
2398 video_comment_new: bool,
2399 video_comment_edit: bool,
2400 video_comment_delete: bool,
2401 video_comment_restore: bool,
2402 market_comment_new: bool,
2403 market_comment_edit: bool,
2404 market_comment_delete: bool,
2405 market_comment_restore: bool,
2406 poll_vote_new: bool,
2407 group_join: bool,
2408 group_leave: bool,
2409 group_change_settings: bool,
2410 group_change_photo: bool,
2411 group_officers_edit: bool,
2412 user_block: bool,
2413 user_unblock: bool,
2414) -> OkResponse:
2415 """
2416 :param group_id: - Community ID.
2417 :param enabled: - Sets whether Long Poll is enabled ('0' — disabled, '1' — enabled).
2418 :param api_version:
2419 :param message_new: - A new incoming message has been received ('0' — disabled, '1' — enabled).
2420 :param message_reply: - A new outcoming message has been received ('0' — disabled, '1' — enabled).
2421 :param message_allow: - Allowed messages notifications ('0' — disabled, '1' — enabled).
2422 :param message_deny: - Denied messages notifications ('0' — disabled, '1' — enabled).
2423 :param message_edit: - A message has been edited ('0' — disabled, '1' — enabled).
2424 :param message_typing_state:
2425 :param photo_new: - New photos notifications ('0' — disabled, '1' — enabled).
2426 :param audio_new: - New audios notifications ('0' — disabled, '1' — enabled).
2427 :param video_new: - New videos notifications ('0' — disabled, '1' — enabled).
2428 :param wall_reply_new: - New wall replies notifications ('0' — disabled, '1' — enabled).
2429 :param wall_reply_edit: - Wall replies edited notifications ('0' — disabled, '1' — enabled).
2430 :param wall_reply_delete: - A wall comment has been deleted ('0' — disabled, '1' — enabled).
2431 :param wall_reply_restore: - A wall comment has been restored ('0' — disabled, '1' — enabled).
2432 :param wall_post_new: - New wall posts notifications ('0' — disabled, '1' — enabled).
2433 :param wall_repost: - New wall posts notifications ('0' — disabled, '1' — enabled).
2434 :param board_post_new: - New board posts notifications ('0' — disabled, '1' — enabled).
2435 :param board_post_edit: - Board posts edited notifications ('0' — disabled, '1' — enabled).
2436 :param board_post_restore: - Board posts restored notifications ('0' — disabled, '1' — enabled).
2437 :param board_post_delete: - Board posts deleted notifications ('0' — disabled, '1' — enabled).
2438 :param photo_comment_new: - New comment to photo notifications ('0' — disabled, '1' — enabled).
2439 :param photo_comment_edit: - A photo comment has been edited ('0' — disabled, '1' — enabled).
2440 :param photo_comment_delete: - A photo comment has been deleted ('0' — disabled, '1' — enabled).
2441 :param photo_comment_restore: - A photo comment has been restored ('0' — disabled, '1' — enabled).
2442 :param video_comment_new: - New comment to video notifications ('0' — disabled, '1' — enabled).
2443 :param video_comment_edit: - A video comment has been edited ('0' — disabled, '1' — enabled).
2444 :param video_comment_delete: - A video comment has been deleted ('0' — disabled, '1' — enabled).
2445 :param video_comment_restore: - A video comment has been restored ('0' — disabled, '1' — enabled).
2446 :param market_comment_new: - New comment to market item notifications ('0' — disabled, '1' — enabled).
2447 :param market_comment_edit: - A market comment has been edited ('0' — disabled, '1' — enabled).
2448 :param market_comment_delete: - A market comment has been deleted ('0' — disabled, '1' — enabled).
2449 :param market_comment_restore: - A market comment has been restored ('0' — disabled, '1' — enabled).
2450 :param poll_vote_new: - A vote in a public poll has been added ('0' — disabled, '1' — enabled).
2451 :param group_join: - Joined community notifications ('0' — disabled, '1' — enabled).
2452 :param group_leave: - Left community notifications ('0' — disabled, '1' — enabled).
2453 :param group_change_settings:
2454 :param group_change_photo:
2455 :param group_officers_edit:
2456 :param user_block: - User added to community blacklist
2457 :param user_unblock: - User removed from community blacklist
2458 :return:
2459 """
2460 pass
2461
2462
2463def groups_unban(group_id: int, owner_id: int,) -> OkResponse:
2464 """
2465 :param group_id:
2466 :param owner_id:
2467 :return:
2468 """
2469 pass
2470
2471
2472def leads_check_user(
2473 lead_id: int,
2474 test_result: int,
2475 test_mode: bool,
2476 auto_start: bool,
2477 age: int,
2478 country: str,
2479) -> LeadsCheckuserResponse:
2480 """
2481 :param lead_id: - Lead ID.
2482 :param test_result: - Value to be return in 'result' field when test mode is used.
2483 :param test_mode:
2484 :param auto_start:
2485 :param age: - User age.
2486 :param country: - User country code.
2487 :return:
2488 """
2489 pass
2490
2491
2492def leads_complete(vk_sid: str, secret: str, comment: str,) -> LeadsCompleteResponse:
2493 """
2494 :param vk_sid: - Session obtained as GET parameter when session started.
2495 :param secret: - Secret key from the lead testing interface.
2496 :param comment: - Comment text.
2497 :return:
2498 """
2499 pass
2500
2501
2502def leads_get_stats(
2503 lead_id: int, secret: str, date_start: str, date_end: str,
2504) -> LeadsGetstatsResponse:
2505 """
2506 :param lead_id: - Lead ID.
2507 :param secret: - Secret key obtained from the lead testing interface.
2508 :param date_start: - Day to start stats from (YYYY_MM_DD, e.g.2011-09-17).
2509 :param date_end: - Day to finish stats (YYYY_MM_DD, e.g.2011-09-17).
2510 :return:
2511 """
2512 pass
2513
2514
2515def leads_get_users(
2516 offer_id: int, secret: str, offset: int, count: int, status: int, reverse: bool,
2517) -> LeadsGetusersResponse:
2518 """
2519 :param offer_id: - Offer ID.
2520 :param secret: - Secret key obtained in the lead testing interface.
2521 :param offset: - Offset needed to return a specific subset of results.
2522 :param count: - Number of results to return.
2523 :param status: - Action type. Possible values: *'0' — start,, *'1' — finish,, *'2' — blocking users,, *'3' — start in a test mode,, *'4' — finish in a test mode.
2524 :param reverse: - Sort order. Possible values: *'1' — chronological,, *'0' — reverse chronological.
2525 :return:
2526 """
2527 pass
2528
2529
2530def leads_metric_hit(data: str,) -> LeadsMetrichitResponse:
2531 """
2532 :param data: - Metric data obtained in the lead interface.
2533 :return:
2534 """
2535 pass
2536
2537
2538def leads_start(
2539 lead_id: int, secret: str, uid: int, aid: int, test_mode: bool, force: bool,
2540) -> LeadsStartResponse:
2541 """
2542 :param lead_id: - Lead ID.
2543 :param secret: - Secret key from the lead testing interface.
2544 :param uid:
2545 :param aid:
2546 :param test_mode:
2547 :param force:
2548 :return:
2549 """
2550 pass
2551
2552
2553def likes_add(
2554 type: str, owner_id: int, item_id: int, access_key: str,
2555) -> LikesAddResponse:
2556 """
2557 :param type: - Object type: 'post' — post on user or community wall, 'comment' — comment on a wall post, 'photo' — photo, 'audio' — audio, 'video' — video, 'note' — note, 'photo_comment' — comment on the photo, 'video_comment' — comment on the video, 'topic_comment' — comment in the discussion, 'sitepage' — page of the site where the [vk.com/dev/Like|Like widget] is installed
2558 :param owner_id: - ID of the user or community that owns the object.
2559 :param item_id: - Object ID.
2560 :param access_key: - Access key required for an object owned by a private entity.
2561 :return:
2562 """
2563 pass
2564
2565
2566def likes_delete(type: str, owner_id: int, item_id: int,) -> LikesDeleteResponse:
2567 """
2568 :param type: - Object type: 'post' — post on user or community wall, 'comment' — comment on a wall post, 'photo' — photo, 'audio' — audio, 'video' — video, 'note' — note, 'photo_comment' — comment on the photo, 'video_comment' — comment on the video, 'topic_comment' — comment in the discussion, 'sitepage' — page of the site where the [vk.com/dev/Like|Like widget] is installed
2569 :param owner_id: - ID of the user or community that owns the object.
2570 :param item_id: - Object ID.
2571 :return:
2572 """
2573 pass
2574
2575
2576def likes_get_list(
2577 type: str,
2578 owner_id: int,
2579 item_id: int,
2580 page_url: str,
2581 filter: str,
2582 friends_only: int,
2583 extended: bool,
2584 offset: int,
2585 count: int,
2586 skip_own: bool,
2587) -> LikesGetlistResponse:
2588 """
2589 :param type: - , Object type: 'post' — post on user or community wall, 'comment' — comment on a wall post, 'photo' — photo, 'audio' — audio, 'video' — video, 'note' — note, 'photo_comment' — comment on the photo, 'video_comment' — comment on the video, 'topic_comment' — comment in the discussion, 'sitepage' — page of the site where the [vk.com/dev/Like|Like widget] is installed
2590 :param owner_id: - ID of the user, community, or application that owns the object. If the 'type' parameter is set as 'sitepage', the application ID is passed as 'owner_id'. Use negative value for a community id. If the 'type' parameter is not set, the 'owner_id' is assumed to be either the current user or the same application ID as if the 'type' parameter was set to 'sitepage'.
2591 :param item_id: - Object ID. If 'type' is set as 'sitepage', 'item_id' can include the 'page_id' parameter value used during initialization of the [vk.com/dev/Like|Like widget].
2592 :param page_url: - URL of the page where the [vk.com/dev/Like|Like widget] is installed. Used instead of the 'item_id' parameter.
2593 :param filter: - Filters to apply: 'likes' — returns information about all users who liked the object (default), 'copies' — returns information only about users who told their friends about the object
2594 :param friends_only: - Specifies which users are returned: '1' — to return only the current user's friends, '0' — to return all users (default)
2595 :param extended: - Specifies whether extended information will be returned. '1' — to return extended information about users and communities from the 'Likes' list, '0' — to return no additional information (default)
2596 :param offset: - Offset needed to select a specific subset of users.
2597 :param count: - Number of user IDs to return (maximum '1000'). Default is '100' if 'friends_only' is set to '0', otherwise, the default is '10' if 'friends_only' is set to '1'.
2598 :param skip_own:
2599 :return:
2600 """
2601 pass
2602
2603
2604def likes_is_liked(
2605 user_id: int, type: str, owner_id: int, item_id: int,
2606) -> LikesIslikedResponse:
2607 """
2608 :param user_id: - User ID.
2609 :param type: - Object type: 'post' — post on user or community wall, 'comment' — comment on a wall post, 'photo' — photo, 'audio' — audio, 'video' — video, 'note' — note, 'photo_comment' — comment on the photo, 'video_comment' — comment on the video, 'topic_comment' — comment in the discussion
2610 :param owner_id: - ID of the user or community that owns the object.
2611 :param item_id: - Object ID.
2612 :return:
2613 """
2614 pass
2615
2616
2617def market_add(
2618 owner_id: int,
2619 name: str,
2620 description: str,
2621 category_id: int,
2622 price: int,
2623 old_price: int,
2624 deleted: bool,
2625 main_photo_id: int,
2626 photo_ids: list,
2627 url: str,
2628) -> MarketAddResponse:
2629 """
2630 :param owner_id: - ID of an item owner community.
2631 :param name: - Item name.
2632 :param description: - Item description.
2633 :param category_id: - Item category ID.
2634 :param price: - Item price.
2635 :param old_price:
2636 :param deleted: - Item status ('1' — deleted, '0' — not deleted).
2637 :param main_photo_id: - Cover photo ID.
2638 :param photo_ids: - IDs of additional photos.
2639 :param url: - Url for button in market item.
2640 :return:
2641 """
2642 pass
2643
2644
2645def market_add_album(
2646 owner_id: int, title: str, photo_id: int, main_album: bool,
2647) -> MarketAddalbumResponse:
2648 """
2649 :param owner_id: - ID of an item owner community.
2650 :param title: - Collection title.
2651 :param photo_id: - Cover photo ID.
2652 :param main_album: - Set as main ('1' – set, '0' – no).
2653 :return:
2654 """
2655 pass
2656
2657
2658def market_add_to_album(owner_id: int, item_id: int, album_ids: list,) -> OkResponse:
2659 """
2660 :param owner_id: - ID of an item owner community.
2661 :param item_id: - Item ID.
2662 :param album_ids: - Collections IDs to add item to.
2663 :return:
2664 """
2665 pass
2666
2667
2668def market_create_comment(
2669 owner_id: int,
2670 item_id: int,
2671 message: str,
2672 attachments: list,
2673 from_group: bool,
2674 reply_to_comment: int,
2675 sticker_id: int,
2676 guid: str,
2677) -> MarketCreatecommentResponse:
2678 """
2679 :param owner_id: - ID of an item owner community.
2680 :param item_id: - Item ID.
2681 :param message: - Comment text (required if 'attachments' parameter is not specified)
2682 :param attachments: - Comma-separated list of objects attached to a comment. The field is submitted the following way: , "'<owner_id>_<media_id>,<owner_id>_<media_id>'", , '' - media attachment type: "'photo' - photo, 'video' - video, 'audio' - audio, 'doc' - document", , '<owner_id>' - media owner id, '<media_id>' - media attachment id, , For example: "photo100172_166443618,photo66748_265827614",
2683 :param from_group: - '1' - comment will be published on behalf of a community, '0' - on behalf of a user (by default).
2684 :param reply_to_comment: - ID of a comment to reply with current comment to.
2685 :param sticker_id: - Sticker ID.
2686 :param guid: - Random value to avoid resending one comment.
2687 :return:
2688 """
2689 pass
2690
2691
2692def market_delete(owner_id: int, item_id: int,) -> OkResponse:
2693 """
2694 :param owner_id: - ID of an item owner community.
2695 :param item_id: - Item ID.
2696 :return:
2697 """
2698 pass
2699
2700
2701def market_delete_album(owner_id: int, album_id: int,) -> OkResponse:
2702 """
2703 :param owner_id: - ID of an collection owner community.
2704 :param album_id: - Collection ID.
2705 :return:
2706 """
2707 pass
2708
2709
2710def market_delete_comment(
2711 owner_id: int, comment_id: int,
2712) -> MarketDeletecommentResponse:
2713 """
2714 :param owner_id: - identifier of an item owner community, "Note that community id in the 'owner_id' parameter should be negative number. For example 'owner_id'=-1 matches the [vk.com/apiclub|VK API] community "
2715 :param comment_id: - comment id
2716 :return:
2717 """
2718 pass
2719
2720
2721def market_edit(
2722 owner_id: int,
2723 item_id: int,
2724 name: str,
2725 description: str,
2726 category_id: int,
2727 price: int,
2728 deleted: bool,
2729 main_photo_id: int,
2730 photo_ids: list,
2731 url: str,
2732) -> OkResponse:
2733 """
2734 :param owner_id: - ID of an item owner community.
2735 :param item_id: - Item ID.
2736 :param name: - Item name.
2737 :param description: - Item description.
2738 :param category_id: - Item category ID.
2739 :param price: - Item price.
2740 :param deleted: - Item status ('1' — deleted, '0' — not deleted).
2741 :param main_photo_id: - Cover photo ID.
2742 :param photo_ids: - IDs of additional photos.
2743 :param url: - Url for button in market item.
2744 :return:
2745 """
2746 pass
2747
2748
2749def market_edit_album(
2750 owner_id: int, album_id: int, title: str, photo_id: int, main_album: bool,
2751) -> OkResponse:
2752 """
2753 :param owner_id: - ID of an collection owner community.
2754 :param album_id: - Collection ID.
2755 :param title: - Collection title.
2756 :param photo_id: - Cover photo id
2757 :param main_album: - Set as main ('1' – set, '0' – no).
2758 :return:
2759 """
2760 pass
2761
2762
2763def market_edit_comment(
2764 owner_id: int, comment_id: int, message: str, attachments: list,
2765) -> OkResponse:
2766 """
2767 :param owner_id: - ID of an item owner community.
2768 :param comment_id: - Comment ID.
2769 :param message: - New comment text (required if 'attachments' are not specified), , 2048 symbols maximum.
2770 :param attachments: - Comma-separated list of objects attached to a comment. The field is submitted the following way: , "'<owner_id>_<media_id>,<owner_id>_<media_id>'", , '' - media attachment type: "'photo' - photo, 'video' - video, 'audio' - audio, 'doc' - document", , '<owner_id>' - media owner id, '<media_id>' - media attachment id, , For example: "photo100172_166443618,photo66748_265827614",
2771 :return:
2772 """
2773 pass
2774
2775
2776def market_get(
2777 owner_id: int, album_id: int, count: int, offset: int, extended: bool,
2778) -> MarketGetResponse:
2779 """
2780 :param owner_id: - ID of an item owner community, "Note that community id in the 'owner_id' parameter should be negative number. For example 'owner_id'=-1 matches the [vk.com/apiclub|VK API] community "
2781 :param album_id:
2782 :param count: - Number of items to return.
2783 :param offset: - Offset needed to return a specific subset of results.
2784 :param extended: - '1' – method will return additional fields: 'likes, can_comment, car_repost, photos'. These parameters are not returned by default.
2785 :return:
2786 """
2787 pass
2788
2789
2790def market_get_album_by_id(
2791 owner_id: int, album_ids: list,
2792) -> MarketGetalbumbyidResponse:
2793 """
2794 :param owner_id: - identifier of an album owner community, "Note that community id in the 'owner_id' parameter should be negative number. For example 'owner_id'=-1 matches the [vk.com/apiclub|VK API] community "
2795 :param album_ids: - collections identifiers to obtain data from
2796 :return:
2797 """
2798 pass
2799
2800
2801def market_get_albums(
2802 owner_id: int, offset: int, count: int,
2803) -> MarketGetalbumsResponse:
2804 """
2805 :param owner_id: - ID of an items owner community.
2806 :param offset: - Offset needed to return a specific subset of results.
2807 :param count: - Number of items to return.
2808 :return:
2809 """
2810 pass
2811
2812
2813def market_get_by_id(item_ids: list, extended: bool,) -> MarketGetbyidResponse:
2814 """
2815 :param item_ids: - Comma-separated ids list: {user id}_{item id}. If an item belongs to a community -{community id} is used. " 'Videos' value example: , '-4363_136089719,13245770_137352259'"
2816 :param extended: - '1' – to return additional fields: 'likes, can_comment, car_repost, photos'. By default: '0'.
2817 :return:
2818 """
2819 pass
2820
2821
2822def market_get_categories(count: int, offset: int,) -> MarketGetcategoriesResponse:
2823 """
2824 :param count: - Number of results to return.
2825 :param offset: - Offset needed to return a specific subset of results.
2826 :return:
2827 """
2828 pass
2829
2830
2831def market_get_comments(
2832 owner_id: int,
2833 item_id: int,
2834 need_likes: bool,
2835 start_comment_id: int,
2836 offset: int,
2837 count: int,
2838 sort: str,
2839 extended: bool,
2840 fields: list,
2841) -> MarketGetcommentsResponse:
2842 """
2843 :param owner_id: - ID of an item owner community
2844 :param item_id: - Item ID.
2845 :param need_likes: - '1' — to return likes info.
2846 :param start_comment_id: - ID of a comment to start a list from (details below).
2847 :param offset:
2848 :param count: - Number of results to return.
2849 :param sort: - Sort order ('asc' — from old to new, 'desc' — from new to old)
2850 :param extended: - '1' — comments will be returned as numbered objects, in addition lists of 'profiles' and 'groups' objects will be returned.
2851 :param fields: - List of additional profile fields to return. See the [vk.com/dev/fields|details]
2852 :return:
2853 """
2854 pass
2855
2856
2857def market_remove_from_album(
2858 owner_id: int, item_id: int, album_ids: list,
2859) -> OkResponse:
2860 """
2861 :param owner_id: - ID of an item owner community.
2862 :param item_id: - Item ID.
2863 :param album_ids: - Collections IDs to remove item from.
2864 :return:
2865 """
2866 pass
2867
2868
2869def market_reorder_albums(
2870 owner_id: int, album_id: int, before: int, after: int,
2871) -> OkResponse:
2872 """
2873 :param owner_id: - ID of an item owner community.
2874 :param album_id: - Collection ID.
2875 :param before: - ID of a collection to place current collection before it.
2876 :param after: - ID of a collection to place current collection after it.
2877 :return:
2878 """
2879 pass
2880
2881
2882def market_reorder_items(
2883 owner_id: int, album_id: int, item_id: int, before: int, after: int,
2884) -> OkResponse:
2885 """
2886 :param owner_id: - ID of an item owner community.
2887 :param album_id: - ID of a collection to reorder items in. Set 0 to reorder full items list.
2888 :param item_id: - Item ID.
2889 :param before: - ID of an item to place current item before it.
2890 :param after: - ID of an item to place current item after it.
2891 :return:
2892 """
2893 pass
2894
2895
2896def market_report(owner_id: int, item_id: int, reason: int,) -> OkResponse:
2897 """
2898 :param owner_id: - ID of an item owner community.
2899 :param item_id: - Item ID.
2900 :param reason: - Complaint reason. Possible values: *'0' — spam,, *'1' — child porn,, *'2' — extremism,, *'3' — violence,, *'4' — drugs propaganda,, *'5' — adult materials,, *'6' — insult.
2901 :return:
2902 """
2903 pass
2904
2905
2906def market_report_comment(owner_id: int, comment_id: int, reason: int,) -> OkResponse:
2907 """
2908 :param owner_id: - ID of an item owner community.
2909 :param comment_id: - Comment ID.
2910 :param reason: - Complaint reason. Possible values: *'0' — spam,, *'1' — child porn,, *'2' — extremism,, *'3' — violence,, *'4' — drugs propaganda,, *'5' — adult materials,, *'6' — insult.
2911 :return:
2912 """
2913 pass
2914
2915
2916def market_restore(owner_id: int, item_id: int,) -> OkResponse:
2917 """
2918 :param owner_id: - ID of an item owner community.
2919 :param item_id: - Deleted item ID.
2920 :return:
2921 """
2922 pass
2923
2924
2925def market_restore_comment(
2926 owner_id: int, comment_id: int,
2927) -> MarketRestorecommentResponse:
2928 """
2929 :param owner_id: - identifier of an item owner community, "Note that community id in the 'owner_id' parameter should be negative number. For example 'owner_id'=-1 matches the [vk.com/apiclub|VK API] community "
2930 :param comment_id: - deleted comment id
2931 :return:
2932 """
2933 pass
2934
2935
2936def market_search(
2937 owner_id: int,
2938 album_id: int,
2939 q: str,
2940 price_from: int,
2941 price_to: int,
2942 tags: list,
2943 sort: int,
2944 rev: int,
2945 offset: int,
2946 count: int,
2947 extended: bool,
2948 status: int,
2949) -> MarketSearchResponse:
2950 """
2951 :param owner_id: - ID of an items owner community.
2952 :param album_id:
2953 :param q: - Search query, for example "pink slippers".
2954 :param price_from: - Minimum item price value.
2955 :param price_to: - Maximum item price value.
2956 :param tags: - Comma-separated tag IDs list.
2957 :param sort:
2958 :param rev: - '0' — do not use reverse order, '1' — use reverse order
2959 :param offset: - Offset needed to return a specific subset of results.
2960 :param count: - Number of items to return.
2961 :param extended: - '1' – to return additional fields: 'likes, can_comment, car_repost, photos'. By default: '0'.
2962 :param status:
2963 :return:
2964 """
2965 pass
2966
2967
2968def messages_add_chat_user(chat_id: int, user_id: int,) -> OkResponse:
2969 """
2970 :param chat_id: - Chat ID.
2971 :param user_id: - ID of the user to be added to the chat.
2972 :return:
2973 """
2974 pass
2975
2976
2977def messages_allow_messages_from_group(group_id: int, key: str,) -> OkResponse:
2978 """
2979 :param group_id: - Group ID.
2980 :param key:
2981 :return:
2982 """
2983 pass
2984
2985
2986def messages_create_chat(user_ids: list, title: str,) -> MessagesCreatechatResponse:
2987 """
2988 :param user_ids: - IDs of the users to be added to the chat.
2989 :param title: - Chat title.
2990 :return:
2991 """
2992 pass
2993
2994
2995def messages_delete(
2996 message_ids: list, spam: bool, group_id: int, delete_for_all: bool,
2997) -> MessagesDeleteResponse:
2998 """
2999 :param message_ids: - Message IDs.
3000 :param spam: - '1' — to mark message as spam.
3001 :param group_id: - Group ID (for group messages with user access token)
3002 :param delete_for_all: - '1' — delete message for for all.
3003 :return:
3004 """
3005 pass
3006
3007
3008def messages_delete_chat_photo(
3009 chat_id: int, group_id: int,
3010) -> MessagesDeletechatphotoResponse:
3011 """
3012 :param chat_id: - Chat ID.
3013 :param group_id:
3014 :return:
3015 """
3016 pass
3017
3018
3019def messages_delete_conversation(
3020 user_id: int, peer_id: int, group_id: int,
3021) -> MessagesDeleteconversationResponse:
3022 """
3023 :param user_id: - User ID. To clear a chat history use 'chat_id'
3024 :param peer_id: - Destination ID. "For user: 'User ID', e.g. '12345'. For chat: '2000000000' + 'chat_id', e.g. '2000000001'. For community: '- community ID', e.g. '-12345'. "
3025 :param group_id: - Group ID (for group messages with user access token)
3026 :return:
3027 """
3028 pass
3029
3030
3031def messages_deny_messages_from_group(group_id: int,) -> OkResponse:
3032 """
3033 :param group_id: - Group ID.
3034 :return:
3035 """
3036 pass
3037
3038
3039def messages_edit(
3040 peer_id: int,
3041 message: str,
3042 message_id: int,
3043 lat: int,
3044 long: int,
3045 attachment: str,
3046 keep_forward_messages: bool,
3047 keep_snippets: bool,
3048 group_id: int,
3049 dont_parse_links: bool,
3050) -> MessagesEditResponse:
3051 """
3052 :param peer_id: - Destination ID. "For user: 'User ID', e.g. '12345'. For chat: '2000000000' + 'chat_id', e.g. '2000000001'. For community: '- community ID', e.g. '-12345'. "
3053 :param message: - (Required if 'attachments' is not set.) Text of the message.
3054 :param message_id:
3055 :param lat: - Geographical latitude of a check-in, in degrees (from -90 to 90).
3056 :param long: - Geographical longitude of a check-in, in degrees (from -180 to 180).
3057 :param attachment: - (Required if 'message' is not set.) List of objects attached to the message, separated by commas, in the following format: "<owner_id>_<media_id>", '' — Type of media attachment: 'photo' — photo, 'video' — video, 'audio' — audio, 'doc' — document, 'wall' — wall post, '<owner_id>' — ID of the media attachment owner. '<media_id>' — media attachment ID. Example: "photo100172_166443618"
3058 :param keep_forward_messages: - '1' — to keep forwarded, messages.
3059 :param keep_snippets: - '1' — to keep attached snippets.
3060 :param group_id: - Group ID (for group messages with user access token)
3061 :param dont_parse_links:
3062 :return:
3063 """
3064 pass
3065
3066
3067def messages_edit_chat(chat_id: int, title: str,) -> OkResponse:
3068 """
3069 :param chat_id: - Chat ID.
3070 :param title: - New title of the chat.
3071 :return:
3072 """
3073 pass
3074
3075
3076def messages_get_by_conversation_message_id(
3077 peer_id: int,
3078 conversation_message_ids: list,
3079 extended: bool,
3080 fields: list,
3081 group_id: int,
3082) -> MessagesGetbyconversationmessageidResponse:
3083 """
3084 :param peer_id: - Destination ID. "For user: 'User ID', e.g. '12345'. For chat: '2000000000' + 'chat_id', e.g. '2000000001'. For community: '- community ID', e.g. '-12345'. "
3085 :param conversation_message_ids: - Conversation message IDs.
3086 :param extended: - Information whether the response should be extended
3087 :param fields: - Profile fields to return.
3088 :param group_id: - Group ID (for group messages with group access token)
3089 :return:
3090 """
3091 pass
3092
3093
3094def messages_get_by_id(
3095 message_ids: list, preview_length: int, extended: bool, fields: list, group_id: int,
3096) -> MessagesGetbyidResponse:
3097 """
3098 :param message_ids: - Message IDs.
3099 :param preview_length: - Number of characters after which to truncate a previewed message. To preview the full message, specify '0'. "NOTE: Messages are not truncated by default. Messages are truncated by words."
3100 :param extended: - Information whether the response should be extended
3101 :param fields: - Profile fields to return.
3102 :param group_id: - Group ID (for group messages with group access token)
3103 :return:
3104 """
3105 pass
3106
3107
3108def messages_get_chat_preview(
3109 peer_id: int, link: str, fields: list,
3110) -> MessagesGetchatpreviewResponse:
3111 """
3112 :param peer_id:
3113 :param link: - Invitation link.
3114 :param fields: - Profile fields to return.
3115 :return:
3116 """
3117 pass
3118
3119
3120def messages_get_conversation_members(
3121 peer_id: int, fields: list, group_id: int,
3122) -> MessagesGetconversationmembersResponse:
3123 """
3124 :param peer_id: - Peer ID.
3125 :param fields: - Profile fields to return.
3126 :param group_id: - Group ID (for group messages with group access token)
3127 :return:
3128 """
3129 pass
3130
3131
3132def messages_get_conversations(
3133 offset: int,
3134 count: int,
3135 filter: str,
3136 extended: bool,
3137 start_message_id: int,
3138 fields: list,
3139 group_id: int,
3140) -> MessagesGetconversationsResponse:
3141 """
3142 :param offset: - Offset needed to return a specific subset of conversations.
3143 :param count: - Number of conversations to return.
3144 :param filter: - Filter to apply: 'all' — all conversations, 'unread' — conversations with unread messages, 'important' — conversations, marked as important (only for community messages), 'unanswered' — conversations, marked as unanswered (only for community messages)
3145 :param extended: - '1' — return extra information about users and communities
3146 :param start_message_id: - ID of the message from what to return dialogs.
3147 :param fields: - Profile and communities fields to return.
3148 :param group_id: - Group ID (for group messages with group access token)
3149 :return:
3150 """
3151 pass
3152
3153
3154def messages_get_conversations_by_id(
3155 peer_ids: list, extended: bool, fields: list, group_id: int,
3156) -> MessagesGetconversationsbyidResponse:
3157 """
3158 :param peer_ids: - Destination IDs. "For user: 'User ID', e.g. '12345'. For chat: '2000000000' + 'chat_id', e.g. '2000000001'. For community: '- community ID', e.g. '-12345'. "
3159 :param extended: - Return extended properties
3160 :param fields: - Profile and communities fields to return.
3161 :param group_id: - Group ID (for group messages with group access token)
3162 :return:
3163 """
3164 pass
3165
3166
3167def messages_get_history(
3168 offset: int,
3169 count: int,
3170 user_id: int,
3171 peer_id: int,
3172 start_message_id: int,
3173 rev: int,
3174 extended: bool,
3175 fields: list,
3176 group_id: int,
3177) -> MessagesGethistoryResponse:
3178 """
3179 :param offset: - Offset needed to return a specific subset of messages.
3180 :param count: - Number of messages to return.
3181 :param user_id: - ID of the user whose message history you want to return.
3182 :param peer_id:
3183 :param start_message_id: - Starting message ID from which to return history.
3184 :param rev: - Sort order: '1' — return messages in chronological order. '0' — return messages in reverse chronological order.
3185 :param extended: - Information whether the response should be extended
3186 :param fields: - Profile fields to return.
3187 :param group_id: - Group ID (for group messages with group access token)
3188 :return:
3189 """
3190 pass
3191
3192
3193def messages_get_history_attachments(
3194 peer_id: int,
3195 media_type: str,
3196 start_from: str,
3197 count: int,
3198 photo_sizes: bool,
3199 fields: list,
3200 group_id: int,
3201 preserve_order: bool,
3202 max_forwards_level: int,
3203) -> MessagesGethistoryattachmentsResponse:
3204 """
3205 :param peer_id: - Peer ID. ", For group chat: '2000000000 + chat ID' , , For community: '-community ID'"
3206 :param media_type: - Type of media files to return: *'photo',, *'video',, *'audio',, *'doc',, *'link'.,*'market'.,*'wall'.,*'share'
3207 :param start_from: - Message ID to start return results from.
3208 :param count: - Number of objects to return.
3209 :param photo_sizes: - '1' — to return photo sizes in a
3210 :param fields: - Additional profile [vk.com/dev/fields|fields] to return.
3211 :param group_id: - Group ID (for group messages with group access token)
3212 :param preserve_order:
3213 :param max_forwards_level:
3214 :return:
3215 """
3216 pass
3217
3218
3219def messages_get_invite_link(
3220 peer_id: int, reset: bool, group_id: int,
3221) -> MessagesGetinvitelinkResponse:
3222 """
3223 :param peer_id: - Destination ID.
3224 :param reset: - 1 — to generate new link (revoke previous), 0 — to return previous link.
3225 :param group_id: - Group ID
3226 :return:
3227 """
3228 pass
3229
3230
3231def messages_get_last_activity(user_id: int,) -> MessagesGetlastactivityResponse:
3232 """
3233 :param user_id: - User ID.
3234 :return:
3235 """
3236 pass
3237
3238
3239def messages_get_long_poll_history(
3240 ts: int,
3241 pts: int,
3242 preview_length: int,
3243 onlines: bool,
3244 fields: list,
3245 events_limit: int,
3246 msgs_limit: int,
3247 max_msg_id: int,
3248 group_id: int,
3249 lp_version: int,
3250 last_n: int,
3251 credentials: bool,
3252) -> MessagesGetlongpollhistoryResponse:
3253 """
3254 :param ts: - Last value of the 'ts' parameter returned from the Long Poll server or by using [vk.com/dev/messages.getLongPollHistory|messages.getLongPollHistory] method.
3255 :param pts: - Lsat value of 'pts' parameter returned from the Long Poll server or by using [vk.com/dev/messages.getLongPollHistory|messages.getLongPollHistory] method.
3256 :param preview_length: - Number of characters after which to truncate a previewed message. To preview the full message, specify '0'. "NOTE: Messages are not truncated by default. Messages are truncated by words."
3257 :param onlines: - '1' — to return history with online users only.
3258 :param fields: - Additional profile [vk.com/dev/fields|fields] to return.
3259 :param events_limit: - Maximum number of events to return.
3260 :param msgs_limit: - Maximum number of messages to return.
3261 :param max_msg_id: - Maximum ID of the message among existing ones in the local copy. Both messages received with API methods (for example, , ), and data received from a Long Poll server (events with code 4) are taken into account.
3262 :param group_id: - Group ID (for group messages with user access token)
3263 :param lp_version:
3264 :param last_n:
3265 :param credentials:
3266 :return:
3267 """
3268 pass
3269
3270
3271def messages_get_long_poll_server(
3272 need_pts: bool, group_id: int, lp_version: int,
3273) -> MessagesGetlongpollserverResponse:
3274 """
3275 :param need_pts: - '1' — to return the 'pts' field, needed for the [vk.com/dev/messages.getLongPollHistory|messages.getLongPollHistory] method.
3276 :param group_id: - Group ID (for group messages with user access token)
3277 :param lp_version: - Long poll version
3278 :return:
3279 """
3280 pass
3281
3282
3283def messages_is_messages_from_group_allowed(
3284 group_id: int, user_id: int,
3285) -> MessagesIsmessagesfromgroupallowedResponse:
3286 """
3287 :param group_id: - Group ID.
3288 :param user_id: - User ID.
3289 :return:
3290 """
3291 pass
3292
3293
3294def messages_join_chat_by_invite_link(
3295 link: str,
3296) -> MessagesJoinchatbyinvitelinkResponse:
3297 """
3298 :param link: - Invitation link.
3299 :return:
3300 """
3301 pass
3302
3303
3304def messages_mark_as_answered_conversation(
3305 peer_id: int, answered: bool, group_id: int,
3306) -> OkResponse:
3307 """
3308 :param peer_id: - ID of conversation to mark as important.
3309 :param answered: - '1' — to mark as answered, '0' — to remove the mark
3310 :param group_id: - Group ID (for group messages with group access token)
3311 :return:
3312 """
3313 pass
3314
3315
3316def messages_mark_as_important(
3317 message_ids: list, important: int,
3318) -> MessagesMarkasimportantResponse:
3319 """
3320 :param message_ids: - IDs of messages to mark as important.
3321 :param important: - '1' — to add a star (mark as important), '0' — to remove the star
3322 :return:
3323 """
3324 pass
3325
3326
3327def messages_mark_as_important_conversation(
3328 peer_id: int, important: bool, group_id: int,
3329) -> OkResponse:
3330 """
3331 :param peer_id: - ID of conversation to mark as important.
3332 :param important: - '1' — to add a star (mark as important), '0' — to remove the star
3333 :param group_id: - Group ID (for group messages with group access token)
3334 :return:
3335 """
3336 pass
3337
3338
3339def messages_mark_as_read(
3340 message_ids: list, peer_id: int, start_message_id: int, group_id: int,
3341) -> OkResponse:
3342 """
3343 :param message_ids: - IDs of messages to mark as read.
3344 :param peer_id: - Destination ID. "For user: 'User ID', e.g. '12345'. For chat: '2000000000' + 'chat_id', e.g. '2000000001'. For community: '- community ID', e.g. '-12345'. "
3345 :param start_message_id: - Message ID to start from.
3346 :param group_id: - Group ID (for group messages with user access token)
3347 :return:
3348 """
3349 pass
3350
3351
3352def messages_pin(peer_id: int, message_id: int,) -> MessagesPinResponse:
3353 """
3354 :param peer_id: - Destination ID. "For user: 'User ID', e.g. '12345'. For chat: '2000000000' + 'Chat ID', e.g. '2000000001'. For community: '- Community ID', e.g. '-12345'. "
3355 :param message_id:
3356 :return:
3357 """
3358 pass
3359
3360
3361def messages_remove_chat_user(
3362 chat_id: int, user_id: int, member_id: int,
3363) -> OkResponse:
3364 """
3365 :param chat_id: - Chat ID.
3366 :param user_id: - ID of the user to be removed from the chat.
3367 :param member_id:
3368 :return:
3369 """
3370 pass
3371
3372
3373def messages_restore(message_id: int, group_id: int,) -> OkResponse:
3374 """
3375 :param message_id: - ID of a previously-deleted message to restore.
3376 :param group_id: - Group ID (for group messages with user access token)
3377 :return:
3378 """
3379 pass
3380
3381
3382def messages_search(
3383 q: str,
3384 peer_id: int,
3385 date: int,
3386 preview_length: int,
3387 offset: int,
3388 count: int,
3389 extended: bool,
3390 fields: list,
3391 group_id: int,
3392) -> MessagesSearchResponse:
3393 """
3394 :param q: - Search query string.
3395 :param peer_id: - Destination ID. "For user: 'User ID', e.g. '12345'. For chat: '2000000000' + 'chat_id', e.g. '2000000001'. For community: '- community ID', e.g. '-12345'. "
3396 :param date: - Date to search message before in Unixtime.
3397 :param preview_length: - Number of characters after which to truncate a previewed message. To preview the full message, specify '0'. "NOTE: Messages are not truncated by default. Messages are truncated by words."
3398 :param offset: - Offset needed to return a specific subset of messages.
3399 :param count: - Number of messages to return.
3400 :param extended:
3401 :param fields:
3402 :param group_id: - Group ID (for group messages with group access token)
3403 :return:
3404 """
3405 pass
3406
3407
3408def messages_search_conversations(
3409 q: str, count: int, extended: bool, fields: list, group_id: int,
3410) -> MessagesSearchconversationsResponse:
3411 """
3412 :param q: - Search query string.
3413 :param count: - Maximum number of results.
3414 :param extended: - '1' — return extra information about users and communities
3415 :param fields: - Profile fields to return.
3416 :param group_id: - Group ID (for group messages with user access token)
3417 :return:
3418 """
3419 pass
3420
3421
3422def messages_send(
3423 user_id: int,
3424 random_id: int,
3425 peer_id: int,
3426 domain: str,
3427 chat_id: int,
3428 user_ids: list,
3429 message: str,
3430 lat: int,
3431 long: int,
3432 attachment: str,
3433 reply_to: int,
3434 forward_messages: list,
3435 forward: str,
3436 sticker_id: int,
3437 group_id: int,
3438 keyboard: str,
3439 payload: str,
3440 dont_parse_links: bool,
3441 disable_mentions: bool,
3442) -> MessagesSendResponse:
3443 """
3444 :param user_id: - User ID (by default — current user).
3445 :param random_id: - Unique identifier to avoid resending the message.
3446 :param peer_id: - Destination ID. "For user: 'User ID', e.g. '12345'. For chat: '2000000000' + 'chat_id', e.g. '2000000001'. For community: '- community ID', e.g. '-12345'. "
3447 :param domain: - User's short address (for example, 'illarionov').
3448 :param chat_id: - ID of conversation the message will relate to.
3449 :param user_ids: - IDs of message recipients (if new conversation shall be started).
3450 :param message: - (Required if 'attachments' is not set.) Text of the message.
3451 :param lat: - Geographical latitude of a check-in, in degrees (from -90 to 90).
3452 :param long: - Geographical longitude of a check-in, in degrees (from -180 to 180).
3453 :param attachment: - (Required if 'message' is not set.) List of objects attached to the message, separated by commas, in the following format: "<owner_id>_<media_id>", '' — Type of media attachment: 'photo' — photo, 'video' — video, 'audio' — audio, 'doc' — document, 'wall' — wall post, '<owner_id>' — ID of the media attachment owner. '<media_id>' — media attachment ID. Example: "photo100172_166443618"
3454 :param reply_to:
3455 :param forward_messages: - ID of forwarded messages, separated with a comma. Listed messages of the sender will be shown in the message body at the recipient's. Example: "123,431,544"
3456 :param forward:
3457 :param sticker_id: - Sticker id.
3458 :param group_id: - Group ID (for group messages with group access token)
3459 :param keyboard:
3460 :param payload:
3461 :param dont_parse_links:
3462 :param disable_mentions:
3463 :return:
3464 """
3465 pass
3466
3467
3468def messages_set_activity(
3469 user_id: int, type: str, peer_id: int, group_id: int,
3470) -> OkResponse:
3471 """
3472 :param user_id: - User ID.
3473 :param type: - 'typing' — user has started to type.
3474 :param peer_id: - Destination ID. "For user: 'User ID', e.g. '12345'. For chat: '2000000000' + 'chat_id', e.g. '2000000001'. For community: '- community ID', e.g. '-12345'. "
3475 :param group_id: - Group ID (for group messages with group access token)
3476 :return:
3477 """
3478 pass
3479
3480
3481def messages_set_chat_photo(file: str,) -> MessagesSetchatphotoResponse:
3482 """
3483 :param file: - Upload URL from the 'response' field returned by the [vk.com/dev/photos.getChatUploadServer|photos.getChatUploadServer] method upon successfully uploading an image.
3484 :return:
3485 """
3486 pass
3487
3488
3489def messages_unpin(peer_id: int, group_id: int,) -> OkResponse:
3490 """
3491 :param peer_id:
3492 :param group_id:
3493 :return:
3494 """
3495 pass
3496
3497
3498def newsfeed_add_ban(user_ids: list, group_ids: list,) -> OkResponse:
3499 """
3500 :param user_ids:
3501 :param group_ids:
3502 :return:
3503 """
3504 pass
3505
3506
3507def newsfeed_delete_ban(user_ids: list, group_ids: list,) -> OkResponse:
3508 """
3509 :param user_ids:
3510 :param group_ids:
3511 :return:
3512 """
3513 pass
3514
3515
3516def newsfeed_delete_list(list_id: int,) -> OkResponse:
3517 """
3518 :param list_id:
3519 :return:
3520 """
3521 pass
3522
3523
3524def newsfeed_get(
3525 filters: list,
3526 return_banned: bool,
3527 start_time: int,
3528 end_time: int,
3529 max_photos: int,
3530 source_ids: str,
3531 start_from: str,
3532 count: int,
3533 fields: list,
3534 section: str,
3535) -> NewsfeedGetResponse:
3536 """
3537 :param filters: - Filters to apply: 'post' — new wall posts, 'photo' — new photos, 'photo_tag' — new photo tags, 'wall_photo' — new wall photos, 'friend' — new friends, 'note' — new notes
3538 :param return_banned: - '1' — to return news items from banned sources
3539 :param start_time: - Earliest timestamp (in Unix time) of a news item to return. By default, 24 hours ago.
3540 :param end_time: - Latest timestamp (in Unix time) of a news item to return. By default, the current time.
3541 :param max_photos: - Maximum number of photos to return. By default, '5'.
3542 :param source_ids: - Sources to obtain news from, separated by commas. User IDs can be specified in formats '' or 'u' , where '' is the user's friend ID. Community IDs can be specified in formats '-' or 'g' , where '' is the community ID. If the parameter is not set, all of the user's friends and communities are returned, except for banned sources, which can be obtained with the [vk.com/dev/newsfeed.getBanned|newsfeed.getBanned] method.
3543 :param start_from: - identifier required to get the next page of results. Value for this parameter is returned in 'next_from' field in a reply.
3544 :param count: - Number of news items to return (default 50, maximum 100). For auto feed, you can use the 'new_offset' parameter returned by this method.
3545 :param fields: - Additional fields of [vk.com/dev/fields|profiles] and [vk.com/dev/fields_groups|communities] to return.
3546 :param section:
3547 :return:
3548 """
3549 pass
3550
3551
3552def newsfeed_get_banned(
3553 extended: bool, fields: list, name_case: str,
3554) -> NewsfeedGetbannedResponse:
3555 """
3556 :param extended: - '1' — return extra information about users and communities
3557 :param fields: - Profile fields to return.
3558 :param name_case: - Case for declension of user name and surname: 'nom' — nominative (default), 'gen' — genitive , 'dat' — dative, 'acc' — accusative , 'ins' — instrumental , 'abl' — prepositional
3559 :return:
3560 """
3561 pass
3562
3563
3564def newsfeed_get_comments(
3565 count: int,
3566 filters: list,
3567 reposts: str,
3568 start_time: int,
3569 end_time: int,
3570 last_comments_count: int,
3571 start_from: str,
3572 fields: list,
3573) -> NewsfeedGetcommentsResponse:
3574 """
3575 :param count: - Number of comments to return. For auto feed, you can use the 'new_offset' parameter returned by this method.
3576 :param filters: - Filters to apply: 'post' — new comments on wall posts, 'photo' — new comments on photos, 'video' — new comments on videos, 'topic' — new comments on discussions, 'note' — new comments on notes,
3577 :param reposts: - Object ID, comments on repost of which shall be returned, e.g. 'wall1_45486'. (If the parameter is set, the 'filters' parameter is optional.),
3578 :param start_time: - Earliest timestamp (in Unix time) of a comment to return. By default, 24 hours ago.
3579 :param end_time: - Latest timestamp (in Unix time) of a comment to return. By default, the current time.
3580 :param last_comments_count:
3581 :param start_from: - Identificator needed to return the next page with results. Value for this parameter returns in 'next_from' field.
3582 :param fields: - Additional fields of [vk.com/dev/fields|profiles] and [vk.com/dev/fields_groups|communities] to return.
3583 :return:
3584 """
3585 pass
3586
3587
3588def newsfeed_get_lists(list_ids: list, extended: bool,) -> NewsfeedGetlistsResponse:
3589 """
3590 :param list_ids: - numeric list identifiers.
3591 :param extended: - Return additional list info
3592 :return:
3593 """
3594 pass
3595
3596
3597def newsfeed_get_mentions(
3598 owner_id: int, start_time: int, end_time: int, offset: int, count: int,
3599) -> NewsfeedGetmentionsResponse:
3600 """
3601 :param owner_id: - Owner ID.
3602 :param start_time: - Earliest timestamp (in Unix time) of a post to return. By default, 24 hours ago.
3603 :param end_time: - Latest timestamp (in Unix time) of a post to return. By default, the current time.
3604 :param offset: - Offset needed to return a specific subset of posts.
3605 :param count: - Number of posts to return.
3606 :return:
3607 """
3608 pass
3609
3610
3611def newsfeed_get_recommended(
3612 start_time: int,
3613 end_time: int,
3614 max_photos: int,
3615 start_from: str,
3616 count: int,
3617 fields: list,
3618) -> NewsfeedGetrecommendedResponse:
3619 """
3620 :param start_time: - Earliest timestamp (in Unix time) of a news item to return. By default, 24 hours ago.
3621 :param end_time: - Latest timestamp (in Unix time) of a news item to return. By default, the current time.
3622 :param max_photos: - Maximum number of photos to return. By default, '5'.
3623 :param start_from: - 'new_from' value obtained in previous call.
3624 :param count: - Number of news items to return.
3625 :param fields: - Additional fields of [vk.com/dev/fields|profiles] and [vk.com/dev/fields_groups|communities] to return.
3626 :return:
3627 """
3628 pass
3629
3630
3631def newsfeed_get_suggested_sources(
3632 offset: int, count: int, shuffle: bool, fields: list,
3633) -> NewsfeedGetsuggestedsourcesResponse:
3634 """
3635 :param offset: - offset required to choose a particular subset of communities or users.
3636 :param count: - amount of communities or users to return.
3637 :param shuffle: - shuffle the returned list or not.
3638 :param fields: - list of extra fields to be returned. See available fields for [vk.com/dev/fields|users] and [vk.com/dev/fields_groups|communities].
3639 :return:
3640 """
3641 pass
3642
3643
3644def newsfeed_ignore_item(type: str, owner_id: int, item_id: int,) -> OkResponse:
3645 """
3646 :param type: - Item type. Possible values: *'wall' – post on the wall,, *'tag' – tag on a photo,, *'profilephoto' – profile photo,, *'video' – video,, *'audio' – audio.
3647 :param owner_id: - Item owner's identifier (user or community), "Note that community id must be negative. 'owner_id=1' – user , 'owner_id=-1' – community "
3648 :param item_id: - Item identifier
3649 :return:
3650 """
3651 pass
3652
3653
3654def newsfeed_save_list(
3655 list_id: int, title: str, source_ids: list, no_reposts: bool,
3656) -> NewsfeedSavelistResponse:
3657 """
3658 :param list_id: - numeric list identifier (if not sent, will be set automatically).
3659 :param title: - list name.
3660 :param source_ids: - users and communities identifiers to be added to the list. Community identifiers must be negative numbers.
3661 :param no_reposts: - reposts display on and off ('1' is for off).
3662 :return:
3663 """
3664 pass
3665
3666
3667def newsfeed_search(
3668 q: str,
3669 extended: bool,
3670 count: int,
3671 latitude: int,
3672 longitude: int,
3673 start_time: int,
3674 end_time: int,
3675 start_from: str,
3676 fields: list,
3677) -> NewsfeedSearchResponse:
3678 """
3679 :param q: - Search query string (e.g., 'New Year').
3680 :param extended: - '1' — to return additional information about the user or community that placed the post.
3681 :param count: - Number of posts to return.
3682 :param latitude: - Geographical latitude point (in degrees, -90 to 90) within which to search.
3683 :param longitude: - Geographical longitude point (in degrees, -180 to 180) within which to search.
3684 :param start_time: - Earliest timestamp (in Unix time) of a news item to return. By default, 24 hours ago.
3685 :param end_time: - Latest timestamp (in Unix time) of a news item to return. By default, the current time.
3686 :param start_from:
3687 :param fields: - Additional fields of [vk.com/dev/fields|profiles] and [vk.com/dev/fields_groups|communities] to return.
3688 :return:
3689 """
3690 pass
3691
3692
3693def newsfeed_unignore_item(type: str, owner_id: int, item_id: int,) -> OkResponse:
3694 """
3695 :param type: - Item type. Possible values: *'wall' – post on the wall,, *'tag' – tag on a photo,, *'profilephoto' – profile photo,, *'video' – video,, *'audio' – audio.
3696 :param owner_id: - Item owner's identifier (user or community), "Note that community id must be negative. 'owner_id=1' – user , 'owner_id=-1' – community "
3697 :param item_id: - Item identifier
3698 :return:
3699 """
3700 pass
3701
3702
3703def newsfeed_unsubscribe(type: str, owner_id: int, item_id: int,) -> OkResponse:
3704 """
3705 :param type: - Type of object from which to unsubscribe: 'note' — note, 'photo' — photo, 'post' — post on user wall or community wall, 'topic' — topic, 'video' — video
3706 :param owner_id: - Object owner ID.
3707 :param item_id: - Object ID.
3708 :return:
3709 """
3710 pass
3711
3712
3713def notes_add(
3714 title: str, text: str, privacy_view: list, privacy_comment: list,
3715) -> NotesAddResponse:
3716 """
3717 :param title: - Note title.
3718 :param text: - Note text.
3719 :param privacy_view:
3720 :param privacy_comment:
3721 :return:
3722 """
3723 pass
3724
3725
3726def notes_create_comment(
3727 note_id: int, owner_id: int, reply_to: int, message: str, guid: str,
3728) -> NotesCreatecommentResponse:
3729 """
3730 :param note_id: - Note ID.
3731 :param owner_id: - Note owner ID.
3732 :param reply_to: - ID of the user to whom the reply is addressed (if the comment is a reply to another comment).
3733 :param message: - Comment text.
3734 :param guid:
3735 :return:
3736 """
3737 pass
3738
3739
3740def notes_delete(note_id: int,) -> OkResponse:
3741 """
3742 :param note_id: - Note ID.
3743 :return:
3744 """
3745 pass
3746
3747
3748def notes_delete_comment(comment_id: int, owner_id: int,) -> OkResponse:
3749 """
3750 :param comment_id: - Comment ID.
3751 :param owner_id: - Note owner ID.
3752 :return:
3753 """
3754 pass
3755
3756
3757def notes_edit(
3758 note_id: int, title: str, text: str, privacy_view: list, privacy_comment: list,
3759) -> OkResponse:
3760 """
3761 :param note_id: - Note ID.
3762 :param title: - Note title.
3763 :param text: - Note text.
3764 :param privacy_view:
3765 :param privacy_comment:
3766 :return:
3767 """
3768 pass
3769
3770
3771def notes_edit_comment(comment_id: int, owner_id: int, message: str,) -> OkResponse:
3772 """
3773 :param comment_id: - Comment ID.
3774 :param owner_id: - Note owner ID.
3775 :param message: - New comment text.
3776 :return:
3777 """
3778 pass
3779
3780
3781def notes_get(
3782 note_ids: list, user_id: int, offset: int, count: int, sort: int,
3783) -> NotesGetResponse:
3784 """
3785 :param note_ids: - Note IDs.
3786 :param user_id: - Note owner ID.
3787 :param offset:
3788 :param count: - Number of notes to return.
3789 :param sort:
3790 :return:
3791 """
3792 pass
3793
3794
3795def notes_get_by_id(
3796 note_id: int, owner_id: int, need_wiki: bool,
3797) -> NotesGetbyidResponse:
3798 """
3799 :param note_id: - Note ID.
3800 :param owner_id: - Note owner ID.
3801 :param need_wiki:
3802 :return:
3803 """
3804 pass
3805
3806
3807def notes_get_comments(
3808 note_id: int, owner_id: int, sort: int, offset: int, count: int,
3809) -> NotesGetcommentsResponse:
3810 """
3811 :param note_id: - Note ID.
3812 :param owner_id: - Note owner ID.
3813 :param sort:
3814 :param offset:
3815 :param count: - Number of comments to return.
3816 :return:
3817 """
3818 pass
3819
3820
3821def notes_restore_comment(comment_id: int, owner_id: int,) -> OkResponse:
3822 """
3823 :param comment_id: - Comment ID.
3824 :param owner_id: - Note owner ID.
3825 :return:
3826 """
3827 pass
3828
3829
3830def notifications_get(
3831 count: int, start_from: str, filters: list, start_time: int, end_time: int,
3832) -> NotificationsGetResponse:
3833 """
3834 :param count: - Number of notifications to return.
3835 :param start_from:
3836 :param filters: - Type of notifications to return: 'wall' — wall posts, 'mentions' — mentions in wall posts, comments, or topics, 'comments' — comments to wall posts, photos, and videos, 'likes' — likes, 'reposted' — wall posts that are copied from the current user's wall, 'followers' — new followers, 'friends' — accepted friend requests
3837 :param start_time: - Earliest timestamp (in Unix time) of a notification to return. By default, 24 hours ago.
3838 :param end_time: - Latest timestamp (in Unix time) of a notification to return. By default, the current time.
3839 :return:
3840 """
3841 pass
3842
3843
3844def notifications_mark_as_viewed() -> NotificationsMarkasviewedResponse:
3845 """
3846 :return:
3847 """
3848 pass
3849
3850
3851def notifications_send_message(
3852 user_ids: list, message: str, fragment: str, group_id: int,
3853) -> NotificationsSendmessageResponse:
3854 """
3855 :param user_ids:
3856 :param message:
3857 :param fragment:
3858 :param group_id:
3859 :return:
3860 """
3861 pass
3862
3863
3864def orders_cancel_subscription(
3865 user_id: int, subscription_id: int, pending_cancel: bool,
3866) -> OrdersCancelsubscriptionResponse:
3867 """
3868 :param user_id:
3869 :param subscription_id:
3870 :param pending_cancel:
3871 :return:
3872 """
3873 pass
3874
3875
3876def orders_change_state(
3877 order_id: int, action: str, app_order_id: int, test_mode: bool,
3878) -> OrdersChangestateResponse:
3879 """
3880 :param order_id: - order ID.
3881 :param action: - action to be done with the order. Available actions: *cancel — to cancel unconfirmed order. *charge — to confirm unconfirmed order. Applies only if processing of [vk.com/dev/payments_status|order_change_state] notification failed. *refund — to cancel confirmed order.
3882 :param app_order_id: - internal ID of the order in the application.
3883 :param test_mode: - if this parameter is set to 1, this method returns a list of test mode orders. By default — 0.
3884 :return:
3885 """
3886 pass
3887
3888
3889def orders_get(offset: int, count: int, test_mode: bool,) -> OrdersGetResponse:
3890 """
3891 :param offset:
3892 :param count: - number of returned orders.
3893 :param test_mode: - if this parameter is set to 1, this method returns a list of test mode orders. By default — 0.
3894 :return:
3895 """
3896 pass
3897
3898
3899def orders_get_amount(user_id: int, votes: list,) -> OrdersGetamountResponse:
3900 """
3901 :param user_id:
3902 :param votes:
3903 :return:
3904 """
3905 pass
3906
3907
3908def orders_get_by_id(
3909 order_id: int, order_ids: list, test_mode: bool,
3910) -> OrdersGetbyidResponse:
3911 """
3912 :param order_id: - order ID.
3913 :param order_ids: - order IDs (when information about several orders is requested).
3914 :param test_mode: - if this parameter is set to 1, this method returns a list of test mode orders. By default — 0.
3915 :return:
3916 """
3917 pass
3918
3919
3920def orders_get_user_subscription_by_id(
3921 user_id: int, subscription_id: int,
3922) -> OrdersGetusersubscriptionbyidResponse:
3923 """
3924 :param user_id:
3925 :param subscription_id:
3926 :return:
3927 """
3928 pass
3929
3930
3931def orders_get_user_subscriptions(user_id: int,) -> OrdersGetusersubscriptionsResponse:
3932 """
3933 :param user_id:
3934 :return:
3935 """
3936 pass
3937
3938
3939def orders_update_subscription(
3940 user_id: int, subscription_id: int, price: int,
3941) -> OrdersUpdatesubscriptionResponse:
3942 """
3943 :param user_id:
3944 :param subscription_id:
3945 :param price:
3946 :return:
3947 """
3948 pass
3949
3950
3951def pages_clear_cache(url: str,) -> OkResponse:
3952 """
3953 :param url: - Address of the page where you need to refesh the cached version
3954 :return:
3955 """
3956 pass
3957
3958
3959def pages_get(
3960 owner_id: int,
3961 page_id: int,
3962 global_: bool,
3963 site_preview: bool,
3964 title: str,
3965 need_source: bool,
3966 need_html: bool,
3967) -> PagesGetResponse:
3968 """
3969 :param owner_id: - Page owner ID.
3970 :param page_id: - Wiki page ID.
3971 :param global_: - '1' — to return information about a global wiki page
3972 :param site_preview: - '1' — resulting wiki page is a preview for the attached link
3973 :param title: - Wiki page title.
3974 :param need_source:
3975 :param need_html: - '1' — to return the page as HTML,
3976 :return:
3977 """
3978 pass
3979
3980
3981def pages_get_history(
3982 page_id: int, group_id: int, user_id: int,
3983) -> PagesGethistoryResponse:
3984 """
3985 :param page_id: - Wiki page ID.
3986 :param group_id: - ID of the community that owns the wiki page.
3987 :param user_id:
3988 :return:
3989 """
3990 pass
3991
3992
3993def pages_get_titles(group_id: int,) -> PagesGettitlesResponse:
3994 """
3995 :param group_id: - ID of the community that owns the wiki page.
3996 :return:
3997 """
3998 pass
3999
4000
4001def pages_get_version(
4002 version_id: int, group_id: int, user_id: int, need_html: bool,
4003) -> PagesGetversionResponse:
4004 """
4005 :param version_id:
4006 :param group_id: - ID of the community that owns the wiki page.
4007 :param user_id:
4008 :param need_html: - '1' — to return the page as HTML
4009 :return:
4010 """
4011 pass
4012
4013
4014def pages_parse_wiki(text: str, group_id: int,) -> PagesParsewikiResponse:
4015 """
4016 :param text: - Text of the wiki page.
4017 :param group_id: - ID of the group in the context of which this markup is interpreted.
4018 :return:
4019 """
4020 pass
4021
4022
4023def pages_save(
4024 text: str, page_id: int, group_id: int, user_id: int, title: str,
4025) -> PagesSaveResponse:
4026 """
4027 :param text: - Text of the wiki page in wiki-format.
4028 :param page_id: - Wiki page ID. The 'title' parameter can be passed instead of 'pid'.
4029 :param group_id: - ID of the community that owns the wiki page.
4030 :param user_id: - User ID
4031 :param title: - Wiki page title.
4032 :return:
4033 """
4034 pass
4035
4036
4037def pages_save_access(
4038 page_id: int, group_id: int, user_id: int, view: int, edit: int,
4039) -> PagesSaveaccessResponse:
4040 """
4041 :param page_id: - Wiki page ID.
4042 :param group_id: - ID of the community that owns the wiki page.
4043 :param user_id:
4044 :param view: - Who can view the wiki page: '1' — only community members, '2' — all users can view the page, '0' — only community managers
4045 :param edit: - Who can edit the wiki page: '1' — only community members, '2' — all users can edit the page, '0' — only community managers
4046 :return:
4047 """
4048 pass
4049
4050
4051def photos_confirm_tag(owner_id: int, photo_id: str, tag_id: int,) -> OkResponse:
4052 """
4053 :param owner_id: - ID of the user or community that owns the photo.
4054 :param photo_id: - Photo ID.
4055 :param tag_id: - Tag ID.
4056 :return:
4057 """
4058 pass
4059
4060
4061def photos_copy(owner_id: int, photo_id: int, access_key: str,) -> PhotosCopyResponse:
4062 """
4063 :param owner_id: - photo's owner ID
4064 :param photo_id: - photo ID
4065 :param access_key: - for private photos
4066 :return:
4067 """
4068 pass
4069
4070
4071def photos_create_album(
4072 title: str,
4073 group_id: int,
4074 description: str,
4075 privacy_view: list,
4076 privacy_comment: list,
4077 upload_by_admins_only: bool,
4078 comments_disabled: bool,
4079) -> PhotosCreatealbumResponse:
4080 """
4081 :param title: - Album title.
4082 :param group_id: - ID of the community in which the album will be created.
4083 :param description: - Album description.
4084 :param privacy_view:
4085 :param privacy_comment:
4086 :param upload_by_admins_only:
4087 :param comments_disabled:
4088 :return:
4089 """
4090 pass
4091
4092
4093def photos_create_comment(
4094 owner_id: int,
4095 photo_id: int,
4096 message: str,
4097 attachments: list,
4098 from_group: bool,
4099 reply_to_comment: int,
4100 sticker_id: int,
4101 access_key: str,
4102 guid: str,
4103) -> PhotosCreatecommentResponse:
4104 """
4105 :param owner_id: - ID of the user or community that owns the photo.
4106 :param photo_id: - Photo ID.
4107 :param message: - Comment text.
4108 :param attachments: - (Required if 'message' is not set.) List of objects attached to the post, in the following format: "<owner_id>_<media_id>,<owner_id>_<media_id>", '' — Type of media attachment: 'photo' — photo, 'video' — video, 'audio' — audio, 'doc' — document, '<owner_id>' — Media attachment owner ID. '<media_id>' — Media attachment ID. Example: "photo100172_166443618,photo66748_265827614"
4109 :param from_group: - '1' — to post a comment from the community
4110 :param reply_to_comment:
4111 :param sticker_id:
4112 :param access_key:
4113 :param guid:
4114 :return:
4115 """
4116 pass
4117
4118
4119def photos_delete(owner_id: int, photo_id: int,) -> OkResponse:
4120 """
4121 :param owner_id: - ID of the user or community that owns the photo.
4122 :param photo_id: - Photo ID.
4123 :return:
4124 """
4125 pass
4126
4127
4128def photos_delete_album(album_id: int, group_id: int,) -> OkResponse:
4129 """
4130 :param album_id: - Album ID.
4131 :param group_id: - ID of the community that owns the album.
4132 :return:
4133 """
4134 pass
4135
4136
4137def photos_delete_comment(
4138 owner_id: int, comment_id: int,
4139) -> PhotosDeletecommentResponse:
4140 """
4141 :param owner_id: - ID of the user or community that owns the photo.
4142 :param comment_id: - Comment ID.
4143 :return:
4144 """
4145 pass
4146
4147
4148def photos_edit(
4149 owner_id: int,
4150 photo_id: int,
4151 caption: str,
4152 latitude: int,
4153 longitude: int,
4154 place_str: str,
4155 foursquare_id: str,
4156 delete_place: bool,
4157) -> OkResponse:
4158 """
4159 :param owner_id: - ID of the user or community that owns the photo.
4160 :param photo_id: - Photo ID.
4161 :param caption: - New caption for the photo. If this parameter is not set, it is considered to be equal to an empty string.
4162 :param latitude:
4163 :param longitude:
4164 :param place_str:
4165 :param foursquare_id:
4166 :param delete_place:
4167 :return:
4168 """
4169 pass
4170
4171
4172def photos_edit_album(
4173 album_id: int,
4174 title: str,
4175 description: str,
4176 owner_id: int,
4177 privacy_view: list,
4178 privacy_comment: list,
4179 upload_by_admins_only: bool,
4180 comments_disabled: bool,
4181) -> OkResponse:
4182 """
4183 :param album_id: - ID of the photo album to be edited.
4184 :param title: - New album title.
4185 :param description: - New album description.
4186 :param owner_id: - ID of the user or community that owns the album.
4187 :param privacy_view:
4188 :param privacy_comment:
4189 :param upload_by_admins_only:
4190 :param comments_disabled:
4191 :return:
4192 """
4193 pass
4194
4195
4196def photos_edit_comment(
4197 owner_id: int, comment_id: int, message: str, attachments: list,
4198) -> OkResponse:
4199 """
4200 :param owner_id: - ID of the user or community that owns the photo.
4201 :param comment_id: - Comment ID.
4202 :param message: - New text of the comment.
4203 :param attachments: - (Required if 'message' is not set.) List of objects attached to the post, in the following format: "<owner_id>_<media_id>,<owner_id>_<media_id>", '' — Type of media attachment: 'photo' — photo, 'video' — video, 'audio' — audio, 'doc' — document, '<owner_id>' — Media attachment owner ID. '<media_id>' — Media attachment ID. Example: "photo100172_166443618,photo66748_265827614"
4204 :return:
4205 """
4206 pass
4207
4208
4209def photos_get(
4210 owner_id: int,
4211 album_id: str,
4212 photo_ids: list,
4213 rev: bool,
4214 extended: bool,
4215 feed_type: str,
4216 feed: int,
4217 photo_sizes: bool,
4218 offset: int,
4219 count: int,
4220) -> PhotosGetResponse:
4221 """
4222 :param owner_id: - ID of the user or community that owns the photos. Use a negative value to designate a community ID.
4223 :param album_id: - Photo album ID. To return information about photos from service albums, use the following string values: 'profile, wall, saved'.
4224 :param photo_ids: - Photo IDs.
4225 :param rev: - Sort order: '1' — reverse chronological, '0' — chronological
4226 :param extended: - '1' — to return additional 'likes', 'comments', and 'tags' fields, '0' — (default)
4227 :param feed_type: - Type of feed obtained in 'feed' field of the method.
4228 :param feed: - unixtime, that can be obtained with [vk.com/dev/newsfeed.get|newsfeed.get] method in date field to get all photos uploaded by the user on a specific day, or photos the user has been tagged on. Also, 'uid' parameter of the user the event happened with shall be specified.
4229 :param photo_sizes: - '1' — to return photo sizes in a [vk.com/dev/photo_sizes|special format]
4230 :param offset:
4231 :param count:
4232 :return:
4233 """
4234 pass
4235
4236
4237def photos_get_albums(
4238 owner_id: int,
4239 album_ids: list,
4240 offset: int,
4241 count: int,
4242 need_system: bool,
4243 need_covers: bool,
4244 photo_sizes: bool,
4245) -> PhotosGetalbumsResponse:
4246 """
4247 :param owner_id: - ID of the user or community that owns the albums.
4248 :param album_ids: - Album IDs.
4249 :param offset: - Offset needed to return a specific subset of albums.
4250 :param count: - Number of albums to return.
4251 :param need_system: - '1' — to return system albums with negative IDs
4252 :param need_covers: - '1' — to return an additional 'thumb_src' field, '0' — (default)
4253 :param photo_sizes: - '1' — to return photo sizes in a
4254 :return:
4255 """
4256 pass
4257
4258
4259def photos_get_albums_count(
4260 user_id: int, group_id: int,
4261) -> PhotosGetalbumscountResponse:
4262 """
4263 :param user_id: - User ID.
4264 :param group_id: - Community ID.
4265 :return:
4266 """
4267 pass
4268
4269
4270def photos_get_all(
4271 owner_id: int,
4272 extended: bool,
4273 offset: int,
4274 count: int,
4275 photo_sizes: bool,
4276 no_service_albums: bool,
4277 need_hidden: bool,
4278 skip_hidden: bool,
4279) -> PhotosGetallResponse:
4280 """
4281 :param owner_id: - ID of a user or community that owns the photos. Use a negative value to designate a community ID.
4282 :param extended: - '1' — to return detailed information about photos
4283 :param offset: - Offset needed to return a specific subset of photos. By default, '0'.
4284 :param count: - Number of photos to return.
4285 :param photo_sizes: - '1' – to return image sizes in [vk.com/dev/photo_sizes|special format].
4286 :param no_service_albums: - '1' – to return photos only from standard albums, '0' – to return all photos including those in service albums, e.g., 'My wall photos' (default)
4287 :param need_hidden: - '1' – to show information about photos being hidden from the block above the wall.
4288 :param skip_hidden: - '1' – not to return photos being hidden from the block above the wall. Works only with owner_id>0, no_service_albums is ignored.
4289 :return:
4290 """
4291 pass
4292
4293
4294def photos_get_all_comments(
4295 owner_id: int, album_id: int, need_likes: bool, offset: int, count: int,
4296) -> PhotosGetallcommentsResponse:
4297 """
4298 :param owner_id: - ID of the user or community that owns the album(s).
4299 :param album_id: - Album ID. If the parameter is not set, comments on all of the user's albums will be returned.
4300 :param need_likes: - '1' — to return an additional 'likes' field, '0' — (default)
4301 :param offset: - Offset needed to return a specific subset of comments. By default, '0'.
4302 :param count: - Number of comments to return. By default, '20'. Maximum value, '100'.
4303 :return:
4304 """
4305 pass
4306
4307
4308def photos_get_by_id(
4309 photos: list, extended: bool, photo_sizes: bool,
4310) -> PhotosGetbyidResponse:
4311 """
4312 :param photos: - IDs separated with a comma, that are IDs of users who posted photos and IDs of photos themselves with an underscore character between such IDs. To get information about a photo in the group album, you shall specify group ID instead of user ID. Example: "1_129207899,6492_135055734, , -20629724_271945303"
4313 :param extended: - '1' — to return additional fields, '0' — (default)
4314 :param photo_sizes: - '1' — to return photo sizes in a
4315 :return:
4316 """
4317 pass
4318
4319
4320def photos_get_chat_upload_server(
4321 chat_id: int, crop_x: int, crop_y: int, crop_width: int,
4322) -> BaseGetuploadserverResponse:
4323 """
4324 :param chat_id: - ID of the chat for which you want to upload a cover photo.
4325 :param crop_x:
4326 :param crop_y:
4327 :param crop_width: - Width (in pixels) of the photo after cropping.
4328 :return:
4329 """
4330 pass
4331
4332
4333def photos_get_comments(
4334 owner_id: int,
4335 photo_id: int,
4336 need_likes: bool,
4337 start_comment_id: int,
4338 offset: int,
4339 count: int,
4340 sort: str,
4341 access_key: str,
4342 extended: bool,
4343 fields: list,
4344) -> PhotosGetcommentsResponse:
4345 """
4346 :param owner_id: - ID of the user or community that owns the photo.
4347 :param photo_id: - Photo ID.
4348 :param need_likes: - '1' — to return an additional 'likes' field, '0' — (default)
4349 :param start_comment_id:
4350 :param offset: - Offset needed to return a specific subset of comments. By default, '0'.
4351 :param count: - Number of comments to return.
4352 :param sort: - Sort order: 'asc' — old first, 'desc' — new first
4353 :param access_key:
4354 :param extended:
4355 :param fields:
4356 :return:
4357 """
4358 pass
4359
4360
4361def photos_get_market_album_upload_server(
4362 group_id: int,
4363) -> BaseGetuploadserverResponse:
4364 """
4365 :param group_id: - Community ID.
4366 :return:
4367 """
4368 pass
4369
4370
4371def photos_get_market_upload_server(
4372 group_id: int, main_photo: bool, crop_x: int, crop_y: int, crop_width: int,
4373) -> PhotosGetmarketuploadserverResponse:
4374 """
4375 :param group_id: - Community ID.
4376 :param main_photo: - '1' if you want to upload the main item photo.
4377 :param crop_x: - X coordinate of the crop left upper corner.
4378 :param crop_y: - Y coordinate of the crop left upper corner.
4379 :param crop_width: - Width of the cropped photo in px.
4380 :return:
4381 """
4382 pass
4383
4384
4385def photos_get_messages_upload_server(
4386 peer_id: int,
4387) -> PhotosGetmessagesuploadserverResponse:
4388 """
4389 :param peer_id: - Destination ID. "For user: 'User ID', e.g. '12345'. For chat: '2000000000' + 'Chat ID', e.g. '2000000001'. For community: '- Community ID', e.g. '-12345'. "
4390 :return:
4391 """
4392 pass
4393
4394
4395def photos_get_new_tags(offset: int, count: int,) -> PhotosGetnewtagsResponse:
4396 """
4397 :param offset: - Offset needed to return a specific subset of photos.
4398 :param count: - Number of photos to return.
4399 :return:
4400 """
4401 pass
4402
4403
4404def photos_get_owner_cover_photo_upload_server(
4405 group_id: int, crop_x: int, crop_y: int, crop_x2: int, crop_y2: int,
4406) -> BaseGetuploadserverResponse:
4407 """
4408 :param group_id: - ID of community that owns the album (if the photo will be uploaded to a community album).
4409 :param crop_x: - X coordinate of the left-upper corner
4410 :param crop_y: - Y coordinate of the left-upper corner
4411 :param crop_x2: - X coordinate of the right-bottom corner
4412 :param crop_y2: - Y coordinate of the right-bottom corner
4413 :return:
4414 """
4415 pass
4416
4417
4418def photos_get_owner_photo_upload_server(owner_id: int,) -> BaseGetuploadserverResponse:
4419 """
4420 :param owner_id: - identifier of a community or current user. "Note that community id must be negative. 'owner_id=1' – user, 'owner_id=-1' – community, "
4421 :return:
4422 """
4423 pass
4424
4425
4426def photos_get_tags(
4427 owner_id: int, photo_id: int, access_key: str,
4428) -> PhotosGettagsResponse:
4429 """
4430 :param owner_id: - ID of the user or community that owns the photo.
4431 :param photo_id: - Photo ID.
4432 :param access_key:
4433 :return:
4434 """
4435 pass
4436
4437
4438def photos_get_upload_server(
4439 group_id: int, album_id: int,
4440) -> PhotosGetuploadserverResponse:
4441 """
4442 :param group_id: - ID of community that owns the album (if the photo will be uploaded to a community album).
4443 :param album_id:
4444 :return:
4445 """
4446 pass
4447
4448
4449def photos_get_user_photos(
4450 user_id: int, offset: int, count: int, extended: bool, sort: str,
4451) -> PhotosGetuserphotosResponse:
4452 """
4453 :param user_id: - User ID.
4454 :param offset: - Offset needed to return a specific subset of photos. By default, '0'.
4455 :param count: - Number of photos to return. Maximum value is 1000.
4456 :param extended: - '1' — to return an additional 'likes' field, '0' — (default)
4457 :param sort: - Sort order: '1' — by date the tag was added in ascending order, '0' — by date the tag was added in descending order
4458 :return:
4459 """
4460 pass
4461
4462
4463def photos_get_wall_upload_server(group_id: int,) -> PhotosGetwalluploadserverResponse:
4464 """
4465 :param group_id: - ID of community to whose wall the photo will be uploaded.
4466 :return:
4467 """
4468 pass
4469
4470
4471def photos_make_cover(owner_id: int, photo_id: int, album_id: int,) -> OkResponse:
4472 """
4473 :param owner_id: - ID of the user or community that owns the photo.
4474 :param photo_id: - Photo ID.
4475 :param album_id: - Album ID.
4476 :return:
4477 """
4478 pass
4479
4480
4481def photos_move(owner_id: int, target_album_id: int, photo_id: int,) -> OkResponse:
4482 """
4483 :param owner_id: - ID of the user or community that owns the photo.
4484 :param target_album_id: - ID of the album to which the photo will be moved.
4485 :param photo_id: - Photo ID.
4486 :return:
4487 """
4488 pass
4489
4490
4491def photos_put_tag(
4492 owner_id: int, photo_id: int, user_id: int, x: int, y: int, x2: int, y2: int,
4493) -> PhotosPuttagResponse:
4494 """
4495 :param owner_id: - ID of the user or community that owns the photo.
4496 :param photo_id: - Photo ID.
4497 :param user_id: - ID of the user to be tagged.
4498 :param x: - Upper left-corner coordinate of the tagged area (as a percentage of the photo's width).
4499 :param y: - Upper left-corner coordinate of the tagged area (as a percentage of the photo's height).
4500 :param x2: - Lower right-corner coordinate of the tagged area (as a percentage of the photo's width).
4501 :param y2: - Lower right-corner coordinate of the tagged area (as a percentage of the photo's height).
4502 :return:
4503 """
4504 pass
4505
4506
4507def photos_remove_tag(owner_id: int, photo_id: int, tag_id: int,) -> OkResponse:
4508 """
4509 :param owner_id: - ID of the user or community that owns the photo.
4510 :param photo_id: - Photo ID.
4511 :param tag_id: - Tag ID.
4512 :return:
4513 """
4514 pass
4515
4516
4517def photos_reorder_albums(
4518 owner_id: int, album_id: int, before: int, after: int,
4519) -> OkResponse:
4520 """
4521 :param owner_id: - ID of the user or community that owns the album.
4522 :param album_id: - Album ID.
4523 :param before: - ID of the album before which the album in question shall be placed.
4524 :param after: - ID of the album after which the album in question shall be placed.
4525 :return:
4526 """
4527 pass
4528
4529
4530def photos_reorder_photos(
4531 owner_id: int, photo_id: int, before: int, after: int,
4532) -> OkResponse:
4533 """
4534 :param owner_id: - ID of the user or community that owns the photo.
4535 :param photo_id: - Photo ID.
4536 :param before: - ID of the photo before which the photo in question shall be placed.
4537 :param after: - ID of the photo after which the photo in question shall be placed.
4538 :return:
4539 """
4540 pass
4541
4542
4543def photos_report(owner_id: int, photo_id: int, reason: int,) -> OkResponse:
4544 """
4545 :param owner_id: - ID of the user or community that owns the photo.
4546 :param photo_id: - Photo ID.
4547 :param reason: - Reason for the complaint: '0' – spam, '1' – child pornography, '2' – extremism, '3' – violence, '4' – drug propaganda, '5' – adult material, '6' – insult, abuse
4548 :return:
4549 """
4550 pass
4551
4552
4553def photos_report_comment(owner_id: int, comment_id: int, reason: int,) -> OkResponse:
4554 """
4555 :param owner_id: - ID of the user or community that owns the photo.
4556 :param comment_id: - ID of the comment being reported.
4557 :param reason: - Reason for the complaint: '0' – spam, '1' – child pornography, '2' – extremism, '3' – violence, '4' – drug propaganda, '5' – adult material, '6' – insult, abuse
4558 :return:
4559 """
4560 pass
4561
4562
4563def photos_restore(owner_id: int, photo_id: int,) -> OkResponse:
4564 """
4565 :param owner_id: - ID of the user or community that owns the photo.
4566 :param photo_id: - Photo ID.
4567 :return:
4568 """
4569 pass
4570
4571
4572def photos_restore_comment(
4573 owner_id: int, comment_id: int,
4574) -> PhotosRestorecommentResponse:
4575 """
4576 :param owner_id: - ID of the user or community that owns the photo.
4577 :param comment_id: - ID of the deleted comment.
4578 :return:
4579 """
4580 pass
4581
4582
4583def photos_save(
4584 album_id: int,
4585 group_id: int,
4586 server: int,
4587 photos_list: str,
4588 hash: str,
4589 latitude: int,
4590 longitude: int,
4591 caption: str,
4592) -> PhotosSaveResponse:
4593 """
4594 :param album_id: - ID of the album to save photos to.
4595 :param group_id: - ID of the community to save photos to.
4596 :param server: - Parameter returned when photos are [vk.com/dev/upload_files|uploaded to server].
4597 :param photos_list: - Parameter returned when photos are [vk.com/dev/upload_files|uploaded to server].
4598 :param hash: - Parameter returned when photos are [vk.com/dev/upload_files|uploaded to server].
4599 :param latitude: - Geographical latitude, in degrees (from '-90' to '90').
4600 :param longitude: - Geographical longitude, in degrees (from '-180' to '180').
4601 :param caption: - Text describing the photo. 2048 digits max.
4602 :return:
4603 """
4604 pass
4605
4606
4607def photos_save_market_album_photo(
4608 group_id: int, photo: str, server: int, hash: str,
4609) -> PhotosSavemarketalbumphotoResponse:
4610 """
4611 :param group_id: - Community ID.
4612 :param photo: - Parameter returned when photos are [vk.com/dev/upload_files|uploaded to server].
4613 :param server: - Parameter returned when photos are [vk.com/dev/upload_files|uploaded to server].
4614 :param hash: - Parameter returned when photos are [vk.com/dev/upload_files|uploaded to server].
4615 :return:
4616 """
4617 pass
4618
4619
4620def photos_save_market_photo(
4621 group_id: int, photo: str, server: int, hash: str, crop_data: str, crop_hash: str,
4622) -> PhotosSavemarketphotoResponse:
4623 """
4624 :param group_id: - Community ID.
4625 :param photo: - Parameter returned when photos are [vk.com/dev/upload_files|uploaded to server].
4626 :param server: - Parameter returned when photos are [vk.com/dev/upload_files|uploaded to server].
4627 :param hash: - Parameter returned when photos are [vk.com/dev/upload_files|uploaded to server].
4628 :param crop_data: - Parameter returned when photos are [vk.com/dev/upload_files|uploaded to server].
4629 :param crop_hash: - Parameter returned when photos are [vk.com/dev/upload_files|uploaded to server].
4630 :return:
4631 """
4632 pass
4633
4634
4635def photos_save_messages_photo(
4636 photo: str, server: int, hash: str,
4637) -> PhotosSavemessagesphotoResponse:
4638 """
4639 :param photo: - Parameter returned when the photo is [vk.com/dev/upload_files|uploaded to the server].
4640 :param server:
4641 :param hash:
4642 :return:
4643 """
4644 pass
4645
4646
4647def photos_save_owner_cover_photo(
4648 hash: str, photo: str,
4649) -> PhotosSaveownercoverphotoResponse:
4650 """
4651 :param hash: - Parameter returned when photos are [vk.com/dev/upload_files|uploaded to server].
4652 :param photo: - Parameter returned when photos are [vk.com/dev/upload_files|uploaded to server].
4653 :return:
4654 """
4655 pass
4656
4657
4658def photos_save_owner_photo(
4659 server: str, hash: str, photo: str,
4660) -> PhotosSaveownerphotoResponse:
4661 """
4662 :param server: - parameter returned after [vk.com/dev/upload_files|photo upload].
4663 :param hash: - parameter returned after [vk.com/dev/upload_files|photo upload].
4664 :param photo: - parameter returned after [vk.com/dev/upload_files|photo upload].
4665 :return:
4666 """
4667 pass
4668
4669
4670def photos_save_wall_photo(
4671 user_id: int,
4672 group_id: int,
4673 photo: str,
4674 server: int,
4675 hash: str,
4676 latitude: int,
4677 longitude: int,
4678 caption: str,
4679) -> PhotosSavewallphotoResponse:
4680 """
4681 :param user_id: - ID of the user on whose wall the photo will be saved.
4682 :param group_id: - ID of community on whose wall the photo will be saved.
4683 :param photo: - Parameter returned when the the photo is [vk.com/dev/upload_files|uploaded to the server].
4684 :param server:
4685 :param hash:
4686 :param latitude: - Geographical latitude, in degrees (from '-90' to '90').
4687 :param longitude: - Geographical longitude, in degrees (from '-180' to '180').
4688 :param caption: - Text describing the photo. 2048 digits max.
4689 :return:
4690 """
4691 pass
4692
4693
4694def photos_search(
4695 q: str,
4696 lat: int,
4697 long: int,
4698 start_time: int,
4699 end_time: int,
4700 sort: int,
4701 offset: int,
4702 count: int,
4703 radius: int,
4704) -> PhotosSearchResponse:
4705 """
4706 :param q: - Search query string.
4707 :param lat: - Geographical latitude, in degrees (from '-90' to '90').
4708 :param long: - Geographical longitude, in degrees (from '-180' to '180').
4709 :param start_time:
4710 :param end_time:
4711 :param sort: - Sort order:
4712 :param offset: - Offset needed to return a specific subset of photos.
4713 :param count: - Number of photos to return.
4714 :param radius: - Radius of search in meters (works very approximately). Available values: '10', '100', '800', '6000', '50000'.
4715 :return:
4716 """
4717 pass
4718
4719
4720def polls_add_vote(
4721 owner_id: int, poll_id: int, answer_ids: list, is_board: bool,
4722) -> PollsAddvoteResponse:
4723 """
4724 :param owner_id: - ID of the user or community that owns the poll. Use a negative value to designate a community ID.
4725 :param poll_id: - Poll ID.
4726 :param answer_ids:
4727 :param is_board:
4728 :return:
4729 """
4730 pass
4731
4732
4733def polls_create(
4734 question: str,
4735 is_anonymous: bool,
4736 is_multiple: bool,
4737 end_date: int,
4738 owner_id: int,
4739 add_answers: str,
4740 photo_id: int,
4741 background_id: str,
4742) -> PollsCreateResponse:
4743 """
4744 :param question: - question text
4745 :param is_anonymous: - '1' – anonymous poll, participants list is hidden,, '0' – public poll, participants list is available,, Default value is '0'.
4746 :param is_multiple:
4747 :param end_date:
4748 :param owner_id: - If a poll will be added to a communty it is required to send a negative group identifier. Current user by default.
4749 :param add_answers: - available answers list, for example: " ["yes","no","maybe"]", There can be from 1 to 10 answers.
4750 :param photo_id:
4751 :param background_id:
4752 :return:
4753 """
4754 pass
4755
4756
4757def polls_delete_vote(
4758 owner_id: int, poll_id: int, answer_id: int, is_board: bool,
4759) -> PollsDeletevoteResponse:
4760 """
4761 :param owner_id: - ID of the user or community that owns the poll. Use a negative value to designate a community ID.
4762 :param poll_id: - Poll ID.
4763 :param answer_id: - Answer ID.
4764 :param is_board:
4765 :return:
4766 """
4767 pass
4768
4769
4770def polls_edit(
4771 owner_id: int,
4772 poll_id: int,
4773 question: str,
4774 add_answers: str,
4775 edit_answers: str,
4776 delete_answers: str,
4777 end_date: int,
4778 photo_id: int,
4779 background_id: str,
4780) -> OkResponse:
4781 """
4782 :param owner_id: - poll owner id
4783 :param poll_id: - edited poll's id
4784 :param question: - new question text
4785 :param add_answers: - answers list, for example: , "["yes","no","maybe"]"
4786 :param edit_answers: - object containing answers that need to be edited,, key – answer id, value – new answer text. Example: {"382967099":"option1", "382967103":"option2"}"
4787 :param delete_answers: - list of answer ids to be deleted. For example: "[382967099, 382967103]"
4788 :param end_date:
4789 :param photo_id:
4790 :param background_id:
4791 :return:
4792 """
4793 pass
4794
4795
4796def polls_get_by_id(
4797 owner_id: int,
4798 is_board: bool,
4799 poll_id: int,
4800 extended: bool,
4801 friends_count: int,
4802 fields: list,
4803 name_case: str,
4804) -> PollsGetbyidResponse:
4805 """
4806 :param owner_id: - ID of the user or community that owns the poll. Use a negative value to designate a community ID.
4807 :param is_board: - '1' – poll is in a board, '0' – poll is on a wall. '0' by default.
4808 :param poll_id: - Poll ID.
4809 :param extended:
4810 :param friends_count:
4811 :param fields:
4812 :param name_case:
4813 :return:
4814 """
4815 pass
4816
4817
4818def polls_get_voters(
4819 owner_id: int,
4820 poll_id: int,
4821 answer_ids: list,
4822 is_board: bool,
4823 friends_only: bool,
4824 offset: int,
4825 count: int,
4826 fields: list,
4827 name_case: str,
4828) -> PollsGetvotersResponse:
4829 """
4830 :param owner_id: - ID of the user or community that owns the poll. Use a negative value to designate a community ID.
4831 :param poll_id: - Poll ID.
4832 :param answer_ids: - Answer IDs.
4833 :param is_board:
4834 :param friends_only: - '1' — to return only current user's friends, '0' — to return all users (default),
4835 :param offset: - Offset needed to return a specific subset of voters. '0' — (default)
4836 :param count: - Number of user IDs to return (if the 'friends_only' parameter is not set, maximum '1000', otherwise '10'). '100' — (default)
4837 :param fields: - Profile fields to return. Sample values: 'nickname', 'screen_name', 'sex', 'bdate (birthdate)', 'city', 'country', 'timezone', 'photo', 'photo_medium', 'photo_big', 'has_mobile', 'rate', 'contacts', 'education', 'online', 'counters'.
4838 :param name_case: - Case for declension of user name and surname: , 'nom' — nominative (default) , 'gen' — genitive , 'dat' — dative , 'acc' — accusative , 'ins' — instrumental , 'abl' — prepositional
4839 :return:
4840 """
4841 pass
4842
4843
4844def pretty_cards_create(
4845 owner_id: int,
4846 photo: str,
4847 title: str,
4848 link: str,
4849 price: str,
4850 price_old: str,
4851 button: str,
4852) -> PrettycardsCreateResponse:
4853 """
4854 :param owner_id:
4855 :param photo:
4856 :param title:
4857 :param link:
4858 :param price:
4859 :param price_old:
4860 :param button:
4861 :return:
4862 """
4863 pass
4864
4865
4866def pretty_cards_delete(owner_id: int, card_id: int,) -> PrettycardsDeleteResponse:
4867 """
4868 :param owner_id:
4869 :param card_id:
4870 :return:
4871 """
4872 pass
4873
4874
4875def pretty_cards_edit(
4876 owner_id: int,
4877 card_id: int,
4878 photo: str,
4879 title: str,
4880 link: str,
4881 price: str,
4882 price_old: str,
4883 button: str,
4884) -> PrettycardsEditResponse:
4885 """
4886 :param owner_id:
4887 :param card_id:
4888 :param photo:
4889 :param title:
4890 :param link:
4891 :param price:
4892 :param price_old:
4893 :param button:
4894 :return:
4895 """
4896 pass
4897
4898
4899def pretty_cards_get(owner_id: int, offset: int, count: int,) -> PrettycardsGetResponse:
4900 """
4901 :param owner_id:
4902 :param offset:
4903 :param count:
4904 :return:
4905 """
4906 pass
4907
4908
4909def pretty_cards_get_by_id(
4910 owner_id: int, card_ids: list,
4911) -> PrettycardsGetbyidResponse:
4912 """
4913 :param owner_id:
4914 :param card_ids:
4915 :return:
4916 """
4917 pass
4918
4919
4920def pretty_cards_get_upload_u_r_l() -> PrettycardsGetuploadurlResponse:
4921 """
4922 :return:
4923 """
4924 pass
4925
4926
4927def search_get_hints(
4928 q: str, offset: int, limit: int, filters: list, fields: list, search_global: bool,
4929) -> SearchGethintsResponse:
4930 """
4931 :param q: - Search query string.
4932 :param offset: - Offset for querying specific result subset
4933 :param limit: - Maximum number of results to return.
4934 :param filters:
4935 :param fields:
4936 :param search_global:
4937 :return:
4938 """
4939 pass
4940
4941
4942def secure_add_app_event(user_id: int, activity_id: int, value: int,) -> OkResponse:
4943 """
4944 :param user_id: - ID of a user to save the data
4945 :param activity_id: - there are 2 default activities: , * 1 – level. Works similar to ,, * 2 – points, saves points amount, Any other value is for saving completed missions
4946 :param value: - depends on activity_id: * 1 – number, current level number,, * 2 – number, current user's points amount, , Any other value is ignored
4947 :return:
4948 """
4949 pass
4950
4951
4952def secure_check_token(token: str, ip: str,) -> SecureChecktokenResponse:
4953 """
4954 :param token: - client 'access_token'
4955 :param ip: - user 'ip address'. Note that user may access using the 'ipv6' address, in this case it is required to transmit the 'ipv6' address. If not transmitted, the address will not be checked.
4956 :return:
4957 """
4958 pass
4959
4960
4961def secure_get_app_balance() -> SecureGetappbalanceResponse:
4962 """
4963 :return:
4964 """
4965 pass
4966
4967
4968def secure_get_s_m_s_history(
4969 user_id: int, date_from: int, date_to: int, limit: int,
4970) -> SecureGetsmshistoryResponse:
4971 """
4972 :param user_id:
4973 :param date_from: - filter by start date. It is set as UNIX-time.
4974 :param date_to: - filter by end date. It is set as UNIX-time.
4975 :param limit: - number of returned posts. By default — 1000.
4976 :return:
4977 """
4978 pass
4979
4980
4981def secure_get_transactions_history(
4982 type: int, uid_from: int, uid_to: int, date_from: int, date_to: int, limit: int,
4983) -> SecureGettransactionshistoryResponse:
4984 """
4985 :param type:
4986 :param uid_from:
4987 :param uid_to:
4988 :param date_from:
4989 :param date_to:
4990 :param limit:
4991 :return:
4992 """
4993 pass
4994
4995
4996def secure_get_user_level(user_ids: list,) -> SecureGetuserlevelResponse:
4997 """
4998 :param user_ids:
4999 :return:
5000 """
5001 pass
5002
5003
5004def secure_give_event_sticker(
5005 user_ids: list, achievement_id: int,
5006) -> SecureGiveeventstickerResponse:
5007 """
5008 :param user_ids:
5009 :param achievement_id:
5010 :return:
5011 """
5012 pass
5013
5014
5015def secure_send_notification(
5016 user_ids: list, user_id: int, message: str,
5017) -> SecureSendnotificationResponse:
5018 """
5019 :param user_ids:
5020 :param user_id:
5021 :param message: - notification text which should be sent in 'UTF-8' encoding ('254' characters maximum).
5022 :return:
5023 """
5024 pass
5025
5026
5027def secure_send_s_m_s_notification(user_id: int, message: str,) -> OkResponse:
5028 """
5029 :param user_id: - ID of the user to whom SMS notification is sent. The user shall allow the application to send him/her notifications (, +1).
5030 :param message: - 'SMS' text to be sent in 'UTF-8' encoding. Only Latin letters and numbers are allowed. Maximum size is '160' characters.
5031 :return:
5032 """
5033 pass
5034
5035
5036def secure_set_counter(
5037 counters: list, user_id: int, counter: int, increment: bool,
5038) -> OkResponse:
5039 """
5040 :param counters:
5041 :param user_id:
5042 :param counter: - counter value.
5043 :param increment:
5044 :return:
5045 """
5046 pass
5047
5048
5049def stats_get(
5050 group_id: int,
5051 app_id: int,
5052 timestamp_from: int,
5053 timestamp_to: int,
5054 interval: str,
5055 intervals_count: int,
5056 filters: list,
5057 stats_groups: list,
5058 extended: bool,
5059) -> StatsGetResponse:
5060 """
5061 :param group_id: - Community ID.
5062 :param app_id: - Application ID.
5063 :param timestamp_from:
5064 :param timestamp_to:
5065 :param interval:
5066 :param intervals_count:
5067 :param filters:
5068 :param stats_groups:
5069 :param extended:
5070 :return:
5071 """
5072 pass
5073
5074
5075def stats_get_post_reach(owner_id: str, post_id: int,) -> StatsGetpostreachResponse:
5076 """
5077 :param owner_id: - post owner community id. Specify with "-" sign.
5078 :param post_id: - wall post id. Note that stats are available only for '300' last (newest) posts on a community wall.
5079 :return:
5080 """
5081 pass
5082
5083
5084def stats_track_visitor(id: str,) -> OkResponse:
5085 """
5086 :param id:
5087 :return:
5088 """
5089 pass
5090
5091
5092def status_get(user_id: int, group_id: int,) -> StatusGetResponse:
5093 """
5094 :param user_id: - User ID or community ID. Use a negative value to designate a community ID.
5095 :param group_id:
5096 :return:
5097 """
5098 pass
5099
5100
5101def status_set(text: str, group_id: int,) -> OkResponse:
5102 """
5103 :param text: - Text of the new status.
5104 :param group_id: - Identifier of a community to set a status in. If left blank the status is set to current user.
5105 :return:
5106 """
5107 pass
5108
5109
5110def storage_get(key: str, keys: list, user_id: int, global_: bool,) -> dict:
5111 """
5112 :param key:
5113 :param keys:
5114 :param user_id:
5115 :param global_:
5116 :return:
5117 """
5118 pass
5119
5120
5121def storage_get_keys(
5122 user_id: int, global_: bool, offset: int, count: int,
5123) -> StorageGetkeysResponse:
5124 """
5125 :param user_id: - user id, whose variables names are returned if they were requested with a server method.
5126 :param global_:
5127 :param offset:
5128 :param count: - amount of variable names the info needs to be collected from.
5129 :return:
5130 """
5131 pass
5132
5133
5134def storage_set(key: str, value: str, user_id: int, global_: bool,) -> OkResponse:
5135 """
5136 :param key:
5137 :param value:
5138 :param user_id:
5139 :param global_:
5140 :return:
5141 """
5142 pass
5143
5144
5145def stories_ban_owner(owners_ids: list,) -> OkResponse:
5146 """
5147 :param owners_ids: - List of sources IDs
5148 :return:
5149 """
5150 pass
5151
5152
5153def stories_delete(owner_id: int, story_id: int,) -> OkResponse:
5154 """
5155 :param owner_id: - Story owner's ID. Current user id is used by default.
5156 :param story_id: - Story ID.
5157 :return:
5158 """
5159 pass
5160
5161
5162def stories_get(owner_id: int, extended: bool,) -> StoriesGetResponse:
5163 """
5164 :param owner_id: - Owner ID.
5165 :param extended: - '1' — to return additional fields for users and communities. Default value is 0.
5166 :return:
5167 """
5168 pass
5169
5170
5171def stories_get_banned(extended: bool, fields: list,) -> StoriesGetbannedResponse:
5172 """
5173 :param extended: - '1' — to return additional fields for users and communities. Default value is 0.
5174 :param fields: - Additional fields to return
5175 :return:
5176 """
5177 pass
5178
5179
5180def stories_get_by_id(
5181 stories: list, extended: bool, fields: list,
5182) -> StoriesGetbyidResponse:
5183 """
5184 :param stories: - Stories IDs separated by commas. Use format {owner_id}+'_'+{story_id}, for example, 12345_54331.
5185 :param extended: - '1' — to return additional fields for users and communities. Default value is 0.
5186 :param fields: - Additional fields to return
5187 :return:
5188 """
5189 pass
5190
5191
5192def stories_get_photo_upload_server(
5193 add_to_news: bool,
5194 user_ids: list,
5195 reply_to_story: str,
5196 link_text: str,
5197 link_url: str,
5198 group_id: int,
5199) -> StoriesGetphotouploadserverResponse:
5200 """
5201 :param add_to_news: - 1 — to add the story to friend's feed.
5202 :param user_ids: - List of users IDs who can see the story.
5203 :param reply_to_story: - ID of the story to reply with the current.
5204 :param link_text: - Link text (for community's stories only).
5205 :param link_url: - Link URL. Internal links on https://vk.com only.
5206 :param group_id: - ID of the community to upload the story (should be verified or with the "fire" icon).
5207 :return:
5208 """
5209 pass
5210
5211
5212def stories_get_replies(
5213 owner_id: int, story_id: int, access_key: str, extended: bool, fields: list,
5214) -> StoriesGetrepliesResponse:
5215 """
5216 :param owner_id: - Story owner ID.
5217 :param story_id: - Story ID.
5218 :param access_key: - Access key for the private object.
5219 :param extended: - '1' — to return additional fields for users and communities. Default value is 0.
5220 :param fields: - Additional fields to return
5221 :return:
5222 """
5223 pass
5224
5225
5226def stories_get_stats(owner_id: int, story_id: int,) -> StoriesGetstatsResponse:
5227 """
5228 :param owner_id: - Story owner ID.
5229 :param story_id: - Story ID.
5230 :return:
5231 """
5232 pass
5233
5234
5235def stories_get_video_upload_server(
5236 add_to_news: bool,
5237 user_ids: list,
5238 reply_to_story: str,
5239 link_text: str,
5240 link_url: str,
5241 group_id: int,
5242) -> StoriesGetvideouploadserverResponse:
5243 """
5244 :param add_to_news: - 1 — to add the story to friend's feed.
5245 :param user_ids: - List of users IDs who can see the story.
5246 :param reply_to_story: - ID of the story to reply with the current.
5247 :param link_text: - Link text (for community's stories only).
5248 :param link_url: - Link URL. Internal links on https://vk.com only.
5249 :param group_id: - ID of the community to upload the story (should be verified or with the "fire" icon).
5250 :return:
5251 """
5252 pass
5253
5254
5255def stories_get_viewers(
5256 owner_id: int, story_id: int, count: int, offset: int, extended: bool,
5257) -> StoriesGetviewersResponse:
5258 """
5259 :param owner_id: - Story owner ID.
5260 :param story_id: - Story ID.
5261 :param count: - Maximum number of results.
5262 :param offset: - Offset needed to return a specific subset of results.
5263 :param extended: - '1' — to return detailed information about photos
5264 :return:
5265 """
5266 pass
5267
5268
5269def stories_hide_all_replies(owner_id: int, group_id: int,) -> OkResponse:
5270 """
5271 :param owner_id: - ID of the user whose replies should be hidden.
5272 :param group_id:
5273 :return:
5274 """
5275 pass
5276
5277
5278def stories_hide_reply(owner_id: int, story_id: int,) -> OkResponse:
5279 """
5280 :param owner_id: - ID of the user whose replies should be hidden.
5281 :param story_id: - Story ID.
5282 :return:
5283 """
5284 pass
5285
5286
5287def stories_unban_owner(owners_ids: list,) -> OkResponse:
5288 """
5289 :param owners_ids: - List of hidden sources to show stories from.
5290 :return:
5291 """
5292 pass
5293
5294
5295def streaming_get_server_url() -> StreamingGetserverurlResponse:
5296 """
5297 :return:
5298 """
5299 pass
5300
5301
5302def streaming_set_settings(monthly_tier: str,) -> OkResponse:
5303 """
5304 :param monthly_tier:
5305 :return:
5306 """
5307 pass
5308
5309
5310def users_get(user_ids: list, fields: list, name_case: str,) -> UsersGetResponse:
5311 """
5312 :param user_ids: - User IDs or screen names ('screen_name'). By default, current user ID.
5313 :param fields: - Profile fields to return. Sample values: 'nickname', 'screen_name', 'sex', 'bdate' (birthdate), 'city', 'country', 'timezone', 'photo', 'photo_medium', 'photo_big', 'has_mobile', 'contacts', 'education', 'online', 'counters', 'relation', 'last_seen', 'activity', 'can_write_private_message', 'can_see_all_posts', 'can_post', 'universities',
5314 :param name_case: - Case for declension of user name and surname: 'nom' — nominative (default), 'gen' — genitive , 'dat' — dative, 'acc' — accusative , 'ins' — instrumental , 'abl' — prepositional
5315 :return:
5316 """
5317 pass
5318
5319
5320def users_get_followers(
5321 user_id: int, offset: int, count: int, fields: list, name_case: str,
5322) -> UsersGetfollowersResponse:
5323 """
5324 :param user_id: - User ID.
5325 :param offset: - Offset needed to return a specific subset of followers.
5326 :param count: - Number of followers to return.
5327 :param fields: - Profile fields to return. Sample values: 'nickname', 'screen_name', 'sex', 'bdate' (birthdate), 'city', 'country', 'timezone', 'photo', 'photo_medium', 'photo_big', 'has_mobile', 'rate', 'contacts', 'education', 'online'.
5328 :param name_case: - Case for declension of user name and surname: 'nom' — nominative (default), 'gen' — genitive , 'dat' — dative, 'acc' — accusative , 'ins' — instrumental , 'abl' — prepositional
5329 :return:
5330 """
5331 pass
5332
5333
5334def users_get_subscriptions(
5335 user_id: int, extended: bool, offset: int, count: int, fields: list,
5336) -> UsersGetsubscriptionsResponse:
5337 """
5338 :param user_id: - User ID.
5339 :param extended: - '1' — to return a combined list of users and communities, '0' — to return separate lists of users and communities (default)
5340 :param offset: - Offset needed to return a specific subset of subscriptions.
5341 :param count: - Number of users and communities to return.
5342 :param fields:
5343 :return:
5344 """
5345 pass
5346
5347
5348def users_is_app_user(user_id: int,) -> UsersIsappuserResponse:
5349 """
5350 :param user_id:
5351 :return:
5352 """
5353 pass
5354
5355
5356def users_report(user_id: int, type: str, comment: str,) -> OkResponse:
5357 """
5358 :param user_id: - ID of the user about whom a complaint is being made.
5359 :param type: - Type of complaint: 'porn' – pornography, 'spam' – spamming, 'insult' – abusive behavior, 'advertisement' – disruptive advertisements
5360 :param comment: - Comment describing the complaint.
5361 :return:
5362 """
5363 pass
5364
5365
5366def users_search(
5367 q: str,
5368 sort: int,
5369 offset: int,
5370 count: int,
5371 fields: list,
5372 city: int,
5373 country: int,
5374 hometown: str,
5375 university_country: int,
5376 university: int,
5377 university_year: int,
5378 university_faculty: int,
5379 university_chair: int,
5380 sex: int,
5381 status: int,
5382 age_from: int,
5383 age_to: int,
5384 birth_day: int,
5385 birth_month: int,
5386 birth_year: int,
5387 online: bool,
5388 has_photo: bool,
5389 school_country: int,
5390 school_city: int,
5391 school_class: int,
5392 school: int,
5393 school_year: int,
5394 religion: str,
5395 interests: str,
5396 company: str,
5397 position: str,
5398 group_id: int,
5399 from_list: list,
5400) -> UsersSearchResponse:
5401 """
5402 :param q: - Search query string (e.g., 'Vasya Babich').
5403 :param sort: - Sort order: '1' — by date registered, '0' — by rating
5404 :param offset: - Offset needed to return a specific subset of users.
5405 :param count: - Number of users to return.
5406 :param fields: - Profile fields to return. Sample values: 'nickname', 'screen_name', 'sex', 'bdate' (birthdate), 'city', 'country', 'timezone', 'photo', 'photo_medium', 'photo_big', 'has_mobile', 'rate', 'contacts', 'education', 'online',
5407 :param city: - City ID.
5408 :param country: - Country ID.
5409 :param hometown: - City name in a string.
5410 :param university_country: - ID of the country where the user graduated.
5411 :param university: - ID of the institution of higher education.
5412 :param university_year: - Year of graduation from an institution of higher education.
5413 :param university_faculty: - Faculty ID.
5414 :param university_chair: - Chair ID.
5415 :param sex: - '1' — female, '2' — male, '0' — any (default)
5416 :param status: - Relationship status: '1' — Not married, '2' — In a relationship, '3' — Engaged, '4' — Married, '5' — It's complicated, '6' — Actively searching, '7' — In love
5417 :param age_from: - Minimum age.
5418 :param age_to: - Maximum age.
5419 :param birth_day: - Day of birth.
5420 :param birth_month: - Month of birth.
5421 :param birth_year: - Year of birth.
5422 :param online: - '1' — online only, '0' — all users
5423 :param has_photo: - '1' — with photo only, '0' — all users
5424 :param school_country: - ID of the country where users finished school.
5425 :param school_city: - ID of the city where users finished school.
5426 :param school_class:
5427 :param school: - ID of the school.
5428 :param school_year: - School graduation year.
5429 :param religion: - Users' religious affiliation.
5430 :param interests: - Users' interests.
5431 :param company: - Name of the company where users work.
5432 :param position: - Job position.
5433 :param group_id: - ID of a community to search in communities.
5434 :param from_list:
5435 :return:
5436 """
5437 pass
5438
5439
5440def utils_check_link(url: str,) -> UtilsChecklinkResponse:
5441 """
5442 :param url: - Link to check (e.g., 'http://google.com').
5443 :return:
5444 """
5445 pass
5446
5447
5448def utils_delete_from_last_shortened(key: str,) -> OkResponse:
5449 """
5450 :param key: - Link key (characters after vk.cc/).
5451 :return:
5452 """
5453 pass
5454
5455
5456def utils_get_last_shortened_links(
5457 count: int, offset: int,
5458) -> UtilsGetlastshortenedlinksResponse:
5459 """
5460 :param count: - Number of links to return.
5461 :param offset: - Offset needed to return a specific subset of links.
5462 :return:
5463 """
5464 pass
5465
5466
5467def utils_get_link_stats(
5468 key: str,
5469 source: str,
5470 access_key: str,
5471 interval: str,
5472 intervals_count: int,
5473 extended: bool,
5474) -> UtilsGetlinkstatsResponse:
5475 """
5476 :param key: - Link key (characters after vk.cc/).
5477 :param source: - Source of scope
5478 :param access_key: - Access key for private link stats.
5479 :param interval: - Interval.
5480 :param intervals_count: - Number of intervals to return.
5481 :param extended: - 1 — to return extended stats data (sex, age, geo). 0 — to return views number only.
5482 :return:
5483 """
5484 pass
5485
5486
5487def utils_get_server_time() -> UtilsGetservertimeResponse:
5488 """
5489 :return:
5490 """
5491 pass
5492
5493
5494def utils_get_short_link(url: str, private: bool,) -> UtilsGetshortlinkResponse:
5495 """
5496 :param url: - URL to be shortened.
5497 :param private: - 1 — private stats, 0 — public stats.
5498 :return:
5499 """
5500 pass
5501
5502
5503def utils_resolve_screen_name(screen_name: str,) -> UtilsResolvescreennameResponse:
5504 """
5505 :param screen_name: - Screen name of the user, community (e.g., 'apiclub,' 'andrew', or 'rules_of_war'), or application.
5506 :return:
5507 """
5508 pass
5509
5510
5511def video_add(target_id: int, video_id: int, owner_id: int,) -> OkResponse:
5512 """
5513 :param target_id: - identifier of a user or community to add a video to. Use a negative value to designate a community ID.
5514 :param video_id: - Video ID.
5515 :param owner_id: - ID of the user or community that owns the video. Use a negative value to designate a community ID.
5516 :return:
5517 """
5518 pass
5519
5520
5521def video_add_album(group_id: int, title: str, privacy: list,) -> VideoAddalbumResponse:
5522 """
5523 :param group_id: - Community ID (if the album will be created in a community).
5524 :param title: - Album title.
5525 :param privacy: - new access permissions for the album. Possible values: , *'0' – all users,, *'1' – friends only,, *'2' – friends and friends of friends,, *'3' – "only me".
5526 :return:
5527 """
5528 pass
5529
5530
5531def video_add_to_album(
5532 target_id: int, album_id: int, album_ids: list, owner_id: int, video_id: int,
5533) -> OkResponse:
5534 """
5535 :param target_id:
5536 :param album_id:
5537 :param album_ids:
5538 :param owner_id:
5539 :param video_id:
5540 :return:
5541 """
5542 pass
5543
5544
5545def video_create_comment(
5546 owner_id: int,
5547 video_id: int,
5548 message: str,
5549 attachments: list,
5550 from_group: bool,
5551 reply_to_comment: int,
5552 sticker_id: int,
5553 guid: str,
5554) -> VideoCreatecommentResponse:
5555 """
5556 :param owner_id: - ID of the user or community that owns the video.
5557 :param video_id: - Video ID.
5558 :param message: - New comment text.
5559 :param attachments: - List of objects attached to the comment, in the following format: "<owner_id>_<media_id>,<owner_id>_<media_id>", '' — Type of media attachment: 'photo' — photo, 'video' — video, 'audio' — audio, 'doc' — document, '<owner_id>' — ID of the media attachment owner. '<media_id>' — Media attachment ID. Example: "photo100172_166443618,photo66748_265827614"
5560 :param from_group: - '1' — to post the comment from a community name (only if 'owner_id'<0)
5561 :param reply_to_comment:
5562 :param sticker_id:
5563 :param guid:
5564 :return:
5565 """
5566 pass
5567
5568
5569def video_delete(video_id: int, owner_id: int, target_id: int,) -> OkResponse:
5570 """
5571 :param video_id: - Video ID.
5572 :param owner_id: - ID of the user or community that owns the video.
5573 :param target_id:
5574 :return:
5575 """
5576 pass
5577
5578
5579def video_delete_album(group_id: int, album_id: int,) -> OkResponse:
5580 """
5581 :param group_id: - Community ID (if the album is owned by a community).
5582 :param album_id: - Album ID.
5583 :return:
5584 """
5585 pass
5586
5587
5588def video_delete_comment(owner_id: int, comment_id: int,) -> OkResponse:
5589 """
5590 :param owner_id: - ID of the user or community that owns the video.
5591 :param comment_id: - ID of the comment to be deleted.
5592 :return:
5593 """
5594 pass
5595
5596
5597def video_edit(
5598 owner_id: int,
5599 video_id: int,
5600 name: str,
5601 desc: str,
5602 privacy_view: list,
5603 privacy_comment: list,
5604 no_comments: bool,
5605 repeat: bool,
5606) -> OkResponse:
5607 """
5608 :param owner_id: - ID of the user or community that owns the video.
5609 :param video_id: - Video ID.
5610 :param name: - New video title.
5611 :param desc: - New video description.
5612 :param privacy_view: - Privacy settings in a [vk.com/dev/privacy_setting|special format]. Privacy setting is available for videos uploaded to own profile by user.
5613 :param privacy_comment: - Privacy settings for comments in a [vk.com/dev/privacy_setting|special format].
5614 :param no_comments: - Disable comments for the group video.
5615 :param repeat: - '1' — to repeat the playback of the video, '0' — to play the video once,
5616 :return:
5617 """
5618 pass
5619
5620
5621def video_edit_album(
5622 group_id: int, album_id: int, title: str, privacy: list,
5623) -> OkResponse:
5624 """
5625 :param group_id: - Community ID (if the album edited is owned by a community).
5626 :param album_id: - Album ID.
5627 :param title: - New album title.
5628 :param privacy: - new access permissions for the album. Possible values: , *'0' – all users,, *'1' – friends only,, *'2' – friends and friends of friends,, *'3' – "only me".
5629 :return:
5630 """
5631 pass
5632
5633
5634def video_edit_comment(
5635 owner_id: int, comment_id: int, message: str, attachments: list,
5636) -> OkResponse:
5637 """
5638 :param owner_id: - ID of the user or community that owns the video.
5639 :param comment_id: - Comment ID.
5640 :param message: - New comment text.
5641 :param attachments: - List of objects attached to the comment, in the following format: "<owner_id>_<media_id>,<owner_id>_<media_id>", '' — Type of media attachment: 'photo' — photo, 'video' — video, 'audio' — audio, 'doc' — document, '<owner_id>' — ID of the media attachment owner. '<media_id>' — Media attachment ID. Example: "photo100172_166443618,photo66748_265827614"
5642 :return:
5643 """
5644 pass
5645
5646
5647def video_get(
5648 owner_id: int, videos: list, album_id: int, count: int, offset: int, extended: bool,
5649) -> VideoGetResponse:
5650 """
5651 :param owner_id: - ID of the user or community that owns the video(s).
5652 :param videos: - Video IDs, in the following format: "<owner_id>_<media_id>,<owner_id>_<media_id>", Use a negative value to designate a community ID. Example: "-4363_136089719,13245770_137352259"
5653 :param album_id: - ID of the album containing the video(s).
5654 :param count: - Number of videos to return.
5655 :param offset: - Offset needed to return a specific subset of videos.
5656 :param extended: - '1' — to return an extended response with additional fields
5657 :return:
5658 """
5659 pass
5660
5661
5662def video_get_album_by_id(owner_id: int, album_id: int,) -> VideoGetalbumbyidResponse:
5663 """
5664 :param owner_id: - identifier of a user or community to add a video to. Use a negative value to designate a community ID.
5665 :param album_id: - Album ID.
5666 :return:
5667 """
5668 pass
5669
5670
5671def video_get_albums(
5672 owner_id: int, offset: int, count: int, extended: bool, need_system: bool,
5673) -> VideoGetalbumsResponse:
5674 """
5675 :param owner_id: - ID of the user or community that owns the video album(s).
5676 :param offset: - Offset needed to return a specific subset of video albums.
5677 :param count: - Number of video albums to return.
5678 :param extended: - '1' — to return additional information about album privacy settings for the current user
5679 :param need_system:
5680 :return:
5681 """
5682 pass
5683
5684
5685def video_get_albums_by_video(
5686 target_id: int, owner_id: int, video_id: int, extended: bool,
5687) -> VideoGetalbumsbyvideoResponse:
5688 """
5689 :param target_id:
5690 :param owner_id:
5691 :param video_id:
5692 :param extended:
5693 :return:
5694 """
5695 pass
5696
5697
5698def video_get_comments(
5699 owner_id: int,
5700 video_id: int,
5701 need_likes: bool,
5702 start_comment_id: int,
5703 offset: int,
5704 count: int,
5705 sort: str,
5706 extended: bool,
5707 fields: list,
5708) -> VideoGetcommentsResponse:
5709 """
5710 :param owner_id: - ID of the user or community that owns the video.
5711 :param video_id: - Video ID.
5712 :param need_likes: - '1' — to return an additional 'likes' field
5713 :param start_comment_id:
5714 :param offset: - Offset needed to return a specific subset of comments.
5715 :param count: - Number of comments to return.
5716 :param sort: - Sort order: 'asc' — oldest comment first, 'desc' — newest comment first
5717 :param extended:
5718 :param fields:
5719 :return:
5720 """
5721 pass
5722
5723
5724def video_remove_from_album(
5725 target_id: int, album_id: int, album_ids: list, owner_id: int, video_id: int,
5726) -> OkResponse:
5727 """
5728 :param target_id:
5729 :param album_id:
5730 :param album_ids:
5731 :param owner_id:
5732 :param video_id:
5733 :return:
5734 """
5735 pass
5736
5737
5738def video_reorder_albums(
5739 owner_id: int, album_id: int, before: int, after: int,
5740) -> OkResponse:
5741 """
5742 :param owner_id: - ID of the user or community that owns the albums..
5743 :param album_id: - Album ID.
5744 :param before: - ID of the album before which the album in question shall be placed.
5745 :param after: - ID of the album after which the album in question shall be placed.
5746 :return:
5747 """
5748 pass
5749
5750
5751def video_reorder_videos(
5752 target_id: int,
5753 album_id: int,
5754 owner_id: int,
5755 video_id: int,
5756 before_owner_id: int,
5757 before_video_id: int,
5758 after_owner_id: int,
5759 after_video_id: int,
5760) -> OkResponse:
5761 """
5762 :param target_id: - ID of the user or community that owns the album with videos.
5763 :param album_id: - ID of the video album.
5764 :param owner_id: - ID of the user or community that owns the video.
5765 :param video_id: - ID of the video.
5766 :param before_owner_id: - ID of the user or community that owns the video before which the video in question shall be placed.
5767 :param before_video_id: - ID of the video before which the video in question shall be placed.
5768 :param after_owner_id: - ID of the user or community that owns the video after which the photo in question shall be placed.
5769 :param after_video_id: - ID of the video after which the photo in question shall be placed.
5770 :return:
5771 """
5772 pass
5773
5774
5775def video_report(
5776 owner_id: int, video_id: int, reason: int, comment: str, search_query: str,
5777) -> OkResponse:
5778 """
5779 :param owner_id: - ID of the user or community that owns the video.
5780 :param video_id: - Video ID.
5781 :param reason: - Reason for the complaint: '0' – spam, '1' – child pornography, '2' – extremism, '3' – violence, '4' – drug propaganda, '5' – adult material, '6' – insult, abuse
5782 :param comment: - Comment describing the complaint.
5783 :param search_query: - (If the video was found in search results.) Search query string.
5784 :return:
5785 """
5786 pass
5787
5788
5789def video_report_comment(owner_id: int, comment_id: int, reason: int,) -> OkResponse:
5790 """
5791 :param owner_id: - ID of the user or community that owns the video.
5792 :param comment_id: - ID of the comment being reported.
5793 :param reason: - Reason for the complaint: , 0 – spam , 1 – child pornography , 2 – extremism , 3 – violence , 4 – drug propaganda , 5 – adult material , 6 – insult, abuse
5794 :return:
5795 """
5796 pass
5797
5798
5799def video_restore(video_id: int, owner_id: int,) -> OkResponse:
5800 """
5801 :param video_id: - Video ID.
5802 :param owner_id: - ID of the user or community that owns the video.
5803 :return:
5804 """
5805 pass
5806
5807
5808def video_restore_comment(
5809 owner_id: int, comment_id: int,
5810) -> VideoRestorecommentResponse:
5811 """
5812 :param owner_id: - ID of the user or community that owns the video.
5813 :param comment_id: - ID of the deleted comment.
5814 :return:
5815 """
5816 pass
5817
5818
5819def video_save(
5820 name: str,
5821 description: str,
5822 is_private: bool,
5823 wallpost: bool,
5824 link: str,
5825 group_id: int,
5826 album_id: int,
5827 privacy_view: list,
5828 privacy_comment: list,
5829 no_comments: bool,
5830 repeat: bool,
5831 compression: bool,
5832) -> VideoSaveResponse:
5833 """
5834 :param name: - Name of the video.
5835 :param description: - Description of the video.
5836 :param is_private: - '1' — to designate the video as private (send it via a private message), the video will not appear on the user's video list and will not be available by ID for other users, '0' — not to designate the video as private
5837 :param wallpost: - '1' — to post the saved video on a user's wall, '0' — not to post the saved video on a user's wall
5838 :param link: - URL for embedding the video from an external website.
5839 :param group_id: - ID of the community in which the video will be saved. By default, the current user's page.
5840 :param album_id: - ID of the album to which the saved video will be added.
5841 :param privacy_view:
5842 :param privacy_comment:
5843 :param no_comments:
5844 :param repeat: - '1' — to repeat the playback of the video, '0' — to play the video once,
5845 :param compression:
5846 :return:
5847 """
5848 pass
5849
5850
5851def video_search(
5852 q: str,
5853 sort: int,
5854 hd: int,
5855 adult: bool,
5856 filters: list,
5857 search_own: bool,
5858 offset: int,
5859 longer: int,
5860 shorter: int,
5861 count: int,
5862 extended: bool,
5863) -> VideoSearchResponse:
5864 """
5865 :param q: - Search query string (e.g., 'The Beatles').
5866 :param sort: - Sort order: '1' — by duration, '2' — by relevance, '0' — by date added
5867 :param hd: - If not null, only searches for high-definition videos.
5868 :param adult: - '1' — to disable the Safe Search filter, '0' — to enable the Safe Search filter
5869 :param filters: - Filters to apply: 'youtube' — return YouTube videos only, 'vimeo' — return Vimeo videos only, 'short' — return short videos only, 'long' — return long videos only
5870 :param search_own:
5871 :param offset: - Offset needed to return a specific subset of videos.
5872 :param longer:
5873 :param shorter:
5874 :param count: - Number of videos to return.
5875 :param extended:
5876 :return:
5877 """
5878 pass
5879
5880
5881def wall_close_comments(owner_id: int, post_id: int,) -> BaseBoolResponse:
5882 """
5883 :param owner_id:
5884 :param post_id:
5885 :return:
5886 """
5887 pass
5888
5889
5890def wall_create_comment(
5891 owner_id: int,
5892 post_id: int,
5893 from_group: int,
5894 message: str,
5895 reply_to_comment: int,
5896 attachments: list,
5897 sticker_id: int,
5898 guid: str,
5899) -> WallCreatecommentResponse:
5900 """
5901 :param owner_id: - User ID or community ID. Use a negative value to designate a community ID.
5902 :param post_id: - Post ID.
5903 :param from_group: - Group ID.
5904 :param message: - (Required if 'attachments' is not set.) Text of the comment.
5905 :param reply_to_comment: - ID of comment to reply.
5906 :param attachments: - (Required if 'message' is not set.) List of media objects attached to the comment, in the following format: "<owner_id>_<media_id>,<owner_id>_<media_id>", '' — Type of media ojbect: 'photo' — photo, 'video' — video, 'audio' — audio, 'doc' — document, '<owner_id>' — ID of the media owner. '<media_id>' — Media ID. For example: "photo100172_166443618,photo66748_265827614"
5907 :param sticker_id: - Sticker ID.
5908 :param guid: - Unique identifier to avoid repeated comments.
5909 :return:
5910 """
5911 pass
5912
5913
5914def wall_delete(owner_id: int, post_id: int,) -> OkResponse:
5915 """
5916 :param owner_id: - User ID or community ID. Use a negative value to designate a community ID.
5917 :param post_id: - ID of the post to be deleted.
5918 :return:
5919 """
5920 pass
5921
5922
5923def wall_delete_comment(owner_id: int, comment_id: int,) -> OkResponse:
5924 """
5925 :param owner_id: - User ID or community ID. Use a negative value to designate a community ID.
5926 :param comment_id: - Comment ID.
5927 :return:
5928 """
5929 pass
5930
5931
5932def wall_edit(
5933 owner_id: int,
5934 post_id: int,
5935 friends_only: bool,
5936 message: str,
5937 attachments: list,
5938 services: str,
5939 signed: bool,
5940 publish_date: int,
5941 lat: int,
5942 long: int,
5943 place_id: int,
5944 mark_as_ads: bool,
5945 close_comments: bool,
5946 poster_bkg_id: int,
5947 poster_bkg_owner_id: int,
5948 poster_bkg_access_hash: str,
5949) -> WallEditResponse:
5950 """
5951 :param owner_id: - User ID or community ID. Use a negative value to designate a community ID.
5952 :param post_id:
5953 :param friends_only:
5954 :param message: - (Required if 'attachments' is not set.) Text of the post.
5955 :param attachments: - (Required if 'message' is not set.) List of objects attached to the post, in the following format: "<owner_id>_<media_id>,<owner_id>_<media_id>", '' — Type of media attachment: 'photo' — photo, 'video' — video, 'audio' — audio, 'doc' — document, '<owner_id>' — ID of the media application owner. '<media_id>' — Media application ID. Example: "photo100172_166443618,photo66748_265827614", May contain a link to an external page to include in the post. Example: "photo66748_265827614,http://habrahabr.ru", "NOTE: If more than one link is being attached, an error is thrown."
5956 :param services:
5957 :param signed:
5958 :param publish_date:
5959 :param lat:
5960 :param long:
5961 :param place_id:
5962 :param mark_as_ads:
5963 :param close_comments:
5964 :param poster_bkg_id:
5965 :param poster_bkg_owner_id:
5966 :param poster_bkg_access_hash:
5967 :return:
5968 """
5969 pass
5970
5971
5972def wall_edit_ads_stealth(
5973 owner_id: int,
5974 post_id: int,
5975 message: str,
5976 attachments: list,
5977 signed: bool,
5978 lat: int,
5979 long: int,
5980 place_id: int,
5981 link_button: str,
5982 link_title: str,
5983 link_image: str,
5984 link_video: str,
5985) -> OkResponse:
5986 """
5987 :param owner_id: - User ID or community ID. Use a negative value to designate a community ID.
5988 :param post_id: - Post ID. Used for publishing of scheduled and suggested posts.
5989 :param message: - (Required if 'attachments' is not set.) Text of the post.
5990 :param attachments: - (Required if 'message' is not set.) List of objects attached to the post, in the following format: "<owner_id>_<media_id>,<owner_id>_<media_id>", '' — Type of media attachment: 'photo' — photo, 'video' — video, 'audio' — audio, 'doc' — document, 'page' — wiki-page, 'note' — note, 'poll' — poll, 'album' — photo album, '<owner_id>' — ID of the media application owner. '<media_id>' — Media application ID. Example: "photo100172_166443618,photo66748_265827614", May contain a link to an external page to include in the post. Example: "photo66748_265827614,http://habrahabr.ru", "NOTE: If more than one link is being attached, an error will be thrown."
5991 :param signed: - Only for posts in communities with 'from_group' set to '1': '1' — post will be signed with the name of the posting user, '0' — post will not be signed (default)
5992 :param lat: - Geographical latitude of a check-in, in degrees (from -90 to 90).
5993 :param long: - Geographical longitude of a check-in, in degrees (from -180 to 180).
5994 :param place_id: - ID of the location where the user was tagged.
5995 :param link_button: - Link button ID
5996 :param link_title: - Link title
5997 :param link_image: - Link image url
5998 :param link_video: - Link video ID in format "<owner_id>_<media_id>"
5999 :return:
6000 """
6001 pass
6002
6003
6004def wall_edit_comment(
6005 owner_id: int, comment_id: int, message: str, attachments: list,
6006) -> OkResponse:
6007 """
6008 :param owner_id: - User ID or community ID. Use a negative value to designate a community ID.
6009 :param comment_id: - Comment ID.
6010 :param message: - New comment text.
6011 :param attachments: - List of objects attached to the comment, in the following format: , "<owner_id>_<media_id>,<owner_id>_<media_id>", '' — Type of media attachment: 'photo' — photo, 'video' — video, 'audio' — audio, 'doc' — document, '<owner_id>' — ID of the media attachment owner. '<media_id>' — Media attachment ID. For example: "photo100172_166443618,photo66748_265827614"
6012 :return:
6013 """
6014 pass
6015
6016
6017def wall_get(
6018 owner_id: int,
6019 domain: str,
6020 offset: int,
6021 count: int,
6022 filter: str,
6023 extended: bool,
6024 fields: list,
6025) -> WallGetResponse:
6026 """
6027 :param owner_id: - ID of the user or community that owns the wall. By default, current user ID. Use a negative value to designate a community ID.
6028 :param domain: - User or community short address.
6029 :param offset: - Offset needed to return a specific subset of posts.
6030 :param count: - Number of posts to return (maximum 100).
6031 :param filter: - Filter to apply: 'owner' — posts by the wall owner, 'others' — posts by someone else, 'all' — posts by the wall owner and others (default), 'postponed' — timed posts (only available for calls with an 'access_token'), 'suggests' — suggested posts on a community wall
6032 :param extended: - '1' — to return 'wall', 'profiles', and 'groups' fields, '0' — to return no additional fields (default)
6033 :param fields:
6034 :return:
6035 """
6036 pass
6037
6038
6039def wall_get_by_id(
6040 posts: list, extended: bool, copy_history_depth: int, fields: list,
6041) -> WallGetbyidResponse:
6042 """
6043 :param posts: - User or community IDs and post IDs, separated by underscores. Use a negative value to designate a community ID. Example: "93388_21539,93388_20904,2943_4276,-1_1"
6044 :param extended: - '1' — to return user and community objects needed to display posts, '0' — no additional fields are returned (default)
6045 :param copy_history_depth: - Sets the number of parent elements to include in the array 'copy_history' that is returned if the post is a repost from another wall.
6046 :param fields:
6047 :return:
6048 """
6049 pass
6050
6051
6052def wall_get_comments(
6053 owner_id: int,
6054 post_id: int,
6055 need_likes: bool,
6056 start_comment_id: int,
6057 offset: int,
6058 count: int,
6059 sort: str,
6060 preview_length: int,
6061 extended: bool,
6062 fields: list,
6063 comment_id: int,
6064 thread_items_count: int,
6065) -> WallGetcommentsResponse:
6066 """
6067 :param owner_id: - User ID or community ID. Use a negative value to designate a community ID.
6068 :param post_id: - Post ID.
6069 :param need_likes: - '1' — to return the 'likes' field, '0' — not to return the 'likes' field (default)
6070 :param start_comment_id:
6071 :param offset: - Offset needed to return a specific subset of comments.
6072 :param count: - Number of comments to return (maximum 100).
6073 :param sort: - Sort order: 'asc' — chronological, 'desc' — reverse chronological
6074 :param preview_length: - Number of characters at which to truncate comments when previewed. By default, '90'. Specify '0' if you do not want to truncate comments.
6075 :param extended:
6076 :param fields:
6077 :param comment_id: - Comment ID.
6078 :param thread_items_count: - Count items in threads.
6079 :return:
6080 """
6081 pass
6082
6083
6084def wall_get_reposts(
6085 owner_id: int, post_id: int, offset: int, count: int,
6086) -> WallGetrepostsResponse:
6087 """
6088 :param owner_id: - User ID or community ID. By default, current user ID. Use a negative value to designate a community ID.
6089 :param post_id: - Post ID.
6090 :param offset: - Offset needed to return a specific subset of reposts.
6091 :param count: - Number of reposts to return.
6092 :return:
6093 """
6094 pass
6095
6096
6097def wall_open_comments(owner_id: int, post_id: int,) -> BaseBoolResponse:
6098 """
6099 :param owner_id:
6100 :param post_id:
6101 :return:
6102 """
6103 pass
6104
6105
6106def wall_pin(owner_id: int, post_id: int,) -> OkResponse:
6107 """
6108 :param owner_id: - ID of the user or community that owns the wall. By default, current user ID. Use a negative value to designate a community ID.
6109 :param post_id: - Post ID.
6110 :return:
6111 """
6112 pass
6113
6114
6115def wall_post(
6116 owner_id: int,
6117 friends_only: bool,
6118 from_group: bool,
6119 message: str,
6120 attachments: list,
6121 services: str,
6122 signed: bool,
6123 publish_date: int,
6124 lat: int,
6125 long: int,
6126 place_id: int,
6127 post_id: int,
6128 guid: str,
6129 mark_as_ads: bool,
6130 close_comments: bool,
6131 mute_notifications: bool,
6132) -> WallPostResponse:
6133 """
6134 :param owner_id: - User ID or community ID. Use a negative value to designate a community ID.
6135 :param friends_only: - '1' — post will be available to friends only, '0' — post will be available to all users (default)
6136 :param from_group: - For a community: '1' — post will be published by the community, '0' — post will be published by the user (default)
6137 :param message: - (Required if 'attachments' is not set.) Text of the post.
6138 :param attachments: - (Required if 'message' is not set.) List of objects attached to the post, in the following format: "<owner_id>_<media_id>,<owner_id>_<media_id>", '' — Type of media attachment: 'photo' — photo, 'video' — video, 'audio' — audio, 'doc' — document, 'page' — wiki-page, 'note' — note, 'poll' — poll, 'album' — photo album, '<owner_id>' — ID of the media application owner. '<media_id>' — Media application ID. Example: "photo100172_166443618,photo66748_265827614", May contain a link to an external page to include in the post. Example: "photo66748_265827614,http://habrahabr.ru", "NOTE: If more than one link is being attached, an error will be thrown."
6139 :param services: - List of services or websites the update will be exported to, if the user has so requested. Sample values: 'twitter', 'facebook'.
6140 :param signed: - Only for posts in communities with 'from_group' set to '1': '1' — post will be signed with the name of the posting user, '0' — post will not be signed (default)
6141 :param publish_date: - Publication date (in Unix time). If used, posting will be delayed until the set time.
6142 :param lat: - Geographical latitude of a check-in, in degrees (from -90 to 90).
6143 :param long: - Geographical longitude of a check-in, in degrees (from -180 to 180).
6144 :param place_id: - ID of the location where the user was tagged.
6145 :param post_id: - Post ID. Used for publishing of scheduled and suggested posts.
6146 :param guid:
6147 :param mark_as_ads:
6148 :param close_comments:
6149 :param mute_notifications:
6150 :return:
6151 """
6152 pass
6153
6154
6155def wall_post_ads_stealth(
6156 owner_id: int,
6157 message: str,
6158 attachments: list,
6159 signed: bool,
6160 lat: int,
6161 long: int,
6162 place_id: int,
6163 guid: str,
6164 link_button: str,
6165 link_title: str,
6166 link_image: str,
6167 link_video: str,
6168) -> WallPostadsstealthResponse:
6169 """
6170 :param owner_id: - User ID or community ID. Use a negative value to designate a community ID.
6171 :param message: - (Required if 'attachments' is not set.) Text of the post.
6172 :param attachments: - (Required if 'message' is not set.) List of objects attached to the post, in the following format: "<owner_id>_<media_id>,<owner_id>_<media_id>", '' — Type of media attachment: 'photo' — photo, 'video' — video, 'audio' — audio, 'doc' — document, 'page' — wiki-page, 'note' — note, 'poll' — poll, 'album' — photo album, '<owner_id>' — ID of the media application owner. '<media_id>' — Media application ID. Example: "photo100172_166443618,photo66748_265827614", May contain a link to an external page to include in the post. Example: "photo66748_265827614,http://habrahabr.ru", "NOTE: If more than one link is being attached, an error will be thrown."
6173 :param signed: - Only for posts in communities with 'from_group' set to '1': '1' — post will be signed with the name of the posting user, '0' — post will not be signed (default)
6174 :param lat: - Geographical latitude of a check-in, in degrees (from -90 to 90).
6175 :param long: - Geographical longitude of a check-in, in degrees (from -180 to 180).
6176 :param place_id: - ID of the location where the user was tagged.
6177 :param guid: - Unique identifier to avoid duplication the same post.
6178 :param link_button: - Link button ID
6179 :param link_title: - Link title
6180 :param link_image: - Link image url
6181 :param link_video: - Link video ID in format "<owner_id>_<media_id>"
6182 :return:
6183 """
6184 pass
6185
6186
6187def wall_report_comment(owner_id: int, comment_id: int, reason: int,) -> OkResponse:
6188 """
6189 :param owner_id: - ID of the user or community that owns the wall.
6190 :param comment_id: - Comment ID.
6191 :param reason: - Reason for the complaint: '0' – spam, '1' – child pornography, '2' – extremism, '3' – violence, '4' – drug propaganda, '5' – adult material, '6' – insult, abuse
6192 :return:
6193 """
6194 pass
6195
6196
6197def wall_report_post(owner_id: int, post_id: int, reason: int,) -> OkResponse:
6198 """
6199 :param owner_id: - ID of the user or community that owns the wall.
6200 :param post_id: - Post ID.
6201 :param reason: - Reason for the complaint: '0' – spam, '1' – child pornography, '2' – extremism, '3' – violence, '4' – drug propaganda, '5' – adult material, '6' – insult, abuse
6202 :return:
6203 """
6204 pass
6205
6206
6207def wall_repost(
6208 object: str,
6209 message: str,
6210 group_id: int,
6211 mark_as_ads: bool,
6212 mute_notifications: bool,
6213) -> WallRepostResponse:
6214 """
6215 :param object: - ID of the object to be reposted on the wall. Example: "wall66748_3675"
6216 :param message: - Comment to be added along with the reposted object.
6217 :param group_id: - Target community ID when reposting to a community.
6218 :param mark_as_ads:
6219 :param mute_notifications:
6220 :return:
6221 """
6222 pass
6223
6224
6225def wall_restore(owner_id: int, post_id: int,) -> OkResponse:
6226 """
6227 :param owner_id: - User ID or community ID from whose wall the post was deleted. Use a negative value to designate a community ID.
6228 :param post_id: - ID of the post to be restored.
6229 :return:
6230 """
6231 pass
6232
6233
6234def wall_restore_comment(owner_id: int, comment_id: int,) -> OkResponse:
6235 """
6236 :param owner_id: - User ID or community ID. Use a negative value to designate a community ID.
6237 :param comment_id: - Comment ID.
6238 :return:
6239 """
6240 pass
6241
6242
6243def wall_search(
6244 owner_id: int,
6245 domain: str,
6246 query: str,
6247 owners_only: bool,
6248 count: int,
6249 offset: int,
6250 extended: bool,
6251 fields: list,
6252) -> WallSearchResponse:
6253 """
6254 :param owner_id: - user or community id. "Remember that for a community 'owner_id' must be negative."
6255 :param domain: - user or community screen name.
6256 :param query: - search query string.
6257 :param owners_only: - '1' – returns only page owner's posts.
6258 :param count: - count of posts to return.
6259 :param offset: - Offset needed to return a specific subset of posts.
6260 :param extended: - show extended post info.
6261 :param fields:
6262 :return:
6263 """
6264 pass
6265
6266
6267def wall_unpin(owner_id: int, post_id: int,) -> OkResponse:
6268 """
6269 :param owner_id: - ID of the user or community that owns the wall. By default, current user ID. Use a negative value to designate a community ID.
6270 :param post_id: - Post ID.
6271 :return:
6272 """
6273 pass
6274
6275
6276def widgets_get_comments(
6277 widget_api_id: int,
6278 url: str,
6279 page_id: str,
6280 order: str,
6281 fields: list,
6282 offset: int,
6283 count: int,
6284) -> WidgetsGetcommentsResponse:
6285 """
6286 :param widget_api_id:
6287 :param url:
6288 :param page_id:
6289 :param order:
6290 :param fields:
6291 :param offset:
6292 :param count:
6293 :return:
6294 """
6295 pass
6296
6297
6298def widgets_get_pages(
6299 widget_api_id: int, order: str, period: str, offset: int, count: int,
6300) -> WidgetsGetpagesResponse:
6301 """
6302 :param widget_api_id:
6303 :param order:
6304 :param period:
6305 :param offset:
6306 :param count:
6307 :return:
6308 """
6309 pass