-
Notifications
You must be signed in to change notification settings - Fork 52
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
3 changed files
with
6 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -34,7 +34,7 @@ export type TDLibConfiguration = { | |
verbosityLevel?: number | 'default', | ||
/** | ||
* Experimental option. Use the new tdjson interface (`td_create_client_id` | ||
* and other functions). */ | ||
* and other functions) that was added in TDLib v1.7.0. */ | ||
useNewTdjsonInterface?: boolean, | ||
/** | ||
* Advanced option. Configures the delay for the `receive` tdjson function. | ||
|
@@ -147,7 +147,7 @@ export class Client { | |
/** | ||
* @deprecated Use `tdl.configure` and `tdl.createClient` instead. See the | ||
* [email protected] entry in `CHANGELOG.md` for additional information. The new | ||
* approach to create a client is: | ||
* approach to create a client is (`tdl-tdlib-addon` is no longer needed): | ||
* ``` | ||
* const tdl = require('tdl') | ||
* tdl.configure({ tdjson: 'path to tdjson' }) // was: new TDLib('path to tdjson') | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -34,7 +34,7 @@ export type TDLibConfiguration = { | |
verbosityLevel?: number | 'default', | ||
/** | ||
* Experimental option. Use the new tdjson interface (`td_create_client_id` | ||
* and other functions). */ | ||
* and other functions) that was added in TDLib v1.7.0. */ | ||
useNewTdjsonInterface?: boolean, | ||
/** | ||
* Advanced option. Configures the delay for the `receive` tdjson function. | ||
|
@@ -147,7 +147,7 @@ declare export class Client { | |
/** | ||
* @deprecated Use `tdl.configure` and `tdl.createClient` instead. See the | ||
* [email protected] entry in `CHANGELOG.md` for additional information. The new | ||
* approach to create a client is: | ||
* approach to create a client is (`tdl-tdlib-addon` is no longer needed): | ||
* ``` | ||
* const tdl = require('tdl') | ||
* tdl.configure({ tdjson: 'path to tdjson' }) // was: new TDLib('path to tdjson') | ||
|