iceshrimp/packages/megalodon/src/entities/poll.ts
2023-07-08 04:11:41 +02:00

14 lines
278 B
TypeScript

/// <reference path="poll_option.ts" />
namespace Entity {
export type Poll = {
id: string
expires_at: string | null
expired: boolean
multiple: boolean
votes_count: number
options: Array<PollOption>
voted: boolean
own_votes: Array<number>
}
}