腾讯云
开发者社区
文档
建议反馈
控制台
登录/注册
首页
学习
活动
专区
圈层
工具
MCP广场
文章/答案/技术大牛
搜索
搜索
关闭
发布
文章
问答
(9999+)
视频
沙龙
1
回答
telegram
bot
无法
工作
:
发现
来自
webhook
的
错误
响应
:
302
php
、
telegram
、
telegram-webhook
我
的
电报机器人坏了!我做了getWebhookInfo{ "result": { "has_custom_certificatepending_update_count": 10, "last_error_message": "Wron
浏览 1
提问于2018-08-27
得票数 0
回答已采纳
2
回答
Telegram
Bot
:
来自
webhook
的
错误
响应
: 404
错误
请求
c#
、
heroku
、
telegram-bot
我在Heroku上部署了我
的
电报机器人。机器人曾经
工作
得很好,但在某些情况下,它只是在接收命令时停止发送消息。这是getWebHookInfo
的
答案: {"ok":true,"result":{"url":“https://
telegram
-rainbow-
bot
.herokuapp.com:443/api/message/update",“有_自定义_证书“:false,”挂起_更新_
浏览 176
提问于2021-02-19
得票数 0
回答已采纳
1
回答
在laravel项目的php-电报-
bot
中未识别的命令
php
、
laravel
、
telegram
、
laravel-5.5
、
telegram-bot
API object // Set
webhook
$result = $
telegram
->setWebhook($this->hook_url);($this->
bot
_a
浏览 0
提问于2018-01-22
得票数 0
1
回答
webhook
处于活动状态时
无法
使用getUpdates方法;请先使用deleteWebhook删除
webhook
(DELETEWEBHOOK无效)
bots
、
webhooks
我已经做了一个电报机器人,它
工作
了,但几天前它似乎是一个问题。“
webhook
处于活动状态时
无法
使用getUpdates方法;请先使用deleteWebhook删除
webhook
” 我使用deleteWebhook,但它不
工作
(使用python-
telegram
-
bot
我使用
的
是Python 3.6.12版本 data = {"url": ""}
bot
=
telegram</
浏览 79
提问于2020-09-02
得票数 1
1
回答
在ngrok
的
帮助下使用rasa
的
电报机器人
无法
工作
。
telegram
、
webhooks
、
telegram-bot
、
ngrok
、
rasa
我正在开发一个使用rasa
的
Telegram
机器人,并希望使用ngrok来接收
来自
webhook
的
消息。 设置一个
webhook
是可行
的
。当我将可公开访问
的
域设置为URL,并尝试在电报上运行
bot
时,没有任何结果。机器人没有回复。20 0 0.02 0.02 1.01 3.01 “”“ 当我尝试在电报上运行时,什么也没有出现,并且出现了严重
的
网关
错误
ngrok
浏览 6
提问于2020-10-21
得票数 0
1
回答
来自
web钩子
的
错误
响应
: 400坏请求
php
、
telegram
、
telegram-bot
、
bad-request
、
php-telegram-bot
我
的
程序使用getUpdates()正确
工作
。但当我设置网钩时 而且应该说我使用了https,我
的
浏览 12
提问于2016-10-13
得票数 0
回答已采纳
2
回答
电报机器人:
来自
web钩子
的
错误
响应
:需要426次升级
python
、
nginx
、
kubernetes
、
python-telegram-bot
我正在尝试使用web钩子运行
Telegram
bot
,并且在执行任何请求时总是有相同
的
错误
,例如。接下来,我用python-
telegram
-
bot
安装了一个机器人 updater = Updater我试过
的
是: 导出证书从k8s到pem文件并在set_
webhook
中使
浏览 7
提问于2021-01-16
得票数 0
3
回答
电报网钩即使存在,也找不到
php
、
telegram
、
webhooks
、
telegram-bot
我不明白为什么
Telegram
API说
webhook
.php不存在,即使我可以使用浏览器访问它。
浏览 0
提问于2018-04-15
得票数 0
回答已采纳
1
回答
在drupal 8
的
自定义模块中设置电报
webhook
telegram
、
drupal-8
、
telegram-webhook
我创建了一个模块,并在/src/Controller/BotController.php中实现了
Telegram
bot
代码。现在我想设置一个
webhook
并使用https://api.
telegram
.org/
bot
<token>/setwebhook?
webhook
已经设置好了,但是我
的
代码不
工作
,并给出了一个500
错误
。
浏览 10
提问于2017-12-25
得票数 0
1
回答
消息处理程序不会在webhooks上
的
aiogram
bot
中调用。
python
、
docker
、
webhooks
、
aiogram
我正在使用ngrok隧道本地在webhooks上启动一个aiogram
bot
,但是这个机器人没有正确
的
响应
,而是返回几乎没有
响应
体
的
200 OK,因此用户在聊天中看不到任何东西。0.0.0.0 (或以相同方式
工作
的
对接网络本地IP )作为主机,因为推荐
的
localhost导致应用程序失败,导致以下
错误
:OSError: [Errno 99] error while attempting通过上述设置,应用程序将正常启动,但不会返回<e
浏览 4
提问于2022-09-20
得票数 1
回答已采纳
1
回答
我想不通,如何在远程机器人( pyTelegramBotApi )上设置
webhook
telegram-bot
、
aiohttp
、
telegram-webhook
、
py-telegram-bot-api
格式
的
WEBHOOK
_URL。
WEBHOOK
_PATH = '/‘。= telebot.TeleBot(TOKEN)
bot
.remove_
webhook
() if
浏览 11
提问于2020-02-11
得票数 0
1
回答
在Heroku上部署Python
Telegram
Bot
heroku
、
python-telegram-bot
我正在尝试在heroku上部署我
的
python电报机器人。一切都很好,heroku说它部署成功。然而,当我在电报中尝试机器人时,它不
工作
。我已经附加了下面的部署代码。有人能帮帮忙吗?谢谢。我
的
配置文件包含以下内容: web: python3 encouragements.pyTOKEN = "Token"updater = Updater("Token"
浏览 11
提问于2020-05-22
得票数 1
1
回答
在pythonanywhere.com上用pyTelegramBotAPI和Flask实现电报机器人网络钩子
flask
、
telegram
、
telegram-bot
、
pythonanywhere
、
py-telegram-bot-api
('YOUR_AUTHORIZATION_TOKEN')@app.route('/{}'.format(secret), methods=["POST"]) def
telegram
_
webhook</e
浏览 1
提问于2017-02-15
得票数 3
1
回答
Python -电报-
bot
在Python3.x上不
工作
python-3.x
、
telegram-bot
、
python-telegram-bot
我正在尝试制作一个使用python-
telegram
-
bot
的
程序,为此我需要使用Python3。但是,当我试图使用Python 3启动它时,我会
发现
一些
错误
,我不太明白。当我使用内置示例时也会发生同样
的
情况。有人能解释一下这意味着什么吗?程序
的
精确输出如下。/
telegram
/ext/updater.py", line 320, in _bootstrap self.
bot
.setW
浏览 1
提问于2016-06-29
得票数 0
回答已采纳
2
回答
Telegram
bot
- api方法在服务器上不起作用
php
、
telegram
、
telegram-bot
我
的
代码可以在本地主机上运行,但是当我把它们放到服务器上时,结果就不一样了。此代码仅调用
Telegram
api
的
getUpdates方法。<?php $website = "https://api.
telegram
.org/
bot
".username":"mahmood
浏览 0
提问于2015-11-29
得票数 0
3
回答
在Windows 7和PHP上如何使用带有自证书
的
电报中
的
setWebhook?
php
、
ssl
、
telegram
、
apache2.4
、
telegram-bot
我在电报中是个新手,我正试着用它来移动我
的
第一步。https://api.
telegram
.org/<my_
bot
_code>/setWebHook?url=https://localhost/
Telegram
&
浏览 7
提问于2015-10-27
得票数 2
3
回答
Telegram
bot
无法
从
webhook
获取更新
python
、
server
、
webhooks
、
telegram-bot
在将我
的
机器人移动到新服务器后,我遇到了以下问题。我使用
webhook
来获取更新,但现在机器人
无法
从电报服务器获取它们。我试图从删除服务器发送带有curl
的
POST请求,机器人以正常
的
方式处理它。我用getWebhookInfo检查了
webhook
,它返回了一个对象,其中
的
url和pending_update_count等于74,没有
错误
。我猜,这意味着出于某种原因,电报服务器
无法
向我
的
主机发送POST请求。 我<e
浏览 166
提问于2018-06-30
得票数 0
2
回答
如何在google云函数上使用电报
webhook
?
python
、
google-cloud-functions
、
telegram-bot
、
telegram-webhook
基于互联网上
的
一些示例代码,我让它作为一个简单
的
echo-
bot
工作
,但是它
的
结构与我在使用长轮询之前编写
的
bot
非常不同: # main.pyimport
telegram
bot
=
telegram
.
Bot
(token=os.environ["
TELEGRAM
_TOKEN&q
浏览 162
提问于2019-08-20
得票数 0
回答已采纳
1
回答
Google Compute Engine上部署
Telegram
聊天机器人及
webhook
url设置问题
python
、
google-cloud-platform
、
google-compute-engine
、
python-telegram-bot
、
telegram-webhook
我正在谷歌计算引擎上部署我
的
Telegram
聊天机器人,并被
webhook
url
的
设置卡住了。我有一个用来存储相关信息
的
config.ini,我正在尝试使用项目的url进行设置:ACCESS_TOKEN = {token}
WEBHOOK
_URL = https://api.
telegram
.org/
bot
{token}/setWebhook?但是当我运行我
的<
浏览 19
提问于2020-05-20
得票数 0
1
回答
使用pyTelegramBotAPI将电报机器人部署到Heroku时使用开放端口
python
、
heroku
、
telegram-bot
、
py-telegram-bot-api
在尝试托管一个用pyTelegramBotAPI库和aiohttp webhooks编写
的
Telegram
bot
时,我遇到了一个问题:
Telegram
只支持开放端口80、88、443和8443上
的
webhooks同时,Heroku文档说:每个web进程只需绑定到一个端口,并侦听
来自
该端口
的
请求。要绑定到
的
端口由Heroku指定为port环境变量。import web
WEBHOOK
_HOST = 'pdf-tg-<em
浏览 27
提问于2021-01-05
得票数 3
点击加载更多
热门
标签
更多标签
云服务器
ICP备案
对象存储
即时通信 IM
实时音视频
活动推荐
运营活动
广告
关闭
领券