How to get user id of request in module's router

Hi,
I am writing a custom module and need to get user id of the request. for example
1, const router = bp.http.createRouterForBot()
2, router.get(
‘/info’, () = { get user id}

I am seaching in other module and not found the same thing. I think there are same way such as get bot id and then find the user id. But i am not sure.

Please help me clarify.

Thank you everybody!

By userId do you mean the user that is connected on Botpress studio? If yes, you can indeed retrieve that information using req.tokenUser

router.get('/hello-my-friend', async (req, res) => {
    console.log(req.tokenUser)
    res.send('hey')
  })

Cheers :v: