how to convert telethon object to valid JSON in python – Telegram API
I using telethon package, for connecting and getting data from telegram. I want to convert Message object to valid JSON. for example, I get this object from the one API in telethon : { Message: { via_bot_id: None, entities: [],…