-
BOT_TOKEN
: Create a bot using @BotFather, and get the Telegram API token.
-
API_ID
: Get this value from telegram.org
-
API_HASH
: Get this value from telegram.org
-
CHANNELS
: Username or ID of channel or group. Separate multiple IDs by space
-
ADMINS
: Username or ID of Admin. Separate multiple Admins by space
-
DATABASE_URI
: mongoDB URI. Get this value from mongoDB. For more help watch this video
-
FORCE_SUB
: ID of channel. Without subscribing this channel users cannot use bot.
-
AUTH_GROUPS
: Id Of Groups Which Bot Should Work As Autofilter, Bot Can Only Work In Thease Groups. If Not Given , Bot Can Be Used In Any Group.
-
AUTH_USERS
: Username Or Id Of Users To Give Access Of Inline Search. Separate Multiple Users By Space. Leave It Empty If You Don't Want To Restrict Bot Usage.
-
START_MSG
: Welcome Message For Start Command Eg Click Here
-
CUSTOM_FILE_CAPTION
: A Custom Caption For Your Files. Eg Click Here
-
PICS
: Telegraph Random Photo Eg Click Here
-
DEV_NAME
: Developer Name
-
SPELL_MODE
: Seplling Mode On Or Off
-
SPELL_MODE_TEXT
: Set Coutom Spelling Mode Text Eg Click Here
-
CACHE_TIME
: The maximum amount of time in seconds that the result of the inline query may be cached on the server
-
DATABASE_NAME
: Name of the database in mongoDB. For more help watch this video
-
COLLECTION_NAME
: Name of the collections. Defaults to Telegram_files. If you going to use same database, then use different collection name for each bot
-
USE_CAPTION_FILTER
: Whether bot should use captions to improve search results. (True/False)