๐ Setting Up Telegram Private Channel
๐น Why is this important?
Note: Integrating your private Telegram channel with Affiliate Solution allows you to automate deal posting securely, ensuring only selected members receive your affiliate deals.
This guide provides step-by-step instructions to:
- Create a private Telegram channel
- Create and connect a bot
- Obtain the channel ID and bot token
- Enable auto-posting in Affiliate Solution
๐น Steps to Connect a Telegram Private Channel
Step 1: Create a Telegram Bot Using BotFather
BotFather is an official Telegram bot that helps you create and manage your own bots. You need to create a bot before linking it to your private Telegram channel.
Step 1: Open Telegram and Search for BotFather
- Open the Telegram app on your phone or desktop.
- In the search bar, type
BotFather
. - Select the verified BotFather account (with a blue checkmark โ ).
Step 2: Start a Chat with BotFather
- Click the Start button or type
/start
and press Enter. - BotFather will reply with a list of commands.
Step 3: Create a New Bot
- Type the command:
and press Enter.
/newbot
- BotFather will ask you to choose a name for your bot (Example:
My Private Bot
). - Next, BotFather will ask for a username for your bot.
- The username must end with "bot" (e.g.,
MyPrivateBot
,ExclusiveDealsBot
).
Step 4: Get Your Bot Token
- After setting the bot's name and username, BotFather will generate a token.
- The token will look something like this:
123456789:ABCDEF123456abcdef123456ABCDEF
- Save this token securely. It is required to integrate your bot with Affiliate Solution.
Step 2: Add the Bot to Your Private Telegram Channel
- Open your Private Telegram Channel.
- Click on the Channel Name at the top.
- Click on Administrators.
- Click Add Admin and search for your Botโs Username.
- Select your bot and give it admin permissions:
- Post Messages โ
- Edit Messages โ (optional)
- Delete Messages โ (optional)
- Click Save.
โ Your bot is now an admin in your private channel!
Step 3: Get Your Private Channel ID
- If your private channel has no messages, send a test message.
- Open Telegram and search for
UserInfoBot
. - Click on
UserInfoBot
and tap Start. - Forward a message from your Private Channel to
UserInfoBot
. UserInfoBot
will provide an output with your Channel ID.- Copy the Channel ID (Example:
-1001978529428
). - IMPORTANT: The Channel ID must start with a โ-โ (minus sign).
Step 4: Add Private Channel to Affiliate Solution
- Log in to Affiliate Solution.
- Click on Telegram from the menu.
- Click Channels.
- Click Add New Channel.
- In the Channel Username text box, paste the Channel ID you copied from
UserInfoBot
. - Example:
-1001978529428
(Don't forget the-
sign). - Copy the Bot Token from
BotFather
. - Paste the Bot Token in the required field in Affiliate Solution.
- Click Save.
Step 6: Enable Private Telegram Channel for Auto Posting5
- Turn ON the Private Telegram channel to start auto-posting messages.
- The icon color will change from Red to Green, indicating activation.
Step 6: Verify Integration by Posting a Deal
- Click Logout, then log in again to Affiliate Solution.
- Click on Post Deal from the menu.
- Enter a deal message in the text box.
- Tick the Telegram checkbox in the Share Options.
- Share with Convert
- Share without Convert
- Only Convert
- Click on Post Deal.
- Open your Private Telegram Channel and verify the message was posted with your affiliate tag.
โ Congratulations! Your private Telegram channel is now successfully connected and auto-posting is enabled! ๐
๐ Common Issues & Troubleshooting
โ My bot is not posting messages in the Private Telegram channel - Ensure the bot is added as an admin and has permission to post. - Verify that the bot token is correct in Affiliate Solution. - Check that the Private Telegram channel is enabled (Green icon, not Red).
โ My messages are posting, but without an affiliate tag - Double-check your Affiliate Settings to ensure tags are configured correctly. - Ensure your deal message format includes the required placeholders.
โ I have added the Private Channel ID, made the bot an admin, and configured it in Affiliate Solution, but it's still not working
- Go to the Post Menu in the Affiliate Solution website.
- Try posting a deal message.
- Make sure you have selected the Telegram checkbox under Share Options.
- Check if there is any error message.
- Based on the error message, correct your settings.
- If you are still facing issues, contact our Telegram Help Bot: @AffiliateSolutionSupportBot.
๐ Next Step: Set Up a WhatsApp Group ๐