View Categories

AISK.CHAT Telegram Integration Setup Guide

2 min read

This guide will walk you through setting up Telegram integration for your AISK.CHAT chatbot.

Prerequisites #

  • A WordPress website with WooCommerce installed
  • AISK.CHAT plugin installed and activated
  • A Telegram account

Step 1: Create a New Telegram Bot #

Open Telegram and search for “BotFather” (@BotFather)

Start a chat with BotFather by clicking “Start”

Create a new bot by sending the command /newbot

Enter your bot’s display name when prompted (e.g., “AISK.CHAT Demo”)

Enter a username for your bot following these rules:

  • Must end in “bot”
  • Use only lowercase letters, numbers, and underscores
  • Examples: aiskchat_bot, support_buddy_bot

After successful creation, BotFather will provide you with:

  • Your bot’s token (keep this secure)

Step 2: Configure Webhook #

Copy the “Webhook URL”

Open a new browser tab
Paste the “Web URL” then “Connect your bot to Telegram”

Step 3: Configure AISK.CHAT Settings #

  1. In WordPress admin, go to AISK.CHAT > Settings
  2. Navigate to Integrations > Telegram
  3. Enable Telegram integration by checking “Enable Telegram Bot”
  4. Enter your bot token provided by BotFather
  5. Save the settings

Step 4: Test Your Bot #

  1. Open Telegram and search for your bot using its username
  2. Start a chat by clicking “Start”
  3. Try sending some messages to test:
  • Ask about products
  • Check order status
  • Ask general questions

Troubleshooting #

If your bot isn’t responding:

  1. Verify Bot Token
  • Check if the token is entered correctly in settings
  • Try regenerating the token using BotFather if needed
  1. Check Webhook
  • Verify your website is accessible
  • Ensure SSL is properly configured (Telegram requires HTTPS)
  • Test webhook status using:
   https://api.telegram.org/bot{YOUR_BOT_TOKEN}/getWebhookInfo
  1. Check Server Requirements
  • PHP version 7.4 or higher
  • SSL certificate installed
  • Proper file permissions

Security Considerations #

  1. Keep your bot token secure
  2. Don’t share the token publicly
  3. Regularly check bot activities
  4. Use a dedicated SSL certificate
  5. Keep WordPress and all plugins updated

Additional Features #

Your Telegram bot can:

  • Answer product queries
  • Show product catalogs
  • Provide order status updates
  • Handle customer support queries
  • Send automated notifications

Best Practices #

  1. Set a clear welcome message
  2. Use appropriate bot commands
  3. Monitor bot performance
  4. Regularly update content
  5. Keep response times quick
  6. Test bot regularly

Support #

If you need help:

  1. Check our FAQ section
  2. Contact support through our website
  3. Visit our documentation portal
  4. Join our community forum

Remember to regularly monitor your bot’s performance and update its knowledge base as needed.

Leave a Reply

Your email address will not be published. Required fields are marked *