Skip to content

GouthamSER/Inline-Media

Repository files navigation

Iɴʟɪɴᴇ Mᴇᴅɪᴀ Bᴏᴛ Cᴏɴᴠᴇʀᴛed Aᴜᴛᴏ Fɪʟᴛᴇʀ🤳

© Aʟʟ Rɪɢʜᴛ Rᴇsᴇʀᴠᴇᴅ Tᴏ Oᴡɴᴇʀ


Typing SVG

  • Iɴᴅᴇx ᴄʜᴀɴɴᴇʟ ᴏʀ ɢʀᴏᴜᴘ ғɪʟᴇs ғᴏʀ ɪɴʟɪɴᴇ sᴇᴀʀᴄʜ ᴀɴᴅ Aᴜᴛʜ Gʀᴏᴜᴘs.
  • Wʜᴇɴ ʏᴏᴜ ᴘᴏsᴛ ғɪʟᴇ ᴏɴ ᴛᴇʟᴇɢʀᴀᴍ ᴄʜᴀɴɴᴇʟ ᴏʀ ɢʀᴏᴜᴘ ᴛʜɪs ʙᴏᴛ ᴡɪʟʟ sᴀᴠᴇ ᴛʜᴀᴛ ғɪʟᴇ ɪɴ ᴅᴀᴛᴀʙᴀsᴇ, sᴏ ʏᴏᴜ ᴄᴀɴ sᴇᴀʀᴄʜ ᴇᴀsɪʟʏ ɪɴ ɪɴʟɪɴᴇ ᴍᴏᴅᴇ.
  • Sᴜᴘᴘᴏʀᴛs ᴅᴏᴄᴜᴍᴇɴᴛ, ᴠɪᴅᴇᴏ ᴀɴᴅ ᴀᴜᴅɪᴏ ғɪʟᴇ ғᴏʀᴍᴀᴛs ᴡɪᴛʜ ᴄᴀᴘᴛɪᴏɴ sᴜᴘᴘᴏʀᴛ.
  • Dʙ Sᴘᴀᴄᴇ Sʜᴏᴡɪɴɢ ғᴇᴀᴛᴜʀᴇ sᴏᴍᴇ ᴄʙ ᴀᴅᴅᴇᴅ

Deploy Via

Deploy To Render
Deploy to Render
Deploy To Heroku
Deploy
Deploy To Scalingo
Deploy To VPS

git clone https://github.com/GouthamSER/Inline-Media
# Install Packages
pip3 install -U -r requirements.txt
Edit info.py with variables as given below then run bot
python3 bot.py


Required Variables

  • BOT_TOKEN: Create a bot using @BotFather, and get the Telegram API token.
  • CUSTOM_FILE_CAPTION: Environ set [etc-(Filename,Filesize)]
  • AUTH_CHANNEL: Force SUB to channel
  • AUTH_GROUP:Supourt Group AutoFIlter
  • API_ID: Get this value from telegram.org
  • API_HASH: Get this value from telegram.org
  • CHANNELS: Username or ID of channel or group. Separate multiple IDs by space
  • ADMINS: Username or ID of Admin. Separate multiple Admins by space
  • DATABASE_URI: mongoDB URI. Get this value from mongoDB. For more help watch this video
  • DATABASE_NAME: Name of the database in mongoDB. For more help watch this video

Optional Variables

  • COLLECTION_NAME: Name of the collections. Defaults to Telegram_files. If you going to use same database, then use different collection name for each bot
  • CACHE_TIME: The maximum amount of time in seconds that the result of the inline query may be cached on the server
  • USE_CAPTION_FILTER: Whether bot should use captions to improve search results. (True/False)
  • AUTH_USERS: Username or ID of users to give access of inline search. Separate multiple users by space. Leave it empty if you don't want to restrict bot usage.
  • AUTH_CHANNEL: Username or ID of channel. Without subscribing this channel users cannot use bot.
  • START_MSG: Welcome message for start command.
  • INVITE_MSG: Auth channel invitation message.

Admin commands

channel - Get basic infomation about channels
stats - Show total of saved files
delete - Delete file from database
index - Index all files from channel or group
log - Get log file

Thanks to Mᴀʜᴇsʜ

Thanks to Mᴇ✔

Support💕 Channel

License

Code released under Tʜᴇ GNU ᴠ3 Gᴇɴᴇʀᴀʟ Pᴜʙʟɪᴄ Lɪᴄᴇɴsᴇ.

About

Auto filter And Inline Media Movie sent in Group

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages