chore: Add example config file

Signed-off-by: Awiteb <a@4rs.nl>
This commit is contained in:
Awiteb 2024-05-31 19:03:24 +03:00
parent 83148f848a
commit d7b2d222a0
Signed by: awiteb
GPG key ID: 3F6B55640AA6682F

23
config.toml.example Normal file
View file

@ -0,0 +1,23 @@
# The bots that allowed to be pinged
bots = [
"@testbot",
"@someSuperBot",
"@anotherSuperBot",
]
# The tokens that will put in `Authorization` header to authenticate the request
tokens = [
"mysupertoken",
"mysecondsupertoken",
]
# Telegram MTProto API configuration
[client]
api_hash = "myhash"
api_id = 12345678
# The host and port that the server will listen on
[api]
host = "0.0.0.0"
port = 3939