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": {
"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": {
"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": {
"apiid": 0,
"apihash": "xxxxxxxxxxxxxxxxxxxxxxxxxxxx",
"session": "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx"
"session": "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx",
"useWSS": "false",
"connectionRetries": 60
},
"_discord": {
"serverurl": "https://discord.gg/xxxxxxxxx",