chore: publish 5.0.4+v1.100.0 release
continuous-integration/drone/push Build is failing
Details
continuous-integration/drone/push Build is failing
Details
This commit is contained in:
parent
dfed1e54da
commit
72b59ce4ad
|
@ -132,12 +132,12 @@ RETENTION_MAX_LIFETIME=4w
|
||||||
#APP_SERVICE_BOT_USERNAME=telegrambot
|
#APP_SERVICE_BOT_USERNAME=telegrambot
|
||||||
#APP_SERVICE_DISPLAY_NAME="Telegram bridge bot"
|
#APP_SERVICE_DISPLAY_NAME="Telegram bridge bot"
|
||||||
#APP_SERVICE_ID=
|
#APP_SERVICE_ID=
|
||||||
#HOMESERVER_DOMAIN=
|
#HOMESERVER_DOMAIN=$DOMAIN
|
||||||
#HOMESERVER_URL=
|
#HOMESERVER_URL=https://$DOMAIN
|
||||||
#VERIFY_SSL=false
|
#VERIFY_SSL=false
|
||||||
#ENABLE_ENCRYPTION=true
|
#ENABLE_ENCRYPTION=true
|
||||||
#TELEGRAM_APP_ID=
|
#TELEGRAM_APP_ID=
|
||||||
#TELEGRAM_BRIDGE_PERMISSIONS="{ \"*\": \"relaybot\" }"
|
#TELEGRAM_BRIDGE_PERMISSIONS="{ \"*\": \"relaybot\", \"@foo:matrix.example.com\": \"admin\" }"
|
||||||
#TELEGRAM_SYNC_CHANNEL_MEMBERS=true
|
#TELEGRAM_SYNC_CHANNEL_MEMBERS=true
|
||||||
#SECRET_TELEGRAM_DB_PASSWORD_VERSION=v1
|
#SECRET_TELEGRAM_DB_PASSWORD_VERSION=v1
|
||||||
#SECRET_TELEGRAM_API_HASH_VERSION=v1
|
#SECRET_TELEGRAM_API_HASH_VERSION=v1
|
||||||
|
|
|
@ -47,7 +47,7 @@ You'll need to deploy something like [this](https://git.autonomic.zone/ruangrupa
|
||||||
|
|
||||||
Setting it up is a bit of a chicken/egg & chasing cats moment.
|
Setting it up is a bit of a chicken/egg & chasing cats moment.
|
||||||
|
|
||||||
You need to get your bot setup on the telegram side first and have these values:
|
You need to get your bot setup on the telegram side first by creating a [telegram app](https://my.telegram.org/apps) and a [telegram bot](https://docs.mau.fi/bridges/python/telegram/relay-bot.html#setup) and have these values:
|
||||||
|
|
||||||
```
|
```
|
||||||
api_id: ...
|
api_id: ...
|
||||||
|
@ -55,7 +55,12 @@ api_hash: ...
|
||||||
telegram_bot_token: ...
|
telegram_bot_token: ...
|
||||||
```
|
```
|
||||||
|
|
||||||
Here is a rough guide:
|
Also:
|
||||||
|
- Make sure to uncomment `APP_SERVICES_ENABLED`
|
||||||
|
- include the registration in synapse: `APP_SERVICE_CONFIGS="[\"/telegram-data/registration.yaml\"]"`
|
||||||
|
- and set yourself as admin under `TELEGRAM_BRIDGE_PERMISSIONS`
|
||||||
|
|
||||||
|
A rough guide for the following steps:
|
||||||
|
|
||||||
```
|
```
|
||||||
abra app secret insert <domain> telegram_api_hash v1 <secret>
|
abra app secret insert <domain> telegram_api_hash v1 <secret>
|
||||||
|
|
Loading…
Reference in New Issue