Trouble accessing local user's full user information object

Been out of touch with React for a while, so excuse my naivety.

For my chat page, I need to access the local user’s (currently logged-in user’s) custom meta data, but I do not fully understand how to get the local user’s full object (like what’s shown here: Amity API)

I got to a point where I can get the current logged in user’s ID (via useSDK() hook), but need to access the full user object that has the meta data, etc. Feel like I’m missing a very simple hook that can do the job, but don’t know it. Any pointers will be helpful.

I got assistance for this from an email with Amity

1 Like