The man uploaded images of a child known to him in order to gain access to the chat group, according to prosecutors.