parent
07c197396c
commit
60ca308c7c
@ -0,0 +1,33 @@
|
||||
#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;
|
||||
};
|
||||
|
Loading…
Reference in new issue