getPollDetail

Lấy thông tin của cuộc bình chọn

api.getPollDetail(pollId)

Parameters

  • pollId string

Return

Promise<PollDetailResponse>

Types

export type PollDetailResponse = PollDetail;

Examples

api.getPollDetail("poll_id_here")
    .then(console.log)
    .catch(console.error);

Last updated