style: auto format

This commit is contained in:
github-actions[bot] 2022-03-02 11:26:41 +00:00
parent 2ef844425b
commit 1eb748b3c1
1 changed files with 16 additions and 18 deletions

View File

@ -604,27 +604,25 @@ Tiny Tiny RSS 会给所有 iframe 元素添加 `sandbox="allow-scripts"` 属性
<Route author="DIYgod Rongronggg9" example="/telegram/channel/awesomeDIYgod/searchQuery=%23DIYgod的豆瓣动态" path="/telegram/channel/:username/:routeParams?" :paramsDesc="['频道 username', '额外参数,请参阅下面的表格']" radar="1" rssbud="1">
| 键 | 含义 | 接受的值 | 默认值 |
|-----------------------|-------------------------|-----------------------------------|--------|
| showLinkPreview | 是否显示 Telegram 的链接预览 | 0/1/true/false | true |
| showViaBot | 对于经 bot 发出的消息,是否显示该 bot | 0/1/true/false | true |
| showReplyTo | 对于回复消息,是否显示回复的目标 | 0/1/true/false | true |
| showFwdFrom | 对于转发消息,是否显示消息的转发来源 | 0/1/true/false | true |
| showFwdFromAuthor | 对于转发消息,是否显示消息的转发来源的原始作者 | 0/1/true/false | true |
| showInlineButtons | 是否显示消息的按钮 | 0/1/true/false | false |
| showMediaTagInTitle | 是否在标题中显示媒体标签 | 0/1/true/false | true |
| showMediaTagAsEmoji | 将媒体标签显示为 emoji | 0/1/true/false | true |
| includeFwd | 包含转发消息 | 0/1/true/false | true |
| includeReply | 包含回复消息 | 0/1/true/false | true |
| includeServiceMsg | 包含服务消息 (如: 置顶了消息,更换了头像) | 0/1/true/false | true |
| includeUnsupportedMsg | 包含 t.me 不支持的消息 | 0/1/true/false | false |
| searchQuery | 搜索关键词 | 关键词; 如需搜索 hashtag 请用 `%23` 替代 `#` | (禁用搜索) |
| 键 | 含义 | 接受的值 | 默认值 |
| --------------------- | ----------------------- | -------------------------------- | ------ |
| showLinkPreview | 是否显示 Telegram 的链接预览 | 0/1/true/false | true |
| showViaBot | 对于经 bot 发出的消息,是否显示该 bot | 0/1/true/false | true |
| showReplyTo | 对于回复消息,是否显示回复的目标 | 0/1/true/false | true |
| showFwdFrom | 对于转发消息,是否显示消息的转发来源 | 0/1/true/false | true |
| showFwdFromAuthor | 对于转发消息,是否显示消息的转发来源的原始作者 | 0/1/true/false | true |
| showInlineButtons | 是否显示消息的按钮 | 0/1/true/false | false |
| showMediaTagInTitle | 是否在标题中显示媒体标签 | 0/1/true/false | true |
| showMediaTagAsEmoji | 将媒体标签显示为 emoji | 0/1/true/false | true |
| includeFwd | 包含转发消息 | 0/1/true/false | true |
| includeReply | 包含回复消息 | 0/1/true/false | true |
| includeServiceMsg | 包含服务消息 (如:置顶了消息,更换了头像) | 0/1/true/false | true |
| includeUnsupportedMsg | 包含 t.me 不支持的消息 | 0/1/true/false | false |
| searchQuery | 搜索关键词 | 关键词如需搜索 hashtag 请用 `%23` 替代 `#` | (禁用搜索) |
指定更多与默认值不同的参数选项可以满足不同的需求,如
```
https://rsshub.app/telegram/channel/NewlearnerChannel/showLinkPreview=0&showViaBot=0&showReplyTo=0&showFwdFrom=0&showFwdFromAuthor=0&showInlineButtons=0&showMediaTagInTitle=1&showMediaTagAsEmoji=1&includeFwd=0&includeReply=1&includeServiceMsg=0&includeUnsupportedMsg=0
```
https://rsshub.app/telegram/channel/NewlearnerChannel/showLinkPreview=0&showViaBot=0&showReplyTo=0&showFwdFrom=0&showFwdFromAuthor=0&showInlineButtons=0&showMediaTagInTitle=1&showMediaTagAsEmoji=1&includeFwd=0&includeReply=1&includeServiceMsg=0&includeUnsupportedMsg=0
会生成一个没有任何链接预览和烦人的元数据,在标题中显示 emoji 媒体标签,不含转发消息(但含有回复消息),也不含你不关心的消息(服务消息和不支持的消息)的 RSS适合喜欢纯净订阅的人。