Telegram Bot Set Up
Introduction
Welcome to the ViewFi Telegram Feature documentation. This guide provides comprehensive instructions on setting up and using the Telegram integration within the ViewFi Dashboard. By following these steps, you can create campaigns, track traffic, and manage your Telegram bots effectively.
Purpose:
This manual is designed to help marketers, developers, and administrators integrate Telegram with ViewFi to enhance campaign management and engagement.
Benefits Include:
Seamless campaign creation and management
Efficient traffic tracking through Telegram bots
Enhanced user engagement and interaction via automated bots
Prerequisites
Before you begin, ensure you have the following:
Telegram Account: A registered account on Telegram.
ViewFi Account: An active account on the ViewFi platform.
Internet Connection: A stable internet connection for seamless integration.
Desktop or Mobile Device: Access to a device where you can install and use Telegram.
Setting Up Your Telegram Bot
Follow these steps to create and configure your Telegram bot using BotFather
Install ‘Telegram App’ on your desktop/Mobile.
Open the Telegram application on your device.
In the Telegram search bar, type BotFather and select the verified account.
Click on the START button to initiate the chat with BotFather.
Bot manual will be displayed with different types of commands, where you can create your ‘Telegram Bot’.
Type /newbot and press Enter.
Follow the prompts to provide a name for your bot (e.g., ViewFi_SQA).
Enter a unique username ending with _bot (e.g., ViewFi_SQA_bot).
After successful creation, BotFather will provide an API token. Save this token securely; you'll need it for integration.
Creating Your Web App
Integrate your Telegram bot with a new web app to manage campaigns effectively.
In your BotFather chat, type /newapp and press Enter.
A list of your existing bots will appear. Select the bot you created earlier (e.g., @ViewFi_SQA_bot).
Provide a title for your web app (e.g., SQATest).
Enter a concise description of your web app (e.g., Campaign).
Upload an image size 640x360 pixels. Drag and drop the image from your folder.
You can upload a demo GIF to showcase your web app or skip this step by sending the /empty command.
Integrating Telegram with ViewFi Dashboard
Follow these steps to integrate your newly created Telegram bot with the ViewFi Dashboard.
Navigate to ‘ViewFi’ and log in with your credentials. If you don't have an account, click Sign Up to create one.
Click on the Create Campaign button and fill in the necessary details (e.g., campaign name, URL).
OR From your dashboard, choose an existing campaign and navigate to its Publish page.
Under the Review section, find and click on the Telegram Link option.
A new tab will open displaying the campaign video. Copy the campaign link from your browser or the Telegram Link provided.
Configuring the Web App in Telegram
In your Telegram bot chat, paste the copied campaign link into your bot channel.
Enter a short name for your web app (3-30 characters, e.g., Shetu).
After entering the name, you will receive a Web App URL.
Click on the provided link to launch your web app within the Telegram bot.
Within the Telegram bot, watch your campaign video and click on the "Claim Now" button.
Check the Privacy Policy checkbox and click on the "Log in with Telegram" button. This action connects your Telegram information with the widget.
After logging in, you can claim your coupon code directly from the widget or share the campaign video link with others.
Upon successful claim, you will receive a success message from the bot. Additionally, you can share the campaign video link with your friends for broader engagement.
Thats it. Share your telegram bot far and wde and contact the ViewFi team to learn how to promote it.
Last updated