How to define Custom Role in Jitsi

Hi

I’m trying to tag a custom role to each of the participant in jitsi, so that I can access that role from the participant state array and use it as per my functionality.

So far I was able to control the moderator.

While working with lib-jitsi-meet. I found this piece of code :
path: jitsi-meet/conference.js

/**

  • Known custom conference commands.
    */
    const commands = {
    AVATAR_ID: AVATAR_ID_COMMAND,
    AVATAR_URL: AVATAR_URL_COMMAND,
    CUSTOM_ROLE: ‘custom-role’,
    EMAIL: EMAIL_COMMAND,
    ETHERPAD: ‘etherpad’,
    SHARED_VIDEO: ‘shared-video’
    };

I can see custom role define in the command array. And this is the only place CUSTOM_ROLE has been mentioned in entire jitsi-meet(so far that I know).

Can someone help out how can we use this command in my code such as calling the CUSTOM_ROLE command from API, from JWT token etc.

Any help would be appreciated. Thank you !