Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/Kunal-Diwan/FileSearchBot
Telegram Inline Files Search Bot made using JS by @Kunal-Diwan
https://github.com/Kunal-Diwan/FileSearchBot
file-search javascript
Last synced: about 2 months ago
JSON representation
Telegram Inline Files Search Bot made using JS by @Kunal-Diwan
- Host: GitHub
- URL: https://github.com/Kunal-Diwan/FileSearchBot
- Owner: Kunal-Diwan
- License: apache-2.0
- Created: 2021-09-05T09:20:07.000Z (about 3 years ago)
- Default Branch: JS
- Last Pushed: 2021-11-09T05:05:09.000Z (almost 3 years ago)
- Last Synced: 2024-05-28T07:00:22.013Z (4 months ago)
- Topics: file-search, javascript
- Language: JavaScript
- Homepage: http://t.me/InlineFileSearchBot
- Size: 65.4 KB
- Stars: 10
- Watchers: 1
- Forks: 8
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# filestoringbot
stores files with file_id on telegram ( "This bot is only for storing and sending files and not for promoting violation of copyright")required details
TOKEN
- Get bot token from bot father
DOMAIN
- Same as app name that you enter in heroku
ADMIN
- your account id(if you cant find it use bots like @getidsbot )
CHANNEL_USERNAME
- your channel username without '@'
DB_URL
- create an account on https://www.mongodb.com/cloud/atlas , database name - mediaFile ,collection name - fileBackup.Click connect and choose 'connect your application'.Copy the link and replace "< password >" with password of user having acess to db and replace "myFirstDatabase" to "mediaFile"
GROUP_ID
- create a private group or channel to get users search and failed search ,so you can notify them after uploading contentwe have added some tutorials on how to use t.me/filestoringbot
HOW TO USE?
How to save file?
1.send document to bot it will return a file_id
2.copy file_id
3.use the following format/save file name,file_id
4.To add more than one files seperate multiple file_id with coma/save file name,file_id,file_id2,file_id3,file_id4
How to save file?
1.To update already existing filter eg.if you missed one episode of a series
2.use/update file name,file_id
How to broadcast to all users?
/send your message
HOW FILES GET SAVED?
Files that are forwarded to bot will get saved for getting inline search result with caption ,manually saved files may not be having captions for now