tg-archive
tg-archive copied to clipboard
Links in message text
Sometimes a part of the message text hides a link to another message or even an external website. For example, the TelegramTips
channel is full of such links. However, when the channel is archived and built into a website, these links are shown as regular text.
I am not sure whether the data is saved into the database but not included in the html, or the data is not even saved in the database in the first place. If it is saved in the database, I would appreciate if the relevant field is specified, so that I can include it in the template.
Could you please post screenshots demonstrating this?
Basically, all formatting such as bold, italic, inline links, etc. is removed (because message.raw_text
is being used here). message.text
contains the message content as sanitized HTML (with client.parse_mode = 'html'
) which can be rendered directly. Can I make a PR?
Yep, makes sense.
I am trying this very interesting tool, thanks a lot for this great work! I encountered this issue on a channel where every message point toward an external website. It would be really great if the PR could be merged. Thanks again!