From d7b2d222a054c8d7dcf18e4fce271d386cbacfca Mon Sep 17 00:00:00 2001
From: Awiteb
Date: Fri, 31 May 2024 19:03:24 +0300
Subject: [PATCH] chore: Add example config file
Signed-off-by: Awiteb
---
config.toml.example | 23 +++++++++++++++++++++++
1 file changed, 23 insertions(+)
create mode 100644 config.toml.example
diff --git a/config.toml.example b/config.toml.example
new file mode 100644
index 0000000..3082336
--- /dev/null
+++ b/config.toml.example
@@ -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
+