Telegram
You can integrate the Agent service into your Telegram Agent, allowing your Telegram users to communicate with the Agent through the Telegram Agent.
Create Telegram Agent
Visit BotFather and enter the /newbot
command. Follow the instructions provided by BotFather to create a Telegram Agent.
Once created, you will receive a link to your Telegram Agent and a token.
Configure in GPTBots
Enter GPTBots, go to "Integrations - Telegram," turn on the switch, and then go to the management page.
- Enter the token obtained from BotFather;
- Click the "Submit" button at the bottom to complete the configuration;
- Then, the system will provide a link to the Telegram Agent. This link can be sent to your users, allowing them to access the Agent and start a conversation with it.
Update Agent Configuration to Telegram
Click "Update Configuration" to sync the new Agent settings from GPTBots to Telegram, including welcome messages, preset questions, Agent introduction, and more.
Chat in Telegram
Users can interact with the Agent within Telegram by accessing the Telegram Agent link.
Groupchat in Telegram
In BotFather, enable group chat permissions for your Telegram Agent.
- Type
setprivacy
; - Enter the name of the Agent you want to adjust group chat permissions for, such as "@YourBotName";
- Following the instructions, type
disable
to enable group chat permissions for that Agent.
Open the Telegram Agent's profile page, then click "Add to Group or Channel".
Select the group where you want to add the Telegram Agent.
Keep "Admin Rights" enabled, provide full permissions to the Telegram Agent, and click "Add Agent as Admin" to complete adding the Telegram Agent to the group.
In the group, "@" the Telegram Agent you want to chat with to initiate a conversation.