Dinosaurs unfortunately never actully wrote diaries. How do we know so much about them.
We get to know about dinosaurs through archaeological evidence, forensic reconstruction, by studying the fossils, recreating the figures from paleontological evidence and so on.