Telegram Kick user from chat can't recognize user_id

I’m using webhook to retrieve user subscription expiry and deletion and then I send this bundle of data to my telegram bot with the kick chat member task.
The webhook runs and works fine and it retrieves the user_id, memebership_id, and the user object
The telegram Bot (kick member from chat) can’t match the user_id and I get INVALID_USER_ID.

How can I fix this?

Thx in advance

Hi there,

This error means your bot hasn’t seen this user before even the user exist.

Have you tried getting the user first and then using the “kick member from chat” module?

Thanks! :slight_smile:

2 Likes