mirror of
https://gitverse.ru/kpa39l/chronicle.nixg.ru.git
synced 2026-09-29 09:55:08 +00:00
Phase 0 MVP: Telegram Archiver fully functional (992 posts tested)
This commit is contained in:
@@ -19,6 +19,7 @@ class MediaType(str, Enum):
|
||||
VIDEO_NOTE = "video_note"
|
||||
STICKER = "sticker"
|
||||
ANIMATION = "animation" # GIF
|
||||
TIMEOUT = "timeout" # File skipped due to timeout
|
||||
|
||||
|
||||
class MediaFile(BaseModel):
|
||||
@@ -76,6 +77,10 @@ class PostData(BaseModel):
|
||||
default=False,
|
||||
description="True if some files were not downloaded due to size limit"
|
||||
)
|
||||
tags: list[str] = Field(
|
||||
default_factory=list,
|
||||
description="Hashtags extracted from the post"
|
||||
)
|
||||
|
||||
@property
|
||||
def bundle_dir(self) -> str:
|
||||
|
||||
Reference in New Issue
Block a user