Add experimental support for unified_card

Closes #345
This commit is contained in:
Zed
2022-01-13 00:36:30 +01:00
parent 8a6fbe81ab
commit 111927a21c
7 changed files with 185 additions and 17 deletions

View File

@@ -70,12 +70,11 @@ type
vmap = "video/vmap"
VideoVariant* = object
videoType*: VideoType
contentType*: VideoType
url*: string
bitrate*: int
Video* = object
videoId*: string
durationMs*: int
url*: string
thumb*: string
@@ -147,8 +146,6 @@ type
Card* = object
kind*: CardKind
id*: string
query*: string
url*: string
title*: string
dest*: string