Telegram Business account
You can now create personal business assistants — special bots that integrate directly into individual Telegram chats. These bots automatically process incoming requests and respond on the account owner's behalf, dramatically reducing time spent on routine tasks and improving communication efficiency.
Use cases: These assistants can be configured for various purposes, such as:
Providing product or service consultations.
Answering frequently asked questions.
Performing a wide range of other automated tasks.
Key feature: seamless control
A user can instantly switch back to manual communication at any time without interrupting or disabling the bot's operation, ensuring complete control over the chat.
Attention!
Telegram Business account has a 24-hour window.
Once a user sends their first message, the bot has a 24-hour window to respond and continue the conversation. This window is reset each time the user replies.
If the user replies: The 24-hour window restarts, allowing continuous dialogue.
If the user does NOT reply within 24 hours: The window closes. The bot will be blocked from sending further messages until the user sends a new message to re-initiate contact.
Connecting the bot
Step 1. Setup in the Messengers section.
If you are connecting a Telegram bot for the first time.
FIrst, go to the Channels tab in the Mavibot section to connect Telegram chatbot (if there is not one yet).

Next, we connect the Telegram bot according to the instructions .
If Telegram is connected.
In case you already have a connected Telegram bot, find this bot in the channels:

Next, click on the settings button, after which you will see a modal window with token fields, etc.:

In the modal window that opens, click DONE to update your Telegram bot settings (you don't need to change any more settings):

At this stage, the work with the channels is completed. Go to the messenger settings.
Step 2. Messenger settings.
To connect Telegram chatbot to your business account, go to your profile settings, where you need to find "Telegram Business" tab:

Next, you will see "Chatbots" tab, where you need to go:

Then, in the newly opened tab, enter the link to the required Telegram bot or its username (entering the link is preferred).

In the same tab, set the permission ( "Reply to messages" checkbox) for the chatbot to reply to messages.
At this stage, the chatbot setup in the business account is completed. Go ahead.
Step 3. BotFather Settings.
After linking the chatbot to the business account, you need to update the chatbot's settings in BotFather, where you initially created the Telegram bot.
To do this, open the chat with BotFather and enable it to work with the business account:

Go to the bot settings:

Next, click on the "Business Mode" button to enable the business mode for the chatbot:

Ready! All necessary chatbot settings with a business account have been completed.
Now, in the channel settings, you will find Telegram bot and see business ID and also the name of the business account owner:

How to disable
To disable the chatbot with business mode, go to channels and find the chatbot in which you want to disable this setting. Click on the settings button:

Click the "Disable Business Account" button.

If you disable your business account, chatbot will continue to work in standard mode.
Avaliable functions
(API) Function in calculator:
tg_callback(platform_id , callback_message,group_id, tg_business)
tg_send_poll(platform_id, question, options, is_anonymous, allows_multiple_answers, reply_markup, disable_notification, protect_content, token, reply_to_message_id, message_thread_id, business_connection_id)
tg_send_quiz_poll(platform_id, question, options, explanation, correct_option_id, is_anonymous, reply_markup, parse_mode, protect_content, disable_notification, token, reply_to_message_id, message_thread_id )
tg_send_message_1(token, platform_id, text, client_message_id, reply_markup, parse_mode, disable_web_page_preview, protect_content, disable_notification, message_thread_id, entities, business_connection_id)
Methods
They automatically work with clients who have written to Telegram Business account in the same way as in bots.
Last updated