Code Monkey home page Code Monkey logo

filestoringbot's Introduction

filestoringbot

stores files with file_id on telegram ( "This bot is only for storing and sending files and not for promoting violation of copyright")

Deploy

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 content

we have added some tutorials on how to use t.me/filestoringbot

HOW TO USE?

โš  Let me warn you bot is bit old school you have to eveything manually

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

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.