2019-04-06 07:29:48 +00:00
|
|
|
telegram:
|
|
|
|
|
|
|
|
api_id: '17349'
|
|
|
|
api_hash: '344583e45741c457fe1862106095a5eb'
|
2019-04-07 11:58:07 +00:00
|
|
|
verbosity: 2
|
|
|
|
useragent: 'Zhabogram XMPP Gateway'
|
2019-04-13 14:42:56 +00:00
|
|
|
version: '0.4'
|
2019-04-07 11:58:07 +00:00
|
|
|
use_test_dc: false
|
|
|
|
loglevel: 0
|
|
|
|
content_path: '/var/www/tg_media'
|
|
|
|
content_link: 'https://localhost/tg_media'
|
Release v0.3
[UPD] more correct way to handle user/chat/auth updates
[UPD] removed successful login message, using presence instead
[NEW] config option `content_upload_prefix` that says which url prefixes will be treated as media and uploaded as file to telegram
[NEW] processing self outgoing messages that sent via another telegram instance
[NEW] added gif animations, locations, video, chat events support
[NEW] control commands implemented:
/s/old/new (edit), /d (delete), /info @username, /add @username or uid, /join invite.link or id, /invite @username, /kick @username, /ban @username [hours], /block, /unblock, /leave, /delete
2019-04-12 03:11:56 +00:00
|
|
|
content_upload_prefix: 'https://localhost/upload'
|
2019-04-06 07:29:48 +00:00
|
|
|
|
|
|
|
xmpp:
|
|
|
|
|
2019-04-07 11:58:07 +00:00
|
|
|
db_path: 'users.db'
|
|
|
|
jid: 'tlgrm.localhost'
|
|
|
|
host: 'localhost'
|
2019-04-06 07:29:48 +00:00
|
|
|
port: 8899
|
|
|
|
secret: 'password'
|
2019-04-07 11:58:07 +00:00
|
|
|
loglevel: 0
|