/ForwardBot

I am a telegram forward bot. I can forward document and video (mp4 and mkv) files.

Primary LanguagePython

Simple telegram forward bot!

ɪ ᴄᴀɴ ᴏɴʟʏ ғᴏʀᴡᴀʀᴅ ᴅᴏᴄᴜᴍᴇɴᴛ ᴀɴᴅ ᴠɪᴅᴇᴏ (ᴍᴘ𝟺 ᴀɴᴅ ᴍᴋᴠ) ғɪʟᴇs. ғᴏʀᴡᴀʀᴅ ʏᴏᴜʀ sᴏᴜʀᴄᴇ ᴄʜᴀɴɴᴇʟ ᴍᴇssᴀɢᴇ ᴛᴏ ᴛʜɪs ʙᴏᴛ. ɪғ sᴏᴜʀᴄᴇ ᴄʜᴀɴɴᴇʟ ɪs ғᴏʀᴡᴀʀᴅ ʀᴇsᴛʀɪᴄᴛᴇᴅ ʟᴀsᴛ ᴍᴇssᴀɢᴇ ʟɪɴᴋ sᴇɴᴅ ᴛᴏ ᴛʜɪs ʙᴏᴛ.

Installation

Deploy on Heroku

BEFORE YOU DEPLOY ON HEROKU, YOU SHOULD FORK THE REPO AND CHANGE ITS NAME TO ANYTHING ELSE
Deploy

Commands

/start - To check bot is alive or not
/id - Get ID od group or channel
/set_skip - Set skip number of message.
/set_channel - Set target channel.
/set_caption - Set file caption.

Variables

  • API_HASH Your API Hash from my.telegram.org
  • APP_ID Your API ID from my.telegram.org
  • TG_BOT_TOKEN Your bot token from @BotFather
  • OWNER_ID Must enter Your Telegram Id from @my_id_bot
  • FILE_CAPTION Must enter in format [Default: {file_name}]
  • PRIVATE_BOT Must enter Your Telegram Id
  • UPDATES_CHANNEL Must enter Your Updates Channel Telegram Link
  • SUPPORT_GROUP Must enter Your Support Group Telegram Link
  • DEV_LINK Must enter Your Contact Bot Telegram Link

CUSTOM_CAPTION

  • {file_name} - file name of the Document
  • {file_size} - file size of the Document
  • {caption} - default file caption

Credits

  • Thanks To Dan For His Awsome Library
  • Our Support Group Members

Licence

GNU GPLv3 Image

You can use, study share and improve it at your will. Specifically you can redistribute and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.

Star this Repo if you Liked it ⭐⭐⭐