Phase 0 MVP: Telegram Archiver fully functional (992 posts tested)

This commit is contained in:
2026-03-06 22:15:50 +03:00
parent bb8c7766b4
commit b76e27afcb
14 changed files with 1171 additions and 134 deletions
+5
View File
@@ -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: