Search code examples
pythontelegramtelethon

How to check if a channel is joined?


I got channel by client.get_entity(id) using id stored locally and I need to check if I am still joined or not. I suspect it might be not Channel.left but I haven't found any docs about the field.


Solution

  • Your assumption about not channel.left is correct. The docs about the field can be found here: https://core.telegram.org/constructor/channel.