I can successfully receive messages from a channel through the channels.getMessages request as soon as I know their message IDs . By the way, I find the contacts.search channel id.
Currently mesage identifiers are integers, so getting max_id will solve the problem.
Iām sure that this is possible, as official customers do it (watch the channel without joining it). I will try to figure out how the official desktop application does this by reading its sources , but any help would be greatly appreciated.
I need this because I'm writing a simple public telegram channel -> rss / web interface.
Please do not confuse the telegram API with the bot telegram API. The Bot API allows you to receive "push" messages in new messages, but not "reading historical journals."
Samat source share