Skip to content

Commit

Permalink
add extra telegram options to docs/config #5587
Browse files Browse the repository at this point in the history
Signed-off-by: si458 <simonsmith5521@gmail.com>
  • Loading branch information
si458 committed Nov 27, 2023
1 parent 906a422 commit b17d04d
Show file tree
Hide file tree
Showing 3 changed files with 19 additions and 1 deletion.
8 changes: 8 additions & 0 deletions docs/docs/meshcentral/config.md
Expand Up @@ -3368,6 +3368,14 @@ See description for information about each item.
},
"session": {
"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"
}
}
},
Expand Down
8 changes: 8 additions & 0 deletions meshcentral-config-schema.json
Expand Up @@ -3361,6 +3361,14 @@
},
"session": {
"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"
}
}
},
Expand Down
4 changes: 3 additions & 1 deletion sample-config-advanced.json
Expand Up @@ -628,7 +628,9 @@
"_telegram": {
"apiid": 0,
"apihash": "xxxxxxxxxxxxxxxxxxxxxxxxxxxx",
"session": "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx"
"session": "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx",
"useWSS": "false",
"connectionRetries": 60
},
"_discord": {
"serverurl": "https://discord.gg/xxxxxxxxx",
Expand Down

0 comments on commit b17d04d

Please sign in to comment.