title: How do make a telegram bot to read a pdf file sent by user and extract data from it?
body: <p>I have been checking on forums(stack overflow, git, Telegram APIs) to check how could I extract contents from a pdf file which is sent by user? I have created Telegram bot using python's <code>python-telegram-bot</code> library and as an efforts to try to solve my question, I had checked links eg: <a href="https://pypi.org/project/python-telegram-bot/" rel="nofollow noreferrer">https://pypi.org/project/python-telegram-bot/</a> and <a href="https://python-telegram-bot.readthedocs.io/en/stable/index.html" rel="nofollow noreferrer">https://python-telegram-bot.readthedocs.io/en/stable/index.html</a> in search of functions but couldn't find anything there.</p>
  <p>I did find methods to send a pdf file to user from bot and send a file from user to bot but there is nothing available where BOT can extract contents of pdf sent by user. Will be grateful if experts could guide me here.</p>