Thanks to visit codestin.com
Credit goes to github.com

Skip to content
This repository was archived by the owner on Dec 23, 2024. It is now read-only.

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 subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Development

Successfully merging this pull request may close these issues.

2 participants