Skip to content

getPollDetail ​

api.getPollDetail(pollId) ​

Parameters ​

  • pollId string

Return ​

Promise<PollDetailResponse>

Types ​

ts
export type PollDetailResponse = PollDetail;

Examples ​

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