I have 20k users in my app and that is needed to send messages to only 1k users
I don't have a token for each user and for each user, I subscribe to users with user-id
Now, I don't know how do I send messages for their
The suggested way is to use conditions for the topic
But the topic is limit and only 5 topic accpet
Also, I cannot use 1000 loop for each message
Please suggest way to me
It's no clear to me how you select those 100 users to receive the "restricted" message.
In case the group is formed by selecting something at installation/config time, you could subscribe those users both to the general topic and to a second restricted one.
And so on (i mean, multiple topics subscriptions).
Another option: the message is sent to everybody, but it contains a code which makes it visibile only to the intended recipients
It's no clear to me how you select those 100 users to receive the "restricted" message.
In case the group is formed by selecting something at installation/config time, you could subscribe those users both to the general topic and to a second restricted one.
And so on (i mean, multiple topics subscriptions).
Another option: the message is sent to everybody, but it contains a code which makes it visibile only to the intended recipients