Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Добавить в stories_clickable_sticker поле question_default_private #172

Open
SevereCloud opened this issue Apr 30, 2020 · 0 comments

Comments

@SevereCloud
Copy link

"clickable_stickers": [{
    "id": 1,
    "type": "question",
    "clickable_area": [{
        "x": 57,
        "y": 1250
        }, {
        "x": 867,
        "y": 1250
        }, {
        "x": 867,
        "y": 1578
        }, {
        "x": 57,
        "y": 1578
    }],
    "question": "Го вопросы",
    "question_button": "Ну го",
    "style": "light",
    "question_default_private": true,
    "color": "4bb34b"
}]

vk-api-schema/objects.json

Lines 10558 to 10689 in 0310700

"stories_clickable_sticker": {
"type": "object",
"properties": {
"clickable_area": {
"type": "array",
"items": {
"$ref": "objects.json#/definitions/stories_clickable_area"
}
},
"id": {
"type": "integer",
"description": "Clickable sticker ID"
},
"hashtag": {
"type": "string"
},
"link_object": {
"$ref": "objects.json#/definitions/base_link"
},
"mention": {
"type": "string"
},
"tooltip_text": {
"type": "string"
},
"owner_id": {
"type": "integer"
},
"story_id": {
"type": "integer"
},
"question": {
"type": "string"
},
"question_button": {
"type": "string"
},
"place_id": {
"type": "integer"
},
"market_item": {
"$ref": "objects.json#/definitions/market_market_item"
},
"audio": {
"$ref": "objects.json#/definitions/audio_audio"
},
"audio_start_time": {
"type": "integer"
},
"style": {
"type": "string",
"enum": [
"transparent",
"blue_gradient",
"red_gradient",
"underline",
"blue",
"green",
"white",
"question_reply",
"light",
"impressive"
]
},
"type": {
"type": "string",
"enum": [
"hashtag",
"mention",
"link",
"question",
"place",
"market_item",
"music",
"story_reply",
"owner",
"post",
"poll",
"sticker",
"app"
]
},
"subtype": {
"type": "string",
"enum": [
"market_item",
"aliexpress_product"
]
},
"post_owner_id": {
"type": "integer"
},
"post_id": {
"type": "integer"
},
"poll": {
"$ref": "objects.json#/definitions/polls_poll"
},
"color": {
"type": "string",
"description": "Color, hex format"
},
"sticker_id": {
"type": "integer",
"description": "Sticker ID"
},
"sticker_pack_id": {
"type": "integer",
"description": "Sticker pack ID"
},
"app": {
"$ref": "objects.json#/definitions/apps_app_min"
},
"app_context": {
"type": "string",
"description": "Additional context for app sticker"
},
"has_new_interactions": {
"type": "boolean",
"description": "Whether current user has unread interaction with this app"
},
"is_broadcast_notify_allowed": {
"type": "boolean",
"description": "Whether current user allowed broadcast notify from this app"
}
},
"required": [
"type",
"clickable_area",
"id"
]
},


Необходимо добавить в stories_clickable_sticker поле question_default_private

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant