Available since v3.3.0
This action is designed to register users and check the specified information about the user.
Actions:
Registration fields are dynamic. In order to save the data entered by the user, you need to specify the block name, starting with registration:
for example:
In this case, the username with the first_name
key will get into the database.
Or registered_users__set / registered_users__registration
This method registers user with all data that starts with registration:
and then the user will be available in the "Bot Users" section. ****The method returns two events:
success
- user saved to databaseerror
- registration failedOr registered_users__get
Gets the data and puts it in the registration
constant for further use in the script, for example: