public static RoomType RoomType(this RoomId roomid)
        {
            if (roomid.IsPrivate())
            {
                return(TextChatRoomTypes.Private);
            }
            if (roomid.IsPublic())
            {
                return(TextChatRoomTypes.Public);
            }
            if (roomid.IsSecret())
            {
                return(TextChatRoomTypes.Secret);
            }

            throw new LogReadyException(LogTag.UnknownRoomType);
        }