Remove legacy lib_path parameter

This commit is contained in:
Bohdan Horbeshko 2022-01-26 11:59:38 -05:00
parent 7261b60916
commit a2781be79d
6 changed files with 1 additions and 9 deletions

View file

@ -60,7 +60,6 @@ It is good idea to obtain Telegram API ID from [**https://my.telegram.org**](htt
``` ```
:telegram: :telegram:
:tdlib: :tdlib:
:lib_path: 'lib/'
:client: :client:
:api_id: '845316' # telegram API ID (my.telegram.org) # :api_id: '845316' # telegram API ID (my.telegram.org) #
:api_hash: '27fe5224bc822bf3a45e015b4f9dfdb7' # telegram API HASH (my.telegram.org) # :api_hash: '27fe5224bc822bf3a45e015b4f9dfdb7' # telegram API HASH (my.telegram.org) #

View file

@ -6,7 +6,6 @@
:upload: 'https:///xmppfiles.localhost' # xmpp http upload address :upload: 'https:///xmppfiles.localhost' # xmpp http upload address
:tdlib_verbosity: 1 :tdlib_verbosity: 1
:tdlib: :tdlib:
:lib_path: 'lib/'
:client: :client:
:api_id: '17349' :api_id: '17349'
:api_hash: '344583e45741c457fe1862106095a5eb' :api_hash: '344583e45741c457fe1862106095a5eb'

View file

@ -42,7 +42,6 @@ type TelegramContentConfig struct {
// TelegramTdlibConfig is for :tdlib: subtree // TelegramTdlibConfig is for :tdlib: subtree
type TelegramTdlibConfig struct { type TelegramTdlibConfig struct {
Path string `yaml:":lib_path"`
Client TelegramTdlibClientConfig `yaml:":client"` Client TelegramTdlibClientConfig `yaml:":client"`
} }

View file

@ -28,12 +28,9 @@
"type": "integer" "type": "integer"
}, },
":tdlib": { ":tdlib": {
"required": [":lib_path", ":client"], "required": [":client"],
"type": "object", "type": "object",
"properties": { "properties": {
":lib_path": {
"$ref": "#/definitions/non-empty-string"
},
":client": { ":client": {
"type": "object", "type": "object",
"required": [":api_id", ":api_hash"], "required": [":api_id", ":api_hash"],

View file

@ -6,7 +6,6 @@
:upload: 'https:///xmppfiles.localhost' # xmpp http upload address :upload: 'https:///xmppfiles.localhost' # xmpp http upload address
:tdlib_verbosity: 1 :tdlib_verbosity: 1
:tdlib: :tdlib:
:lib_path: 'lib/'
:client: :client:
:api_id: '17349' :api_id: '17349'
:api_hash: '344583e45741c457fe1862106095a5eb' :api_hash: '344583e45741c457fe1862106095a5eb'

View file

@ -6,7 +6,6 @@
:upload: '' # xmpp http upload address :upload: '' # xmpp http upload address
:tdlib_verbosity: 1 :tdlib_verbosity: 1
:tdlib: :tdlib:
:lib_path: 'lib/'
:client: :client:
:api_id: '17349' :api_id: '17349'
:api_hash: '344583e45741c457fe1862106095a5eb' :api_hash: '344583e45741c457fe1862106095a5eb'