Telegram Integration
Last updated
Last updated
"You are a mature agent, you should learn to do business on your own." Sounds like a dream? Now, you can achieve it in just 5 minutes.
Making your agent active on Telegram only requires three simple steps: create a agent - set permissions - enter the token, and then your agent can do business on Telegram on its own!
Your tg agent can chat with users one-on-one or in groups, and get more exposure. And creating a tg agent will synchronize with your agent on MyShell, and your prompt modifications will be reflected on the tg agent in real-time without any additional operation from you ~
Still not tempted? Come and try it out!
Log in to your Telegram and search for BotFather.
Use the "/newbot" command to start creating your agent.
Enter the agent name, and keep it consistent with the agent on MyShell ~
Give the agent a simple and easy-to-read username. Later, everyone will frequently use this name to interact with your agent in groups, and it cannot be changed. Please consider it carefully ~
The most important step: copy your agent's HTTP API! This string of characters is very important, please submit it accurately to MyShell and do not leak it to others.
After the agent is created, simply press a few buttons to let your agent join the group chat and start doing business!
Use the "/mybots" command to enter your agent management interface.
Click "Bot Settings"
Click "Group Privacy"
Click "Turn off" to turn off group chat privacy settings, and your agent can run around the world!
If you get to this page, it means you have succeeded. However, please note that if the privacy settings are set after the agent joins the group chat, it will not take effect on the already joined group chat ~ then you need to remove the agent first and then invite it again!
This is the last step, just go back to MyShell's "Explore" - "Mine", click on the "Apps Integration" in the edit interface, and paste the token copied just now into the Telegram Token to complete ~
Please also note:
The bound agent will not have the cover picture of the agent on MyShell. If necessary, you can freely set it on Telegram
If the name of the agent is changed on MyShell, it will also be synchronized on TG, but if it is changed multiple times within 5 hours, only the name of the first modification will be synchronized ~
After the updated agent can be made public, don't forget to update it. TG agent will prioritize calling the public agent
Now, you can enjoy your agent on Telegram, and you can also share it more easily with others. If your tg agent attracts registered buddies and meets the conditions of effective invitations, it will also be counted in your effective invitations, thus accumulating more opportunities for you to enjoy more benefits in the future!
Last but not least, you can also modify the greeting message and usage instructions of the agent in Telegram. Interesting greeting messages and usage introductions can help others get started faster. The specific steps are as follows:
Click "Edit" in the agent details page through Telegram, and then "Edit Intro"
Then enter the greeting message and usage in BotFather and you're done!
Start enjoying it!