Here's another response I wrote awhile back on this topic — feel free to ask follow-up questions though! Short answer: 1. they knew about the idea of atomic bombs prior to Hiroshima, 2. they got their initial information about what happened to it from American announcements, 3. they sent a survey crew to confirm the American claims, 4. the initial report was pretty amazing (see thread).