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

Fix a bug and add ByteIO to thumb in input medias #1245

Open
wants to merge 3 commits into
base: master
Choose a base branch
from

Conversation

meybj
Copy link

@meybj meybj commented Mar 29, 2023

When you want only edit media of message with edit_message_media, it will remove caption of media because "" (empty string) have been set as default in input_media_auido (and others which have caption) which will remove caption.

Added ByteIO in some of input medias that support thumbnail.

in guess_mime_type of edit_message_media instead of filename, media was given. when we pass ByteIO to media it will throw error.

@mr-st0rm
Copy link

hello, can u request changes for your pathc, cause i think it helps me

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants