just throwin there
This commit is contained in:
commit
278d7cf05d
3 changed files with 5712 additions and 0 deletions
2
adsbot.conf.example/leadbot/features/echo.d/echo.toml
Normal file
2
adsbot.conf.example/leadbot/features/echo.d/echo.toml
Normal file
|
|
@ -0,0 +1,2 @@
|
|||
info="Keep this directory existing to activate echoing features"
|
||||
|
||||
17
adsbot.conf.example/leadbot/features/formlead.d/example.toml
Normal file
17
adsbot.conf.example/leadbot/features/formlead.d/example.toml
Normal file
|
|
@ -0,0 +1,17 @@
|
|||
# Unique (for the formlead feature) identifier. Must be valid URL subpath
|
||||
id = "unique_id_url_safe"
|
||||
|
||||
[[form.post]]
|
||||
# The display name for the form report
|
||||
name = "Display name"
|
||||
# within the current example POST request is accepted at /unique_id_url_safe/subpath_under_id
|
||||
path = "subpath_under_id"
|
||||
# The request sender shall pass "AUTHORIZATION"
|
||||
# "xqoi83nyra0s98d:4e7b44d9a7b220e2b4bd8ba60085f0aa"
|
||||
clients = [
|
||||
{id="xqoi83nyra0s98d", secret="4e7b44d9a7b220e2b4bd8ba60085f0aa"}
|
||||
]
|
||||
# The following destinations will receive form reports
|
||||
reports = [
|
||||
{telegram = {chat = -10000000000000}}
|
||||
]
|
||||
|
|
@ -0,0 +1,23 @@
|
|||
# The unique (for the vkadslead feature) id. Must be valid URL subpath
|
||||
id = "unique_id_url_safe"
|
||||
|
||||
[api]
|
||||
# Client ID received from VK ADS api
|
||||
client_id = "VKADS API CLIENT ID"
|
||||
# Client secret receiver from VK ADS api
|
||||
client_secret = "VKADS API CLIENT SECRET"
|
||||
|
||||
[[telegram.admin]]
|
||||
user = 111111111
|
||||
|
||||
[[form]]
|
||||
# Display name for the form report
|
||||
name = "Display name"
|
||||
# Form identifier as shown by VK ADS
|
||||
id = "VKADS form id"
|
||||
# I forgot what this does
|
||||
anonymous = false
|
||||
# The following destinations shall receive form reports
|
||||
reports = [
|
||||
{telegram = {chat = -10000000000000}}
|
||||
]
|
||||
Loading…
Reference in a new issue