group? using telethon.events.ChatAction and filtering user_added / user_joined I get two events when someone joins
(one has original_update telethon.tl.types.UpdateNewChannelMessage, the other telethon.tl.types.UpdateChannelParticipant)
also, interestingly enough this doesn't happen on the test server
It's a known "issue", you have to exclude one of them. if you're not willing to delete the "user x joined the group" messages, ignore and return in the callback if original_update is UpdateNewChannelMessage
I've noticed sometimes it only sends one of them though, would it still catch all user joins?
UpdateChannelParticipant is guaranteed for admin bots. the other is if group isn't large and doesn't have hidden members list, aka if you see join service messages
Обсуждают сегодня