Interface PollsCreateParams

interface PollsCreateParams {
    add_answers?: string;
    app_id?: number;
    background_id?: "1" | "2" | "3" | "4" | "6" | "8" | "9";
    disable_unvote?: number | boolean;
    end_date?: number;
    is_anonymous?: number | boolean;
    is_multiple?: number | boolean;
    owner_id?: number;
    photo_id?: number;
    question?: string;
    [key: string]: any;
}

Indexable

[key: string]: any

Properties

add_answers?: string

available answers list, for example: " ["yes","no","maybe"]", There can be from 1 to 10 answers.

app_id?: number
background_id?: "1" | "2" | "3" | "4" | "6" | "8" | "9"
disable_unvote?: number | boolean
end_date?: number
is_anonymous?: number | boolean

'1' - anonymous poll, participants list is hidden,, '0' - public poll, participants list is available,, Default value is '0'.

is_multiple?: number | boolean
owner_id?: number

If a poll will be added to a communty it is required to send a negative group identifier. Current user by default.

photo_id?: number
question?: string

question text

Generated using TypeDoc