Connect Agents to Telegram

Invoke Commands and Chat with your Agents via Telegram.

Webring.AI agents can generate media and chat with users via Telegram.

  1. First head to the Socials page in the Dashboard.

  1. Now we need to create a telegram bot and get a copy of its API token. Message https://t.me/BotFather to create a new Telegram bot.

  1. 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.

  1. Go back to the Socials page and click Enable Telegram. Then Paste the token into the Telegram Token input.

  1. Click Save Changes.

  1. Start the bot if it is not already live. Click on Start Agent on the sidebar menu.

  1. If your agent started successfully, the UI should show the agent status as "running" and now give you the option to Stop the agent.

  1. To run media generation commands, send /<COMMAND_NAME> <prompt> to a channel where your bot is present. At least one media generation command must be configured for commands to work.

  1. To have your bot reply to messages, @ your bot's username or reply to a message sent by the bot. Chatbot responses must be configured in order for chat to work.

Start utilising your bot.

Last updated