network: # This is very important to have usernames instead of phone numbers! displayname_template: "{{or .FullName .BusinessName .PushName .Phone}} (Tg)" database: type: sqlite3-fk-wal uri: file:/data/conduwuit/mautrix-telegram.db?_txlock=immediate homeserver: address: https://chat.mydomain.com domain: chat.mydomain.com appservice: hostname: 127.0.0.1 permissions: # this is probably not needed, but anyway... "*": "relay" # non-local users can only see messages "chat.mydomain.com": "admin" # full access to all local users "@myself:chat.mydomain.com": "admin" # who can admin the bot backfill: enabled: true # to populate chats with older messages encryption: # Whether to enable encryption at all. If false, the bridge will not function in encrypted rooms. allow: true double_puppet: # Servers to always allow double puppeting from. # This is only for other servers and should NOT contain the server the bridge is on. servers: anotherserver.example.org: https://matrix.anotherserver.example.org # Whether to allow client API URL discovery for other servers. When using this option, # users on other servers can use double puppeting even if their server URLs aren't # explicitly added to the servers map above. allow_discovery: false # Shared secrets for automatic double puppeting. # See https://docs.mau.fi/bridges/general/double-puppeting.html for instructions. secrets: chat.mydomain.com: as_token:<< here the double-puppet token >> logging: filename: /var/log/conduwuit/mautrix-telegram.log