createContainer
Creates a new room container with the specified name and optional description and room IDs.
This method allows users to define a new room container, which can serve as a folder for storing related rooms. The name
parameter is required and must be a non-null string with a length between 1 and 64 characters. The description
is optional and can have a length of up to 255 characters. The roomIds
parameter is also optional and can contain a list of room identifiers.
The method returns a RainbowResult containing a pair: the created Container and a list of any InvalidRoom objects that were not valid during the creation process. If the creation is successful, the RainbowResult
indicates success; otherwise, it indicates failure.
Return
A RainbowResult containing a pair of the created Container and a list of InvalidRoom objects, if any. The RainbowResult indicates whether the operation was successful or not.
Parameters
The name of the room container. Must be a non-null string with a length between 1 and 64 characters.
An optional description for the room container. If provided, it can have a length of up to 255 characters.
An optional list of room IDs to include in the container. If not specified, the container will be created without any rooms.