Skip to content

Parameter EXTENSIONS_ALLOWED

The parameter sets the list of USER_ID users who are allowed to use the administrative functions of /send, /mark, /export, and /sync commands in the General topic of the backend group.

In group dialog topics, the parameter controls access to /invite, /kick, /members, /leave, and /title. These commands let operators add and remove members, list chat members, leave the chat, and change the chat or topic title on behalf of the connected bot or account.

The /hide command — deleting a backend dialog topic while preserving the conversation in the frontend chat — is also only available to operators in this list.

Mass creation of dialogs via bulk modes /new file and /new list is also only available to operators in this list. The single /new <query> command remains available to all operators.

The parameter also determines system operators who can get information about topics with the /info command when the HIDE_INFO parameter is active (information in this case is sent as a personal message from the setup bot).

If the list is made empty (send . dot), then all commands will be allowed for all operators from the backend group.

Data Format

By default, the list contains only the system administrator's USER_ID.

Multiple values must be separated by commas.

To clear the list, send the . (dot) symbol

The setup bot needs to be sent the required value after selecting the parameter for editing.

Default Value

{ADMIN_USER_ID}

Usage Examples

  • 123456789 = only one administrator account
  • 123456789, 234567890, 345678901 = three users have access to extensions
  • (empty value) = any operator has access to all commands

For some use cases of the system, it's important to restrict operator access to administrative system functions.