I'm trying to do a public posts search through all channels (including ones you're not in) in telegram programmatically. I know this can be done through the desktop client: see screenshot.
I've tried using telethon, specifically, the SearchGlobalRequest method and client.iter_messages setting entity as None. However, this only searches through channels that you're a member of.
I've searched stackoverflow before, but the last relevant answer said this wasn't possible. I'm wondering if it's been made possible since.
Checklist
[X] I have searched for this issue before posting it and there isn't a duplicate.
Describe your suggested feature
I'm trying to do a public posts search through all channels (including ones you're not in) in telegram programmatically. I know this can be done through the desktop client: see screenshot.
I've tried using telethon, specifically, the SearchGlobalRequest method and
client.iter_messages
setting entity as None. However, this only searches through channels that you're a member of.I've searched stackoverflow before, but the last relevant answer said this wasn't possible. I'm wondering if it's been made possible since.
Checklist