event don't print me anything? this is the code:
@self.bot.on(events.ChatAction)
async def user_left(event):
if event.action_message:
if event.user_left or event.user_kicked:
print("user quit")
what is event.action_message
are you fr?
im asking for the value frfr sheesh
ChatAction.Event(action_message=MessageService(id=5772, peer_id=PeerChannel(channel_id=1288511014), date=datetime.datetime(2023, 5, 5, 12, 4, 22, tzinfo=datetime.timezone.utc), action=MessageActionChatDeleteUser(user_id=6160668506), out=False, mentioned=False, media_unread=False, silent=False, post=False, legacy=False, from_id=PeerUser(user_id=6160668506), reply_to=None, ttl_period=None), original_update=UpdateNewChannelMessage(message=MessageService(id=5772, peer_id=PeerChannel(channel_id=1288511014), date=datetime.datetime(2023, 5, 5, 12, 4, 22, tzinfo=datetime.timezone.utc), action=MessageActionChatDeleteUser(user_id=6160668506), out=False, mentioned=False, media_unread=False, silent=False, post=False, legacy=False, from_id=PeerUser(user_id=6160668506), reply_to=None, ttl_period=None), pts=6736, pts_count=1), new_pin=False, new_photo=False, photo=None, user_added=False, user_joined=False, user_left=True, user_kicked=False, unpin=True, created=False, new_title=None, new_score=None)
GenZ spotted
Help plase
Telegram might not send a MessageService for some chats, it's not library issue
Обсуждают сегодня