🔥Telegram Bot Integration Guide

Overview

ActiveMSG provides a robust platform for managing Telegram bot interactions. By following this guide, you can connect your Telegram bot with ActiveMSG to leverage advanced messaging functionalities and streamline your workflows.

Prerequisites

Before starting, ensure you have:

Registering with ActiveMSG

  1. Create an Account:

    • Visit the ActiveMSG website and sign up for an account.

    • Complete the registration process by following the on-screen instructions.

  2. Login to Your Account:

    • After registration, log in to your ActiveMSG account to access the dashboard.

Creating a Telegram Bot

  1. Create a Telegram Account:

    • If you don't already have a Telegram account, download the Telegram app and sign up.

  2. Open Telegram and Search for "BotFather":

    • In the Telegram app, search for "BotFather" and start a chat.

  3. Create a New Bot:

    • Use the command /newbot to create a new bot.

    • Follow the instructions to set a name and username for your bot.

  4. Receive the Bot Token:

    • After creating the bot, BotFather will provide you with a token.

    • Note: Keep this token secure as it is required to configure your bot with ActiveMSG.

Configuring ActiveMSG

  1. Access API Integration:

    • In your ActiveMSG dashboard, navigate to the "API Integration" section.

  2. Enter Bot Token:

    • Input your Telegram bot token into the "Bot Token" field.

  3. Save Configuration:

    • Save the configuration to establish the connection between ActiveMSG and your Telegram bot.

Adding the Bot to a Telegram Group

  1. Open the Group:

    • Open the group where you want to add the bot.

  2. Open Group Info:

    • Click on the group name at the top to open "Group Info."

  3. Manage Group:

    • Tap on the three dots in the top-right corner and select "Manage Group."

  4. Add Administrator:

    • Click on "Administrators" and then "Add Administrator."

    • Search for your bot's username (e.g., @YourBotUsername) and add it as an administrator.

Testing the Integration

  1. Send a Test Message:

    • In the ActiveMSG dashboard, navigate to the "Test Message" section.

    • Enter a test message and send it to your Telegram bot or group.

  2. Verify Message Delivery:

    • Check your Telegram bot or group to confirm the message was received.

Best Practices

  • Security: Keep your bot token secure and do not share it publicly.

  • Compliance: Follow Telegram’s policies and guidelines to ensure proper use of your bot.

FAQs

  1. How do I reset my bot token?

    • Start a chat with BotFather and use the /token command to regenerate your bot token.

  2. Can I add the bot to multiple groups?

    • Yes, you can add your Telegram bot to multiple groups and manage interactions via ActiveMSG.

Support

Last updated