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

Refactor tweet stats

This commit is contained in:
Zed
2019-07-01 23:48:25 +02:00
parent c60280415e
commit 3cedcf29ea
4 changed files with 18 additions and 17 deletions

View File

@@ -66,23 +66,26 @@ type
by*: string
id*: string
TweetStats* = object
replies*: string
retweets*: string
likes*: string
Tweet* = ref object
id*: string
profile*: Profile
text*: string
time*: Time
shortTime*: string
replies*: string
retweets*: string
likes*: string
available*: bool
pinned*: bool
stats*: TweetStats
retweet*: Option[Retweet]
quote*: Option[Quote]
gif*: Option[Gif]
video*: Option[Video]
photos*: seq[string]
poll*: Option[Poll]
available*: bool
Thread* = object
tweets*: seq[Tweet]