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