I'm trying to store all messages which are exist in my telegram application. For example all my private chats and all group's messages and channel's messages I'm a member of them.
I use PHP programming language. And I need to get all messages as .json
(instead of seeing them into telegram application). Is doing that possible?
Based on some researched, I figured out it is possible by using Telegram API. But honestly it's vague for me. I don't know how should I start. Anyway, isn't there any implemented example of what I'm looking for? Or do you know how should I start?