diff --git a/assets/radar-rules.js b/assets/radar-rules.js index b1f8e5e89e..5d5c74edea 100644 --- a/assets/radar-rules.js +++ b/assets/radar-rules.js @@ -1659,4 +1659,23 @@ }, ], }, + 't.me': { + _name: 'Telegram', + '.': [ + { + title: '频道', + docs: 'https://docs.rsshub.app/social-media.html#telegram', + source: '/:username', + target: '/telegram/channel/:username', + script: "({isChannel:document.querySelector('.tgme_action_button_label')})", + verification: (params) => params.isChannel, + }, + { + title: '频道', + docs: 'https://docs.rsshub.app/social-media.html#telegram', + source: '/s/:username', + target: '/telegram/channel/:username', + }, + ], + }, }); diff --git a/docs/en/social-media.md b/docs/en/social-media.md index 8cc3fb34a7..3d9d669d05 100644 --- a/docs/en/social-media.md +++ b/docs/en/social-media.md @@ -106,7 +106,7 @@ Only for self-hosted ### Channel - + ::: tip diff --git a/docs/social-media.md b/docs/social-media.md index 4e4fae86d9..6700c0c064 100644 --- a/docs/social-media.md +++ b/docs/social-media.md @@ -376,7 +376,7 @@ Tiny Tiny RSS 会给所有 iframe 元素添加 `sandbox="allow-scripts"` 属性 ### 频道 - + ::: tip 提示