events.ChatAction does not detect channel events

Viewed 14

I noticed events.ChatAction will detect group events but not supergroup and channel events.

Consider the following minimally contrived example taken and modified from: https://docs.telethon.dev/en/stable/modules/events.html#telethon.events.chataction.ChatAction

from telethon import events

@client.on(events.ChatAction)
async def handler(event):
    print(event.stringify())

This does not detect channel events. Must I build my own channel event detection logic using telethon.events.common.EventBuilder? If so how? Or is there a way to detect channel events that I'm missing? My goal is to be able to detect when someone is added to a channel the telethon user is an admin of.

0 Answers
Related