matrix-docker-ansible-deploy/docs/configuring-playbook-bridge-mautrix-telegram.md

1020 B

Setting up Mautrix Telegram (optional)

The playbook can install and configure mautrix-telegram for you.

See the project's documentation to learn what it does and why it might be useful to you.

You'll need to obtain API keys from https://my.telegram.org/apps and then use the following playbook configuration:

matrix_mautrix_telegram_enabled: true
matrix_mautrix_telegram_api_id: YOUR_TELEGRAM_APP_ID
matrix_mautrix_telegram_api_hash: YOUR_TELEGRAM_API_HASH

You then need to start a chat with @telegrambot:YOUR_DOMAIN (where YOUR_DOMAIN is your base domain, not the matrix. domain).

If you want to use the relay-bot feature (relay bot documentation), which allows anonymous user to chat with telegram users, use the following addtional playbook configuration:

matrix_mautrix_telegram_bot_token: YOUT_TELEGRAM_BOT_TOKEN