You can deploy the built intelligent agent to the Telegram Bot. After deployment, the Telegram Bot can use the intelligent agent to reply to user messages, and can be applied in scenarios such as customer service.
Use Limits
Please confirm that the application has been deployed.
Step 1: Create Telegram Bot
Open @BotFather in Telegram and follow the steps below: 1. Send the /newbot command to @BotFather.
2. Enter the bot's display name (Name) -- which appears in locations such as contact details.
3. Enter the bot's username (Username) -- which is used for searches and t.me links.
4. After creation is successful, obtain the authentication token (Token).
Note:
The Token is the unique identifier of the Bot, used for authorization and sending API requests.
The Token must be securely stored! Anyone possessing the Token can gain full control of your bot. If the Token is compromised, immediately regenerate it using the /token command.
Step 2: Create a Telegram publishing channel
1. Go to the Application Release page of the Tencent Cloud Intelligent Development Platform, click Create Release Channel > Telegram.
2. Enter the Bot Token obtained in Step 1.
3. When the application is published, select the Telegram channel. After successful publication, you can access Telegram to interact with the agent.
Built-in shortcut commands
Currently, the following commands are supported and become effective when they are entered in the Telegram dialog.
|
/new | Start a new conversation. |
/clear | Clear the current conversation context. |