Duplication of the Telegram bot
Hello.
I have a custom Telegram bot. It is written in PHP. It is installed on a VDS server. The bot is set up via WebHook.
The bot retrieves all information from a database. I need to make it so that I can register, for example, 5 bots through @BotFather. Get these 5 tokens. And so that I can use the same bot that is already on the VDS with these tokens. That is, I want to be able to add +1 bot token to the database and have the bot operate based on this token and retrieve information from a single database. So that all the bots created in BotFather can access the same information from the single database.
I can create a subdomain on the server like
test1.domen.ua
test2.domen.ua
test3.domen.ua
And install (upload) the bot files to each and run them without any problem. But creating a separate subdomain for each subsequent bot and uploading identical files for each bot is not a great idea.
So that, for example, a person can write to me, specify the token from BotFather - I will insert it where needed, and my bot will operate for that person based on this token.
-
It can be done differently, even just with an admin panel where we insert the token into the admin panel and connect the bot, and there is no need for any subdomains, etc. Everything can be done quite easily and simply. I will do it today for a lower price.
-
2642 6 1 Hello! This kind of task involving the duplication of Telegram bots and the centralization of the database is familiar to me from practice. For implementation, I suggest creating a single PHP bot that supports multi-token functionality through dynamic WebHook processing with different tokens, connecting to one database. This will avoid the multiplication of subdomains and the reloading of files, save server resources, and simplify maintenance. I am ready to help with setting up the logic, testing, and deployment within 3 days. I would be happy to discuss the details to quickly elevate your bot to a new level.
-
602 8 0 Good day!!!
I will do it by the evening. Write in private messages. I have indicated the price.
-
2638 427 9 1 And why add some tokens to the database, you specify the webhook, and just connect the same database to them, only the webhook addresses will be different.
-
1328 35 1 Good evening. We need to look at the database and the source code. But overall, it can be done without code duplication.
-
10958 224 0 1 Good evening. Show the bot files and the database, after reviewing there will be a price.
Current freelance projects in the category PHP
New store on Woocommerce
2308 USD
Looking for a developer to create an online store on Woocommerce. Project - a store for daily promotions, popular products in limited quantities. What is already available: layout of all pages (showcase, checkout, content pages, customer account), corporate identity, logo,… PHP, Web Programming ∙ 1 hour 49 minutes back ∙ 54 proposals |
Need to make improvements on the Modx Evolution CMS 3.1.7 site.
22 USD
The design refinement and layout of the website are being developed, and these works will need to be implemented on the site.Also, some adjustments need to be implemented on the site. HTML & CSS, PHP ∙ 5 hours 54 minutes back ∙ 20 proposals |
Implementation of a technical SEO audit on OpenCartGood day. Need to implement technical SEO fixes on the site softugo.com. The site is already developed but not fully launched yet. Platform: ocStore 3.0.2.0 / OpenCart + custom code. Hosting: Hostinger. Current PHP version: 7.3. (transition to PHP 8.2 is planned) A checklist… PHP, Web Programming ∙ 1 day 3 hours back ∙ 56 proposals |
Execution of work after SEO audit
334 USD
An experienced OpenCart developer is needed to perform SEO and technical improvements for the online store. Main tasks: Correction of the internal linking structure and menu. Adding links to the footer. Implementation of breadcrumbs with Schema.org microdata. Fixing the… PHP, Website Maintenance ∙ 4 days 3 hours back ∙ 63 proposals |
Integration needed: KeyCRM → Cash Register KashalotIt is necessary to set up integration between KeyCRM and the Cash Register Kahalot. When placing an order in KeyCRM, the data must be automatically transmitted to Kahalot: • order information • products, nomenclature • prices • quantity More details in private. Content Management Systems, PHP ∙ 6 days 23 hours back ∙ 29 proposals |