Skip to content

lockPoll

api.lockPoll(pollId)

Parameters

  • pollId number

Return

Promise<LockPollResponse>

Types

ts
export type LockPollResponse = "";

Examples

ts
const pollId = 1;
api.lockPoll(pollId)
    .then(console.log)
    .catch(console.error);