While there is no evidence that she wrote any books, she did collaborate on her autobiography, "Diahann: An Autobiography", published in 1989. She co-wrote the book with Jane and Michael Stern.
It's important to distinguish between writing and co-writing, as the latter involves working with another person to create the final product.