Telegram
Última actualización:2024-08-27

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

image-20240827142507746

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

image-20240827143504008

Enter GPTBots, go to "Integrations - Telegram," turn on the switch, and then go to the management page.

image-20240925141114149

  1. Enter the token obtained from BotFather;
  2. Click the "Submit" button at the bottom to complete the configuration;
  3. 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

image-20240925141015017

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

image-20240828113630053

In BotFather, enable group chat permissions for your Telegram Agent.

  1. Type setprivacy;
  2. Enter the name of the Agent you want to adjust group chat permissions for, such as "@YourBotName";
  3. Following the instructions, type disable to enable group chat permissions for that Agent.

image-20240828113324404

Open the Telegram Agent's profile page, then click "Add to Group or Channel".

image-20240828113209520

Select the group where you want to add the Telegram Agent.

image-20240828113427750

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.