如何在python电报bot上将文件发送给用户?

时间:2020-07-05 08:00:13

标签: python pdf python-telegram-bot

我尝试使用update.sendDocument(chat_id = update.message.chat_id, document = open(something.pdf, 'b')),但没有通过电报向我发送任何文件。请帮助!

0 个答案:

没有答案