In this way no noneType error at retrieving chat name