Skip to content

Conversation

@noplanman
Copy link
Member

@noplanman noplanman commented Jul 10, 2020

The rules need to be approved (in a private bot chat) to get the permissions necessary for posting in the group.

At the moment, a simple click on an "I Agree" button is all that is needed.

todo:

  • Kick user after a defined expiry period.
  • We'll test it like this, and if need be because of excess spam users, create a more complex activation.

Initial rules message, showing the "I Agree" button

rules


After clicking "I Agree", an alert is displayed and the button now links to the group.

ok-alert
ok-button

Closes #19

@noplanman noplanman changed the title WIP Rules approval for new users Rules approval for new users Oct 3, 2020
@noplanman noplanman merged commit 46855c0 into php-telegram-bot:develop Oct 3, 2020
@noplanman noplanman deleted the 19-rule_approval branch October 3, 2020 22:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant