Segmented notifications

Though I haven’t done the notification setup yet I think I understand how to do it and from the documentation I think I can see how to send to individual users. Is there a way in AppGyver to set up notification segments? Where people who install the app can turn segments on and off and then I can send a single notification that goes to everyone who is part of a segment?

Firebase Cloud Messaging allows users/devices (specifically device tokens) to Subscribe to Topics. So you can send a single Push Notification to a Topic, and every device token subscribed to that topic will receive the Notification.