sharkey/packages/megalodon/src/entities/poll.ts

14 lines
251 B
TypeScript
Raw Normal View History

2023-09-24 01:49:47 +09:00
/// <reference path="poll_option.ts" />
namespace Entity {
2023-09-24 08:44:53 +09:00
export type Poll = {
id: string
expires_at: string | null
expired: boolean
multiple: boolean
votes_count: number
options: Array<PollOption>
voted: boolean
}
2023-09-24 01:49:47 +09:00
}