Currently, there is an only way to get a parent room or subroom list is to send /parentroom or /subrooms.
In particular, /parentroom only displays the room title, not the roomid. It is not useful data for bots.
Change it like this:
In particular, /parentroom only displays the room title, not the roomid. It is not useful data for bots.
Code:
{
id: string:
roomid: string;
title: string;
type: string;
visibility: string;
modchat?: string;
modjoin?: string;
auth: { [key: string]: string[] };
users: string[];
};
Code:
{
id: string:
roomid: string;
title: string;
type: string;
visibility: string;
parentroom?: string; //only roomid here
subrooms?: string[]; //only roomid, too
modchat?: string;
modjoin?: string;
auth: { [key: string]: string[] };
users: string[];
};
Last edited: