mirror of
https://github.com/muerwre/vk-tg-bot.git
synced 2025-04-24 22:46:41 +07:00
40 lines
1.1 KiB
YAML
40 lines
1.1 KiB
YAML
http:
|
|
port: 80
|
|
telegram:
|
|
# Get it from bot father
|
|
key: ''
|
|
webhook:
|
|
url: https://something.org/webhook
|
|
enabled: false
|
|
postgres:
|
|
uri: postgres://user:password@db/bot
|
|
logger:
|
|
level: info
|
|
vk:
|
|
# Default path for POST requests from VK api
|
|
endpoint: /
|
|
groups: []
|
|
templates: # (required)
|
|
message_new: templates/message_new.md
|
|
wall_post_new: templates/post_new.md
|
|
group_join: templates/group_join.md
|
|
group_leave: templates/group_leave.md
|
|
# groups:
|
|
# - id: 0
|
|
# name: 'Group name'
|
|
# testResponse: 'testResponseCode'
|
|
# secretKey: 'groupSecretKey'
|
|
# apiKey: 'callbackApiKey'
|
|
# post_types: ['post','copy','reply','postpone','suggest']
|
|
# templates: # group's custom templates (optional)
|
|
# message_new: templates/custom/message_new.md
|
|
# channels:
|
|
# - id: '@pogonia_test_chan'
|
|
# events:
|
|
# - wall_post_new
|
|
# - post_suggestion
|
|
# - group_join
|
|
# - group_leave
|
|
# - message_new
|
|
# templates: # channel custom templates (optional)
|
|
# wall_post_new: templates/custom/post_new.md
|