[英]'Invalid Format' - Telegram BOT Token API - Telegram.Bot Package
how're going?怎么样?
I'm trying to start a Telegram Bot using Telegram.Bot package from NuGet on .NET Framework, and the bellow error is tanking place: Error Telegram.Bot我正在尝试在 .NET Framework 上使用来自 NuGet 的 Telegram.Bot package 启动 Telegram Bot,下面的错误是错误的地方: Error Telegram.Bot
This only happens with new bots created on Telegram Bot Father using the API Token to start the BOT and not happens with old BOTs.这只会发生在使用 API 令牌启动 BOT 的 Telegram Bot Father 上创建的新机器人上,而不会发生在旧 BOT 上。
Anyone can help me?任何人都可以帮助我吗?
Same problem, but, as the warning messages also say while compiling the code, old versions will not work in future.同样的问题,但是,正如警告消息在编译代码时所说的那样,旧版本将来将无法使用。 I advise you to check the new version (17.0.0 is the last).
我建议你检查新版本(17.0.0 是最后一个)。 Watch this video to see an example: https://youtu.be/EJIur-6RqPY
观看此视频以查看示例: https://youtu.be/EJIur-6RqPY
There is also the Migration Guide: https://telegrambots.github.io/book/Migration-Guide-to-Version-17.x.html还有迁移指南: https://telegrambots.github.io/book/Migration-Guide-to-Version-17.x.html
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.