Configuring Chat Room?

Hi i have created a ChatRoom using GroupChat and i need to configure the room with the SMACK API, does anyone know where i could get a example of how this is achieved, i am finding it very hard to find documentation on how i can achieve room configuration using the SMACK API???