Your installation
To install a bot on your host, you need to buy the software. You can do this by writing to GodsSupport
Your hosting must be accessible from the global network and it must be able to accept POST requests via HTTPS
You will also need a PostgreSQL database version 13.2 or newer.
You have to change a few fields in the bot.json file:
WebHookBase
— server addressPort
— server portConnectionString
— database connection string- Fill the Bots section with your values:
BotId
— unique identifier of the bot created via BotFather
Name
— bot name
BotApiKey
— bot apikey
ChannelId
— unique identifier of the channel
GroupId
— unique identifier of the group
OwnerId
— unique identifier of the bot owner
ReportTimeExpiration
— request lifespan in minutes
LanguageCode
— default language
UserNameState
— display mode of the client name (do not display, anonymous requests / display username / display user's nick)
AnswerMode
— reply mode
UserWelcomeMessage
— message to the user on his request
TeamWelcomeMessage
— message to the team when it receives a new request
StartWelcomeMessage
— message on command /start