aboutsummaryrefslogtreecommitdiffhomepage
path: root/example/web
diff options
context:
space:
mode:
authorlevlam <levlam@telegram.org>2022-03-10 21:58:16 +0300
committerlevlam <levlam@telegram.org>2022-03-10 21:58:16 +0300
commit242801a2f33a1076562582b49763badf01b78010 (patch)
tree0708c4489e49390b26446780b5d2c448685729e6 /example/web
parent2413b3fd378711cc48e4452bd63198802e7ac92c (diff)
Improve boolean fields documentation.
Diffstat (limited to 'example/web')
-rw-r--r--example/web/tdweb/src/index.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/example/web/tdweb/src/index.js b/example/web/tdweb/src/index.js
index e8a5d16cc..2f159b942 100644
--- a/example/web/tdweb/src/index.js
+++ b/example/web/tdweb/src/index.js
@@ -35,7 +35,7 @@ class TdClient {
* @param {Object} options - Options for TDLib instance creation.
* @param {TdClient~updateCallback} options.onUpdate - Callback for all incoming updates.
* @param {string} [options.instanceName=tdlib] - Name of the TDLib instance. Currently only one instance of TdClient with a given name is allowed. All but one instances with the same name will be automatically closed. Usually, the newest non-background instance is kept alive. Files will be stored in an IndexedDb table with the same name.
- * @param {boolean} [options.isBackground=false] - Pass true, if the instance is opened from the background.
+ * @param {boolean} [options.isBackground=false] - Pass true if the instance is opened from the background.
* @param {string} [options.jsLogVerbosityLevel=info] - The initial verbosity level of the JavaScript part of the code (one of 'error', 'warning', 'info', 'log', 'debug').
* @param {number} [options.logVerbosityLevel=2] - The initial verbosity level for the TDLib internal logging (0-1023).
* @param {boolean} [options.useDatabase=true] - Pass false to use TDLib without database and secret chats. It will significantly improve loading time, but some functionality will be unavailable.