Gamma rays from galaxy clusters and their dominant members