小编Jen*_*nyB的帖子

如何通过 Telegram Bot 发送文件

我需要使用 TelegramBot API 发送 txt 文件。

我已经尝试过https://api.telegram.org/botMYT0KEN/sendDocument?chat_id=569502265&document=/Users/users/Desktop/file.txt

并有问题:

{"ok":false,"error_code":400,"description":"错误请求:指定了错误的远程文件 ID:错误的字符串长度”}

telegram-bot

4
推荐指数
2
解决办法
3万
查看次数

标签 统计

telegram-bot ×1