How to implement sending messages to people who have subscribed to the group?
Hai Hai. There is a group in the VC, there is a bot in php. How to implement sending messages to the people that signed up? For example, the bot queries the service n receives the value 1 and makes a distribution in the group. I'm not an expert in php, just open it for myself.
1. It is necessary to compare the specified interval 2 lists: a list of people in the group and list from the database who have been sent out.
2. Then find the difference and to those who need to send.
3. To send via the API.