aboutsummaryrefslogtreecommitdiff
path: root/config.yml.example
diff options
context:
space:
mode:
authorbodqhrohro <bodqhrohro@gmail.com>2019-10-22 19:36:54 +0300
committerbodqhrohro <bodqhrohro@gmail.com>2019-10-22 19:36:54 +0300
commit9b4a09677a352d9938e4505bfc2d0c8d304567ac (patch)
tree1863f0d4c58f4019f86910f76c96f5823fd01dd4 /config.yml.example
Hello world XMPP echo component
Diffstat (limited to 'config.yml.example')
-rw-r--r--config.yml.example23
1 files changed, 23 insertions, 0 deletions
diff --git a/config.yml.example b/config.yml.example
new file mode 100644
index 0000000..82945b4
--- /dev/null
+++ b/config.yml.example
@@ -0,0 +1,23 @@
+:telegram:
+ :loglevel: :warn
+ :content:
+ :path: '/var/www/telegabber/content' # webserver workdir
+ :link: 'http://tlgrm.localhost/content' # webserver public address
+ :upload: 'https:///xmppfiles.localhost' # xmpp http upload address
+ :tdlib_verbosity: 1
+ :tdlib:
+ :lib_path: 'lib/'
+ :client:
+ :api_id: '17349'
+ :api_hash: '344583e45741c457fe1862106095a5eb'
+ :device_model: 'telegabber'
+ :application_version: '2.0'
+ :use_chat_info_database: false
+
+:xmpp:
+ :loglevel: :warn
+ :jid: 'tlgrm.localhost'
+ :host: '127.0.0.1'
+ :port: 8899
+ :password: 'password'
+ :db: 'sessions.dat'