1
0
mirror of https://github.com/zedeus/nitter.git synced 2025-12-08 04:55:37 -05:00

Add support for polls

This commit is contained in:
Zed
2019-06-29 14:11:23 +02:00
parent ff01ab61d1
commit 1a0ccbb3f7
7 changed files with 140 additions and 17 deletions

View File

@@ -47,6 +47,13 @@ type
url*: string
thumb*: string
Poll* = object
options*: seq[string]
values*: seq[int]
votes*: string
status*: string
leader*: int
Quote* = object
id*: string
profile*: Profile
@@ -73,6 +80,7 @@ type
gif*: Option[Gif]
video*: Option[Video]
photos*: seq[string]
poll*: Option[Poll]
available*: bool
Tweets* = seq[Tweet]