Interface InstancePollsConfiguration

interface InstancePollsConfiguration {
    maxCharactersPerOption: number;
    maxExpiration: number;
    maxOptions: number;
    minExpiration: number;
}

Properties

maxCharactersPerOption: number

Each poll option is allowed to have this many characters.

maxExpiration: number

The longest allowed poll duration, in seconds.

maxOptions: number

Each poll is allowed to have up to this many options.

minExpiration: number

The shortest allowed poll duration, in seconds.