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

Handling attachemnents as different messages in Telegram #18

Open
hbostan opened this issue Feb 13, 2020 · 0 comments
Open

Handling attachemnents as different messages in Telegram #18

hbostan opened this issue Feb 13, 2020 · 0 comments

Comments

@hbostan
Copy link
Collaborator

hbostan commented Feb 13, 2020

Description

Currently we convert every entity which has links in a post to an <a> tag. If there is one image link in the post this works okay with the Telegram's link preview functionality. But when there is more than one link in the post only the first link is previewed.
Instead of converting everything to <a> tags, we want to send the images/videos/documents as different messages. It would be best if the images are sent as an album (in case a post has more than one image)
There are also TODOs about attachments scattered through the code relevant to this issue.

Relevant Files

newsparser.py
newsreader.py

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

No branches or pull requests

1 participant