add extra telegram options to docs/config #5587
Signed-off-by: si458 <simonsmith5521@gmail.com>
This commit is contained in:
parent
906a42219d
commit
b17d04ddc5
|
@ -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"
|
||||
}
|
||||
}
|
||||
},
|
||||
|
|
|
@ -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"
|
||||
}
|
||||
}
|
||||
},
|
||||
|
|
|
@ -628,7 +628,9 @@
|
|||
"_telegram": {
|
||||
"apiid": 0,
|
||||
"apihash": "xxxxxxxxxxxxxxxxxxxxxxxxxxxx",
|
||||
"session": "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx"
|
||||
"session": "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx",
|
||||
"useWSS": "false",
|
||||
"connectionRetries": 60
|
||||
},
|
||||
"_discord": {
|
||||
"serverurl": "https://discord.gg/xxxxxxxxx",
|
||||
|
|
Loading…
Reference in New Issue