1
0
Fork 0
mirror of https://github.com/muerwre/vk-tg-bot.git synced 2025-04-24 14:36:41 +07:00
vk-tg-bot/config.example.yml
2024-01-11 18:52:07 +07:00

49 lines
1.3 KiB
YAML

http:
port: 80
telegram:
# Get it from bot father
owners: []
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:
help: templates/help.md
help_admin: templates/help_admin.md
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
calendar:
keyFile: # key.json
timezone:
# groups:
# - id: 0
# name: 'Group name'
# testResponse: 'testResponseCode'
# secretKey: 'groupSecretKey'
# apiKey: 'callbackApiKey'
# post_types: ['post','copy','reply','postpone','suggest']
# calendar:
# id: abcd@group.calendar.google.com
# enabled: true
# 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