Vins92-del / File_link-multi_forcesubs

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

File-to-link-bot


     

Telegram Bot untuk menyimpan Posting dan Dokumen dan dapat Diakses melalui Tautan Khusus. Saya Kira Ini Akan Bermanfaat Bagi Banyak Orang.....😇.

Jika Anda memerlukan mode lagi dalam repo atau Jika Anda menemukan bug, sebutkan di @codexbotzsupport

Cara install

Deploy on Heroku

Deploy

Deploy in your VPS

git clone https://github.com/davi78/File-to-link-bot
cd File-to-link-bot
pip3 install -r requirements.txt
# <Create config.py appropriately>
python3 main.py

Perintah khusus admin

/start - Perintah start

/batch - Perintah untuk membuat lebih dari satu postingan

/genlink - Perintah untuk membuat satu postingan

/users - Perintah untuk melihat statistik bot

/broadcast - Perintah broadcast ke semua users

Variables

  • API_HASH Dapatkan API_HASH dari from my.telegram.org
  • API_ID Dapatkan API_ID dari my.telegram.org
  • TG_BOT_TOKEN Dapatkan Token bot dari @BotFather
  • OWNER_ID Masukkan ID telegram OWNER
  • CHANNEL_ID Channel ID kamu eg:- -100xxxxxxxx
  • ADMINS ID admin
  • START_MESSAGE Pesan start
  • FORCE_SUB_MESSAGE Force subs pesan
  • FORCE_SUB_CHANNEL Force subs

Extra Variables

  • CUSTOM_CAPTION put your Custom caption text if you want Setup Custom Caption, you can use HTML and fillings for formatting (only for documents)
  • DISABLE_CHANNEL_BUTTON Put True to Disable Channel Share Button, Default if False

Fillings

START_MESSAGE | FORCE_SUB_MESSAGE

  • {first} - User first name
  • {last} - User last name
  • {id} - User ID
  • {mention} - Mention the user
  • {username} - Username

CUSTOM_CAPTION

  • {filename} - file name of the Document
  • {previouscaption} - Original Caption

Jangan lupa bintangnya ⭐⭐⭐

About

License:GNU General Public License v3.0


Languages

Language:Python 100.0%