-
Notifications
You must be signed in to change notification settings - Fork 1.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
能否支持TG频道上传图片,图床能共享? #44
Comments
现在就是tg频道啊 |
我指的是,我打开telegram频道上传图片,网站管理页面可以看到并且分享,这样就不用打开网站上传了,刚刚测试了一下,发现不行 |
这个功能应该需要频道能推送图片到CF上让网站知道有了这个图片吧 |
能做到? |
或许可以考虑每隔一段时间获取一遍tg频道里有没有KV数据库没记录的图片(一个KV数据库好像可以多个pages一起用,或许可以弄个专门的worker来执行这个任务,worker支持定时运行) |
如果能够实现,那样批量上存图片视频就更方便了。 |
是的非常期待这个功能 |
文档提供了上传api,用js写个bot就行了 |
BOT监控获取成员上传文件或图片视频,然后添加到kv,bot hook url填 网站 |
抱歉我对bot的API不是很熟悉,那bot是否需要单独的服务器部署,还是说TG提供了bot编程的方法。 |
github有类似的方案可以参考一下,设置一下webhook,让bot自动发消息给设置的webhook网站,也就是cloudflare网站,然后根据官方文档的规则监控媒体文件上传,而添加到kv记录里面 |
No description provided.
The text was updated successfully, but these errors were encountered: