This repository has been archived on 2024-05-28. You can view files and clone it, but cannot push or open issues or pull requests.
zhabogram/config.yml.example
annelin 33677f5289 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 06:11:56 +03:00

22 lines
475 B
Plaintext

telegram:
api_id: '17349'
api_hash: '344583e45741c457fe1862106095a5eb'
verbosity: 2
useragent: 'Zhabogram XMPP Gateway'
version: '0.10'
use_test_dc: false
loglevel: 0
content_path: '/var/www/tg_media'
content_link: 'https://localhost/tg_media'
content_upload_prefix: 'https://localhost/upload'
xmpp:
db_path: 'users.db'
jid: 'tlgrm.localhost'
host: 'localhost'
port: 8899
secret: 'password'
loglevel: 0