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

Minor retweet refactor

This commit is contained in:
Zed
2019-07-01 23:22:00 +02:00
parent 9b07199901
commit c60280415e
4 changed files with 12 additions and 7 deletions

View File

@@ -62,6 +62,10 @@ type
thumb*: Option[string]
badge*: Option[string]
Retweet* = object
by*: string
id*: string
Tweet* = ref object
id*: string
profile*: Profile
@@ -72,9 +76,8 @@ type
retweets*: string
likes*: string
pinned*: bool
retweet*: Option[Retweet]
quote*: Option[Quote]
retweetBy*: Option[string]
retweetId*: Option[string]
gif*: Option[Gif]
video*: Option[Video]
photos*: seq[string]