number 1), but when i want check user’s left that code doesn’t work (func number 2)
Whats the problem?
@bot.on(events.ChatAction(func=lambda e: e.new_join_request))
async def user_join_request(event):
await bot.send_message(event.user_id, "hi")
@bot.on(events.ChatAction(func=lambda e: e.user_left))
async def user_left(event):
await bot.send_message(event.user_id, "bye")
telegram does not always send all updates
Обсуждают сегодня