Telegram Integration Setup Guide

Documentations

Kodi Poster Documentation

Telegram Integration Setup Guide

Kodi Poster supports automatic reposting to Telegram, allowing you to share WordPress content directly to your Telegram group or channel using a bot.

Requirements

To set up the Telegram integration, you’ll need the following:

  • Telegram Bot Token (required)
  • Chat ID (required)
  • Thread ID (optional — only if your group uses Threads/Topics)

Step 1: Create a Telegram Bot

  1. Open Telegram and search for @BotFather.
  2. Start a chat and send:
    /start
    This initializes the bot management menu (required for first-time users).
  3. Then send:
    /newbot
  4. Follow the instructions:
    • Give your bot a name (display name).
    • Then choose a username (must end in bot, e.g., myautopostbot).
  5. Once completed, BotFather will reply with a Bot Token. It looks like this:
    123456789:ABCDefghIJKlmnoPQRstuvWXYZ1234567890

This Bot Token is essential — it identifies your bot and allows it to interact with the Telegram API.
Copy and save this token securely. You’ll use it in both the Kodi Poster settings and when retrieving IDs.

Step 2: Get Your Chat ID

To send messages to a Telegram group or channel, you need its Chat ID.

For a Group:

  1. Add your bot to the group (add it just like a normal member).
    • Tip: find your bot easily by searching using your bot username.
  2. Send any message in the group (e.g., “Test”).
  3. Open this URL in your browser (replace YOUR_BOT_TOKEN with your actual bot token):
    https://api.telegram.org/botYOUR_BOT_TOKEN/getUpdates
    For example, it will looks like this:
    https://api.telegram.org/bot123456789:ABCDefghIJKlmnoPQRstuvWXYZ1234567890/getUpdates
  4. Look for the chat section in the response to find the group Chat ID.

Example:

"chat": {
"id": -1001234567890,
"title": "My Group Name",
…
}

The number -1001234567890 is your Chat ID.

For a Channel:

  1. Add your bot as an admin in the channel.
  2. Call the same getUpdates API to retrieve the Chat ID:
    https://api.telegram.org/botYOUR_BOT_TOKEN/getUpdates

(Optional) Step 3: Get the Thread ID

If your group has Topics/Threads enabled and you want the bot to post in a specific thread:

  1. In your Telegram group, go to the thread/topic where you want the bot to post.
  2. Send any message in the group’s topic.
  3. Call the same getUpdates API:
    https://api.telegram.org/botYOUR_BOT_TOKEN/getUpdates
  4. Look for the field message_thread_id in the response — this is your Thread ID.

Step 4: Enter Details in Kodi Poster

  1. In your WordPress Admin Dashboard, go to:
    Kodi Poster > Auto Repost tab
  2. Select Telegram from the platform list.
  3. Fill in the following fields:
    • Bot Token
    • Chat ID
    • Thread ID (optional)
  4. Click Save Settings to complete the integration.

Done!

Kodi Poster is now ready to automatically repost your content to Telegram using your bot.