Spaces:
Paused
Paused
Jishu Developer
commited on
Update README.md
Browse files
README.md
CHANGED
|
@@ -1,7 +1,7 @@
|
|
| 1 |
<img src="https://graph.org/file/cd2b471f3474d69740df5.jpg" alt="logo" target="/blank">
|
| 2 |
|
| 3 |
<h1 align="center">
|
| 4 |
-
<b><a href="https://t.me/Madflix_Bots" target="/blank"> File Sharing
|
| 5 |
</h1>
|
| 6 |
|
| 7 |
<p align="center">🩵 Thanks for Being Here 🩵</p>
|
|
@@ -11,13 +11,14 @@
|
|
| 11 |
|
| 12 |
* `API_HASH` Your API Hash from my.telegram.org
|
| 13 |
* `APP_ID` Your API ID from my.telegram.org
|
| 14 |
-
* `
|
| 15 |
* `OWNER_ID` Must enter Your Telegram Id
|
|
|
|
| 16 |
* `CHANNEL_ID` Your Channel ID eg:- -100xxxxxxxx
|
| 17 |
* `DB_URL` Your mongo db url
|
| 18 |
* `DB_NAME` Your mongo db session name
|
| 19 |
* `ADMINS` Optional: A space separated list of user_ids of Admins, they can only create links
|
| 20 |
-
* `START_MESSAGE` Optional: start message of bot, use HTML and <a href='https://github.com/JishuDeveloper/File-Sharing-
|
| 21 |
* `FORCE_SUB_MESSAGE`Optional:Force sub message of bot, use HTML and Fillings
|
| 22 |
* `FORCE_SUB_CHANNEL` Optional: ForceSub Channel ID, leave 0 if you want disable force sub
|
| 23 |
* `PROTECT_CONTENT` Optional: True if you need to prevent files from forwarding
|
|
@@ -26,9 +27,9 @@
|
|
| 26 |
|
| 27 |
### EXTRA VARIABLES
|
| 28 |
|
| 29 |
-
* `CUSTOM_CAPTION` put your Custom caption text if you want Setup Custom Caption, you can use HTML and <a href='https://github.com/JishuDeveloper/File-Sharing-
|
| 30 |
* `DISABLE_CHANNEL_BUTTON` Put True to Disable Channel Share Button, Default if False
|
| 31 |
-
* `BOT_STATS_TEXT` put your custom text for stats command, use HTML and <a href='https://github.com/JishuDeveloper/File-Sharing-
|
| 32 |
* `USER_REPLY_TEXT` put your text to show when user sends any message, use HTML
|
| 33 |
|
| 34 |
|
|
@@ -99,6 +100,7 @@
|
|
| 99 |
start - start the bot or get posts
|
| 100 |
batch - create link for more than one posts
|
| 101 |
genlink - create link for one post
|
|
|
|
| 102 |
users - view bot statistics
|
| 103 |
broadcast - broadcast any messages to bot users
|
| 104 |
stats - checking your bot uptime
|
|
|
|
| 1 |
<img src="https://graph.org/file/cd2b471f3474d69740df5.jpg" alt="logo" target="/blank">
|
| 2 |
|
| 3 |
<h1 align="center">
|
| 4 |
+
<b><a href="https://t.me/Madflix_Bots" target="/blank"> File Sharing Bot </a></>
|
| 5 |
</h1>
|
| 6 |
|
| 7 |
<p align="center">🩵 Thanks for Being Here 🩵</p>
|
|
|
|
| 11 |
|
| 12 |
* `API_HASH` Your API Hash from my.telegram.org
|
| 13 |
* `APP_ID` Your API ID from my.telegram.org
|
| 14 |
+
* `BOT_TOKEN` Your bot token from @BotFather
|
| 15 |
* `OWNER_ID` Must enter Your Telegram Id
|
| 16 |
+
* `FILE_AUTO_DELETE` File auto delete, value in seconds
|
| 17 |
* `CHANNEL_ID` Your Channel ID eg:- -100xxxxxxxx
|
| 18 |
* `DB_URL` Your mongo db url
|
| 19 |
* `DB_NAME` Your mongo db session name
|
| 20 |
* `ADMINS` Optional: A space separated list of user_ids of Admins, they can only create links
|
| 21 |
+
* `START_MESSAGE` Optional: start message of bot, use HTML and <a href='https://github.com/JishuDeveloper/File-Sharing-Bot/blob/main/README.md#start_message'>fillings</a>
|
| 22 |
* `FORCE_SUB_MESSAGE`Optional:Force sub message of bot, use HTML and Fillings
|
| 23 |
* `FORCE_SUB_CHANNEL` Optional: ForceSub Channel ID, leave 0 if you want disable force sub
|
| 24 |
* `PROTECT_CONTENT` Optional: True if you need to prevent files from forwarding
|
|
|
|
| 27 |
|
| 28 |
### EXTRA VARIABLES
|
| 29 |
|
| 30 |
+
* `CUSTOM_CAPTION` put your Custom caption text if you want Setup Custom Caption, you can use HTML and <a href='https://github.com/JishuDeveloper/File-Sharing-Bot/blob/main/README.md#custom_caption'>fillings</a> for formatting (only for documents)
|
| 31 |
* `DISABLE_CHANNEL_BUTTON` Put True to Disable Channel Share Button, Default if False
|
| 32 |
+
* `BOT_STATS_TEXT` put your custom text for stats command, use HTML and <a href='https://github.com/JishuDeveloper/File-Sharing-Bot/blob/main/README.md#custom_stats'>fillings</a>
|
| 33 |
* `USER_REPLY_TEXT` put your text to show when user sends any message, use HTML
|
| 34 |
|
| 35 |
|
|
|
|
| 100 |
start - start the bot or get posts
|
| 101 |
batch - create link for more than one posts
|
| 102 |
genlink - create link for one post
|
| 103 |
+
id - To check user id
|
| 104 |
users - view bot statistics
|
| 105 |
broadcast - broadcast any messages to bot users
|
| 106 |
stats - checking your bot uptime
|