You can upload photos and videos to telegraph using this bot. Can be found in telegram as @YouTech_Telegraph_bot
API_HASH
Your API Hash from my.telegram.orgAPI_ID
Your API ID from my.telegram.orgBOT_TOKEN
Your bot token from @BotFather
add Variables to config.py
git clone https://github.com/sbatrow/TelegraphBot
cd TelegraphBot
pip3 install -r requirements.txt
python3 bot.py