A Telegram bot written in Python3 that can be fully customized to your needs.
Create a settings.py file on the root directory with the content:
token="XXXXXXX" #telegram bot api token
pickle_logs = "example.log"
timeout = 900
# mongo config
mongo_host = 'localhost'
mongo_user = 'tgbot'
mongo_password = '12345678'
mongo_port = '27017'
mongo_collection = 'tgbot'
admin_list = [] # A list of user IDs that have access to @restricted functions
CHATID = "anything" # A chat group ID assigned for bot administration and back-office management