How does the drawing bot work in a Telegram channel
At the scheduled time, the bot publishes a post with the draw in the Telegram channel. Subscribers click on the Participate button (a text of the button can be changed) and go into a dialogue with the bot.
The bot offers to subscribe to channels and checks the subscription. If a person is not subscribed to a channel, the bot will immediately report this and will not add him to the database of participants in the draw.
Subscribers who have fulfilled all the conditions get into the database of participants.
Then, at the scheduled time, the bot randomly selects the winner and publishes a post in the channel.
How to set up the bot
✔️ Register in the BuddyBot constructor, create a project and add the "Drawing in the Telegram Channel" template (available on a free price plan). 3 scripts and a table will appear in your project. The script "Draw_plot" can be deleted immediately, it will not be useful. The table is needed to save the participants and set the date of the draw and select the winners.
✔️ Add a bot to the channels and make it an administrator. Set up blocks for actions in Telegram. A detailed video tutorial is here.
Important! If users need to subscribe to several channels to participate in the draw, the bot must be an administrator in each of them. This is the only way he can verify the fulfillment of the conditions.
Make publications with the draw and the results inside the constructor, add links to Telegram channels for subscription.
✔️ Schedule the dates of posts in the "Date" table, set the time of the bot launch (there is an instruction inside the template).
✔️ Test the bot in the channel. Set the day in the Check Schedule, the time is the next minute according to the current time (GTM+3). Press Test. As a result, a post with a drawing should be published on the channel. Ask two or more friends to click on the button under the post and subscribe to the channels. Check the publication of the post with the winners according to the same scheme.
Important! The table should contain the current date.
If you have any questions about self—configuration, write to the Telegram community.
Talpha