Answer the question
In order to leave comments, you need to log in
Newsletter for VK bot PYTHON?
How to make a newsletter to people who have written at least one message?
That is, a person writes something, the bot writes his id into a text document, and then when I write the command !mail *text*, the bot sends a message to everyone who is written in the text box. help me please
Answer the question
In order to leave comments, you need to log in
You can just send to all subscribers via user_ids in messages.send, if someone did not write to the bot, then he will not be able to write to them. (if the bot is connected to the community)
It’s not difficult with a text document either, you make a file, write the id into it separated by a comma, then read everything that is in this file to the mailing command and shove it into user_ids when sending a message.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question