Skip to content

A telegram bot to Index message from channel and saves to database, further forwards and deletes each messages from database

Notifications You must be signed in to change notification settings

0AIB/Forward_2.1

Repository files navigation

Forward_2.1

  • Bot to forward messages from one channel to other without admin permission in source channel.
  • Can be used for both private and Public channels.
  • Bot Index message from channel and saves to database, further forwards and deletes each messages from database.Use of database was to Remove duplicacy of files.
  • For Private channels bot need to be admin

Variables

  • API_HASH API Hash from my.telegram.org
  • API_ID API ID from my.telegram.org
  • BOT_TOKEN Bot token from @BotFather
  • OWNER_ID Telegram Id of Owner.
  • TO_CHANNEL Channel ID of channel to which messages are forwarded eg:- -100xxxxxxxx
  • DATABASE_URI Database uri from MongoDB
  • DATABASE_NAME Database Cluster name
  • COLLECTION_NAME Database Collection name.

About

A telegram bot to Index message from channel and saves to database, further forwards and deletes each messages from database

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •