mirror of
https://github.com/zedeus/nitter.git
synced 2025-12-08 04:55:37 -05:00
Support promo_video_website cards
This commit is contained in:
@@ -71,7 +71,12 @@ type
|
||||
leader*: int
|
||||
|
||||
CardKind* = enum
|
||||
summary, summaryLarge, liveEvent, player, promoWebsite
|
||||
summary = "summary"
|
||||
summaryLarge = "summary_large_image"
|
||||
promoWebsite = "promo_website"
|
||||
promoVideo = "promo_video_website"
|
||||
player = "player"
|
||||
liveEvent = "live_event"
|
||||
|
||||
Card* = object
|
||||
kind*: CardKind
|
||||
@@ -81,7 +86,8 @@ type
|
||||
title*: string
|
||||
dest*: string
|
||||
text*: string
|
||||
image*: string
|
||||
image*: Option[string]
|
||||
video*: Option[Video]
|
||||
|
||||
Quote* = object
|
||||
id*: string
|
||||
|
||||
Reference in New Issue
Block a user