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

16 lines
297 B
TypeScript
Raw Normal View History

2023-09-24 01:49:47 +09:00
/// <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?: []
2023-09-26 06:56:47 +09:00
own_votes?: Array<number>
}
2023-09-24 01:49:47 +09:00
}