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

Allow handling albums as a single entity #359

Open
delivrance opened this issue Jan 19, 2020 · 0 comments
Open

Allow handling albums as a single entity #359

delivrance opened this issue Jan 19, 2020 · 0 comments

Comments

@delivrance
Copy link
Member

@delivrance delivrance commented Jan 19, 2020

Reference: https://t.me/PyrogramChat/141592

Albums are a special entity in Telegram. They are visually displayed as a single message, but in reality they are composed of many (up to 10) single messages that have in common an album identifier.

Something like an on_album decorator that registers an handler for List of Message objects (similar to on_deleted_messages) would allow users to handle this special case easily.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
1 participant
You can’t perform that action at this time.