Ionic groups and at least one triazine ring present at the same time