Merge pull request #1733 from iikkart/patch-1

Improved documentation about Mautrix-telegram-bot permissions
This commit is contained in:
Slavi Pantaleev 2022-04-06 07:23:31 +03:00 committed by GitHub
commit b69e79b8b6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -49,4 +49,19 @@ If you want to use the relay-bot feature ([relay bot documentation](https://docs
```yaml
matrix_mautrix_telegram_bot_token: YOUR_TELEGRAM_BOT_TOKEN
matrix_mautrix_telegram_configuration_extension_yaml: |
bridge:
permissions:
'*': relaybot
```
You might also want to give permissions to administrate the bot:
```yaml
matrix_mautrix_telegram_configuration_extension_yaml: |
bridge:
permissions:
'@user:DOMAIN': admin
```
More details about permissions in this example:
https://github.com/mautrix/telegram/blob/master/mautrix_telegram/example-config.yaml#L410