Feature: Disable web preview for telegram
See original GitHub issueDescribe the problem related to the feature request
- 作为一个指令向机器人,发送的链接大部分时候并不需要生成预览。如果默认禁用的话,可以比较方便的使用 https://t.me/botname?start=xxx 之类的功能
- 现阶段的 API 设计似乎没法同时兼容两种方法,就有点难受(x)
Describe the solution you’d like
在表单中默认追加 disable_web_page_preview: true
,或者 ↓
Describe alternatives you’ve considered
或者通过别的方式设计接口来把这个选项给塞进去,但是 bot.internal 似乎已经被对应的 web API 填满了,也不知道该放哪里。
或者可以在 bot.internal 中发送请求前加一个 event 之类的可以亡羊补牢一下(x)
Additional context
No response
Issue Analytics
- State:
- Created a year ago
- Comments:30 (30 by maintainers)
Top Results From Across the Web
[Q&A] How to disable link preview in channels? : r/Telegram
Hello. How can I disable the link preview when I send a link in a telegram channel?
Read more >How to Disable Message Previews in Telegram - Get Droid Tips
Launch the Telegram app · On the bottom right corner, tap on the Settings icon. Telegram Settings in iOS · Then under that...
Read more >Option to disable the link preview · Issue #687 - GitHub
I don't know if anyone has already requested this feature: Please provide an option to disable the link preview. (Telegram Desktop, Linux) ...
Read more >HOW TO DISABLE OR ENABLE LINK PREVIEWS ... - YouTube
Your browser can't play this video. Learn more. Switch camera ... HOW TO DISABLE OR ENABLE LINK PREVIEWS IN TELEGRAM APP (IOS).
Read more >Disable Web page Link Preview - WordPress.org
Hi,. How can I disable link previews in the messages sent by the bot in Telegram? I mean, I want to integrate disable_web_page_preview...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
翻译:3.10~5.10 会支持
这个确实,kook 的 adapter 似乎都没写上传静态文件的方法(?)