Visitar URL original
Create new media type 'InputMediaCached' and update method 'SendMediaGroup'' by Danipulok · Pull Request #594 · pyrogram/pyrogram · GitHub
The Wayback Machine - https://web.archive.org/web/20240112132359/https://github.com/pyrogram/pyrogram/pull/594
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

Create new media type 'InputMediaCached' and update method 'SendMediaGroup'' #594

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

Create new media type 'InputMediaCached' and update method 'SendMediaGroup'' #594

wants to merge 1 commit into from

Conversation

Danipulok
Copy link
Contributor

So I wanted to make a method to send groups of cached media.

Then Legenda24 (github, Telegram) gave me a piece of advice that we can use types that already exists, but IMO it wasn't that convenient and easy so I decided to create a new type which could be 'created' from file_id and caption - InputMediaCached.

I also adapted method SendMediaGroup for the changes.
Hope it'll be approved.

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

1 participant