I now I am successfully getting user id in my actions.py. To make sure we get correct user id, JASON key should be properly named as “sender” . You can see in below code I am able to send user_id as key “sender”. If I use any other key like “sender_id” “user_id” it doesnt work.
My code: