Skip to content

A Telegram Bot to generate permanent Stream and Download links for any Telegram file

License

Notifications You must be signed in to change notification settings

NormaLens/FileToLink

 
 

Repository files navigation

Telegram File To Stream Link


⚠️ The Bot is Dead. Don't deploy it

This bot will give you permanent Stream and Download links for Telegram files

Variables

API_ID : Goto my.telegram.org to obtain this.

API_HASH : Goto my.telegram.org to obtain this.

BOT_TOKEN : Get the bot token from @BotFather

ARCHIVE_CHANNEL_ID : Create a new channel (private/public), post anything in the channel, forward the post to @message_ids_bot, now copy and paste chat_forward in this field.

Bot_Channel_UserName : [Optional] The UserName of any channel to force users to join it before using the bot, Make sure to make the bot admin in this channel

Session_String : [Optional] Use session_generator.py to generate Pyrogram Session String, If you don't add it the bot will create a new session every Restarting.

How to use the bot

⚠️ Before using the bot, don't forget to add the bot to the ARCHIVE_CHANNEL_ID as an admin

/start : To check if the bot is alive.

To get download and stream links, just forward any file to the bot.

⚠️ If you want to download the link don't use 1DM, instead you can use ADM or IDM(on PC)

faQ

  • How long the links will remain valid or is there any expiration time for the links generated by the bot?

The links will be valid as longs as your bot is alive, you haven't deleted the Message from Archive Channel and you haven't deleted Archive Channel

Contact me

Telegram Channel

You can PM me on @ooom09

About

A Telegram Bot to generate permanent Stream and Download links for any Telegram file

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 99.9%
  • Procfile 0.1%