fix(group-album): return video media metadata

Decode the QQ group album video payload, including cover, duration, and multi-resolution URLs. Add a wire-level regression test and update generated action documentation.

Fixes #270
This commit is contained in:
DrSmoothl committed 2026-07-22 20:00:07 +08:00
1 parent 7fb8aa1d42
commit aed15b9a3f
6 files changed
+131 -10

No files matched your search

@@ -106,9 +106,19 @@ export interface ImageInfo {
isGif?: pb<6, bool>;
hasRaw?: pb<7, bool>;
}
export interface VideoInfo {
id?: pb<1, string>;
url?: pb<2, string>;
cover?: pb<3, ImageInfo>;
width?: pb<4, uint_32>;
height?: pb<5, uint_32>;
videoTime?: pb<6, uint_64>;
videoUrl?: pb_repeated<7, PhotoUrl>;
}
export interface MediaInfo {
type?: pb<1, uint_32>;
image?: pb<2, ImageInfo>;
video?: pb<3, VideoInfo>;
uploader?: pb<6, string>;
batchId?: pb<7, uint_64>;
uploadTime?: pb<8, uint_64>;