Merge branch 'master' of github.com:SijmenSchoon/telematrix
This commit is contained in:
commit
0f39b8881c
15
asconfig.yaml.example
Normal file
15
asconfig.yaml.example
Normal file
@ -0,0 +1,15 @@
|
||||
url: "http://localhost:5000"
|
||||
|
||||
as_token: "AS_TOKEN_HERE"
|
||||
hs_token: "HS_TOKEN_HERE"
|
||||
id: "telematrix"
|
||||
|
||||
sender_localpart: telegram
|
||||
namespaces:
|
||||
users:
|
||||
- exclusive: true
|
||||
regex: '@telegram_.*'
|
||||
rooms: []
|
||||
aliases:
|
||||
- exclusive: false
|
||||
regex: '#telegram_.*'
|
20
config.json.example
Normal file
20
config.json.example
Normal file
@ -0,0 +1,20 @@
|
||||
{
|
||||
"tokens": {
|
||||
"hs": "HS_KEY",
|
||||
"as": "AS_KEY",
|
||||
"telegram": "TELEGRAM_BOT_API_KEY",
|
||||
"google": "GOOGLE_API_KEY"
|
||||
},
|
||||
|
||||
"hosts": {
|
||||
"internal": "http://127.0.0.1:PORT/",
|
||||
"external": "https://DOMAIN.TLD/"
|
||||
},
|
||||
|
||||
"chats": {
|
||||
"-TELEGRAM_ID": "!INTERNAL_ID:DOMAIN.TLD"
|
||||
},
|
||||
|
||||
"user_id_format": "@telegram_{}:DOMAIN.TLD"
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user