Every inbound get_file()+download site (photo, voice/audio/video, image/video/generic document, sticker, observed and replied-to media) was single-attempt, so one stalled getFile read (PTB TimedOut) lost the attachment. The fetch is a pure read, so it now retries as one unit (2s, 5s) on transport errors; BadRequest/auth/pool timeouts stay final. The helper lives in telegram_media_fetch.py (adapter.py shrinks). Fixes #150861, fixes #47093. Salvages #150862 (@zeta92); supersedes #47160 (@Pluviobyte). Co-authored-by: Pluviobyte <Pluviobyte@users.noreply.github.com>
2 lines
7 B
Plaintext
2 lines
7 B
Plaintext
zeta92
|