Connect Agents to Telegram
Invoke Commands and Chat with your Agents via Telegram.
Last updated
Invoke Commands and Chat with your Agents via Telegram.
Last updated
Webring.AI agents can generate media and chat with users via Telegram.
First head to the Socials
page in the Dashboard.
Now we need to create a telegram bot and get a copy of its API token. Message to create a new Telegram bot.
Create a new bot with /newbot
. The name you give your bot does not need to match the name you gave it on Webring.AI but we recommend keeping consistency as a best practice. You can always update the name of your Webring.AI bot as needed.
Go back to the Socials
page and click Enable Telegram
. Then Paste the token into the Telegram Token
input.
Click Save Changes.
Start the bot if it is not already live. Click on Start Agent on the sidebar menu.
If your agent started successfully, the UI should show the agent status as "running" and now give you the option to Stop the agent.
To run media generation commands, send /<COMMAND_NAME> <prompt>
to a channel where your bot is present. .
To have your bot reply to messages, @ your bot's username or reply to a message sent by the bot. .