可以将消息从我的机器人发送给我自己 - 找不到聊天
我从botfather
创建了电报机器人,它给了我一个API密钥。现在,当我试图打开此URL时,
https://api.telegram.org/bot<MYAPIKEY>/sendMessage?chat_id=@<MYTELEGRAMUSERNAME>&text=Hello
它会响应我
{
"ok": false,
"error_code": 400,
"description": "Bad Request: chat not found"
}
如何修复?我忘了做什么?
我试图在电报中打开我的机器人页面,然后在那里输入某些内容(它没有响应)。
我希望我的计算机向我发送电报通知。
I have created Telegram bot from BotFather
and it gave me an API key. Now when I am trying to open this URL
https://api.telegram.org/bot<MYAPIKEY>/sendMessage?chat_id=@<MYTELEGRAMUSERNAME>&text=Hello
it responds me
{
"ok": false,
"error_code": 400,
"description": "Bad Request: chat not found"
}
How to fix? What I forgot to do?
I was trying to open my bot's page in telegram and type there something (it didn't respond anything).
I want my computer to send Telegram notifications to me.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论