Generalized Bessel functions within the group representation formalism