You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

34 lines
369 B
C

#pragma once
#include <time.h>
struct emoji;
struct status_poll_option
{
char* title;
struct {
int* items;
int count;
} votes;
};
struct status_poll
{
time_t expires_at;
bool multiple_choice;
int votes_seen;
bool voted;
struct {
struct status_poll_option* items;
int count;
} options;
struct {
struct emoji** items;
int count;
} emoji;
};