class PollChoices
extends BaseApi
import { PollChoices } from "https://deno.land/x/gesso@v0.1.2/src/mod.ts";
Constructors
new
PollChoices(config: Configuration)Methods
createSinglePollChoice(): Promise<Scope>
poll_id: string,
params?: CreateSinglePollChoiceParams,
body?: unknown,
deletePollChoice(): Promise<Scope>
poll_id: string,
id: string,
body?: unknown,
getSinglePollChoice(): Promise<PollChoice>
poll_id: string,
id: string,
body?: unknown,
listPollChoicesInPoll(poll_id: string, body?: unknown): Promise<PollChoice>
updateSinglePollChoice(): Promise<Scope>
poll_id: string,
id: string,
params?: UpdateSinglePollChoiceParams,
body?: unknown,