edit_message_text的时候会导致原有的entities或者parse_mode失效- 前提是
<a href="javascript:;">{}</a> - 解决方案是编辑的时候替换为消息链接
https://t.me/xxx/xxx
- 前提是
- https://core.telegram.org/bots/webapps#keyboard-button-mini-apps 的
sendData只会在keyboard_button下生效 - 使用
webhook的时候注意 cf 是否设置 WAF 保护, 可以通过 website → Security → Events 看 IP 段149.154.160.0/20and91.108.4.0/221 是否被屏蔽了- 可以通过 Custom Rules skip telegram 请求的 IP 段来解决
- 可以通过 Custom Rules skip telegram 请求的 IP 段来解决
telegram api 的一些坑
Updated:
Edit page Edit page
Share this post on: