-
Notifications
You must be signed in to change notification settings - Fork 14
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Implement conditions for members #8
Comments
Invite friend function is like bot's killer-feature, it should work as following: I am giveaway creator and posting giveaway message. If the The inline result of such text will be article:
With reply markup of "Joined" button. When the user you sent this inline message join channel and click "Joined", bot will check if user actually was subscribed and then allow you to participate in giveaway (if required amount of invited users is reached). When giveaway raffled, bot should check again if at least required amount of users are still subscribed to channel (you can invite actually 5 users when giveaway requires only 3, but if two of invited will leave channel, you still can be winner) Also there should be additional callback data button "Check subscribers" with answer how many your subscribers are still subscribed |
Important: User should be able to be invited into channel only one time, so it requires to create new table |
Still working, a lot of work done, a lot of work still should be done. |
- started #8(2); - updated some versions; - refactoring;
Right now that feature is already included in bot description, but is not done yet. So goal of this issue is to implement it.
Possible conditions
Conditions should be appeared in a giveaway description such as:
The text was updated successfully, but these errors were encountered: