sharkey/packages/megalodon/src/entities/poll.ts
2023-09-25 23:56:47 +02:00

16 lines
297 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
emojis?: []
own_votes?: Array<number>
}
}