Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add support for thumbnail to media class #1594

Open
wants to merge 7 commits into
base: v8
Choose a base branch
from

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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants