gpt4 book ai didi

access to local request fails using local telegram bot api(使用本地电报机器人API访问本地请求失败)

转载 作者:bug小助手 更新时间:2023-10-26 20:38:17 30 4
gpt4 key购买 nike



I have been trying to deploy the local telegram api. I logOut the bot from the official website. When I start the local api, my access to 127.0.0.1:10802/botToken/getMe keeps failing. 10802 is the port I set. how should i do? What could go wrong

我一直在尝试部署本地电报API。我从官方网站上注销了这个机器人。启动本地接口后,访问127.0.0.1:10802/botToken/GetMe失败。10802是我设置的端口。我该怎么办?可能会出什么问题?


#start the local api
/telegram-bot-api.exe --api-id=myid --api-hash=mytoken --local --log="D:/TG/test.log" --temp-dir="D:/TG/temp" --dir="D:/TG/work" --http-port=10802 -v 3

#启动本地接口/Telegram-bot-api.exe--api-id=myid--api-hash=myToken--local--log=“D:/tg/test.log”--temp-dir=“D:/tg/temp”--dir=“D:/tg/work”--http-port=10802-v 3


I want to use local API to control Bot to send large file translations to groups
i am going to use package PTB20.5

我想使用本地API控制Bot将大文件翻译发送到组我将使用包PTB20.5


更多回答

For reference: There has already been some discussion of this problem on Telegram: t.me/pythontelegrambottalk/243047

供参考:Telegram上已经对这个问题进行了一些讨论:t.me/pythonTelegram botTalk/243047

优秀答案推荐
更多回答

30 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com