Skip to content

Add support for thumbnail to media class#1594

Open
mtalaeii wants to merge 12 commits intodanog:v8from
mtalaeii:media_thumbs
Open

Add support for thumbnail to media class#1594
mtalaeii wants to merge 12 commits intodanog:v8from
mtalaeii:media_thumbs

Conversation

@mtalaeii
Copy link
Contributor

  • As we expected thumbnail always (even in bot api) is a single PhotoSize
  • We have separate Thumbnail class as it always send as separate media
  • We don't need videoThumb parameter as document and audio can have thumbnail too!!!
- As we expected thumbnail always (even in bot api) is a single PhotoSize
- We have separate Thumbnail class as it always send as separate media
- We don't need videoThumb parameter as document and audio can have thumbnail too!!!
- Change code structure
- cs-fix
- thanks @xtrime-ru
@mtalaeii mtalaeii requested a review from danog May 21, 2025 12:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

4 participants