User_uttered with extra parse data

Hello, I created a channel and I am sending from my front side socket.emit( user_uttered,{ access_token: token, message: newMessage, session_id:'sender_id_io, }) I want to get the value of data[‘access_token’] in my custom action. What modifications and imports should I add ? Thanks.

hey, can you show the code that how are you sending the emit code from front-end?