Lấy chi tiết bình chọn
Body
Name
Type
Description
service
message
method
pollDetail
data
Response
{
"data": {
"error_message": "Successful.",
"data": {
"created_time": 1726817305320,
"updated_time": 1726817309567,
"creator": "1598980502599776027",
"question": "Chung ta ko thuoc ve nhau?",
"joined": false,
"expired_time": 0, // Hạn bình chọn
"allow_multi_choices": true, // Cho phép nhiều lựa chọn
"poll_type": 0, // Loại bình chọn
"num_vote": 1, // số lượng vote
"poll_id": 280472245, // id bình chọn
"is_anonymous": false, // bình chọn ẩn danh hay không
"options": [ // danh sách lựa chọn
{
"voters": [ // những người đã vote
"1598980502599776027"
],
"voted": false,
"votes": 1,
"option_id": 280472247,
"content": "Mtp" // nội dung bình chọn
},
{
"voters": [],
"voted": false,
"votes": 0,
"option_id": 280472246,
"content": "Son tung"
}
],
"allow_add_new_option": true, // có thể thêm lựa chọn hay không
"closed": false, // bình chọn đã đóng hay chưa
"is_hide_vote_preview": false // ẩn bình chọn khi chưa vote
},
"error_code": 0
},
"status": "success"
}
{
"status": "error",
"error": {
"message": "Something wrong was happened.",
"code": null,
"prms": null
}
}
Last updated