poll
poll:
| null
| {
allow_vote_change: boolean;
ended_at: null
| Date;
hide_incomplete_results: boolean;
last_vote_at: null | Date;
max_votes: number;
options: {
id: number;
text: { bbcode: string; html: string };
vote_count?: number;
}[];
started_at: Date;
title: { bbcode: string; html: string };
total_vote_count: number;
}
Type declaration
- null
- {
allow_vote_change: boolean;
ended_at: null | Date;
hide_incomplete_results: boolean;
last_vote_at: null | Date;
max_votes: number;
options: {
id: number;
text: { bbcode: string; html: string };
vote_count?: number;
}[];
started_at: Date;
title: { bbcode: string; html: string };
total_vote_count: number;
}allow_vote_change: boolean
ended_at: null | Date
hide_incomplete_results: boolean
last_vote_at: null | Date
max_votes: number
options: { id: number; text: { bbcode: string; html: string }; vote_count?: number }[]
started_at: Date
title: { bbcode: string; html: string }
total_vote_count: number
Obtainable From
API.createForumTopic / API.getForumTopicAndPosts / API.editForumTopicTitle