Skip to content

Commit

Permalink
v5.126.4
Browse files Browse the repository at this point in the history
  • Loading branch information
fedorov-xyz committed Nov 30, 2020
1 parent ebd574e commit d970156
Show file tree
Hide file tree
Showing 3 changed files with 100 additions and 24 deletions.
104 changes: 87 additions & 17 deletions objects.json
Original file line number Diff line number Diff line change
Expand Up @@ -3839,29 +3839,45 @@
"callback_message_type": {
"type": "string",
"enum": [
"audio_new",
"board_post_new",
"board_post_edit",
"board_post_restore",
"board_post_delete",
"confirmation",
"group_leave",
"group_join",
"group_change_photo",
"group_change_settings",
"group_officers_edit",
"lead_forms_new",
"market_comment_new",
"market_comment_delete",
"market_comment_edit",
"market_comment_restore",
"message_allow",
"message_deny",
"message_read",
"message_reply",
"message_edit",
"message_typing_state",
"messages_edit",
"photo_new",
"photo_comment_new",
"photo_comment_delete",
"photo_comment_edit",
"photo_comment_restore",
"poll_vote_new",
"user_block",
"user_unblock",
"video_new",
"video_comment_new",
"video_comment_delete",
"video_comment_edit",
"video_comment_restore",
"wall_post_new",
"wall_reply_new",
"wall_reply_edit",
"wall_reply_delete",
"wall_reply_restore",
"wall_repost"
Expand Down Expand Up @@ -8402,23 +8418,28 @@
"messages_longpoll_params": {
"type": "object",
"properties": {
"server": {
"type": "string",
"description": "Server URL"
},
"key": {
"type": "string",
"description": "Key"
},
"ts": {
"type": "integer",
"description": "Timestamp"
},
"pts": {
"type": "integer",
"description": "Persistent timestamp"
},
"server": {
"type": "string",
"description": "Server URL"
},
"ts": {
"type": "string",
"description": "Timestamp"
}
}
},
"required": [
"server",
"key",
"ts"
]
},
"messages_message": {
"type": "object",
Expand Down Expand Up @@ -8994,7 +9015,7 @@
"items": {
"type": "array",
"items": {
"$ref": "objects.json#/definitions/wall_wallpost"
"$ref": "objects.json#/definitions/newsfeed_item_digest_item"
}
},
"main_post_ids": {
Expand Down Expand Up @@ -9025,6 +9046,23 @@
}
]
},
"newsfeed_item_digest_button": {
"type": "object",
"properties": {
"title": {
"type": "string"
},
"style": {
"type": "string",
"enum": [
"primary"
]
}
},
"required": [
"title"
]
},
"newsfeed_item_digest_footer": {
"type": "object",
"properties": {
Expand All @@ -9040,31 +9078,42 @@
"description": "text for invite to enable smart feed"
},
"button": {
"$ref": "objects.json#/definitions/newsfeed_item_digest_footer_button"
"$ref": "objects.json#/definitions/newsfeed_item_digest_button"
}
},
"required": [
"style",
"text"
]
},
"newsfeed_item_digest_footer_button": {
"newsfeed_item_digest_full_item": {
"type": "object",
"properties": {
"title": {
"text": {
"type": "string"
},
"source_name": {
"type": "string"
},
"attachment_index": {
"type": "integer"
},
"attachment": {
"$ref": "objects.json#/definitions/wall_wallpost_attachment"
},
"style": {
"type": "string",
"enum": [
"primary"
"default",
"inversed"
]
},
"post": {
"$ref": "objects.json#/definitions/wall_wallpost"
}
},
"required": [
"title",
"style",
"action"
"post"
]
},
"newsfeed_item_digest_header": {
Expand All @@ -9084,13 +9133,19 @@
"singleline",
"multiline"
]
},
"button": {
"$ref": "objects.json#/definitions/newsfeed_item_digest_button"
}
},
"required": [
"style",
"title"
]
},
"newsfeed_item_digest_item": {
"$ref": "objects.json#/definitions/wall_wallpost"
},
"newsfeed_item_friend": {
"type": "object",
"allOf": [
Expand Down Expand Up @@ -12254,6 +12309,9 @@
},
"situational_theme_id": {
"type": "integer"
},
"situational_app_url": {
"type": "string"
}
},
"required": [
Expand Down Expand Up @@ -12722,6 +12780,18 @@
"users_fields": {
"type": "string",
"enum": [
"first_name_nom",
"first_name_gen",
"first_name_dat",
"first_name_acc",
"first_name_ins",
"first_name_abl",
"last_name_nom",
"last_name_gen",
"last_name_dat",
"last_name_acc",
"last_name_ins",
"last_name_abl",
"photo_id",
"verified",
"sex",
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@vkontakte/api-schema",
"version": "5.126.3",
"version": "5.126.4",
"description": "VK API JSON Schema",
"repository": {
"type": "git",
Expand Down
18 changes: 12 additions & 6 deletions responses.json
Original file line number Diff line number Diff line change
Expand Up @@ -4588,21 +4588,24 @@
}
}
},
"groups": {
"type": "array",
"items": {
"$ref": "objects.json#/definitions/groups_group"
}
},
"messages": {
"$ref": "objects.json#/definitions/messages_longpoll_messages"
},
"credentials": {
"$ref": "objects.json#/definitions/messages_longpoll_params"
},
"profiles": {
"type": "array",
"items": {
"$ref": "objects.json#/definitions/users_user_full"
}
},
"groups": {
"type": "array",
"items": {
"$ref": "objects.json#/definitions/groups_group"
}
},
"chats": {
"type": "array",
"items": {
Expand All @@ -4613,6 +4616,9 @@
"type": "integer",
"description": "Persistence timestamp"
},
"from_pts": {
"type": "integer"
},
"more": {
"type": "boolean",
"description": "Has more"
Expand Down

0 comments on commit d970156

Please sign in to comment.