我需要使用 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
telegram-bot ×1