1
0
Fork 0
mirror of https://github.com/Ylianst/MeshCentral.git synced 2025-02-12 11:01:52 +00:00

add extra telegram options to docs/config #5587

Signed-off-by: si458 <simonsmith5521@gmail.com>
This commit is contained in:
si458 2023-11-27 15:14:51 +00:00
parent 906a42219d
commit b17d04ddc5
3 changed files with 19 additions and 1 deletions

View file

@ -3368,6 +3368,14 @@ See description for information about each item.
}, },
"session": { "session": {
"type": "string" "type": "string"
},
"useWSS": {
"type": "boolean",
"description": "Whether to try to connect over Wss (or 443 port) or not"
},
"connectionRetries": {
"type": "number",
"description": "How many times the reconnection should retry, either on the initial connection or when Telegram disconnects us. May be set to a negative value for infinite retries, but this is not recommended. Defaults to 5"
} }
} }
}, },

View file

@ -3361,6 +3361,14 @@
}, },
"session": { "session": {
"type": "string" "type": "string"
},
"useWSS": {
"type": "boolean",
"description": "Whether to try to connect over Wss (or 443 port) or not"
},
"connectionRetries": {
"type": "number",
"description": "How many times the reconnection should retry, either on the initial connection or when Telegram disconnects us. May be set to a negative value for infinite retries, but this is not recommended. Defaults to 5"
} }
} }
}, },

View file

@ -628,7 +628,9 @@
"_telegram": { "_telegram": {
"apiid": 0, "apiid": 0,
"apihash": "xxxxxxxxxxxxxxxxxxxxxxxxxxxx", "apihash": "xxxxxxxxxxxxxxxxxxxxxxxxxxxx",
"session": "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx" "session": "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx",
"useWSS": "false",
"connectionRetries": 60
}, },
"_discord": { "_discord": {
"serverurl": "https://discord.gg/xxxxxxxxx", "serverurl": "https://discord.gg/xxxxxxxxx",