telepingbot/config.toml.example

24 lines
423 B
Text
Raw Permalink Normal View History

# 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