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

15 lines
271 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;
own_votes: Array<number>;
};
}